@fluid-topics/ft-reader-metadata 1.1.83 → 1.1.85
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-reader-metadata.light.js +279 -278
- package/build/ft-reader-metadata.min.js +241 -240
- package/package.json +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var os=Object.create;var Vn=Object.defineProperty;var rs=Object.getOwnPropertyDescriptor;var ns=Object.getOwnPropertyNames;var as=Object.getPrototypeOf,is=Object.prototype.hasOwnProperty;var St=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var cs=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ns(t))!is.call(e,i)&&i!==n&&Vn(e,i,{get:()=>t[i],enumerable:!(a=rs(t,i))||a.enumerable});return e};var v=(e,t,n)=>(n=e!=null?os(as(e)):{},cs(t||!e||!e.__esModule?Vn(n,"default",{value:e,enumerable:!0}):n,e));var T=St((Rd,jn)=>{jn.exports=ftGlobals.wcUtils});var M=St((Ad,Yn)=>{Yn.exports=ftGlobals.lit});var Q=St((Id,qn)=>{qn.exports=ftGlobals.litDecorators});var xo=St((sy,Wi)=>{Wi.exports=ftGlobals.litClassMap});var Vi=St((by,Zi)=>{Zi.exports=ftGlobals.litUnsafeHTML});var kc=St(Pc=>{(function(e){var t=function(n){var a={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(m){return m&&DataView.prototype.isPrototypeOf(m)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&c.indexOf(Object.prototype.toString.call(m))>-1};function p(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function y(m){var C={next:function(){var P=m.shift();return{done:P===void 0,value:P}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function g(m){this.map={},m instanceof g?m.forEach(function(C,P){this.append(P,C)},this):Array.isArray(m)?m.forEach(function(C){this.append(C[0],C[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(C){this.append(C,m[C])},this)}g.prototype.append=function(m,C){m=p(m),C=u(C);var P=this.map[m];this.map[m]=P?P+", "+C:C},g.prototype.delete=function(m){delete this.map[p(m)]},g.prototype.get=function(m){return m=p(m),this.has(m)?this.map[m]:null},g.prototype.has=function(m){return this.map.hasOwnProperty(p(m))},g.prototype.set=function(m,C){this.map[p(m)]=u(C)},g.prototype.forEach=function(m,C){for(var P in this.map)this.map.hasOwnProperty(P)&&m.call(C,this.map[P],P,this)},g.prototype.keys=function(){var m=[];return this.forEach(function(C,P){m.push(P)}),y(m)},g.prototype.values=function(){var m=[];return this.forEach(function(C){m.push(C)}),y(m)},g.prototype.entries=function(){var m=[];return this.forEach(function(C,P){m.push([P,C])}),y(m)},a.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function b(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function x(m){return new Promise(function(C,P){m.onload=function(){C(m.result)},m.onerror=function(){P(m.error)}})}function O(m){var C=new FileReader,P=x(C);return C.readAsArrayBuffer(m),P}function S(m){var C=new FileReader,P=x(C);return C.readAsText(m),P}function E(m){for(var C=new Uint8Array(m),P=new Array(C.length),Z=0;Z<C.length;Z++)P[Z]=String.fromCharCode(C[Z]);return P.join("")}function L(m){if(m.slice)return m.slice(0);var C=new Uint8Array(m.byteLength);return C.set(new Uint8Array(m)),C.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:a.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:a.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():a.arrayBuffer&&a.blob&&i(m)?(this._bodyArrayBuffer=L(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=L(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var m=b(this);if(m)return m;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?b(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(O)}),this.text=function(){var m=b(this);if(m)return m;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(H)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function W(m){var C=m.toUpperCase();return I.indexOf(C)>-1?C:m}function U(m,C){C=C||{};var P=C.body;if(m instanceof U){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,C.headers||(this.headers=new g(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!P&&m._bodyInit!=null&&(P=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new g(C.headers)),this.method=W(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(P)}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function H(m){var C=new FormData;return m.trim().split("&").forEach(function(P){if(P){var Z=P.split("="),le=Z.shift().replace(/\+/g," "),G=Z.join("=").replace(/\+/g," ");C.append(decodeURIComponent(le),decodeURIComponent(G))}}),C}function me(m){var C=new g,P=m.replace(/\r?\n[\t ]+/g," ");return P.split(/\r?\n/).forEach(function(Z){var le=Z.split(":"),G=le.shift().trim();if(G){var _o=le.join(":").trim();C.append(G,_o)}}),C}A.call(U.prototype);function re(m,C){C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in C?C.statusText:"OK",this.headers=new g(C.headers),this.url=C.url||"",this._initBody(m)}A.call(re.prototype),re.prototype.clone=function(){return new re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},re.error=function(){var m=new re(null,{status:0,statusText:""});return m.type="error",m};var io=[301,302,303,307,308];re.redirect=function(m,C){if(io.indexOf(C)===-1)throw new RangeError("Invalid status code");return new re(null,{status:C,headers:{location:m}})},n.DOMException=e.DOMException;try{new n.DOMException}catch{n.DOMException=function(C,P){this.message=C,this.name=P;var Z=Error(C);this.stack=Z.stack},n.DOMException.prototype=Object.create(Error.prototype),n.DOMException.prototype.constructor=n.DOMException}function Ie(m,C){return new Promise(function(P,Z){var le=new U(m,C);if(le.signal&&le.signal.aborted)return Z(new n.DOMException("Aborted","AbortError"));var G=new XMLHttpRequest;function _o(){G.abort()}G.onload=function(){var co={status:G.status,statusText:G.statusText,headers:me(G.getAllResponseHeaders()||"")};co.url="responseURL"in G?G.responseURL:co.headers.get("X-Request-URL");var Dr="response"in G?G.response:G.responseText;P(new re(Dr,co))},G.onerror=function(){Z(new TypeError("Network request failed"))},G.ontimeout=function(){Z(new TypeError("Network request failed"))},G.onabort=function(){Z(new n.DOMException("Aborted","AbortError"))},G.open(le.method,le.url,!0),le.credentials==="include"?G.withCredentials=!0:le.credentials==="omit"&&(G.withCredentials=!1),"responseType"in G&&a.blob&&(G.responseType="blob"),le.headers.forEach(function(co,Dr){G.setRequestHeader(Dr,co)}),le.signal&&(le.signal.addEventListener("abort",_o),G.onreadystatechange=function(){G.readyState===4&&le.signal.removeEventListener("abort",_o)}),G.send(typeof le._bodyInit>"u"?null:le._bodyInit)})}return Ie.polyfill=!0,e.fetch||(e.fetch=Ie,e.Headers=g,e.Request=U,e.Response=re),n.Headers=g,n.Request=U,n.Response=re,n.fetch=Ie,Object.defineProperty(n,"__esModule",{value:!0}),n}({})})(typeof self<"u"?self:Pc)});var qc=St((xv,Yc)=>{Yc.exports=ftGlobals.litRepeat});var ts=v(T());var We=v(M()),rt=v(Q()),Ve=v(T());var Xn=v(M()),Ld={},Jn=Xn.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
}
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
all: unset;
|
|
19
19
|
position: relative;
|
|
20
20
|
}
|
|
21
|
-
`;var
|
|
22
|
-
\f\r]`,
|
|
23
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ei=/'/g,ti=/"/g,ai=/^(?:script|style|textarea|title)$/i,si=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),li=si(1),ci=si(2),ir=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ri=new WeakMap,bt=xt.createTreeWalker(xt,129);function pi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xn!==void 0?Xn.createHTML(t):t}var ic=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=or;for(let c=0;c<o;c++){let p=e[c],f,u,m=-1,y=0;for(;y<p.length&&(s.lastIndex=y,u=s.exec(p),u!==null);)y=s.lastIndex,s===or?u[1]==="!--"?s=Jn:u[1]!==void 0?s=Qn:u[2]!==void 0?(ai.test(u[2])&&(i=RegExp("</"+u[2],"g")),s=gt):u[3]!==void 0&&(s=gt):s===gt?u[0]===">"?(s=i??or,m=-1):u[1]===void 0?m=-2:(m=s.lastIndex-u[2].length,f=u[1],s=u[3]===void 0?gt:u[3]==='"'?ti:ei):s===ti||s===ei?s=gt:s===Jn||s===Qn?s=or:(s=gt,i=void 0);let x=s===gt&&e[c+1].startsWith("/>")?" ":"";a+=s===or?p+oc:m>=0?(n.push(f),p.slice(0,m)+oi+p.slice(m)+et+x):p+et+(m===-2?c:x)}return[pi(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},ar=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,p=this.parts,[f,u]=ic(t,o);if(this.el=e.createElement(f,n),bt.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=bt.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(oi)){let y=u[s++],x=i.getAttribute(m).split(et),b=/([.?@])?(.*)/.exec(y);p.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?Bo:b[1]==="?"?$o:b[1]==="@"?Wo:Pt}),i.removeAttribute(m)}else m.startsWith(et)&&(p.push({type:6,index:a}),i.removeAttribute(m));if(ai.test(i.tagName)){let m=i.textContent.split(et),y=m.length-1;if(y>0){i.textContent=Ir?Ir.emptyScript:"";for(let x=0;x<y;x++)i.append(m[x],_r()),bt.nextNode(),p.push({type:2,index:++a});i.append(m[y],_r())}}}else if(i.nodeType===8)if(i.data===ni)p.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(et,m+1))!==-1;)p.push({type:7,index:a}),m+=et.length-1}a++}}static createElement(t,o){let n=xt.createElement("template");return n.innerHTML=t,n}};function Tt(e,t,o=e,n){if(t===ir)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=nr(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=Tt(e,i._$AS(e,t.values),i,n)),t}var Uo=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??xt).importNode(o,!0);bt.currentNode=i;let a=bt.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let f;p.type===2?f=new kr(a,a.nextSibling,this,t):p.type===1?f=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(f=new zo(a,this,t)),this._$AV.push(f),p=n[++c]}s!==p?.index&&(a=bt.nextNode(),s++)}return bt.currentNode=xt,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++}},kr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=te,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=Tt(this,t,o),nr(t)?t===te||t==null||t===""?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==ir&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):nc(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!==te&&nr(this._$AH)?this._$AA.nextSibling.data=t:this.$(xt.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=ar.createElement(pi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Uo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ri.get(t.strings);return o===void 0&&ri.set(t.strings,o=new ar(t)),o}T(t){ii(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(_r()),this.k(_r()),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))}},Pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=te,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=te}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Tt(this,t,o,0),s=!nr(t)||t!==this._$AH&&t!==ir,s&&(this._$AH=t);else{let c=t,p,f;for(t=a[0],p=0;p<a.length-1;p++)f=Tt(this,c[n+p],o,p),f===ir&&(f=this._$AH[p]),s||=!nr(f)||f!==this._$AH[p],f===te?t=te:t!==te&&(t+=(f??"")+a[p+1]),this._$AH[p]=f}s&&!i&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Bo=class extends Pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},$o=class extends Pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},Wo=class extends Pt{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Tt(this,t,o,0)??te)===ir)return;let n=this._$AH,i=t===te&&n!==te||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==te&&(n===te||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)}},zo=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){Tt(this,t)}};var ac=Fo.litHtmlPolyfillSupport;ac?.(ar,kr),(Fo.litHtmlVersions??=[]).push("3.1.0");var fi=Symbol.for(""),sc=e=>{if(e?.r===fi)return e?._$litStatic$},Ho=e=>({_$litStatic$:e,r:fi});var di=new Map,ui=e=>(t,...o)=>{let n=o.length,i,a,s=[],c=[],p,f=0,u=!1;for(;f<n;){for(p=t[f];f<n&&(a=o[f],(i=sc(a))!==void 0);)p+=i+t[++f],u=!0;f!==n&&c.push(a),s.push(p),f++}if(f===n&&s.push(t[n]),u){let m=s.join("$$lit$$");(t=di.get(m))===void 0&&(s.raw=s,di.set(m,t=s)),o=c}return e(t,...o)},jo=ui(li),Pp=ui(ci);var Vo=g(Y()),ra=g(P());var vt;(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"})(vt||(vt={}));var Re=g(B()),C=g(P());var Ve=g(B(),1),tt=e=>typeof e=="string"?(0,Ve.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=c=>tt(c??i),s=Ve.css`var(${tt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>Ve.css`var(${tt(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=Ve.css`var(${tt(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=c=>Ve.css`var(${tt(t)}, ${a(c)})`,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):tt(a??t.lastResortDefaultValue()),i=Ve.css`var(${tt(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=>Ve.css`var(${tt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var l={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)")},hi={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")},mi={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")},yi={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")},gi={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")},bi={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")},xi={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")},vi={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")},Si={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")},Oi={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")},lc={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")},Ci={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")},Ei={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")},wi={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")},Ai={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")},Ri={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")},Ni={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")},Ti={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")},Pi={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")},Li={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")},Ii={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")},_i={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")},ki={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")},Di={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")},Mi={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")},Ui={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")},Bi={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")},Dr={display:hi,"title-1":mi,"title-2":yi,"title-3":gi,"body-1-regular":bi,"body-1-medium":xi,"body-1-semibold":vi,"body-2-regular":Si,"body-2-medium":Oi,"body-2-medium-underline":lc,"body-2-semibold":Ci,"label-1-medium":Ei,"label-1-semibold":wi,"label-1-bold":Ai,"label-2-medium":Ri,"label-2-semibold":Ni,"label-2-bold":Ti,"caption-1-medium":Pi,"caption-1-semibold":Li,"caption-1-bold":Ii,"caption-2-medium":_i,"caption-2-semibold":ki,"caption-2-bold":Di,"caption-3-medium":Mi,"caption-3-semibold":Ui,"caption-3-bold":Bi};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
24
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var E={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.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","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.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","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Zp={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Qp={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",d.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",d.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",d.contentInfoPrimary)};var nd={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var cd={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var hd={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var xd={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var Ed={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","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Td={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.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","",l.colorGray700)};var kd={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var $d={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var jd={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface)};var qd={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var ef={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var af={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var df={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var yf={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Sf={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var wf={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Pf={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Df={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Wf={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Vf={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Yf={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var tu={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var $i;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})($i||($i={}));var Wi;(function(e){e.large="large",e.medium="medium",e.small="small"})(Wi||(Wi={}));var Mr=g(B());function zi(e){let t=Dr[e];return Mr.css`
|
|
25
|
-
.ft-typography--${(0
|
|
21
|
+
`;var ea=v(T()),ta=v(Q());var Qn;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Qn||(Qn={}));var ls=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Mr=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},zr=Symbol("registerInterval");function ss(e){var t;class n extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[zr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[zr]):this.dispatchEvent(new Mr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=zr,ls([(0,ta.state)()],n.prototype,"stateManager",void 0),n}var Bo=class extends ss(ea.FtLitElementRedux){};var Ui=v(T());var Ti=v(M()),ae=v(Q()),bo=v(T());var li=v(T());var Vr=globalThis,Do=Vr.trustedTypes,oa=Do?Do.createPolicy("lit-html",{createHTML:e=>e}):void 0,la="$lit$",nt=`lit$${(Math.random()+"").slice(9)}$`,sa="?"+nt,ds=`<${sa}>`,Et=document,zo=()=>Et.createComment(""),so=e=>e===null||typeof e!="object"&&typeof e!="function",da=Array.isArray,ps=e=>da(e)||typeof e?.[Symbol.iterator]=="function",Fr=`[
|
|
22
|
+
\f\r]`,lo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ra=/-->/g,na=/>/g,Ot=RegExp(`>|${Fr}(?:([^\\s"'>=/]+)(${Fr}*=${Fr}*(?:[^
|
|
23
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),aa=/'/g,ia=/"/g,pa=/^(?:script|style|textarea|title)$/i,fa=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),ua=fa(1),ha=fa(2),po=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),ca=new WeakMap,Ct=Et.createTreeWalker(Et,129);function ya(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return oa!==void 0?oa.createHTML(t):t}var fs=(e,t)=>{let n=e.length-1,a=[],i,c=t===2?"<svg>":"",l=lo;for(let p=0;p<n;p++){let u=e[p],y,g,b=-1,x=0;for(;x<u.length&&(l.lastIndex=x,g=l.exec(u),g!==null);)x=l.lastIndex,l===lo?g[1]==="!--"?l=ra:g[1]!==void 0?l=na:g[2]!==void 0?(pa.test(g[2])&&(i=RegExp("</"+g[2],"g")),l=Ot):g[3]!==void 0&&(l=Ot):l===Ot?g[0]===">"?(l=i??lo,b=-1):g[1]===void 0?b=-2:(b=l.lastIndex-g[2].length,y=g[1],l=g[3]===void 0?Ot:g[3]==='"'?ia:aa):l===ia||l===aa?l=Ot:l===ra||l===na?l=lo:(l=Ot,i=void 0);let O=l===Ot&&e[p+1].startsWith("/>")?" ":"";c+=l===lo?u+ds:b>=0?(a.push(y),u.slice(0,b)+la+u.slice(b)+nt+O):u+nt+(b===-2?p:O)}return[ya(e,c+(e[n]||"<?>")+(t===2?"</svg>":"")),a]},fo=class e{constructor({strings:t,_$litType$:n},a){let i;this.parts=[];let c=0,l=0,p=t.length-1,u=this.parts,[y,g]=fs(t,n);if(this.el=e.createElement(y,a),Ct.currentNode=this.el.content,n===2){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(i=Ct.nextNode())!==null&&u.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let b of i.getAttributeNames())if(b.endsWith(la)){let x=g[l++],O=i.getAttribute(b).split(nt),S=/([.?@])?(.*)/.exec(x);u.push({type:1,index:c,name:S[2],strings:O,ctor:S[1]==="."?Hr:S[1]==="?"?Gr:S[1]==="@"?Kr:Wt}),i.removeAttribute(b)}else b.startsWith(nt)&&(u.push({type:6,index:c}),i.removeAttribute(b));if(pa.test(i.tagName)){let b=i.textContent.split(nt),x=b.length-1;if(x>0){i.textContent=Do?Do.emptyScript:"";for(let O=0;O<x;O++)i.append(b[O],zo()),Ct.nextNode(),u.push({type:2,index:++c});i.append(b[x],zo())}}}else if(i.nodeType===8)if(i.data===sa)u.push({type:2,index:c});else{let b=-1;for(;(b=i.data.indexOf(nt,b+1))!==-1;)u.push({type:7,index:c}),b+=nt.length-1}c++}}static createElement(t,n){let a=Et.createElement("template");return a.innerHTML=t,a}};function Ut(e,t,n=e,a){if(t===po)return t;let i=a!==void 0?n._$Co?.[a]:n._$Cl,c=so(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(e),i._$AT(e,n,a)),a!==void 0?(n._$Co??=[])[a]=i:n._$Cl=i),i!==void 0&&(t=Ut(e,i._$AS(e,t.values),i,a)),t}var $r=class{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:n},parts:a}=this._$AD,i=(t?.creationScope??Et).importNode(n,!0);Ct.currentNode=i;let c=Ct.nextNode(),l=0,p=0,u=a[0];for(;u!==void 0;){if(l===u.index){let y;u.type===2?y=new Mo(c,c.nextSibling,this,t):u.type===1?y=new u.ctor(c,u.name,u.strings,this,t):u.type===6&&(y=new Zr(c,this,t)),this._$AV.push(y),u=a[++p]}l!==u?.index&&(c=Ct.nextNode(),l++)}return Ct.currentNode=Et,i}p(t){let n=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(t,a,n),n+=a.strings.length-2):a._$AI(t[n])),n++}},Mo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,n,a,i){this.type=2,this._$AH=ne,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=a,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,n=this._$AM;return n!==void 0&&t?.nodeType===11&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=Ut(this,t,n),so(t)?t===ne||t==null||t===""?(this._$AH!==ne&&this._$AR(),this._$AH=ne):t!==this._$AH&&t!==po&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ps(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!==ne&&so(this._$AH)?this._$AA.nextSibling.data=t:this.$(Et.createTextNode(t)),this._$AH=t}g(t){let{values:n,_$litType$:a}=t,i=typeof a=="number"?this._$AC(t):(a.el===void 0&&(a.el=fo.createElement(ya(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===i)this._$AH.p(n);else{let c=new $r(i,this),l=c.u(this.options);c.p(n),this.$(l),this._$AH=c}}_$AC(t){let n=ca.get(t.strings);return n===void 0&&ca.set(t.strings,n=new fo(t)),n}T(t){da(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,a,i=0;for(let c of t)i===n.length?n.push(a=new e(this.k(zo()),this.k(zo()),this,this.options)):a=n[i],a._$AI(c),i++;i<n.length&&(this._$AR(a&&a._$AB.nextSibling,i),n.length=i)}_$AR(t=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);t&&t!==this._$AB;){let a=t.nextSibling;t.remove(),t=a}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Wt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,n,a,i,c){this.type=1,this._$AH=ne,this._$AN=void 0,this.element=t,this.name=n,this._$AM=i,this.options=c,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=ne}_$AI(t,n=this,a,i){let c=this.strings,l=!1;if(c===void 0)t=Ut(this,t,n,0),l=!so(t)||t!==this._$AH&&t!==po,l&&(this._$AH=t);else{let p=t,u,y;for(t=c[0],u=0;u<c.length-1;u++)y=Ut(this,p[a+u],n,u),y===po&&(y=this._$AH[u]),l||=!so(y)||y!==this._$AH[u],y===ne?t=ne:t!==ne&&(t+=(y??"")+c[u+1]),this._$AH[u]=y}l&&!i&&this.O(t)}O(t){t===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Hr=class extends Wt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ne?void 0:t}},Gr=class extends Wt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ne)}},Kr=class extends Wt{constructor(t,n,a,i,c){super(t,n,a,i,c),this.type=5}_$AI(t,n=this){if((t=Ut(this,t,n,0)??ne)===po)return;let a=this._$AH,i=t===ne&&a!==ne||t.capture!==a.capture||t.once!==a.once||t.passive!==a.passive,c=t!==ne&&(a===ne||i);i&&this.element.removeEventListener(this.name,this,a),c&&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)}},Zr=class{constructor(t,n,a){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(t){Ut(this,t)}};var us=Vr.litHtmlPolyfillSupport;us?.(fo,Mo),(Vr.litHtmlVersions??=[]).push("3.1.0");var ma=Symbol.for(""),hs=e=>{if(e?.r===ma)return e?._$litStatic$},jr=e=>({_$litStatic$:e,r:ma});var ga=new Map,ba=e=>(t,...n)=>{let a=n.length,i,c,l=[],p=[],u,y=0,g=!1;for(;y<a;){for(u=t[y];y<a&&(c=n[y],(i=hs(c))!==void 0);)u+=i+t[++y],g=!0;y!==a&&p.push(c),l.push(u),y++}if(y===a&&l.push(t[a]),g){let b=l.join("$$lit$$");(t=ga.get(b))===void 0&&(l.raw=l,ga.set(b,t=l)),n=p}return e(t,...n)},Yr=ba(ua),Bd=ba(ha);var qr=v(Q()),ci=v(T());var wt;(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"})(wt||(wt={}));var Le=v(M()),N=v(T());var je=v(M(),1),at=e=>typeof e=="string"?(0,je.unsafeCSS)(e):e,o=class{static create(t,n,a,i){let c=p=>at(p??i),l=je.css`var(${at(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>je.css`var(${at(t)}, ${c(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,n,a,i){let c=p=>a.get(p??i),l=je.css`var(${at(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>je.css`var(${at(t)}, ${c(p)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(t,n){let a=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):at(c??t.lastResortDefaultValue()),i=je.css`var(${at(t.name)}, ${a(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>je.css`var(${at(t.name)}, ${a(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var d={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},xa={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},va={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Sa={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Oa={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ca={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ea={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},wa={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Na={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ra={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ys={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Aa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ia={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},La={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Pa={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ka={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ta={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ua={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_a={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ba={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Da={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},za={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Fa={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},$a={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Fo={display:xa,"title-1":va,"title-2":Sa,"title-3":Oa,"body-1-regular":Ca,"body-1-medium":Ea,"body-1-semibold":wa,"body-2-regular":Na,"body-2-medium":Ra,"body-2-medium-underline":ys,"body-2-semibold":Aa,"label-1-medium":Ia,"label-1-semibold":La,"label-1-bold":Pa,"label-2-medium":ka,"label-2-semibold":Ta,"label-2-bold":Ua,"caption-1-medium":Wa,"caption-1-semibold":_a,"caption-1-bold":Ba,"caption-2-medium":Da,"caption-2-semibold":za,"caption-2-bold":Ma,"caption-3-medium":Fa,"caption-3-semibold":$a,"caption-3-bold":Ha};var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
24
|
+
Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var Xd={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:o.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:o.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var op={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:o.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:o.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var cp={focusOpacity:o.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)};var fp={iconSize:o.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var mp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Op={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Rp={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var kp={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:o.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Bp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",d.colorGray700)};var $p={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Vp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Jp={backgroundColor:o.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var rf={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var sf={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var hf={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var xf={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",d.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",d.shadowElevation02)};var Ef={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",d.iconSize3)};var If={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:o.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var Tf={color1Light:o.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",d.colorRed40),color5Base:o.extend("--ft-chart-5-base","",d.colorRed60),color6Light:o.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",d.colorGray50),color10Base:o.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Df={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:o.extend("--ft-notice-gap","",d.spacing2),iconSize:o.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var Hf={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",d.spacing3)};var jf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",d.spacing3)};var Qf={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",d.spacing3)};var nu={iconSize:o.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",d.spacing8)};var su={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:o.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",d.spacing05)};var Ga;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ga||(Ga={}));var Ka;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ka||(Ka={}));var $o=v(M());function Za(e){let t=Fo[e];return $o.css`
|
|
25
|
+
.ft-typography--${(0,$o.unsafeCSS)(e)} {
|
|
26
26
|
font-family: ${t.fontFamily};
|
|
27
27
|
font-size: ${t.fontSize};
|
|
28
28
|
font-weight: ${t.fontWeight};
|
|
@@ -30,26 +30,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
30
30
|
line-height: ${t.lineHeight};
|
|
31
31
|
text-transform: ${t.textCase};
|
|
32
32
|
}
|
|
33
|
-
`}var
|
|
33
|
+
`}var Va=N.FtCssVariableFactory.extend("--ft-typography-font-family","",N.designSystemVariables.titleFont),Ye=N.FtCssVariableFactory.extend("--ft-typography-font-family","",N.designSystemVariables.contentFont),k={fontFamily:Ye,fontSize:N.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:N.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:N.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:N.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:N.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},_t={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Va),fontSize:N.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},Bt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Va),fontSize:N.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},Dt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},zt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},Mt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},Fe={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},Ft={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},$t={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},Ht={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},$e={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ye),fontSize:N.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},ja=Le.css`
|
|
34
34
|
.ft-typography--title {
|
|
35
|
-
font-family: ${Lt.fontFamily};
|
|
36
|
-
font-size: ${Lt.fontSize};
|
|
37
|
-
font-weight: ${Lt.fontWeight};
|
|
38
|
-
letter-spacing: ${Lt.letterSpacing};
|
|
39
|
-
line-height: ${Lt.lineHeight};
|
|
40
|
-
text-transform: ${Lt.textTransform};
|
|
41
|
-
}
|
|
42
|
-
`,ji=Re.css`
|
|
43
|
-
.ft-typography--title-dense {
|
|
44
|
-
font-family: ${It.fontFamily};
|
|
45
|
-
font-size: ${It.fontSize};
|
|
46
|
-
font-weight: ${It.fontWeight};
|
|
47
|
-
letter-spacing: ${It.letterSpacing};
|
|
48
|
-
line-height: ${It.lineHeight};
|
|
49
|
-
text-transform: ${It.textTransform};
|
|
50
|
-
}
|
|
51
|
-
`,Vi=Re.css`
|
|
52
|
-
.ft-typography--subtitle1 {
|
|
53
35
|
font-family: ${_t.fontFamily};
|
|
54
36
|
font-size: ${_t.fontSize};
|
|
55
37
|
font-weight: ${_t.fontWeight};
|
|
@@ -57,18 +39,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
57
39
|
line-height: ${_t.lineHeight};
|
|
58
40
|
text-transform: ${_t.textTransform};
|
|
59
41
|
}
|
|
60
|
-
`,
|
|
61
|
-
.ft-typography--
|
|
62
|
-
font-family: ${
|
|
63
|
-
font-size: ${
|
|
64
|
-
font-weight: ${
|
|
65
|
-
letter-spacing: ${
|
|
66
|
-
line-height: ${
|
|
67
|
-
text-transform: ${
|
|
42
|
+
`,Ya=Le.css`
|
|
43
|
+
.ft-typography--title-dense {
|
|
44
|
+
font-family: ${Bt.fontFamily};
|
|
45
|
+
font-size: ${Bt.fontSize};
|
|
46
|
+
font-weight: ${Bt.fontWeight};
|
|
47
|
+
letter-spacing: ${Bt.letterSpacing};
|
|
48
|
+
line-height: ${Bt.lineHeight};
|
|
49
|
+
text-transform: ${Bt.textTransform};
|
|
68
50
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
.ft-typography--body1 {
|
|
51
|
+
`,qa=Le.css`
|
|
52
|
+
.ft-typography--subtitle1 {
|
|
72
53
|
font-family: ${Dt.fontFamily};
|
|
73
54
|
font-size: ${Dt.fontSize};
|
|
74
55
|
font-weight: ${Dt.fontWeight};
|
|
@@ -76,17 +57,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
76
57
|
line-height: ${Dt.lineHeight};
|
|
77
58
|
text-transform: ${Dt.textTransform};
|
|
78
59
|
}
|
|
79
|
-
`,
|
|
80
|
-
.ft-typography--
|
|
81
|
-
font-family: ${
|
|
82
|
-
font-size: ${
|
|
83
|
-
font-weight: ${
|
|
84
|
-
letter-spacing: ${
|
|
85
|
-
line-height: ${
|
|
86
|
-
text-transform: ${
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
60
|
+
`,Xa=Le.css`
|
|
61
|
+
.ft-typography--subtitle2 {
|
|
62
|
+
font-family: ${zt.fontFamily};
|
|
63
|
+
font-size: ${zt.fontSize};
|
|
64
|
+
font-weight: ${zt.fontWeight};
|
|
65
|
+
letter-spacing: ${zt.letterSpacing};
|
|
66
|
+
line-height: ${zt.lineHeight};
|
|
67
|
+
text-transform: ${zt.textTransform};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
`,Ja=Le.css`
|
|
71
|
+
.ft-typography--body1 {
|
|
90
72
|
font-family: ${Mt.fontFamily};
|
|
91
73
|
font-size: ${Mt.fontSize};
|
|
92
74
|
font-weight: ${Mt.fontWeight};
|
|
@@ -94,25 +76,43 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
94
76
|
line-height: ${Mt.lineHeight};
|
|
95
77
|
text-transform: ${Mt.textTransform};
|
|
96
78
|
}
|
|
97
|
-
`,
|
|
79
|
+
`,Qa=Le.css`
|
|
80
|
+
.ft-typography--body2 {
|
|
81
|
+
font-family: ${Fe.fontFamily};
|
|
82
|
+
font-size: ${Fe.fontSize};
|
|
83
|
+
font-weight: ${Fe.fontWeight};
|
|
84
|
+
letter-spacing: ${Fe.letterSpacing};
|
|
85
|
+
line-height: ${Fe.lineHeight};
|
|
86
|
+
text-transform: ${Fe.textTransform};
|
|
87
|
+
}
|
|
88
|
+
`,ei=Le.css`
|
|
89
|
+
.ft-typography--caption {
|
|
90
|
+
font-family: ${Ft.fontFamily};
|
|
91
|
+
font-size: ${Ft.fontSize};
|
|
92
|
+
font-weight: ${Ft.fontWeight};
|
|
93
|
+
letter-spacing: ${Ft.letterSpacing};
|
|
94
|
+
line-height: ${Ft.lineHeight};
|
|
95
|
+
text-transform: ${Ft.textTransform};
|
|
96
|
+
}
|
|
97
|
+
`,ti=Le.css`
|
|
98
98
|
.ft-typography--breadcrumb {
|
|
99
|
-
font-family: ${
|
|
100
|
-
font-size: ${
|
|
101
|
-
font-weight: ${
|
|
102
|
-
letter-spacing: ${
|
|
103
|
-
line-height: ${
|
|
104
|
-
text-transform: ${
|
|
105
|
-
}
|
|
106
|
-
`,
|
|
99
|
+
font-family: ${$t.fontFamily};
|
|
100
|
+
font-size: ${$t.fontSize};
|
|
101
|
+
font-weight: ${$t.fontWeight};
|
|
102
|
+
letter-spacing: ${$t.letterSpacing};
|
|
103
|
+
line-height: ${$t.lineHeight};
|
|
104
|
+
text-transform: ${$t.textTransform};
|
|
105
|
+
}
|
|
106
|
+
`,oi=Le.css`
|
|
107
107
|
.ft-typography--overline {
|
|
108
|
-
font-family: ${
|
|
109
|
-
font-size: ${
|
|
110
|
-
font-weight: ${
|
|
111
|
-
letter-spacing: ${
|
|
112
|
-
line-height: ${
|
|
113
|
-
text-transform: ${
|
|
114
|
-
}
|
|
115
|
-
`,
|
|
108
|
+
font-family: ${Ht.fontFamily};
|
|
109
|
+
font-size: ${Ht.fontSize};
|
|
110
|
+
font-weight: ${Ht.fontWeight};
|
|
111
|
+
letter-spacing: ${Ht.letterSpacing};
|
|
112
|
+
line-height: ${Ht.lineHeight};
|
|
113
|
+
text-transform: ${Ht.textTransform};
|
|
114
|
+
}
|
|
115
|
+
`,ri=Le.css`
|
|
116
116
|
.ft-typography--button {
|
|
117
117
|
font-family: ${$e.fontFamily};
|
|
118
118
|
font-size: ${$e.fontSize};
|
|
@@ -121,19 +121,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
121
121
|
line-height: ${$e.lineHeight};
|
|
122
122
|
text-transform: ${$e.textTransform};
|
|
123
123
|
}
|
|
124
|
-
`,
|
|
124
|
+
`,ni=Le.css`
|
|
125
125
|
.ft-typography {
|
|
126
126
|
vertical-align: inherit;
|
|
127
127
|
}
|
|
128
|
-
`,
|
|
129
|
-
<${
|
|
128
|
+
`,ai=[Object.keys(Fo).map(e=>Za(e))];var ii=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},se=class extends ci.FtLitElement{constructor(){super(...arguments),this.variant=wt.body1}render(){return this.element?Yr`
|
|
129
|
+
<${jr(this.element)}
|
|
130
130
|
part="text"
|
|
131
131
|
class="ft-typography ft-typography--${this.variant}">
|
|
132
132
|
<slot></slot>
|
|
133
|
-
</${
|
|
134
|
-
`:
|
|
133
|
+
</${jr(this.element)}>
|
|
134
|
+
`:Yr`
|
|
135
135
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
136
|
-
`}};
|
|
136
|
+
`}};se.styles=[ja,Ya,qa,Xa,Ja,Qa,ei,ti,oi,ri,ni,...ai];ii([(0,qr.property)()],se.prototype,"element",void 0);ii([(0,qr.property)()],se.prototype,"variant",void 0);(0,li.customElement)("ft-typography")(se);var si=v(M()),qe=v(T()),Gt={distance:qe.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:qe.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:qe.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:qe.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:qe.FtCssVariableFactory.external(qe.designSystemVariables.borderRadiusS,"Design system"),maxWidth:qe.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},di=si.css`
|
|
137
137
|
.ft-tooltip--container {
|
|
138
138
|
display: block;
|
|
139
139
|
}
|
|
@@ -148,21 +148,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
148
148
|
box-sizing: border-box;
|
|
149
149
|
overflow: hidden;
|
|
150
150
|
width: max-content;
|
|
151
|
-
max-width: ${
|
|
151
|
+
max-width: ${Gt.maxWidth};
|
|
152
152
|
text-align: center;
|
|
153
|
-
padding: ${
|
|
154
|
-
z-index: ${
|
|
153
|
+
padding: ${Gt.distance};
|
|
154
|
+
z-index: ${Gt.zIndex};
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.ft-tooltip--content {
|
|
158
158
|
padding: 4px 8px;
|
|
159
|
-
border-radius: ${
|
|
160
|
-
background-color: ${
|
|
161
|
-
color: ${
|
|
159
|
+
border-radius: ${Gt.borderRadiusS};
|
|
160
|
+
background-color: ${Gt.backgroundColor};
|
|
161
|
+
color: ${Gt.color};
|
|
162
162
|
position: relative;
|
|
163
163
|
word-break: break-word;
|
|
164
164
|
}
|
|
165
|
-
`;var sa=["top","right","bottom","left"],aa=["start","end"],Ko=sa.reduce((e,t)=>e.concat(t,t+"-"+aa[0],t+"-"+aa[1]),[]),sr=Math.min,rt=Math.max,lr=Math.round;var Ze=e=>({x:e,y:e}),cc={left:"right",right:"left",bottom:"top",top:"bottom"},pc={start:"end",end:"start"};function Zo(e,t,o){return rt(e,sr(t,o))}function Ur(e,t){return typeof e=="function"?e(t):e}function Wt(e){return e.split("-")[0]}function ot(e){return e.split("-")[1]}function qo(e){return e==="x"?"y":"x"}function Yo(e){return e==="y"?"height":"width"}function Br(e){return["top","bottom"].includes(Wt(e))?"y":"x"}function Xo(e){return qo(Br(e))}function la(e,t,o){o===void 0&&(o=!1);let n=ot(e),i=Xo(e),a=Yo(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Go(s)),[s,Go(s)]}function ca(e){return e.replace(/start|end/g,t=>pc[t])}function Go(e){return e.replace(/left|right|bottom|top/g,t=>cc[t])}function dc(e){return{top:0,right:0,bottom:0,left:0,...e}}function pa(e){return typeof e!="number"?dc(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 da(e,t,o){let{reference:n,floating:i}=e,a=Br(t),s=Xo(t),c=Yo(s),p=Wt(t),f=a==="y",u=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,x;switch(p){case"top":x={x:u,y:n.y-i.height};break;case"bottom":x={x:u,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(ot(t)){case"start":x[s]-=y*(o&&f?-1:1);break;case"end":x[s]+=y*(o&&f?-1:1);break}return x}var fa=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:m}=da(f,n,p),y=n,x={},b=0;for(let S=0;S<c.length;S++){let{name:R,fn:w}=c[S],{x:A,y:I,data:L,reset:W}=await w({x:u,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:x,rects:f,platform:s,elements:{reference:e,floating:t}});if(u=A??u,m=I??m,x={...x,[R]:{...x[R],...L}},W&&b<=50){b++,typeof W=="object"&&(W.placement&&(y=W.placement),W.rects&&(f=W.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):W.rects),{x:u,y:m}=da(f,y,p)),S=-1;continue}}return{x:u,y:m,placement:y,strategy:i,middlewareData:x}};async function Jo(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:m="floating",altBoundary:y=!1,padding:x=0}=Ur(t,e),b=pa(x),R=c[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(c.floating)),boundary:f,rootBoundary:u,strategy:p})),A=m==="floating"?{...s.floating,x:n,y:i}:s.reference,I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),L=await(a.isElement==null?void 0:a.isElement(I))?await(a.getScale==null?void 0:a.getScale(I))||{x:1,y:1}:{x:1,y:1},W=St(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:I,strategy:p}):A);return{top:(w.top-W.top+b.top)/L.y,bottom:(W.bottom-w.bottom+b.bottom)/L.y,left:(w.left-W.left+b.left)/L.x,right:(W.right-w.right+b.right)/L.x}}function fc(e,t,o){return(e?[...o.filter(i=>ot(i)===e),...o.filter(i=>ot(i)!==e)]:o.filter(i=>Wt(i)===i)).filter(i=>e?ot(i)===e||(t?ca(i)!==i:!1):!0)}var Qo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:f}=t,{crossAxis:u=!1,alignment:m,allowedPlacements:y=Ko,autoAlignment:x=!0,...b}=Ur(e,t),S=m!==void 0||y===Ko?fc(m||null,x,y):y,R=await Jo(t,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[w];if(A==null)return{};let I=la(A,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(c!==A)return{reset:{placement:S[0]}};let L=[R[Wt(A)],R[I[0]],R[I[1]]],W=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:L}],he=S[w+1];if(he)return{data:{index:w+1,overflows:W},reset:{placement:he}};let ee=W.map(h=>{let v=ot(h.placement);return[h.placement,v&&u?h.overflows.slice(0,2).reduce((N,H)=>N+H,0):h.overflows[0],h.overflows]}).sort((h,v)=>h[1]-v[1]),Ae=((i=ee.filter(h=>h[2].slice(0,ot(h[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||ee[0][0];return Ae!==c?{data:{index:w+1,overflows:W},reset:{placement:Ae}}:{}}}};var en=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:c={fn:R=>{let{x:w,y:A}=R;return{x:w,y:A}}},...p}=Ur(e,t),f={x:o,y:n},u=await Jo(t,p),m=Br(Wt(i)),y=qo(m),x=f[y],b=f[m];if(a){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=x+u[R],I=x-u[w];x=Zo(A,x,I)}if(s){let R=m==="y"?"top":"left",w=m==="y"?"bottom":"right",A=b+u[R],I=b-u[w];b=Zo(A,b,I)}let S=c.fn({...t,[y]:x,[m]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function qe(e){return ha(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ye(e){var t;return(t=(ha(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ha(e){return e instanceof Node||e instanceof me(e).Node}function We(e){return e instanceof Element||e instanceof me(e).Element}function ke(e){return e instanceof HTMLElement||e instanceof me(e).HTMLElement}function ua(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof me(e).ShadowRoot}function zt(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function ma(e){return["table","td","th"].includes(qe(e))}function Wr(e){let t=zr(),o=ve(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 ya(e){let t=Ot(e);for(;ke(t)&&!cr(t);){if(Wr(t))return t;t=Ot(t)}return null}function zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function cr(e){return["html","body","#document"].includes(qe(e))}function ve(e){return me(e).getComputedStyle(e)}function pr(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ot(e){if(qe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ua(e)&&e.host||Ye(e);return ua(t)?t.host:t}function ga(e){let t=Ot(e);return cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:ke(t)&&zt(t)?t:ga(t)}function $r(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ga(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=me(i);return a?t.concat(s,s.visualViewport||[],zt(i)?i:[],s.frameElement&&o?$r(s.frameElement):[]):t.concat(i,$r(i,[],o))}function va(e){let t=ve(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=ke(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=lr(o)!==a||lr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Sa(e){return We(e)?e:e.contextElement}function Ft(e){let t=Sa(e);if(!ke(t))return Ze(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=va(t),s=(a?lr(o.width):o.width)/n,c=(a?lr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var uc=Ze(0);function Oa(e){let t=me(e);return!zr()||!t.visualViewport?uc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==me(e)?!1:t}function dr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Sa(e),s=Ze(1);t&&(n?We(n)&&(s=Ft(n)):s=Ft(e));let c=hc(a,o,n)?Oa(a):Ze(0),p=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,u=i.width/s.x,m=i.height/s.y;if(a){let y=me(a),x=n&&We(n)?me(n):n,b=y.frameElement;for(;b&&n&&x!==y;){let S=Ft(b),R=b.getBoundingClientRect(),w=ve(b),A=R.left+(b.clientLeft+parseFloat(w.paddingLeft))*S.x,I=R.top+(b.clientTop+parseFloat(w.paddingTop))*S.y;p*=S.x,f*=S.y,u*=S.x,m*=S.y,p+=A,f+=I,b=me(b).frameElement}}return St({width:u,height:m,x:p,y:f})}function mc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=ke(o),a=Ye(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=Ze(1),p=Ze(0);if((i||!i&&n!=="fixed")&&((qe(o)!=="body"||zt(a))&&(s=pr(o)),ke(o))){let f=dr(o);c=Ft(o),p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+p.x,y:t.y*c.y-s.scrollTop*c.y+p.y}}function yc(e){return Array.from(e.getClientRects())}function Ca(e){return dr(Ye(e)).left+pr(e).scrollLeft}function gc(e){let t=Ye(e),o=pr(e),n=e.ownerDocument.body,i=rt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=rt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ca(e),c=-o.scrollTop;return ve(n).direction==="rtl"&&(s+=rt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function bc(e,t){let o=me(e),n=Ye(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let f=zr();(!f||f&&t==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function xc(e,t){let o=dr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=ke(e)?Ft(e):Ze(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:s,height:c,x:p,y:f}}function ba(e,t,o){let n;if(t==="viewport")n=bc(e,o);else if(t==="document")n=gc(Ye(e));else if(We(t))n=xc(t,o);else{let i=Oa(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return St(n)}function Ea(e,t){let o=Ot(e);return o===t||!We(o)||cr(o)?!1:ve(o).position==="fixed"||Ea(o,t)}function vc(e,t){let o=t.get(e);if(o)return o;let n=$r(e,[],!1).filter(c=>We(c)&&qe(c)!=="body"),i=null,a=ve(e).position==="fixed",s=a?Ot(e):e;for(;We(s)&&!cr(s);){let c=ve(s),p=Wr(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||zt(s)&&!p&&Ea(e,s))?n=n.filter(u=>u!==s):i=c,s=Ot(s)}return t.set(e,n),n}function Sc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?vc(t,this._c):[].concat(o),n],c=s[0],p=s.reduce((f,u)=>{let m=ba(t,u,i);return f.top=rt(m.top,f.top),f.right=sr(m.right,f.right),f.bottom=sr(m.bottom,f.bottom),f.left=rt(m.left,f.left),f},ba(t,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Oc(e){return va(e)}function Cc(e,t,o){let n=ke(t),i=Ye(t),a=o==="fixed",s=dr(e,!0,a,t),c={scrollLeft:0,scrollTop:0},p=Ze(0);if(n||!n&&!a)if((qe(t)!=="body"||zt(i))&&(c=pr(t)),n){let f=dr(t,!0,a,t);p.x=f.x+t.clientLeft,p.y=f.y+t.clientTop}else i&&(p.x=Ca(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function xa(e,t){return!ke(e)||ve(e).position==="fixed"?null:t?t(e):e.offsetParent}function wa(e,t){let o=me(e);if(!ke(e))return o;let n=xa(e,t);for(;n&&ma(n)&&ve(n).position==="static";)n=xa(n,t);return n&&(qe(n)==="html"||qe(n)==="body"&&ve(n).position==="static"&&!Wr(n))?o:n||ya(e)||o}var Ec=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||wa,a=this.getDimensions;return{reference:Cc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function wc(e){return ve(e).direction==="rtl"}var Fr={convertOffsetParentRelativeRectToViewportRelativeRect:mc,getDocumentElement:Ye,getClippingRect:Sc,getOffsetParent:wa,getElementRects:Ec,getClientRects:yc,getDimensions:Oc,getScale:Ft,isElement:We,isRTL:wc};var Aa=(e,t,o)=>{let n=new Map,i={platform:Fr,...o},a={...i.platform,_c:n};return fa(e,t,{...i,platform:a})};function Ra(e){return Ac(e)}function tn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ac(e){for(let t=e;t;t=tn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=tn(e);t;t=tn(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 Hr(e,t,o){return Aa(e,t,{platform:{...Fr,getOffsetParent:n=>Fr.getOffsetParent(n,Ra)},middleware:[en({crossAxis:!0}),Qo({allowedPlacements:[o]})]})}var ye=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(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 fr.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 fr.Debouncer,this.revealDebouncer=new fr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Na.html`
|
|
165
|
+
`;var fi=["top","right","bottom","left"],pi=["start","end"],Jr=fi.reduce((e,t)=>e.concat(t,t+"-"+pi[0],t+"-"+pi[1]),[]),uo=Math.min,it=Math.max,ho=Math.round;var Xe=e=>({x:e,y:e}),gs={left:"right",right:"left",bottom:"top",top:"bottom"},ms={start:"end",end:"start"};function Qr(e,t,n){return it(e,uo(t,n))}function Ho(e,t){return typeof e=="function"?e(t):e}function Kt(e){return e.split("-")[0]}function ct(e){return e.split("-")[1]}function en(e){return e==="x"?"y":"x"}function tn(e){return e==="y"?"height":"width"}function Go(e){return["top","bottom"].includes(Kt(e))?"y":"x"}function on(e){return en(Go(e))}function ui(e,t,n){n===void 0&&(n=!1);let a=ct(e),i=on(e),c=tn(i),l=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(l=Xr(l)),[l,Xr(l)]}function hi(e){return e.replace(/start|end/g,t=>ms[t])}function Xr(e){return e.replace(/left|right|bottom|top/g,t=>gs[t])}function bs(e){return{top:0,right:0,bottom:0,left:0,...e}}function yi(e){return typeof e!="number"?bs(e):{top:e,right:e,bottom:e,left:e}}function Nt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function gi(e,t,n){let{reference:a,floating:i}=e,c=Go(t),l=on(t),p=tn(l),u=Kt(t),y=c==="y",g=a.x+a.width/2-i.width/2,b=a.y+a.height/2-i.height/2,x=a[p]/2-i[p]/2,O;switch(u){case"top":O={x:g,y:a.y-i.height};break;case"bottom":O={x:g,y:a.y+a.height};break;case"right":O={x:a.x+a.width,y:b};break;case"left":O={x:a.x-i.width,y:b};break;default:O={x:a.x,y:a.y}}switch(ct(t)){case"start":O[l]-=x*(n&&y?-1:1);break;case"end":O[l]+=x*(n&&y?-1:1);break}return O}var mi=async(e,t,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:c=[],platform:l}=n,p=c.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t)),y=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:g,y:b}=gi(y,a,u),x=a,O={},S=0;for(let E=0;E<p.length;E++){let{name:L,fn:A}=p[E],{x:I,y:W,data:U,reset:H}=await A({x:g,y:b,initialPlacement:a,placement:x,strategy:i,middlewareData:O,rects:y,platform:l,elements:{reference:e,floating:t}});if(g=I??g,b=W??b,O={...O,[L]:{...O[L],...U}},H&&S<=50){S++,typeof H=="object"&&(H.placement&&(x=H.placement),H.rects&&(y=H.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):H.rects),{x:g,y:b}=gi(y,x,u)),E=-1;continue}}return{x:g,y:b,placement:x,strategy:i,middlewareData:O}};async function rn(e,t){var n;t===void 0&&(t={});let{x:a,y:i,platform:c,rects:l,elements:p,strategy:u}=e,{boundary:y="clippingAncestors",rootBoundary:g="viewport",elementContext:b="floating",altBoundary:x=!1,padding:O=0}=Ho(t,e),S=yi(O),L=p[x?b==="floating"?"reference":"floating":b],A=Nt(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(L)))==null||n?L:L.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:g,strategy:u})),I=b==="floating"?{...l.floating,x:a,y:i}:l.reference,W=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),U=await(c.isElement==null?void 0:c.isElement(W))?await(c.getScale==null?void 0:c.getScale(W))||{x:1,y:1}:{x:1,y:1},H=Nt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:W,strategy:u}):I);return{top:(A.top-H.top+S.top)/U.y,bottom:(H.bottom-A.bottom+S.bottom)/U.y,left:(A.left-H.left+S.left)/U.x,right:(H.right-A.right+S.right)/U.x}}function xs(e,t,n){return(e?[...n.filter(i=>ct(i)===e),...n.filter(i=>ct(i)!==e)]:n.filter(i=>Kt(i)===i)).filter(i=>e?ct(i)===e||(t?hi(i)!==i:!1):!0)}var nn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,a,i;let{rects:c,middlewareData:l,placement:p,platform:u,elements:y}=t,{crossAxis:g=!1,alignment:b,allowedPlacements:x=Jr,autoAlignment:O=!0,...S}=Ho(e,t),E=b!==void 0||x===Jr?xs(b||null,O,x):x,L=await rn(t,S),A=((n=l.autoPlacement)==null?void 0:n.index)||0,I=E[A];if(I==null)return{};let W=ui(I,c,await(u.isRTL==null?void 0:u.isRTL(y.floating)));if(p!==I)return{reset:{placement:E[0]}};let U=[L[Kt(I)],L[W[0]],L[W[1]]],H=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:I,overflows:U}],me=E[A+1];if(me)return{data:{index:A+1,overflows:H},reset:{placement:me}};let re=H.map(m=>{let C=ct(m.placement);return[m.placement,C&&g?m.overflows.slice(0,2).reduce((P,Z)=>P+Z,0):m.overflows[0],m.overflows]}).sort((m,C)=>m[1]-C[1]),Ie=((i=re.filter(m=>m[2].slice(0,ct(m[0])?2:3).every(C=>C<=0))[0])==null?void 0:i[0])||re[0][0];return Ie!==p?{data:{index:A+1,overflows:H},reset:{placement:Ie}}:{}}}};var an=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:a,placement:i}=t,{mainAxis:c=!0,crossAxis:l=!1,limiter:p={fn:L=>{let{x:A,y:I}=L;return{x:A,y:I}}},...u}=Ho(e,t),y={x:n,y:a},g=await rn(t,u),b=Go(Kt(i)),x=en(b),O=y[x],S=y[b];if(c){let L=x==="y"?"top":"left",A=x==="y"?"bottom":"right",I=O+g[L],W=O-g[A];O=Qr(I,O,W)}if(l){let L=b==="y"?"top":"left",A=b==="y"?"bottom":"right",I=S+g[L],W=S-g[A];S=Qr(I,S,W)}let E=p.fn({...t,[x]:O,[b]:S});return{...E,data:{x:E.x-n,y:E.y-a}}}}};function Je(e){return xi(e)?(e.nodeName||"").toLowerCase():"#document"}function be(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qe(e){var t;return(t=(xi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xi(e){return e instanceof Node||e instanceof be(e).Node}function He(e){return e instanceof Element||e instanceof be(e).Element}function Be(e){return e instanceof HTMLElement||e instanceof be(e).HTMLElement}function bi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof be(e).ShadowRoot}function Zt(e){let{overflow:t,overflowX:n,overflowY:a,display:i}=Ce(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&!["inline","contents"].includes(i)}function vi(e){return["table","td","th"].includes(Je(e))}function Zo(e){let t=Vo(),n=Ce(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function Si(e){let t=Rt(e);for(;Be(t)&&!yo(t);){if(Zo(t))return t;t=Rt(t)}return null}function Vo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yo(e){return["html","body","#document"].includes(Je(e))}function Ce(e){return be(e).getComputedStyle(e)}function go(e){return He(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Rt(e){if(Je(e)==="html")return e;let t=e.assignedSlot||e.parentNode||bi(e)&&e.host||Qe(e);return bi(t)?t.host:t}function Oi(e){let t=Rt(e);return yo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Be(t)&&Zt(t)?t:Oi(t)}function Ko(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);let i=Oi(e),c=i===((a=e.ownerDocument)==null?void 0:a.body),l=be(i);return c?t.concat(l,l.visualViewport||[],Zt(i)?i:[],l.frameElement&&n?Ko(l.frameElement):[]):t.concat(i,Ko(i,[],n))}function wi(e){let t=Ce(e),n=parseFloat(t.width)||0,a=parseFloat(t.height)||0,i=Be(e),c=i?e.offsetWidth:n,l=i?e.offsetHeight:a,p=ho(n)!==c||ho(a)!==l;return p&&(n=c,a=l),{width:n,height:a,$:p}}function Ni(e){return He(e)?e:e.contextElement}function Vt(e){let t=Ni(e);if(!Be(t))return Xe(1);let n=t.getBoundingClientRect(),{width:a,height:i,$:c}=wi(t),l=(c?ho(n.width):n.width)/a,p=(c?ho(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var vs=Xe(0);function Ri(e){let t=be(e);return!Vo()||!t.visualViewport?vs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ss(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==be(e)?!1:t}function mo(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),c=Ni(e),l=Xe(1);t&&(a?He(a)&&(l=Vt(a)):l=Vt(e));let p=Ss(c,n,a)?Ri(c):Xe(0),u=(i.left+p.x)/l.x,y=(i.top+p.y)/l.y,g=i.width/l.x,b=i.height/l.y;if(c){let x=be(c),O=a&&He(a)?be(a):a,S=x.frameElement;for(;S&&a&&O!==x;){let E=Vt(S),L=S.getBoundingClientRect(),A=Ce(S),I=L.left+(S.clientLeft+parseFloat(A.paddingLeft))*E.x,W=L.top+(S.clientTop+parseFloat(A.paddingTop))*E.y;u*=E.x,y*=E.y,g*=E.x,b*=E.y,u+=I,y+=W,S=be(S).frameElement}}return Nt({width:g,height:b,x:u,y})}function Os(e){let{rect:t,offsetParent:n,strategy:a}=e,i=Be(n),c=Qe(n);if(n===c)return t;let l={scrollLeft:0,scrollTop:0},p=Xe(1),u=Xe(0);if((i||!i&&a!=="fixed")&&((Je(n)!=="body"||Zt(c))&&(l=go(n)),Be(n))){let y=mo(n);p=Vt(n),u.x=y.x+n.clientLeft,u.y=y.y+n.clientTop}return{width:t.width*p.x,height:t.height*p.y,x:t.x*p.x-l.scrollLeft*p.x+u.x,y:t.y*p.y-l.scrollTop*p.y+u.y}}function Cs(e){return Array.from(e.getClientRects())}function Ai(e){return mo(Qe(e)).left+go(e).scrollLeft}function Es(e){let t=Qe(e),n=go(e),a=e.ownerDocument.body,i=it(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),c=it(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),l=-n.scrollLeft+Ai(e),p=-n.scrollTop;return Ce(a).direction==="rtl"&&(l+=it(t.clientWidth,a.clientWidth)-i),{width:i,height:c,x:l,y:p}}function ws(e,t){let n=be(e),a=Qe(e),i=n.visualViewport,c=a.clientWidth,l=a.clientHeight,p=0,u=0;if(i){c=i.width,l=i.height;let y=Vo();(!y||y&&t==="fixed")&&(p=i.offsetLeft,u=i.offsetTop)}return{width:c,height:l,x:p,y:u}}function Ns(e,t){let n=mo(e,!0,t==="fixed"),a=n.top+e.clientTop,i=n.left+e.clientLeft,c=Be(e)?Vt(e):Xe(1),l=e.clientWidth*c.x,p=e.clientHeight*c.y,u=i*c.x,y=a*c.y;return{width:l,height:p,x:u,y}}function Ci(e,t,n){let a;if(t==="viewport")a=ws(e,n);else if(t==="document")a=Es(Qe(e));else if(He(t))a=Ns(t,n);else{let i=Ri(e);a={...t,x:t.x-i.x,y:t.y-i.y}}return Nt(a)}function Ii(e,t){let n=Rt(e);return n===t||!He(n)||yo(n)?!1:Ce(n).position==="fixed"||Ii(n,t)}function Rs(e,t){let n=t.get(e);if(n)return n;let a=Ko(e,[],!1).filter(p=>He(p)&&Je(p)!=="body"),i=null,c=Ce(e).position==="fixed",l=c?Rt(e):e;for(;He(l)&&!yo(l);){let p=Ce(l),u=Zo(l);!u&&p.position==="fixed"&&(i=null),(c?!u&&!i:!u&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Zt(l)&&!u&&Ii(e,l))?a=a.filter(g=>g!==l):i=p,l=Rt(l)}return t.set(e,a),a}function As(e){let{element:t,boundary:n,rootBoundary:a,strategy:i}=e,l=[...n==="clippingAncestors"?Rs(t,this._c):[].concat(n),a],p=l[0],u=l.reduce((y,g)=>{let b=Ci(t,g,i);return y.top=it(b.top,y.top),y.right=uo(b.right,y.right),y.bottom=uo(b.bottom,y.bottom),y.left=it(b.left,y.left),y},Ci(t,p,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Is(e){return wi(e)}function Ls(e,t,n){let a=Be(t),i=Qe(t),c=n==="fixed",l=mo(e,!0,c,t),p={scrollLeft:0,scrollTop:0},u=Xe(0);if(a||!a&&!c)if((Je(t)!=="body"||Zt(i))&&(p=go(t)),a){let y=mo(t,!0,c,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}else i&&(u.x=Ai(i));return{x:l.left+p.scrollLeft-u.x,y:l.top+p.scrollTop-u.y,width:l.width,height:l.height}}function Ei(e,t){return!Be(e)||Ce(e).position==="fixed"?null:t?t(e):e.offsetParent}function Li(e,t){let n=be(e);if(!Be(e))return n;let a=Ei(e,t);for(;a&&vi(a)&&Ce(a).position==="static";)a=Ei(a,t);return a&&(Je(a)==="html"||Je(a)==="body"&&Ce(a).position==="static"&&!Zo(a))?n:a||Si(e)||n}var Ps=async function(e){let{reference:t,floating:n,strategy:a}=e,i=this.getOffsetParent||Li,c=this.getDimensions;return{reference:Ls(t,await i(n),a),floating:{x:0,y:0,...await c(n)}}};function ks(e){return Ce(e).direction==="rtl"}var jo={convertOffsetParentRelativeRectToViewportRelativeRect:Os,getDocumentElement:Qe,getClippingRect:As,getOffsetParent:Li,getElementRects:Ps,getClientRects:Cs,getDimensions:Is,getScale:Vt,isElement:He,isRTL:ks};var Pi=(e,t,n)=>{let a=new Map,i={platform:jo,...n},c={...i.platform,_c:a};return mi(e,t,{...i,platform:c})};function ki(e){return Ts(e)}function cn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ts(e){for(let t=e;t;t=cn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=cn(e);t;t=cn(t)){if(!(t instanceof Element))continue;let n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Yo(e,t,n){return Pi(e,t,{platform:{...jo,getOffsetParent:a=>jo.getOffsetParent(a,ki)},middleware:[an({crossAxis:!0}),nn({allowedPlacements:[n]})]})}var xe=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},V=class extends bo.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 bo.Debouncer,this.revealDebouncer=new bo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ti.html`
|
|
166
166
|
<div part="container"
|
|
167
167
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
168
168
|
@mouseenter=${this.onHover}
|
|
@@ -180,7 +180,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
180
180
|
</div>
|
|
181
181
|
</div>
|
|
182
182
|
</div>
|
|
183
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(
|
|
183
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(n=>t.has(n))&&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(n=>n.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="",Yo(this.slottedElement,this.tooltip,this.position).then(({x:t,y:n})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${n}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,n){return Math.max(t,Math.min(0,-n))}};V.elementDefinitions={"ft-typography":se};V.styles=di;xe([(0,ae.property)()],V.prototype,"text",void 0);xe([(0,ae.property)({type:Boolean})],V.prototype,"manual",void 0);xe([(0,ae.property)({type:Boolean})],V.prototype,"inline",void 0);xe([(0,ae.property)({type:Number})],V.prototype,"delay",void 0);xe([(0,ae.property)()],V.prototype,"position",void 0);xe([(0,ae.queryAssignedNodes)()],V.prototype,"slotNodes",void 0);xe([(0,ae.query)(".ft-tooltip--container")],V.prototype,"container",void 0);xe([(0,ae.query)(".ft-tooltip")],V.prototype,"tooltip",void 0);xe([(0,ae.query)(".ft-tooltip--content")],V.prototype,"tooltipContent",void 0);xe([(0,ae.state)()],V.prototype,"visible",void 0);xe([(0,ae.eventOptions)({passive:!0})],V.prototype,"onTouch",null);xe([(0,ae.eventOptions)({passive:!0})],V.prototype,"onHover",null);xe([(0,ae.eventOptions)({passive:!0})],V.prototype,"onOut",null);xe([(0,ae.eventOptions)({passive:!0})],V.prototype,"onClick",null);(0,Ui.customElement)("ft-tooltip")(V);var vc=v(T());var er=v(M()),ye=v(Q()),xc=v(xo()),or=v(T());var Ki=v(T());var Hi=v(M()),de=v(Q()),Gi=v(xo()),vo=v(T());var Fi=v(M()),ee=v(T()),_i=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorContent),z={color:_i,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",_i),opacityContentOnSurfacePressed:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ee.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Bi=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorPrimary),Di={color:Bi,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bi)},zi=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorSecondary),Mi={color:zi,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",zi)},$i=Fi.css`
|
|
184
184
|
:host {
|
|
185
185
|
display: contents;
|
|
186
186
|
}
|
|
@@ -193,7 +193,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
193
193
|
|
|
194
194
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
195
195
|
overflow: hidden;
|
|
196
|
-
border-radius: ${
|
|
196
|
+
border-radius: ${z.borderRadius};
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
.ft-ripple .ft-ripple--background,
|
|
@@ -227,27 +227,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ft-ripple .ft-ripple--background {
|
|
230
|
-
background-color: ${
|
|
230
|
+
background-color: ${z.backgroundColor};
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.ft-ripple .ft-ripple--effect {
|
|
234
|
-
background-color: ${
|
|
234
|
+
background-color: ${z.color};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
238
|
-
background-color: ${
|
|
238
|
+
background-color: ${Mi.backgroundColor};
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
242
|
-
background-color: ${
|
|
242
|
+
background-color: ${Mi.color};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
246
|
-
background-color: ${
|
|
246
|
+
background-color: ${Di.backgroundColor};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
250
|
-
background-color: ${
|
|
250
|
+
background-color: ${Di.color};
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.ft-ripple .ft-ripple--background {
|
|
@@ -277,33 +277,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
280
|
-
opacity: ${
|
|
280
|
+
opacity: ${z.opacityContentOnSurfaceHover};
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
284
|
-
opacity: ${
|
|
284
|
+
opacity: ${z.opacityContentOnSurfaceSelected};
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
288
|
-
opacity: ${
|
|
288
|
+
opacity: ${z.opacityContentOnSurfaceFocused};
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
292
|
-
opacity: ${
|
|
292
|
+
opacity: ${z.opacityContentOnSurfacePressed};
|
|
293
293
|
transform: translate(-50%, -50%) scale(1);
|
|
294
294
|
}
|
|
295
|
-
`;var
|
|
295
|
+
`;var ve=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},$=class extends vo.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 vo.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 vo.Debouncer(10),this.moveRipple=t=>{var n,a;let{x:i,y:c}=this.getCoordinates(t),l=(a=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(c!=null?c-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Hi.html`
|
|
296
296
|
<style>
|
|
297
297
|
.ft-ripple .ft-ripple--effect {
|
|
298
298
|
left: ${this.originX}px;
|
|
299
299
|
top: ${this.originY}px;
|
|
300
300
|
}
|
|
301
301
|
</style>
|
|
302
|
-
<div class="${(0
|
|
302
|
+
<div class="${(0,Gi.classMap)(t)}">
|
|
303
303
|
<div class="ft-ripple--background"></div>
|
|
304
304
|
<div class="ft-ripple--effect"></div>
|
|
305
305
|
</div>
|
|
306
|
-
`}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=(...c)=>p=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},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()}};$.elementDefinitions={};$.styles=Ua;ge([(0,se.property)({type:Boolean})],$.prototype,"primary",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"secondary",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"unbounded",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"activated",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"selected",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"disabled",void 0);ge([(0,se.state)()],$.prototype,"hovered",void 0);ge([(0,se.state)()],$.prototype,"focused",void 0);ge([(0,se.state)()],$.prototype,"pressed",void 0);ge([(0,se.state)()],$.prototype,"rippling",void 0);ge([(0,se.state)()],$.prototype,"originX",void 0);ge([(0,se.state)()],$.prototype,"originY",void 0);ge([(0,se.query)(".ft-ripple")],$.prototype,"ripple",void 0);ge([(0,se.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,Wa.customElement)("ft-ripple")($);var Ka=g(P());var mr=g(B()),Ct=g(Y()),Va=g(P()),Ga=g(Fa());var jr;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.EYE="",e.SHARE="󨃱"})(jr||(jr={}));var O;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(O||(O={}));var dm=new Map([...["abw"].map(e=>[e,O.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var fm={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var Ha=g(B()),Xe=g(P()),le={size:Xe.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Xe.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ja=Ha.css`
|
|
306
|
+
`}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 n,a;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.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,n;let a=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;a&&this.setupFor((n=this.target)!==null&&n!==void 0?n:a)}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 n=(...p)=>u=>{p.forEach(y=>window.addEventListener(y,this.endPress,{once:!0})),this.startPress(u)},a=n("mouseup","contextmenu"),i=n("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&n("keyup")(p)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",a,l),t.addEventListener("touchstart",i,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",c,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",a,l),t.removeEventListener("touchstart",i,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",c,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let n=t,a=t,i,c;return n.x!=null?{x:i,y:c}=n:a.touches!=null&&(i=a.touches[0].clientX,c=a.touches[0].clientY),{x:i,y:c}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let n of t.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=$i;ve([(0,de.property)({type:Boolean})],$.prototype,"primary",void 0);ve([(0,de.property)({type:Boolean})],$.prototype,"secondary",void 0);ve([(0,de.property)({type:Boolean})],$.prototype,"unbounded",void 0);ve([(0,de.property)({type:Boolean})],$.prototype,"activated",void 0);ve([(0,de.property)({type:Boolean})],$.prototype,"selected",void 0);ve([(0,de.property)({type:Boolean})],$.prototype,"disabled",void 0);ve([(0,de.state)()],$.prototype,"hovered",void 0);ve([(0,de.state)()],$.prototype,"focused",void 0);ve([(0,de.state)()],$.prototype,"pressed",void 0);ve([(0,de.state)()],$.prototype,"rippling",void 0);ve([(0,de.state)()],$.prototype,"originX",void 0);ve([(0,de.state)()],$.prototype,"originY",void 0);ve([(0,de.query)(".ft-ripple")],$.prototype,"ripple",void 0);ve([(0,de.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,Ki.customElement)("ft-ripple")($);var Ji=v(T());var So=v(M()),At=v(Q()),qi=v(T()),Xi=v(Vi());var qo;(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.EYE="",e.SHARE="󨃱"})(qo||(qo={}));var w;(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=""})(w||(w={}));var xy=new Map([...["abw"].map(e=>[e,w.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,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.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,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.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,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.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,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var vy={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var ji=v(M()),et=v(T()),pe={size:et.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:et.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",et.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:et.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",et.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:et.FtCssVariableFactory.extend("--ft-icon-material-font-family","",et.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:et.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Yi=ji.css`
|
|
307
307
|
:host, i.ft-icon {
|
|
308
308
|
display: inline-flex;
|
|
309
309
|
align-items: center;
|
|
@@ -312,14 +312,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
:host {
|
|
315
|
-
width: ${
|
|
316
|
-
height: ${
|
|
315
|
+
width: ${pe.size};
|
|
316
|
+
height: ${pe.size};
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
i.ft-icon {
|
|
320
320
|
width: 100%;
|
|
321
321
|
height: 100%;
|
|
322
|
-
font-size: ${
|
|
322
|
+
font-size: ${pe.size};
|
|
323
323
|
line-height: 1;
|
|
324
324
|
font-weight: normal;
|
|
325
325
|
text-transform: none;
|
|
@@ -330,33 +330,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
330
330
|
text-rendering: auto;
|
|
331
331
|
-webkit-font-smoothing: antialiased;
|
|
332
332
|
-moz-osx-font-smoothing: grayscale;
|
|
333
|
-
vertical-align: ${
|
|
333
|
+
vertical-align: ${pe.verticalAlign};
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
i.ft-icon.ft-icon--fluid-topics {
|
|
337
|
-
font-family: ${
|
|
337
|
+
font-family: ${pe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
338
338
|
|
|
339
339
|
/* Ugly fix because font is broken */
|
|
340
|
-
font-size: calc(0.75 * ${
|
|
341
|
-
line-height: ${
|
|
340
|
+
font-size: calc(0.75 * ${pe.size});
|
|
341
|
+
line-height: ${pe.size};
|
|
342
342
|
position: relative;
|
|
343
343
|
top: -4%;
|
|
344
344
|
justify-content: center;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
.ft-icon--file-format {
|
|
348
|
-
font-family: ${
|
|
348
|
+
font-family: ${pe.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
.ft-icon--material {
|
|
352
|
-
font-family: ${
|
|
352
|
+
font-family: ${pe.materialFontFamily}, "Material Icons", sans-serif;
|
|
353
353
|
}
|
|
354
|
-
`;var
|
|
354
|
+
`;var Ge;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ge||(Ge={}));var Xo=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},fe=class extends qi.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=So.nothing}render(){let t=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,n=t!==Ge.material||!!this.value;return So.html`
|
|
355
355
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
356
|
-
${(0,
|
|
357
|
-
<slot ?hidden=${
|
|
356
|
+
${(0,Xi.unsafeHTML)(this.resolvedIcon)}
|
|
357
|
+
<slot ?hidden=${n}></slot>
|
|
358
358
|
</i>
|
|
359
|
-
`}get textContent(){var t,
|
|
359
|
+
`}get textContent(){var t,n;return(n=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&n!==void 0?n:""}update(t){super.update(t),["value","variant"].some(n=>t.has(n))&&this.resolveIcon()}resolveIcon(){var t,n;let a=this.value||this.textContent;switch(this.variant){case Ge.file_format:this.resolvedIcon=(t=w[a.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:a;break;case Ge.material:this.resolvedIcon=this.value||So.nothing;break;default:this.resolvedIcon=(n=qo[a.replace("-","_").toUpperCase()])!==null&&n!==void 0?n:a;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=Yi;Xo([(0,At.property)()],fe.prototype,"variant",void 0);Xo([(0,At.property)()],fe.prototype,"value",void 0);Xo([(0,At.state)()],fe.prototype,"resolvedIcon",void 0);Xo([(0,At.query)("slot")],fe.prototype,"slottedContent",void 0);(0,Ji.customElement)("ft-icon")(fe);var Qo=v(M()),D=v(T());var sn=v(T());var Co=v(Q()),sc=v(T());var rc=v(M()),B=v(T());var Qi=v(M()),Oo=v(T()),Se={color:Oo.FtCssVariableFactory.extend("--ft-loader-color","",Oo.designSystemVariables.colorPrimary),size:Oo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ec=Qi.css`
|
|
360
360
|
:host {
|
|
361
361
|
line-height: 0;
|
|
362
362
|
}
|
|
@@ -365,8 +365,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
365
365
|
display: inline-block;
|
|
366
366
|
position: relative;
|
|
367
367
|
|
|
368
|
-
width: ${
|
|
369
|
-
height: ${
|
|
368
|
+
width: ${Se.size};
|
|
369
|
+
height: ${Se.size};
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
.ft-loader div {
|
|
@@ -375,7 +375,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
375
375
|
width: 25%;
|
|
376
376
|
height: 25%;
|
|
377
377
|
border-radius: 50%;
|
|
378
|
-
background: ${
|
|
378
|
+
background: ${Se.color};
|
|
379
379
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
380
380
|
}
|
|
381
381
|
|
|
@@ -422,10 +422,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
422
422
|
transform: translate(0, 0);
|
|
423
423
|
}
|
|
424
424
|
100% {
|
|
425
|
-
transform: translate(calc(0.35 * ${
|
|
425
|
+
transform: translate(calc(0.35 * ${Se.size}), 0);
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
`;var
|
|
428
|
+
`;var tc=B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorPrimary),q={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorSurface),borderRadius:B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusL),color:tc,fontSize:B.FtCssVariableFactory.extend("--ft-button-font-size","",$e.fontSize),iconSize:B.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:B.FtCssVariableFactory.extend("--ft-button-ripple-color","",tc),verticalPadding:B.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOpacityDisabled,"Design system")},oc=B.FtCssVariableFactory.extend("--ft-button-primary-color","",B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorOnPrimary)),ln={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-primary-background-color","",B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorPrimary)),color:oc,rippleColor:B.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",oc)},Ke={borderRadius:B.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusM)),verticalPadding:B.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},nc=[rc.css`
|
|
429
429
|
:host {
|
|
430
430
|
display: inline-block;
|
|
431
431
|
max-width: 100%;
|
|
@@ -436,7 +436,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
436
436
|
box-shadow: 0px 0px 0px transparent;
|
|
437
437
|
border: 0px solid transparent;
|
|
438
438
|
text-shadow: 0px 0px 0px transparent;
|
|
439
|
-
font-size: ${
|
|
439
|
+
font-size: ${q.fontSize};
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
button:hover {
|
|
@@ -465,31 +465,31 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
465
465
|
border: none;
|
|
466
466
|
pointer-events: auto;
|
|
467
467
|
|
|
468
|
-
--ft-button-internal-line-height: max(calc(${
|
|
469
|
-
--ft-button-internal-color: ${
|
|
470
|
-
${(0,
|
|
471
|
-
${(0,
|
|
468
|
+
--ft-button-internal-line-height: max(calc(${q.fontSize} + 2px), ${q.iconSize});
|
|
469
|
+
--ft-button-internal-color: ${q.color};
|
|
470
|
+
${(0,B.setVariable)(pe.size,q.iconSize)};
|
|
471
|
+
${(0,B.setVariable)(z.color,q.rippleColor)};
|
|
472
472
|
|
|
473
|
-
border-radius: ${
|
|
474
|
-
padding: ${
|
|
475
|
-
background-color: ${
|
|
473
|
+
border-radius: ${q.borderRadius};
|
|
474
|
+
padding: ${q.verticalPadding} ${q.horizontalPadding};
|
|
475
|
+
background-color: ${q.backgroundColor};
|
|
476
476
|
color: var(--ft-button-internal-color);
|
|
477
477
|
-webkit-mask-image: radial-gradient(white, black);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
.ft-button.ft-button--outlined {
|
|
481
481
|
border: 1px solid var(--ft-button-internal-color);
|
|
482
|
-
padding: calc(${
|
|
482
|
+
padding: calc(${q.verticalPadding} - 1px) calc(${q.horizontalPadding} - 1px);
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
.ft-button.ft-button--dense {
|
|
486
|
-
padding: ${
|
|
487
|
-
border-radius: ${
|
|
488
|
-
gap: ${
|
|
486
|
+
padding: ${Ke.verticalPadding} ${Ke.horizontalPadding};
|
|
487
|
+
border-radius: ${Ke.borderRadius};
|
|
488
|
+
gap: ${Ke.iconPadding};
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
492
|
-
padding: calc(${
|
|
492
|
+
padding: calc(${Ke.verticalPadding} - 1px) calc(${Ke.horizontalPadding} - 1px);
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
.ft-button:not([disabled]):hover {
|
|
@@ -497,22 +497,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.ft-button--round {
|
|
500
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
500
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${q.verticalPadding});
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button--round.ft-button--dense {
|
|
504
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
504
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ke.verticalPadding});
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
.ft-button[disabled] {
|
|
508
508
|
filter: grayscale(1);
|
|
509
|
-
opacity: ${
|
|
509
|
+
opacity: ${q.opacityDisabled};
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
.ft-button.ft-button--primary {
|
|
513
|
-
background-color: ${
|
|
514
|
-
--ft-button-internal-color: ${
|
|
515
|
-
${(0,
|
|
513
|
+
background-color: ${ln.backgroundColor};
|
|
514
|
+
--ft-button-internal-color: ${ln.color};
|
|
515
|
+
${(0,B.setVariable)(z.color,ln.rippleColor)};
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
.ft-button:focus {
|
|
@@ -525,13 +525,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
525
525
|
white-space: nowrap;
|
|
526
526
|
text-overflow: ellipsis;
|
|
527
527
|
display: block;
|
|
528
|
-
margin: 0 ${
|
|
529
|
-
${(0,
|
|
530
|
-
${(0,
|
|
528
|
+
margin: 0 ${q.iconPadding};
|
|
529
|
+
${(0,B.setVariable)($e.fontSize,"1em")};
|
|
530
|
+
${(0,B.setVariable)($e.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
.ft-button--dense .ft-button--label {
|
|
534
|
-
margin: 0 ${
|
|
534
|
+
margin: 0 ${Ke.iconPadding};
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.ft-button--label[hidden] {
|
|
@@ -544,13 +544,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
.ft-button--label[hidden] + [part="icon"] {
|
|
547
|
-
margin: 0 calc(${
|
|
548
|
-
padding: 0 ${
|
|
547
|
+
margin: 0 calc(${q.horizontalPadding} * -1);
|
|
548
|
+
padding: 0 ${q.verticalPadding};
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
552
|
-
margin: 0 calc(${
|
|
553
|
-
padding: 0 ${
|
|
552
|
+
margin: 0 calc(${Ke.horizontalPadding} * -1);
|
|
553
|
+
padding: 0 ${Ke.verticalPadding};
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -558,43 +558,44 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
ft-loader {
|
|
561
|
-
${(0,
|
|
562
|
-
${(0,
|
|
561
|
+
${(0,B.setVariable)(Se.size,q.iconSize)};
|
|
562
|
+
${(0,B.setVariable)(Se.color,"var(--ft-button-internal-color)")};
|
|
563
563
|
}
|
|
564
|
-
`,
|
|
564
|
+
`,B.noTextSelect];var Yt=v(T());var cc=v(T());var ac=v(M()),ic=v(T());var It=class extends ic.FtLitElement{render(){return ac.html`
|
|
565
565
|
<div class="ft-loader">
|
|
566
566
|
<div></div>
|
|
567
567
|
<div></div>
|
|
568
568
|
<div></div>
|
|
569
569
|
<div></div>
|
|
570
570
|
</div>
|
|
571
|
-
`}};
|
|
571
|
+
`}};It.styles=ec;(0,cc.customElement)("ft-loader")(It);var jt=v(M()),lc=v(xo()),he=v(Q()),Ee=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},te=class extends(0,Yt.toFtFormComponent)(Yt.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var n;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){return this.addTooltipIfNeeded(jt.html`
|
|
572
572
|
<button part="button"
|
|
573
|
-
class="${(0,
|
|
573
|
+
class="${(0,lc.classMap)(this.buttonClasses)}"
|
|
574
574
|
aria-label="${this.getLabel()}"
|
|
575
575
|
?disabled=${this.isDisabled()}>
|
|
576
576
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
577
577
|
<ft-typography part="label"
|
|
578
578
|
variant=${this.typographyVariant}
|
|
579
579
|
element="span"
|
|
580
|
-
class="ft-button--label ${
|
|
580
|
+
class="ft-button--label ${Yt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
581
581
|
?hidden=${!this.hasTextContent()}>
|
|
582
582
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
583
583
|
</ft-typography>
|
|
584
584
|
${this.resolveIcon()}
|
|
585
585
|
</button>
|
|
586
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
586
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?jt.html`
|
|
587
587
|
<ft-tooltip part="tooltip"
|
|
588
588
|
text="${this.getLabel()}"
|
|
589
589
|
position="${this.tooltipPosition}">
|
|
590
590
|
${t}
|
|
591
591
|
</ft-tooltip>
|
|
592
|
-
`:t}resolveIcon(){return this.loading?
|
|
593
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
592
|
+
`:t}resolveIcon(){return this.loading?jt.html`
|
|
593
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?jt.html`
|
|
594
594
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
595
|
-
`:
|
|
595
|
+
`:jt.html`
|
|
596
596
|
<slot part="icon" name="icon"></slot>
|
|
597
|
-
`}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}};J.elementDefinitions={"ft-ripple":$,"ft-tooltip":j,"ft-typography":ae,"ft-icon":ce,"ft-loader":Et};Se([(0,de.property)({type:String,reflect:!0})],J.prototype,"role",void 0);Se([(0,de.property)()],J.prototype,"type",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"disabled",void 0);Se([(0,de.property)()],J.prototype,"label",void 0);Se([(0,de.property)()],J.prototype,"icon",void 0);Se([(0,de.property)()],J.prototype,"iconVariant",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"trailingIcon",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"loading",void 0);Se([(0,de.property)()],J.prototype,"tooltipPosition",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"hideTooltip",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"forceTooltip",void 0);Se([(0,de.query)(".ft-button")],J.prototype,"button",void 0);Se([(0,de.query)(".ft-button--label slot")],J.prototype,"slottedContent",void 0);var Gr=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 c=e.length-1;c>=0;c--)(s=e[c])&&(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},Oe=class extends J{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Oe.styles=[ns.safariEllipsisFix,Qa];Gr([(0,gr.property)({type:Boolean})],Oe.prototype,"primary",void 0);Gr([(0,gr.property)({type:Boolean})],Oe.prototype,"outlined",void 0);Gr([(0,gr.property)({type:Boolean})],Oe.prototype,"dense",void 0);Gr([(0,gr.property)({type:Boolean})],Oe.prototype,"round",void 0);var Vt=g(Y());var ss=g(P());var is=g(B()),U=g(P());var as=[is.css`
|
|
597
|
+
`}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(n=>this.unslotText(n)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};te.elementDefinitions={"ft-ripple":$,"ft-tooltip":V,"ft-typography":se,"ft-icon":fe,"ft-loader":It};Ee([(0,he.property)({type:String,reflect:!0})],te.prototype,"role",void 0);Ee([(0,he.property)()],te.prototype,"type",void 0);Ee([(0,he.property)({type:Boolean})],te.prototype,"disabled",void 0);Ee([(0,he.property)()],te.prototype,"label",void 0);Ee([(0,he.property)()],te.prototype,"icon",void 0);Ee([(0,he.property)()],te.prototype,"iconVariant",void 0);Ee([(0,he.property)({type:Boolean})],te.prototype,"trailingIcon",void 0);Ee([(0,he.property)({type:Boolean})],te.prototype,"loading",void 0);Ee([(0,he.property)()],te.prototype,"tooltipPosition",void 0);Ee([(0,he.property)({type:Boolean})],te.prototype,"hideTooltip",void 0);Ee([(0,he.property)({type:Boolean})],te.prototype,"forceTooltip",void 0);Ee([(0,he.query)(".ft-button")],te.prototype,"button",void 0);Ee([(0,he.query)(".ft-button--label slot")],te.prototype,"slottedContent",void 0);var Jo=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},we=class extends te{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=[sc.safariEllipsisFix,nc];Jo([(0,Co.property)({type:Boolean})],we.prototype,"primary",void 0);Jo([(0,Co.property)({type:Boolean})],we.prototype,"outlined",void 0);Jo([(0,Co.property)({type:Boolean})],we.prototype,"dense",void 0);Jo([(0,Co.property)({type:Boolean})],we.prototype,"round",void 0);var qt=v(Q());var hc=v(T());var fc=v(M()),F=v(T());var tt=v(M(),1),lt=e=>typeof e=="string"?(0,tt.unsafeCSS)(e):e,r=class{static create(t,n,a,i){let c=p=>lt(p??i),l=tt.css`var(${lt(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>tt.css`var(${lt(t)}, ${c(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,n,a,i){let c=p=>a.get(p??i),l=tt.css`var(${lt(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>tt.css`var(${lt(t)}, ${c(p)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(t,n){let a=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):lt(c??t.lastResortDefaultValue()),i=tt.css`var(${lt(t.name)}, ${a(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>tt.css`var(${lt(t.name)}, ${a(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var s={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)")},ng={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")},ag={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")},ig={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")},cg={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")},lg={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")},sg={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")},dg={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")},pg={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")},fg={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")},ug={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")},hg={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")},yg={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")},gg={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")},mg={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")},bg={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")},xg={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")},vg={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")},Sg={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")},Og={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")},Cg={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")},Eg={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")},wg={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")},Ng={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")},Rg={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")},Ag={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")},Ig={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")};var h={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
598
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var R={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",h.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",h.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",h.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",h.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",h.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",h.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",h.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",h.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",h.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",h.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",h.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",h.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",h.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",h.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",h.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Fg={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",h.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",h.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",h.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",h.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",h.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",h.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",h.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",h.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",h.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",h.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",h.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",h.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",h.borderErrorSubtle)};var Zg={focusOpacity:r.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",h.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",h.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",h.contentInfoPrimary)};var Xg={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",h.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",h.borderInfoSubtle)};var om={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",h.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",h.contentActionPrimary)};var cm={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",h.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",h.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",h.contentGlobalSubtle)};var fm={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",h.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",h.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",h.contentGlobalSecondary)};var mm={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","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",h.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",h.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Om={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",h.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",h.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",h.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",h.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",h.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var Rm={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",h.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",h.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",h.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","",h.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var km={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",h.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",h.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",h.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","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Bm={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",h.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",h.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",h.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",h.backgroundGlobalOnSurface)};var $m={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",h.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",h.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",h.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",h.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Vm={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",h.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",h.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",h.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",h.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",h.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","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Jm={backgroundColor:r.extend("--ft-popover-background-color","",h.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",h.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",h.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",h.contentActionPrimary),gap:r.extend("--ft-popover-gap","",s.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02)};var rb={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",h.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onColor:r.extend("--ft-tabs-on-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",h.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",h.borderActionFocusRing)};var lb={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",h.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",h.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",h.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",h.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",h.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var ub={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",h.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",h.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",h.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",h.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",h.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var mb={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var Ob={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",h.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",h.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",h.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",h.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",h.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",h.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",h.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",h.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",h.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",h.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",h.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",h.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",h.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",h.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",h.contentSuccessIconOnly)};var Rb={color:r.extend("--ft-checkbox-color","",h.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",h.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",h.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",h.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",h.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","",s.spacing3)};var kb={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",h.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",h.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",h.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",h.contentActionPrimary),color:r.extend("--ft-toggle-color","",h.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",h.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var Bb={color:r.extend("--ft-radio-color","",h.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",h.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",h.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",h.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",h.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",h.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","",s.spacing3)};var $b={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",h.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",h.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",h.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",h.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",h.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",h.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",h.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",h.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",h.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var Vb={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",h.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",h.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var dc;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(dc||(dc={}));var pc;(function(e){e.large="large",e.medium="medium",e.small="small"})(pc||(pc={}));var uc=[fc.css`
|
|
598
599
|
:host {
|
|
599
600
|
display: inline-block;
|
|
600
601
|
max-width: 100%;
|
|
@@ -644,7 +645,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
644
645
|
}
|
|
645
646
|
|
|
646
647
|
.ft-button:focus-visible {
|
|
647
|
-
outline-color: ${
|
|
648
|
+
outline-color: ${R.focusFocusRingColor};
|
|
648
649
|
outline-style: solid;
|
|
649
650
|
}
|
|
650
651
|
|
|
@@ -673,146 +674,146 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
673
674
|
/** Primary styles **/
|
|
674
675
|
|
|
675
676
|
.ft-button--primary {
|
|
676
|
-
${(0,
|
|
677
|
+
${(0,F.setVariable)(Se.color,R.primaryIconColor)};
|
|
677
678
|
|
|
678
|
-
${(0,
|
|
679
|
-
${(0,
|
|
680
|
-
${(0,
|
|
681
|
-
${(0,
|
|
682
|
-
${(0,
|
|
679
|
+
${(0,F.setVariable)(z.color,R.primaryStateLayerColor)};
|
|
680
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.primaryHoverStateLayerOpacity)};
|
|
681
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.primaryFocusStateLayerOpacity)};
|
|
682
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.primaryActiveStateLayerOpacity)};
|
|
683
|
+
${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.primaryActiveStateLayerOpacity)};
|
|
683
684
|
|
|
684
|
-
background-color: ${
|
|
685
|
-
color: ${
|
|
685
|
+
background-color: ${R.primaryBackgroundColor};
|
|
686
|
+
color: ${R.primaryColor};
|
|
686
687
|
border-style: none;
|
|
687
688
|
}
|
|
688
689
|
|
|
689
690
|
.ft-button--primary[disabled] {
|
|
690
|
-
opacity: ${
|
|
691
|
+
opacity: ${R.primaryDisabledComponentOpacity};
|
|
691
692
|
}
|
|
692
693
|
|
|
693
694
|
.ft-button--primary ft-icon {
|
|
694
|
-
color: ${
|
|
695
|
+
color: ${R.primaryIconColor};
|
|
695
696
|
}
|
|
696
697
|
|
|
697
698
|
/** Secondary styles **/
|
|
698
699
|
|
|
699
700
|
.ft-button--secondary {
|
|
700
|
-
${(0,
|
|
701
|
+
${(0,F.setVariable)(Se.color,R.secondaryIconColor)};
|
|
701
702
|
|
|
702
|
-
${(0,
|
|
703
|
-
${(0,
|
|
704
|
-
${(0,
|
|
705
|
-
${(0,
|
|
706
|
-
${(0,
|
|
703
|
+
${(0,F.setVariable)(z.color,R.secondaryStateLayerColor)};
|
|
704
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.secondaryHoverStateLayerOpacity)};
|
|
705
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.secondaryFocusStateLayerOpacity)};
|
|
706
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.secondaryActiveStateLayerOpacity)};
|
|
707
|
+
${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.secondaryActiveStateLayerOpacity)};
|
|
707
708
|
|
|
708
|
-
background-color: ${
|
|
709
|
-
color: ${
|
|
710
|
-
border-color: ${
|
|
709
|
+
background-color: ${R.secondaryBackgroundColor};
|
|
710
|
+
color: ${R.secondaryColor};
|
|
711
|
+
border-color: ${R.secondaryBorderColor};
|
|
711
712
|
border-style: solid;
|
|
712
713
|
}
|
|
713
714
|
|
|
714
715
|
.ft-button--secondary[disabled] {
|
|
715
|
-
opacity: ${
|
|
716
|
+
opacity: ${R.secondaryDisabledComponentOpacity};
|
|
716
717
|
}
|
|
717
718
|
|
|
718
719
|
.ft-button--secondary ft-icon {
|
|
719
|
-
color: ${
|
|
720
|
+
color: ${R.secondaryIconColor};
|
|
720
721
|
}
|
|
721
722
|
|
|
722
723
|
/** Tertiary styles **/
|
|
723
724
|
|
|
724
725
|
.ft-button--tertiary {
|
|
725
|
-
${(0,
|
|
726
|
+
${(0,F.setVariable)(Se.color,R.tertiaryIconColor)};
|
|
726
727
|
|
|
727
|
-
${(0,
|
|
728
|
-
${(0,
|
|
729
|
-
${(0,
|
|
730
|
-
${(0,
|
|
731
|
-
${(0,
|
|
728
|
+
${(0,F.setVariable)(z.color,R.tertiaryStateLayerColor)};
|
|
729
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.tertiaryHoverStateLayerOpacity)};
|
|
730
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.tertiaryFocusStateLayerOpacity)};
|
|
731
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.tertiaryActiveStateLayerOpacity)};
|
|
732
|
+
${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.tertiaryActiveStateLayerOpacity)};
|
|
732
733
|
|
|
733
|
-
background-color: ${
|
|
734
|
-
color: ${
|
|
734
|
+
background-color: ${R.tertiaryBackgroundColor};
|
|
735
|
+
color: ${R.tertiaryColor};
|
|
735
736
|
border-style: none;
|
|
736
737
|
}
|
|
737
738
|
|
|
738
739
|
.ft-button--tertiary[disabled] {
|
|
739
|
-
opacity: ${
|
|
740
|
+
opacity: ${R.tertiaryDisabledComponentOpacity};
|
|
740
741
|
}
|
|
741
742
|
|
|
742
743
|
.ft-button--tertiary ft-icon {
|
|
743
|
-
color: ${
|
|
744
|
+
color: ${R.tertiaryIconColor};
|
|
744
745
|
}
|
|
745
746
|
|
|
746
747
|
/** Neutral styles **/
|
|
747
748
|
|
|
748
749
|
.ft-button--neutral {
|
|
749
|
-
${(0,
|
|
750
|
+
${(0,F.setVariable)(Se.color,R.neutralIconColor)};
|
|
750
751
|
|
|
751
|
-
${(0,
|
|
752
|
-
${(0,
|
|
753
|
-
${(0,
|
|
754
|
-
${(0,
|
|
755
|
-
${(0,
|
|
752
|
+
${(0,F.setVariable)(z.backgroundColor,R.neutralStateLayerColor)};
|
|
753
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.neutralHoverStateLayerOpacity)};
|
|
754
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.neutralFocusStateLayerOpacity)};
|
|
755
|
+
${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.neutralActiveStateLayerOpacity)};
|
|
756
|
+
${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.neutralActiveStateLayerOpacity)};
|
|
756
757
|
|
|
757
|
-
background-color: ${
|
|
758
|
-
color: ${
|
|
758
|
+
background-color: ${R.neutralBackgroundColor};
|
|
759
|
+
color: ${R.neutralColor};
|
|
759
760
|
border-style: none;
|
|
760
761
|
}
|
|
761
762
|
|
|
762
763
|
.ft-button--neutral[disabled] {
|
|
763
|
-
opacity: ${
|
|
764
|
+
opacity: ${R.neutralDisabledComponentOpacity};
|
|
764
765
|
}
|
|
765
766
|
|
|
766
767
|
.ft-button--neutral ft-icon {
|
|
767
|
-
color: ${
|
|
768
|
+
color: ${R.neutralIconColor};
|
|
768
769
|
}
|
|
769
770
|
|
|
770
771
|
/** Large styles **/
|
|
771
772
|
|
|
772
773
|
.ft-button--large {
|
|
773
|
-
${(0,
|
|
774
|
-
${(0,
|
|
774
|
+
${(0,F.setVariable)(pe.size,R.largeIconSize)};
|
|
775
|
+
${(0,F.setVariable)(Se.size,R.largeIconSize)};
|
|
775
776
|
|
|
776
|
-
height: ${
|
|
777
|
-
padding: 0 ${
|
|
778
|
-
gap: ${
|
|
779
|
-
border-radius: ${
|
|
780
|
-
border-width: ${
|
|
777
|
+
height: ${R.largeHeight};
|
|
778
|
+
padding: 0 ${R.largeHorizontalPadding};
|
|
779
|
+
gap: ${R.largeGap};
|
|
780
|
+
border-radius: ${R.largeBorderRadius};
|
|
781
|
+
border-width: ${R.largeBorderWidth};
|
|
781
782
|
}
|
|
782
783
|
|
|
783
784
|
.ft-button--large:focus-visible {
|
|
784
|
-
outline-width: ${
|
|
785
|
-
outline-offset: ${
|
|
785
|
+
outline-width: ${R.largeFocusOutlineWidth};
|
|
786
|
+
outline-offset: ${R.largeFocusOutlineOffset};
|
|
786
787
|
}
|
|
787
788
|
|
|
788
789
|
.ft-button--large.ft-button--icon-only {
|
|
789
|
-
width: ${
|
|
790
|
+
width: ${R.largeIconOnlyWidth};
|
|
790
791
|
padding: unset;
|
|
791
792
|
}
|
|
792
793
|
|
|
793
794
|
/** Small styles **/
|
|
794
795
|
|
|
795
796
|
.ft-button--small {
|
|
796
|
-
${(0,
|
|
797
|
-
${(0,
|
|
797
|
+
${(0,F.setVariable)(pe.size,R.smallIconSize)};
|
|
798
|
+
${(0,F.setVariable)(Se.size,R.smallIconSize)};
|
|
798
799
|
|
|
799
|
-
height: ${
|
|
800
|
-
padding: 0 ${
|
|
801
|
-
gap: ${
|
|
802
|
-
border-radius: ${
|
|
803
|
-
border-width: ${
|
|
800
|
+
height: ${R.smallHeight};
|
|
801
|
+
padding: 0 ${R.smallHorizontalPadding};
|
|
802
|
+
gap: ${R.smallGap};
|
|
803
|
+
border-radius: ${R.smallBorderRadius};
|
|
804
|
+
border-width: ${R.smallBorderWidth};
|
|
804
805
|
}
|
|
805
806
|
|
|
806
807
|
.ft-button--small:focus-visible {
|
|
807
|
-
outline-width: ${
|
|
808
|
-
outline-offset: ${
|
|
808
|
+
outline-width: ${R.smallFocusOutlineWidth};
|
|
809
|
+
outline-offset: ${R.smallFocusOutlineOffset};
|
|
809
810
|
}
|
|
810
811
|
|
|
811
812
|
.ft-button--small.ft-button--icon-only {
|
|
812
|
-
width: ${
|
|
813
|
+
width: ${R.smallIconOnlyWidth};
|
|
813
814
|
padding: unset;
|
|
814
815
|
}
|
|
815
|
-
`,
|
|
816
|
+
`,F.noTextSelect];var Eo=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Pe=class extends te{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?wt.caption1medium:wt.body2medium}};Pe.styles=[hc.safariEllipsisFix,uc];Eo([(0,qt.property)({type:Boolean})],Pe.prototype,"primary",void 0);Eo([(0,qt.property)({type:Boolean})],Pe.prototype,"secondary",void 0);Eo([(0,qt.property)({type:Boolean})],Pe.prototype,"tertiary",void 0);Eo([(0,qt.property)({type:Boolean})],Pe.prototype,"neutral",void 0);Eo([(0,qt.property)({type:Boolean})],Pe.prototype,"small",void 0);(0,sn.customElement)("ft-button")(we);(0,sn.customElement)("ftds-button")(Pe);var yc=D.FtCssVariableFactory.extend("--ft-chip-color","",D.designSystemVariables.colorOnSurface),ke={backgroundColor:D.FtCssVariableFactory.extend("--ft-chip-background-color","",D.designSystemVariables.colorSurface),color:yc,fontSize:D.FtCssVariableFactory.extend("--ft-chip-font-size","",Fe.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:D.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:D.FtCssVariableFactory.extend("--ft-chip-ripple-color","",yc),horizontalPadding:D.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:D.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},gc=D.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",D.FtCssVariableFactory.extend("--ft-chip-color","",D.designSystemVariables.colorOnPrimary)),dn={backgroundColor:D.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",D.FtCssVariableFactory.extend("--ft-chip-background-color","",D.designSystemVariables.colorPrimary)),color:gc,rippleColor:D.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",gc)},mc={horizontalPadding:D.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:D.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},bc=[D.noTextSelect,Qo.css`
|
|
816
817
|
:host {
|
|
817
818
|
display: inline-block;
|
|
818
819
|
max-width: 100%;
|
|
@@ -828,20 +829,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
828
829
|
box-sizing: border-box;
|
|
829
830
|
pointer-events: auto;
|
|
830
831
|
|
|
831
|
-
--ft-chip-internal-font-size: ${
|
|
832
|
+
--ft-chip-internal-font-size: ${ke.fontSize};
|
|
832
833
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
833
|
-
${(0,D.setVariable)(
|
|
834
|
-
--ft-chip-internal-vertical-padding: ${
|
|
835
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
834
|
+
${(0,D.setVariable)(pe.size,ke.iconSize)};
|
|
835
|
+
--ft-chip-internal-vertical-padding: ${ke.verticalPadding};
|
|
836
|
+
--ft-chip-internal-horizontal-padding: ${ke.horizontalPadding};
|
|
836
837
|
--ft-chip-internal-icon-padding: 3px;
|
|
837
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
838
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ke.iconSize});
|
|
838
839
|
|
|
839
|
-
border: 1px solid ${
|
|
840
|
-
color: ${
|
|
841
|
-
${(0,D.setVariable)(
|
|
842
|
-
border-radius: var(${(0,
|
|
840
|
+
border: 1px solid ${ke.colorOutline};
|
|
841
|
+
color: ${ke.color};
|
|
842
|
+
${(0,D.setVariable)(z.color,ke.rippleColor)};
|
|
843
|
+
border-radius: var(${(0,Qo.unsafeCSS)(ke.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
843
844
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
844
|
-
background-color: ${
|
|
845
|
+
background-color: ${ke.backgroundColor};
|
|
845
846
|
line-height: var(--ft-chip-internal-content-height);
|
|
846
847
|
}
|
|
847
848
|
|
|
@@ -851,8 +852,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
851
852
|
|
|
852
853
|
.ft-chip--dense {
|
|
853
854
|
--ft-chip-internal-icon-padding: 3px;
|
|
854
|
-
--ft-chip-internal-vertical-padding: ${
|
|
855
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
855
|
+
--ft-chip-internal-vertical-padding: ${mc.verticalPadding};
|
|
856
|
+
--ft-chip-internal-horizontal-padding: ${mc.horizontalPadding};
|
|
856
857
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
857
858
|
}
|
|
858
859
|
|
|
@@ -864,15 +865,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
864
865
|
cursor: default;
|
|
865
866
|
pointer-events: none;
|
|
866
867
|
filter: grayscale(1);
|
|
867
|
-
opacity: ${
|
|
868
|
+
opacity: ${ke.opacityDisabled};
|
|
868
869
|
}
|
|
869
870
|
|
|
870
871
|
.ft-chip--highlighted {
|
|
871
872
|
border: none;
|
|
872
873
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
873
|
-
background-color: ${
|
|
874
|
-
${(0,D.setVariable)(
|
|
875
|
-
color: ${
|
|
874
|
+
background-color: ${dn.backgroundColor};
|
|
875
|
+
${(0,D.setVariable)(z.color,dn.rippleColor)};
|
|
876
|
+
color: ${dn.color};
|
|
876
877
|
}
|
|
877
878
|
|
|
878
879
|
.ft-chip--clickable {
|
|
@@ -902,9 +903,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
902
903
|
}
|
|
903
904
|
|
|
904
905
|
.ft-chip--icon-button {
|
|
905
|
-
${(0,D.setVariable)(
|
|
906
|
-
${(0,D.setVariable)(
|
|
907
|
-
${(0,D.setVariable)(
|
|
906
|
+
${(0,D.setVariable)(q.iconSize,ke.iconSize)};
|
|
907
|
+
${(0,D.setVariable)(q.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
908
|
+
${(0,D.setVariable)(q.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
908
909
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
909
910
|
}
|
|
910
911
|
|
|
@@ -912,8 +913,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
912
913
|
vertical-align: bottom;
|
|
913
914
|
display: block;
|
|
914
915
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
915
|
-
${(0,D.setVariable)(
|
|
916
|
-
${(0,D.setVariable)(
|
|
916
|
+
${(0,D.setVariable)(Fe.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
917
|
+
${(0,D.setVariable)(Fe.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
917
918
|
}
|
|
918
919
|
|
|
919
920
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -949,8 +950,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
949
950
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
950
951
|
order: -1;
|
|
951
952
|
}
|
|
952
|
-
`];var
|
|
953
|
-
<div class="${(0,
|
|
953
|
+
`];var Ne=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},tr=class extends CustomEvent{constructor(){super("icon-click")}},X=class extends or.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":or.isSafari};return er.html`
|
|
954
|
+
<div class="${(0,xc.classMap)(t)}"
|
|
954
955
|
aria-label="${this.getLabel()}"
|
|
955
956
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
956
957
|
@keyup=${this.onKeyUp}
|
|
@@ -961,7 +962,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
961
962
|
</ft-typography>
|
|
962
963
|
${this.internalIcon?this.renderIcon():null}
|
|
963
964
|
</div>
|
|
964
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
965
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?er.html`
|
|
965
966
|
<ft-button round
|
|
966
967
|
class="ft-chip--icon-button"
|
|
967
968
|
@click=${this.onIconClick}
|
|
@@ -970,13 +971,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
970
971
|
label="${this.iconLabel}"
|
|
971
972
|
part="icon-button"
|
|
972
973
|
></ft-button>
|
|
973
|
-
`:
|
|
974
|
+
`:er.html`
|
|
974
975
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
975
976
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
976
977
|
</div>
|
|
977
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
978
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new tr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new tr))}getLabel(){return this.label||this.textContent}get textContent(){var t,n;return(n=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&n!==void 0?n:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};X.elementDefinitions={"ft-ripple":$,"ft-typography":se,"ft-icon":fe,"ft-button":we};X.styles=bc;Ne([(0,ye.property)({type:Boolean})],X.prototype,"highlighted",void 0);Ne([(0,ye.property)({type:Boolean})],X.prototype,"removable",void 0);Ne([(0,ye.property)({type:Boolean})],X.prototype,"disabled",void 0);Ne([(0,ye.property)({type:Boolean})],X.prototype,"clickable",void 0);Ne([(0,ye.property)({type:Boolean})],X.prototype,"iconClickable",void 0);Ne([(0,ye.property)({type:Boolean})],X.prototype,"dense",void 0);Ne([(0,ye.property)({type:Boolean})],X.prototype,"multiLine",void 0);Ne([(0,ye.property)()],X.prototype,"label",void 0);Ne([(0,ye.property)()],X.prototype,"iconLabel",void 0);Ne([(0,ye.property)()],X.prototype,"icon",void 0);Ne([(0,ye.property)()],X.prototype,"iconVariant",void 0);Ne([(0,ye.property)({type:Boolean})],X.prototype,"trailingIcon",void 0);Ne([(0,ye.query)("ft-typography slot")],X.prototype,"slottedContent",void 0);(0,vc.customElement)("ft-chip")(X);var Ro=v(T());var Sc=v(M()),Re=v(T()),st={zIndex:Re.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Re.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Re.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Re.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",Re.designSystemVariables.colorOnSurfaceHigh),colorSurface:Re.FtCssVariableFactory.external(Re.designSystemVariables.colorSurface,"Design system"),menuElevation:Re.FtCssVariableFactory.external(Re.designSystemVariables.elevation02,"Design system"),borderRadiusS:Re.FtCssVariableFactory.external(Re.designSystemVariables.borderRadiusS,"Design system")},rr=Sc.css`
|
|
978
979
|
.ft-floating-menu {
|
|
979
|
-
color: ${
|
|
980
|
+
color: ${st.textColor};
|
|
980
981
|
display: contents;
|
|
981
982
|
}
|
|
982
983
|
|
|
@@ -993,19 +994,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
993
994
|
display: none;
|
|
994
995
|
position: relative;
|
|
995
996
|
overflow: auto;
|
|
996
|
-
max-width: ${
|
|
997
|
-
max-height: ${
|
|
998
|
-
box-shadow: ${
|
|
999
|
-
background-color: ${
|
|
1000
|
-
border-radius: ${
|
|
1001
|
-
color: ${
|
|
1002
|
-
z-index: ${
|
|
997
|
+
max-width: ${st.maxWidth};
|
|
998
|
+
max-height: ${st.maxHeight};
|
|
999
|
+
box-shadow: ${st.menuElevation};
|
|
1000
|
+
background-color: ${st.colorSurface};
|
|
1001
|
+
border-radius: ${st.borderRadiusS};
|
|
1002
|
+
color: ${st.textColor};
|
|
1003
|
+
z-index: ${st.zIndex};
|
|
1003
1004
|
}
|
|
1004
1005
|
|
|
1005
1006
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
1006
1007
|
display: block;
|
|
1007
1008
|
}
|
|
1008
|
-
`;var
|
|
1009
|
+
`;var wc=v(M()),Y=v(Q()),Xt=v(T()),Nc=v(xo());var wo=v(M()),No=v(Q()),Ec=v(T());var Oc=v(M()),nr=v(T()),Us={iconColor:nr.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",nr.designSystemVariables.colorOnSurfaceMedium)},Cc=Oc.css`
|
|
1009
1010
|
.ft-floating-menu-item {
|
|
1010
1011
|
cursor: pointer;
|
|
1011
1012
|
display: flex;
|
|
@@ -1020,7 +1021,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1020
1021
|
}
|
|
1021
1022
|
|
|
1022
1023
|
.ft-floating-menu-item ft-icon {
|
|
1023
|
-
color: ${
|
|
1024
|
+
color: ${Us.iconColor};
|
|
1024
1025
|
margin-left: 0;
|
|
1025
1026
|
flex-shrink: 0;
|
|
1026
1027
|
flex-grow: 0;
|
|
@@ -1035,21 +1036,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1035
1036
|
word-break: break-word;
|
|
1036
1037
|
hyphens: auto;
|
|
1037
1038
|
}
|
|
1038
|
-
`;var
|
|
1039
|
+
`;var ir=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ar=class extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}},Oe=class extends Ec.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return wo.html`
|
|
1039
1040
|
<div class="ft-floating-menu-item"
|
|
1040
1041
|
tabindex=${this.notFocusable?"-1":"0"}
|
|
1041
1042
|
@keydown=${t=>this.onKeyDown(t)}
|
|
1042
1043
|
@click=${this.onClick}>
|
|
1043
1044
|
<ft-ripple></ft-ripple>
|
|
1044
|
-
${this.icon?
|
|
1045
|
+
${this.icon?wo.html`
|
|
1045
1046
|
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
1046
|
-
`:
|
|
1047
|
+
`:wo.nothing}
|
|
1047
1048
|
<ft-typography variant="body2">
|
|
1048
1049
|
<slot></slot>
|
|
1049
1050
|
</ft-typography>
|
|
1050
1051
|
</div>
|
|
1051
|
-
`}onClick(t){this.dispatchEvent(new
|
|
1052
|
-
<div part="container" class="${(0,
|
|
1052
|
+
`}onClick(t){this.dispatchEvent(new ar(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new ar(this.value)))}};Oe.elementDefinitions={"ft-icon":fe,"ft-ripple":$,"ft-typography":se};Oe.styles=Cc;ir([(0,No.property)()],Oe.prototype,"iconVariant",void 0);ir([(0,No.property)()],Oe.prototype,"icon",void 0);ir([(0,No.property)()],Oe.prototype,"value",void 0);ir([(0,No.property)({type:Boolean})],Oe.prototype,"notFocusable",void 0);var oe=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c};var K=class extends Xt.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Ge.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return wc.html`
|
|
1053
|
+
<div part="container" class="${(0,Nc.classMap)(t)}">
|
|
1053
1054
|
<slot name="toggle"
|
|
1054
1055
|
part="toggle"
|
|
1055
1056
|
@click=${this.toggleMenu}
|
|
@@ -1083,7 +1084,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1083
1084
|
</div>
|
|
1084
1085
|
</div>
|
|
1085
1086
|
</div>
|
|
1086
|
-
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(0,
|
|
1087
|
+
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(0,Xt.eventPathContainsMatchingElement)(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:n,y:a}=await Yo(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${n}px`,this.menuWrapper.style.top=`${a}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};K.elementDefinitions={"ft-floating-menu-item":Oe};oe([(0,Y.state)()],K.prototype,"menuOpen",void 0);oe([(0,Y.state)()],K.prototype,"forceMenuOpen",void 0);oe([(0,Y.query)(".ft-floating-menu")],K.prototype,"container",void 0);oe([(0,Y.query)(".ft-floating-menu--wrapper")],K.prototype,"menuWrapper",void 0);oe([(0,Y.query)("#actions-button")],K.prototype,"actionButton",void 0);oe([(0,Y.queryAssignedElements)({slot:"toggle"})],K.prototype,"customToggle",void 0);oe([(0,Y.property)({type:Boolean})],K.prototype,"primary",void 0);oe([(0,Y.property)({type:Boolean})],K.prototype,"secondary",void 0);oe([(0,Y.property)({type:Boolean})],K.prototype,"tertiary",void 0);oe([(0,Y.property)({type:Boolean})],K.prototype,"neutral",void 0);oe([(0,Y.property)({type:Boolean})],K.prototype,"small",void 0);oe([(0,Y.property)()],K.prototype,"label",void 0);oe([(0,Y.property)()],K.prototype,"tooltipPosition",void 0);oe([(0,Y.property)()],K.prototype,"iconVariant",void 0);oe([(0,Y.property)()],K.prototype,"icon",void 0);oe([(0,Y.property)()],K.prototype,"text",void 0);oe([(0,Y.property)()],K.prototype,"horizontalAlignment",void 0);oe([(0,Y.property)()],K.prototype,"verticalAlignment",void 0);oe([(0,Y.property)({type:Boolean})],K.prototype,"disabled",void 0);oe([(0,Xt.jsonProperty)([])],K.prototype,"closeMenuMatchers",void 0);var dt=class extends K{};dt.elementDefinitions={"ft-or-ftds-button":we};dt.styles=rr;var Jt=class extends K{};Jt.elementDefinitions={"ft-or-ftds-button":Pe};Jt.styles=rr;var Ic=v(M()),Lc=v(T());var Rc=v(M()),cr=v(T()),Ws={color:cr.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",cr.designSystemVariables.colorOnSurfaceMedium)},Ac=Rc.css`
|
|
1087
1088
|
.ft-floating-menu-label {
|
|
1088
1089
|
padding: 4px 8px;
|
|
1089
1090
|
}
|
|
@@ -1094,69 +1095,69 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1094
1095
|
width: max-content;
|
|
1095
1096
|
text-overflow: ellipsis;
|
|
1096
1097
|
overflow: hidden;
|
|
1097
|
-
color: ${
|
|
1098
|
+
color: ${Ws.color}
|
|
1098
1099
|
}
|
|
1099
|
-
`;var
|
|
1100
|
+
`;var pt=class extends Lc.FtLitElement{render(){return Ic.html`
|
|
1100
1101
|
<div class="ft-floating-menu-label">
|
|
1101
1102
|
<ft-typography variant="caption">
|
|
1102
1103
|
<slot></slot>
|
|
1103
1104
|
</ft-typography>
|
|
1104
1105
|
</div>
|
|
1105
|
-
`}};
|
|
1106
|
-
`;var
|
|
1106
|
+
`}};pt.elementDefinitions={"ft-typography":se};pt.styles=Ac;(0,Ro.customElement)("ft-floating-menu")(dt);(0,Ro.customElement)("ftds-floating-menu")(Jt);(0,Ro.customElement)("ft-floating-menu-item")(Oe);(0,Ro.customElement)("ft-floating-menu-label")(pt);var nv=v(kc(),1);var Tc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Tc||(Tc={}));var Uc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Uc||(Uc={}));var Wc;(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"})(Wc||(Wc={}));var _c;(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"})(_c||(_c={}));var Bc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Bc||(Bc={}));var Dc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Dc||(Dc={}));var zc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(zc||(zc={}));var Mc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Mc||(Mc={}));var Fc;(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"})(Fc||(Fc={}));var $c;(function(e){e.ASC="ASC",e.DESC="DESC"})($c||($c={}));var Hc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Hc||(Hc={}));var Gc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Gc||(Gc={}));var Kc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Kc||(Kc={}));var lr;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(lr||(lr={}));var Zc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Zc||(Zc={}));var Qt;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Qt||(Qt={}));var Vc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Vc||(Vc={}));var ie;(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"})(ie||(ie={}));var jc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(jc||(jc={}));var ev={[ie.PERSONAL_BOOK_SHARE_USER]:[ie.PERSONAL_BOOK_USER],[ie.HTML_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.PDF_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.KHUB_ADMIN]:[ie.CONTENT_PUBLISHER],[ie.ADMIN]:[ie.KHUB_ADMIN,ie.USERS_ADMIN,ie.PORTAL_ADMIN],[ie.DEVELOPER]:[ie.BETA_USER,ie.DEBUG_USER]};function _s(e){var t,n,a,i,c;return((i=(n=(t=e.map)===null||t===void 0?void 0:t.openMode)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.openMode)!==null&&i!==void 0?i:(c=e.document)===null||c===void 0?void 0:c.openMode)===lr.EXTERNAL}function pn(e){var t,n,a,i,c;if(_s(e))return(i=(n=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(c=e.document)===null||c===void 0?void 0:c.originUrl;switch(e.type){case Qt.MAP:return e.map.readerUrl;case Qt.DOCUMENT:return e.document.viewerUrl;case Qt.TOPIC:return e.topic.readerUrl}return""}var es=v(qc());var kr=v(T());var Vl=v(T());var tl=v(M()),Te=v(Q()),De=v(T());var Xc=v(M());var Jc=Xc.css`
|
|
1107
|
+
`;var sr=v(T()),Bs="ft-app-info",fn=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Ds={session:(e,t)=>{(0,sr.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>_.eventBus.dispatchEvent(new fn(t.payload)),0))}},_=sr.FtReduxStore.get({name:Bs,reducers:Ds,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 ut=v(T());var un=v(T());var Lt=class e{static get(t){let{baseUrl:n,apiIntegrationIdentifier:a}=_.getState(),i=t??a;if(n&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(n,i,!0)}static await(t){return new Promise(n=>{let a=e.get(t);if(a)n(a);else{let i=_.subscribe(()=>{a=e.get(t),a&&(i(),n(a))})}})}};var ft=class{constructor(t=!0,n){var a;this.overrideApi=n;let i=this.constructor;i.commonCache=(a=i.commonCache)!==null&&a!==void 0?a:new un.CacheRegistry,this.cache=t?i.commonCache:new un.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Lt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Lt.await()}clearCache(){this.cache.clearAll()}};var Qc,zs=Symbol("clearAfterUnitTest"),dr=class extends ft{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Qc]=()=>{this.defaultMessages={},this.cache=new ut.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 n=t.name.toLowerCase();this.cache.setFinal(n,t),this.notify(n)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,n){var a;if(t=t.toLowerCase(),Object.keys(n).length>0){let i={...(a=this.defaultMessages[t])!==null&&a!==void 0?a:{},...n};(0,ut.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,n,...a){var i,c,l;t=t.toLowerCase(),this.fetchContext(t);let p=(c=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&c!==void 0?c:{};return new ut.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},p).resolve(n,...a)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(n){console.error(n)}}subscribe(t,n){var a;return t=t.toLowerCase(),this.listeners[t]=(a=this.listeners[t])!==null&&a!==void 0?a:new Set,this.listeners[t].add(n),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(n)}}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(n=>(0,ut.delay)(0).then(()=>n()).catch(()=>null)))}};Qc=zs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends dr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends dr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var eo=window.FluidTopicsI18nService,el=window.FluidTopicsCustomI18nService;var ge=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},J=class extends De.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=()=>Lt.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer}render(){return tl.html`
|
|
1107
1108
|
<slot></slot>
|
|
1108
|
-
`}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=>qt.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())}};q.elementDefinitions={};q.styles=Vs;ue([(0,Pe.property)()],q.prototype,"baseUrl",void 0);ue([(0,Pe.property)()],q.prototype,"apiIntegrationIdentifier",void 0);ue([(0,Pe.property)()],q.prototype,"uiLocale",void 0);ue([(0,De.jsonProperty)(null)],q.prototype,"availableUiLocales",void 0);ue([(0,De.jsonProperty)(null)],q.prototype,"metadataConfiguration",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"editorMode",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"noCustom",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"openExternalDocumentInNewTab",void 0);ue([(0,Pe.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],q.prototype,"noCustomComponent",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"withManualResources",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"navigatorOnline",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"forcedOffline",void 0);ue([(0,Pe.property)({type:Object})],q.prototype,"apiProvider",void 0);ue([(0,De.jsonProperty)([])],q.prototype,"messageContexts",void 0);ue([(0,De.jsonProperty)(void 0)],q.prototype,"session",void 0);var Dn=g(Y());function _c(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(!io(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(!io(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(!io(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function io(e,t){try{return _c(e,t)}catch{return!1}}function ao(e,t){return!io(e,t)}var qs=g(Y(),1);var cn=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:ao,attribute:!1,...t};(0,qs.property)(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}};var so=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 Or=g(Y(),1);var Ys=g(Y(),1);function Xs(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Ys.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:ao,...t??{}})}var lo=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(c){i(c);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 Qs=g(B(),1);var co=window,kc=co.ShadowRoot&&(co.ShadyCSS===void 0||co.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,cb=Symbol();var Js=(e,t)=>{kc?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=co.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var po=class extends Qs.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 Js(n,t.elementStyles),n}};var fo=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 c=e.length-1;c>=0;c--)(s=e[c])&&(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},rl,el=Symbol("constructorPrototype"),tl=Symbol("constructorName"),ol=Symbol("exportpartsDebouncer"),ct=class extends po{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rl]=new lo(5),this[tl]=this.constructor.name,this[el]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[tl]&&Object.setPrototypeOf(this,this[el])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}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[ol].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,c;let p=y=>y!=null&&y.trim().length>0,f=t.filter(p).map(y=>y.trim());if(f.length===0){this.removeAttribute("exportparts");return}let u=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=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...b).filter(p).map(S=>S.trim()).forEach(S=>u.add(S))}if(u.size===0){this.removeAttribute("exportparts");return}let m=[...u.values()].flatMap(y=>f.map(x=>`${y}:${x}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};rl=ol;fo([(0,Or.property)()],ct.prototype,"exportpartsPrefix",void 0);fo([Xs([])],ct.prototype,"exportpartsPrefixes",void 0);fo([(0,Or.property)()],ct.prototype,"customStylesheet",void 0);fo([(0,Or.state)()],ct.prototype,"useAdoptedStyleSheets",void 0);function Cr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var nl,il,al,uo=Symbol("internalReduxEventsUnsubscribers"),pt=Symbol("internalStoresUnsubscribers"),At=Symbol("internalStores"),Er=class extends ct{constructor(){super(...arguments),this[nl]=new Map,this[il]=new Map,this[al]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[At].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[At].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[At].get(t)}addStore(t,o){var n;o=(n=o??(Cr(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[At].delete(o)}setupStore(t,o){this[At].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[At].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[pt].has(t.store):this[pt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[pt].set(t,o.subscribe(()=>this.updateFromStores())),Cr(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=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[uo].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[pt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[uo].forEach(t=>t()),this[uo]=[]}unsubscribeFromStore(t){this[pt].has(t)&&this[pt].get(t)(),this[pt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};nl=pt,il=At,al=uo;Er.reduxProperties=new Map;Er.reduxReactiveProperties=new Set;Er.reduxEventListeners=new Map;function Le(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 Je(e){return!!e&&!!e[V]}function Me(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)===Fc}(e)||Array.isArray(e)||!!e[ul]||!!(!((t=e.constructor)===null||t===void 0)&&t[ul])||bn(e)||xn(e))}function Rt(e,t,o){o===void 0&&(o=!1),Jt(e)===0?(o?Object.keys:Xt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Jt(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:bn(e)?2:xn(e)?3:0}function Yt(e,t){return Jt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Dc(e,t){return Jt(e)===2?e.get(t):e[t]}function hl(e,t,o){var n=Jt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ml(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function bn(e){return Wc&&e instanceof Map}function xn(e){return zc&&e instanceof Set}function dt(e){return e.o||e.t}function vn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=bl(e);delete t[V];for(var o=Xt(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 Sn(e,t){return t===void 0&&(t=!1),On(e)||Je(e)||!Me(e)||(Jt(e)>1&&(e.set=e.add=e.clear=e.delete=Mc),Object.freeze(e),t&&Rt(e,function(o,n){return Sn(n,!0)},!0)),e}function Mc(){Le(2)}function On(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function He(e){var t=gn[e];return t||Le(18,e),t}function Uc(e,t){gn[e]||(gn[e]=t)}function hn(){return Ar}function pn(e,t){t&&(He("Patches"),e.u=[],e.s=[],e.v=t)}function ho(e){mn(e),e.p.forEach(Bc),e.p=null}function mn(e){e===Ar&&(Ar=e.l)}function sl(e){return Ar={p:[],l:Ar,h:e,m:!0,_:0}}function Bc(e){var t=e[V];t.i===0||t.i===1?t.j():t.g=!0}function dn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||He("ES5").S(t,e,n),n?(o[V].P&&(ho(t),Le(4)),Me(e)&&(e=mo(t,e),t.l||yo(t,e)),t.u&&He("Patches").M(o[V].t,e,t.u,t.s)):e=mo(t,o,[]),ho(t),t.u&&t.v(t.u,t.s),e!==gl?e:void 0}function mo(e,t,o){if(On(t))return t;var n=t[V];if(!n)return Rt(t,function(c,p){return ll(e,n,t,c,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return yo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=vn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Rt(a,function(c,p){return ll(e,n,i,c,p,o,s)}),yo(e,i,!1),o&&e.u&&He("Patches").N(n,o,e.u,e.s)}return n.o}function ll(e,t,o,n,i,a,s){if(Je(i)){var c=mo(e,i,a&&t&&t.i!==3&&!Yt(t.R,n)?a.concat(n):void 0);if(hl(o,n,c),!Je(c))return;e.m=!1}else s&&o.add(i);if(Me(i)&&!On(i)){if(!e.h.D&&e._<1)return;mo(e,i),t&&t.A.l||yo(e,i)}}function yo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Sn(t,o)}function fn(e,t){var o=e[V];return(o?dt(o):e)[t]}function cl(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 ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function un(e){e.o||(e.o=vn(e.t))}function yn(e,t,o){var n=bn(t)?He("MapSet").F(t,o):xn(t)?He("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:hn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,f=Rr;s&&(p=[c],f=wr);var u=Proxy.revocable(p,f),m=u.revoke,y=u.proxy;return c.k=y,c.j=m,y}(t,o):He("ES5").J(t,o);return(o?o.A:hn()).p.push(n),n}function $c(e){return Je(e)||Le(22,e),function t(o){if(!Me(o))return o;var n,i=o[V],a=Jt(o);if(i){if(!i.P&&(i.i<4||!He("ES5").K(i)))return i.t;i.I=!0,n=pl(o,a),i.I=!1}else n=pl(o,a);return Rt(n,function(s,c){i&&Dc(i.t,s)===c||hl(n,s,t(c))}),a===3?new Set(n):n}(e)}function pl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return vn(e)}function yl(){function e(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var f=this[V];return Rr.get(f,s)},set:function(f){var u=this[V];Rr.set(u,s,f)}},p}function t(s){for(var c=s.length-1;c>=0;c--){var p=s[c][V];if(!p.P)switch(p.i){case 5:n(p)&&ft(p);break;case 4:o(p)&&ft(p)}}}function o(s){for(var c=s.t,p=s.k,f=Xt(p),u=f.length-1;u>=0;u--){var m=f[u];if(m!==V){var y=c[m];if(y===void 0&&!Yt(c,m))return!0;var x=p[m],b=x&&x[V];if(b?b.t!==y:!ml(x,y))return!0}}var S=!!c[V];return f.length!==Xt(c).length+(S?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&Le(3,JSON.stringify(dt(s)))}var a={};Uc("ES5",{J:function(s,c){var p=Array.isArray(s),f=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 S=bl(y);delete S[V];for(var R=Xt(S),w=0;w<R.length;w++){var A=R[w];S[A]=e(A,m||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(y),S)}(p,s),u={i:p?5:4,A:c?c.A:hn(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,V,{value:u,writable:!0}),f},S:function(s,c,p){p?Je(c)&&c[V].A===s&&t(s.p):(s.u&&function f(u){if(u&&typeof u=="object"){var m=u[V];if(m){var y=m.t,x=m.k,b=m.R,S=m.i;if(S===4)Rt(x,function(L){L!==V&&(y[L]!==void 0||Yt(y,L)?b[L]||f(x[L]):(b[L]=!0,ft(m)))}),Rt(y,function(L){x[L]!==void 0||Yt(x,L)||(b[L]=!1,ft(m))});else if(S===5){if(n(m)&&(ft(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),I=0;I<A;I++)x.hasOwnProperty(I)||(b[I]=!0),b[I]===void 0&&f(x[I])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var dl,Ar,Cn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Wc=typeof Map<"u",zc=typeof Set<"u",fl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",gl=Cn?Symbol.for("immer-nothing"):((dl={})["immer-nothing"]=!0,dl),ul=Cn?Symbol.for("immer-draftable"):"__$immer_draftable",V=Cn?Symbol.for("immer-state"):"__$immer_state";var Fc=""+Object.prototype.constructor,Xt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,bl=Object.getOwnPropertyDescriptors||function(e){var t={};return Xt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},gn={},Rr={get:function(e,t){if(t===V)return e;var o=dt(e);if(!Yt(o,t))return function(i,a,s){var c,p=cl(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Me(n)?n:n===fn(e.t,t)?(un(e),e.o[t]=yn(e.A.h,n,e)):n},has:function(e,t){return t in dt(e)},ownKeys:function(e){return Reflect.ownKeys(dt(e))},set:function(e,t,o){var n=cl(dt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=fn(dt(e),t),a=i?.[V];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ml(o,i)&&(o!==void 0||Yt(e.t,t)))return!0;un(e),ft(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 fn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,un(e),ft(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=dt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Le(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Le(12)}},wr={};Rt(Rr,function(e,t){wr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),wr.deleteProperty=function(e,t){return wr.set.call(this,e,t,void 0)},wr.set=function(e,t,o){return Rr.set.call(this,e[0],t,o,e[0])};var Hc=function(){function e(o){var n=this;this.O=fl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(S){var R=this;S===void 0&&(S=c);for(var w=arguments.length,A=Array(w>1?w-1:0),I=1;I<w;I++)A[I-1]=arguments[I];return p.produce(S,function(L){var W;return(W=a).call.apply(W,[R,L].concat(A))})}}var f;if(typeof a!="function"&&Le(6),s!==void 0&&typeof s!="function"&&Le(7),Me(i)){var u=sl(n),m=yn(n,i,void 0),y=!0;try{f=a(m),y=!1}finally{y?ho(u):mn(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return pn(u,s),dn(S,u)},function(S){throw ho(u),S}):(pn(u,s),dn(f,u))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===gl&&(f=void 0),n.D&&Sn(f,!0),s){var x=[],b=[];He("Patches").M(i,f,x,b),s(x,b)}return f}Le(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var u=arguments.length,m=Array(u>1?u-1:0),y=1;y<u;y++)m[y-1]=arguments[y];return n.produceWithPatches(f,function(x){return i.apply(void 0,[x].concat(m))})};var s,c,p=n.produce(i,a,function(f,u){s=f,c=u});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,s,c]}):[p,s,c]},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){Me(o)||Le(8),Je(o)&&(o=$c(o));var n=sl(this),i=yn(this,o,void 0);return i[V].C=!0,mn(n),i},t.finishDraft=function(o,n){var i=o&&o[V],a=i.A;return pn(a,n),dn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!fl&&Le(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=He("Patches").$;return Je(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),we=new Hc,jc=we.produce,Sb=we.produceWithPatches.bind(we),Ob=we.setAutoFreeze.bind(we),Cb=we.setUseProxies.bind(we),Eb=we.applyPatches.bind(we),wb=we.createDraft.bind(we),Ab=we.finishDraft.bind(we),go=jc;function ut(e){"@babel/helpers - typeof";return ut=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},ut(e)}function En(e,t){if(ut(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ut(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wn(e){var t=En(e,"string");return ut(t)==="symbol"?t:String(t)}function An(e,t,o){return t=wn(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function xl(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 bo(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?xl(Object(o),!0).forEach(function(n){An(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(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 vl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Rn=function(){return Math.random().toString(36).substring(7).split("").join(".")},xo={INIT:"@@redux/INIT"+Rn(),REPLACE:"@@redux/REPLACE"+Rn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Rn()}};function Vc(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 Nn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(Nn)(e,t)}if(typeof e!="function")throw new Error(pe(2));var i=e,a=t,s=[],c=s,p=!1;function f(){c===s&&(c=s.slice())}function u(){if(p)throw new Error(pe(3));return a}function m(S){if(typeof S!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var R=!0;return f(),c.push(S),function(){if(R){if(p)throw new Error(pe(6));R=!1,f();var A=c.indexOf(S);c.splice(A,1),s=null}}}function y(S){if(!Vc(S))throw new Error(pe(7));if(typeof S.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,a=i(a,S)}finally{p=!1}for(var R=s=c,w=0;w<R.length;w++){var A=R[w];A()}return S}function x(S){if(typeof S!="function")throw new Error(pe(10));i=S,y({type:xo.REPLACE})}function b(){var S,R=m;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(pe(11));function I(){A.next&&A.next(u())}I();var L=R(I);return{unsubscribe:L}}},S[vl]=function(){return this},S}return y({type:xo.INIT}),n={dispatch:y,subscribe:m,getState:u,replaceReducer:x},n[vl]=b,n}function Gc(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:xo.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:xo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function Sl(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,c;try{Gc(o)}catch(p){c=p}return function(f,u){if(f===void 0&&(f={}),c)throw c;if(0)var m;for(var y=!1,x={},b=0;b<a.length;b++){var S=a[b],R=o[S],w=f[S],A=R(w,u);if(typeof A>"u"){var I=u&&u.type;throw new Error(pe(14))}x[S]=A,y=y||A!==w}return y=y||a.length!==Object.keys(f).length,y?x:f}}function Qt(){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 Ol(){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(pe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(p){return p(s)});return a=Qt.apply(void 0,c)(i.dispatch),bo(bo({},i),{},{dispatch:a})}}}function Cl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var El=Cl();El.withExtraArgument=Cl;var Tn=El;var Tl=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)}}(),Kc=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(u){return p([f,u])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=t.call(e,o)}catch(u){f=[6,u],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},er=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Zc=Object.defineProperty,qc=Object.defineProperties,Yc=Object.getOwnPropertyDescriptors,wl=Object.getOwnPropertySymbols,Xc=Object.prototype.hasOwnProperty,Jc=Object.prototype.propertyIsEnumerable,Al=function(e,t,o){return t in e?Zc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ht=function(e,t){for(var o in t||(t={}))Xc.call(t,o)&&Al(e,o,t[o]);if(wl)for(var n=0,i=wl(t);n<i.length;n++){var o=i[n];Jc.call(t,o)&&Al(e,o,t[o])}return e},Pn=function(e,t){return qc(e,Yc(t))},Qc=function(e,t,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(f){i(f)}},s=function(p){try{c(o.throw(p))}catch(f){i(f)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};c((o=o.apply(e,t)).next())})};var ep=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qt:Qt.apply(null,arguments)},jb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function tp(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 rp=function(e){Tl(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,er([void 0],o[0].concat(this)))):new(t.bind.apply(t,er([void 0],o.concat(this))))},t}(Array),op=function(e){Tl(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,er([void 0],o[0].concat(this)))):new(t.bind.apply(t,er([void 0],o.concat(this))))},t}(Array);function _n(e){return Me(e)?go(e,function(){}):e}function np(e){return typeof e=="boolean"}function ip(){return function(t){return ap(t)}}function ap(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,c=new rp;if(o&&(np(o)?c.push(Tn):c.push(Tn.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var f}return c}var Ln=!0;function Pl(e){var t=ip(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,p=c===void 0?!0:c,f=o.preloadedState,u=f===void 0?void 0:f,m=o.enhancers,y=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if(tp(i))x=Sl(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),!Ln&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ln&&b.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Ol.apply(void 0,b),R=Qt;p&&(R=ep(ht({trace:!Ln},typeof p=="object"&&p)));var w=new op(S),A=w;Array.isArray(y)?A=er([S],y):typeof y=="function"&&(A=y(w));var I=R.apply(void 0,A);return Nn(x,u,I)}function mt(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 ht(ht({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 Ll(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=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 sp(e){return typeof e=="function"}function lp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Ll(t):[t,o,n],a=i[0],s=i[1],c=i[2],p;if(sp(e))p=function(){return _n(e())};else{var f=_n(e);p=function(){return f}}function u(m,y){m===void 0&&(m=p());var x=er([a[y.type]],s.filter(function(b){var S=b.matcher;return S(y)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,S){if(S)if(Je(b)){var R=b,w=S(R,y);return w===void 0?b:w}else{if(Me(b))return go(b,function(A){return S(A,y)});var w=S(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 u.getInitialState=p,u}function cp(e,t){return e+"/"+t}function Il(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:_n(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(u){var m=n[u],y=cp(t,u),x,b;"reducer"in m?(x=m.reducer,b=m.prepare):x=m,a[u]=x,s[y]=x,c[u]=b?mt(y,b):mt(y)});function p(){var u=typeof e.extraReducers=="function"?Ll(e.extraReducers):[e.extraReducers],m=u[0],y=m===void 0?{}:m,x=u[1],b=x===void 0?[]:x,S=u[2],R=S===void 0?void 0:S,w=ht(ht({},y),s);return lp(o,function(A){for(var I in w)A.addCase(I,w[I]);for(var L=0,W=b;L<W.length;L++){var he=W[L];A.addMatcher(he.matcher,he.reducer)}R&&A.addDefaultCase(R)})}var f;return{name:t,reducer:function(u,m){return f||(f=p()),f(u,m)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var pp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=pp[Math.random()*64|0];return t},fp=["name","message","stack","code"],In=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Rl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),up=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=fp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Zb=function(){function e(t,o,n){var i=mt(t+"/fulfilled",function(u,m,y,x){return{payload:u,meta:Pn(ht({},x||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=mt(t+"/pending",function(u,m,y){return{payload:void 0,meta:Pn(ht({},y||{}),{arg:m,requestId:u,requestStatus:"pending"})}}),s=mt(t+"/rejected",function(u,m,y,x,b){return{payload:x,error:(n&&n.serializeError||up)(u||"Rejected"),meta:Pn(ht({},b||{}),{arg:y,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(m,y,x){var b=n?.idGenerator?n.idGenerator(u):dp(),S=new p,R,w=!1;function A(L){R=L,S.abort()}var I=function(){return Qc(this,null,function(){var L,W,he,ee,tr,Ae,h;return Kc(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),ee=(L=n?.condition)==null?void 0:L.call(n,u,{getState:y,extra:x}),mp(ee)?[4,ee]:[3,2];case 1:ee=v.sent(),v.label=2;case 2:if(ee===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,tr=new Promise(function(N,H){return S.signal.addEventListener("abort",function(){return H({name:"AbortError",message:R||"Aborted"})})}),m(a(b,u,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:b,arg:u},{getState:y,extra:x}))),[4,Promise.race([tr,Promise.resolve(o(u,{dispatch:m,getState:y,extra:x,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(N,H){return new In(N,H)},fulfillWithValue:function(N,H){return new Rl(N,H)}})).then(function(N){if(N instanceof In)throw N;return N instanceof Rl?i(N.payload,b,u,N.meta):i(N,b,u)})])];case 3:return he=v.sent(),[3,5];case 4:return Ae=v.sent(),he=Ae instanceof In?s(null,b,u,Ae.payload,Ae.meta):s(Ae,b,u),[3,5];case 5:return h=n&&!n.dispatchConditionRejection&&s.match(he)&&he.meta.condition,h||m(he),[2,he]}})})}();return Object.assign(I,{abort:A,requestId:b,arg:u,unwrap:function(){return I.then(hp)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function hp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function mp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var _l="listener",kl="completed",Dl="cancelled",qb="task-"+Dl,Yb="task-"+kl,Xb=_l+"-"+Dl,Jb=_l+"-"+kl;var kn="listenerMiddleware";var Qb=mt(kn+"/add"),ex=mt(kn+"/removeAll"),tx=mt(kn+"/remove");var Nl,rx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Nl||(Nl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},yp=function(e){return function(t){setTimeout(t,e)}},ox=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:yp(10);yl();window.ftReduxStores||(window.ftReduxStores={});var Ml=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(Cr(a))return a;if(i==null)return;let s=Il({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Pl({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:s.reducer(p,f)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new so,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...p)=>{let f=c(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[s]:p})}}})}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 vo=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var So=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 c=e.length-1;c>=0;c--)(s=e[c])&&(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};function Ul(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(_)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>vo.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return So([(0,Dn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),So([(0,Dn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),So([cn({store:_.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),So([cn({store:_.name})],t.prototype,"uiLocale",void 0),t}var wo=g(P());var Oo=class extends st{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 Co=class extends st{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 gp="ft-user-assets",Eo=wo.FtReduxStore.get({name:gp,initialState:{savedSearches:void 0,bookmarks:void 0}}),Mn=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Co,this.savedSearchesService=new Oo,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=_.getState();(0,wo.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(),Eo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Eo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Eo.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;Eo.actions.bookmarks(o)}}},Px=new Mn;var Un=class{addCommand(t,o=!1){_.commands.add(t,o)}consumeCommand(t){return _.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Un;var Bl=g(P()),Bn=class{highlightHtml(t,o){(0,Bl.highlightHtml)(t,o)}};window.FluidTopicsHighlightHtmlService=new Bn;var $l=g(P());var $n=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(c=>c.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,o){var n,i,a;return $l.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 $n;(0,Wl.customElement)("ft-app-context")(q);var Fl=g(Y()),bp=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 c=e.length-1;c>=0;c--)(s=e[c])&&(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=Symbol("i18nAttributes"),Nt=Symbol("i18nProperties"),Nr=Symbol("i18nUnsubs");function No(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Ks:qt}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let p=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var a,s;(a=this[Wn])===null||a===void 0||a.forEach((c,p)=>{var f;let u=this.getI18nAttributeValue(p);((f=u?.context)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(p,u,c)}),(s=this[Nt])===null||s===void 0||s.forEach((c,p)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[p]=this.i18n(c))}),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[Wn])===null||a===void 0||a.forEach((c,p)=>{let f=this.getI18nAttributeValue(p);f?.context&&f.key&&(i.has(p)||c.argsProvider!=null)&&(i.has(p)&&this.addI18nContext(f.context),this.updateI18nAttributeMessage(p,f,c))}),(s=this[Nt])===null||s===void 0||s.forEach((c,p)=>{c.argsProvider!=null&&(this[p]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[Nt])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[Wn])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(p=>this.getI18nAttributeValue(p))].map(p=>p?.context)).forEach(p=>p&&this.addI18nMessages(p))}addI18nMessages(i,a){i=i.toLowerCase(),this[Nr].has(i)||this[Nr].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[Nr].forEach(i=>i()),this[Nr].clear()}}return t=Nr,bp([(0,Fl.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var zl=class extends No(Ro.FtLitElement){},Ao=class extends No(Ro.FtLitElementRedux){};var Gl=g(P());var To=g(B()),Po=g(Y()),Lo=g(P());var Hl=g(B());var jl=Hl.css`
|
|
1109
|
-
`;var
|
|
1109
|
+
`}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(n=>eo.addContext(n)),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())}};J.elementDefinitions={};J.styles=Jc;ge([(0,Te.property)()],J.prototype,"baseUrl",void 0);ge([(0,Te.property)()],J.prototype,"apiIntegrationIdentifier",void 0);ge([(0,Te.property)()],J.prototype,"uiLocale",void 0);ge([(0,De.jsonProperty)(null)],J.prototype,"availableUiLocales",void 0);ge([(0,De.jsonProperty)(null)],J.prototype,"metadataConfiguration",void 0);ge([(0,Te.property)({type:Boolean})],J.prototype,"editorMode",void 0);ge([(0,Te.property)({type:Boolean})],J.prototype,"noCustom",void 0);ge([(0,Te.property)({type:Boolean})],J.prototype,"openExternalDocumentInNewTab",void 0);ge([(0,Te.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],J.prototype,"noCustomComponent",void 0);ge([(0,Te.property)({type:Boolean})],J.prototype,"withManualResources",void 0);ge([(0,Te.property)({type:Boolean})],J.prototype,"navigatorOnline",void 0);ge([(0,Te.property)({type:Boolean})],J.prototype,"forcedOffline",void 0);ge([(0,Te.property)({type:Object})],J.prototype,"apiProvider",void 0);ge([(0,De.jsonProperty)([])],J.prototype,"messageContexts",void 0);ge([(0,De.jsonProperty)(void 0)],J.prototype,"session",void 0);var Mn=v(Q());function Ms(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,a,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(a=n;a--!==0;)if(!pr(e[a],t[a]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[0]))return!1;for(a of e.entries())if(!pr(a[1],t.get(a[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[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),n=i.length,n!==Object.keys(t).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[a]))return!1;for(a=n;a--!==0;){var c=i[a];if(!pr(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function pr(e,t){try{return Ms(e,t)}catch{return!1}}function fr(e,t){return!pr(e,t)}var ol=v(Q(),1);var hn=e=>{let t=e??{};return(n,a)=>{var i;let c={hasChanged:fr,attribute:!1,...t};(0,ol.property)(c)(n,a);let l=n.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(a,{selector:(i=t.selector)!==null&&i!==void 0?i:p=>p[a],store:t.store})}};var ur=class{constructor(){this.queue=[]}add(t,n=!1){n&&(this.queue=this.queue.filter(a=>a.type!==t.type)),this.queue.push(t)}consume(t){let n=this.queue.find(a=>a.type===t);return n&&(this.queue=this.queue.filter(a=>a!==n)),n}};var Ao=v(Q(),1);var rl=v(Q(),1);function nl(e,t){let n=()=>JSON.parse(JSON.stringify(e));return(0,rl.property)({type:Object,converter:{fromAttribute:a=>{if(a==null)return n();try{return JSON.parse(a)}catch{return n()}},toAttribute:a=>JSON.stringify(a)},hasChanged:fr,...t??{}})}var hr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,n){return this.callbacks=[t],this.debounce(n)}queue(t,n){return this.callbacks.push(t),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((n,a)=>{this.resolvePromise=n,this.rejectPromise=a})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,n;let a=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,c=(n=this.resolvePromise)!==null&&n!==void 0?n:()=>null;this.clearPromise();for(let l of a)try{await l()}catch(p){i(p);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var il=v(M(),1);var yr=window,Fs=yr.ShadowRoot&&(yr.ShadyCSS===void 0||yr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hv=Symbol();var al=(e,t)=>{Fs?e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):t.forEach(n=>{let a=document.createElement("style"),i=yr.litNonce;i!==void 0&&a.setAttribute("nonce",i),a.textContent=n.cssText,e.appendChild(a)})};var gr=class extends il.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,c])=>t.registry.define(i,c)));let n={...t.shadowRootOptions,customElements:t.registry},a=this.renderOptions.creationScope=this.attachShadow(n);return al(a,t.elementStyles),a}};var mr=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},sl,cl=Symbol("constructorPrototype"),ll=Symbol("constructorName"),dl=Symbol("exportpartsDebouncer"),ht=class extends gr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[sl]=new hr(5),this[ll]=this.constructor.name,this[cl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ll]&&Object.setPrototypeOf(this,this[cl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var n,a,i;if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(c=>c.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var t,n,a;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(a=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&a!==void 0&&a)&&this[dl].run(()=>{var i,c;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var n,a,i,c,l,p;let u=x=>x!=null&&x.trim().length>0,y=t.filter(u).map(x=>x.trim());if(y.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let x of(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let O=(c=(i=x.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&c!==void 0?c:[],S=(p=(l=x.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(E=>E.split(":")[1]))!==null&&p!==void 0?p:[];new Array(...O,...S).filter(u).map(E=>E.trim()).forEach(E=>g.add(E))}if(g.size===0){this.removeAttribute("exportparts");return}let b=[...g.values()].flatMap(x=>y.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...b].join(", "))}};sl=dl;mr([(0,Ao.property)()],ht.prototype,"exportpartsPrefix",void 0);mr([nl([])],ht.prototype,"exportpartsPrefixes",void 0);mr([(0,Ao.property)()],ht.prototype,"customStylesheet",void 0);mr([(0,Ao.state)()],ht.prototype,"useAdoptedStyleSheets",void 0);function Io(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var pl,fl,ul,br=Symbol("internalReduxEventsUnsubscribers"),yt=Symbol("internalStoresUnsubscribers"),Pt=Symbol("internalStores"),Lo=class extends ht{constructor(){super(...arguments),this[pl]=new Map,this[fl]=new Map,this[ul]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(n=>t.has(n))&&this.updateFromStores()}getUnnamedStore(){if(this[Pt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Pt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Pt].get(t)}addStore(t,n){var a;n=(a=n??(Io(t)?t.name:void 0))!==null&&a!==void 0?a:"default-store",this.unsubscribeFromStore(n),this.setupStore(n,t)}removeStore(t){let n=typeof t=="string"?t:t.name;this.unsubscribeFromStore(n),this[Pt].delete(n)}setupStore(t,n){this[Pt].set(t,n),this.subscribeToStore(t,n),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Pt].forEach((t,n)=>this.subscribeToStore(n,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,n)=>{let a=this.constructor.getPropertyOptions(n);if(!a?.attribute||!this.hasAttribute(typeof a?.attribute=="string"?a.attribute:n)){let i=this.getStore(t.store);i&&(t.store?this[yt].has(t.store):this[yt].size>0)&&(this[n]=t.selector(i.getState(),this))}})}subscribeToStore(t,n){var a;this[yt].set(t,n.subscribe(()=>this.updateFromStores())),Io(n)&&n.eventBus&&((a=this.reduxConstructor.reduxEventListeners)===null||a===void 0||a.forEach((i,c)=>{if(typeof this[c]=="function"&&(!i.store||n.name===i.store)){let l=p=>this[c](p);n.eventBus.addEventListener(i.eventName,l),this[br].push(()=>n.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[yt].forEach((t,n)=>this.unsubscribeFromStore(n)),this[br].forEach(t=>t()),this[br]=[]}unsubscribeFromStore(t){this[yt].has(t)&&this[yt].get(t)(),this[yt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};pl=yt,fl=Pt,ul=br;Lo.reduxProperties=new Map;Lo.reduxReactiveProperties=new Set;Lo.reduxEventListeners=new Map;function Ue(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(0)var i,c;throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ot(e){return!!e&&!!e[j]}function ze(e){var t;return!!e&&(function(n){if(!n||typeof n!="object")return!1;var a=Object.getPrototypeOf(n);if(a===null)return!0;var i=Object.hasOwnProperty.call(a,"constructor")&&a.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ys}(e)||Array.isArray(e)||!!e[vl]||!!(!((t=e.constructor)===null||t===void 0)&&t[vl])||Cn(e)||En(e))}function kt(e,t,n){n===void 0&&(n=!1),ro(e)===0?(n?Object.keys:oo)(e).forEach(function(a){n&&typeof a=="symbol"||t(a,e[a],e)}):e.forEach(function(a,i){return t(i,a,e)})}function ro(e){var t=e[j];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Cn(e)?2:En(e)?3:0}function to(e,t){return ro(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $s(e,t){return ro(e)===2?e.get(t):e[t]}function Sl(e,t,n){var a=ro(e);a===2?e.set(t,n):a===3?e.add(n):e[t]=n}function Ol(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Cn(e){return Vs&&e instanceof Map}function En(e){return js&&e instanceof Set}function gt(e){return e.o||e.t}function wn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=wl(e);delete t[j];for(var n=oo(t),a=0;a<n.length;a++){var i=n[a],c=t[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(t[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Nn(e,t){return t===void 0&&(t=!1),Rn(e)||ot(e)||!ze(e)||(ro(e)>1&&(e.set=e.add=e.clear=e.delete=Hs),Object.freeze(e),t&&kt(e,function(n,a){return Nn(a,!0)},!0)),e}function Hs(){Ue(2)}function Rn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ze(e){var t=On[e];return t||Ue(18,e),t}function Gs(e,t){On[e]||(On[e]=t)}function xn(){return ko}function yn(e,t){t&&(Ze("Patches"),e.u=[],e.s=[],e.v=t)}function xr(e){vn(e),e.p.forEach(Ks),e.p=null}function vn(e){e===ko&&(ko=e.l)}function hl(e){return ko={p:[],l:ko,h:e,m:!0,_:0}}function Ks(e){var t=e[j];t.i===0||t.i===1?t.j():t.g=!0}function gn(e,t){t._=t.p.length;var n=t.p[0],a=e!==void 0&&e!==n;return t.h.O||Ze("ES5").S(t,e,a),a?(n[j].P&&(xr(t),Ue(4)),ze(e)&&(e=vr(t,e),t.l||Sr(t,e)),t.u&&Ze("Patches").M(n[j].t,e,t.u,t.s)):e=vr(t,n,[]),xr(t),t.u&&t.v(t.u,t.s),e!==El?e:void 0}function vr(e,t,n){if(Rn(t))return t;var a=t[j];if(!a)return kt(t,function(p,u){return yl(e,a,t,p,u,n)},!0),t;if(a.A!==e)return t;if(!a.P)return Sr(e,a.t,!0),a.t;if(!a.I){a.I=!0,a.A._--;var i=a.i===4||a.i===5?a.o=wn(a.k):a.o,c=i,l=!1;a.i===3&&(c=new Set(i),i.clear(),l=!0),kt(c,function(p,u){return yl(e,a,i,p,u,n,l)}),Sr(e,i,!1),n&&e.u&&Ze("Patches").N(a,n,e.u,e.s)}return a.o}function yl(e,t,n,a,i,c,l){if(ot(i)){var p=vr(e,i,c&&t&&t.i!==3&&!to(t.R,a)?c.concat(a):void 0);if(Sl(n,a,p),!ot(p))return;e.m=!1}else l&&n.add(i);if(ze(i)&&!Rn(i)){if(!e.h.D&&e._<1)return;vr(e,i),t&&t.A.l||Sr(e,i)}}function Sr(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&Nn(t,n)}function mn(e,t){var n=e[j];return(n?gt(n):e)[t]}function gl(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}function mt(e){e.P||(e.P=!0,e.l&&mt(e.l))}function bn(e){e.o||(e.o=wn(e.t))}function Sn(e,t,n){var a=Cn(t)?Ze("MapSet").F(t,n):En(t)?Ze("MapSet").T(t,n):e.O?function(i,c){var l=Array.isArray(i),p={i:l?1:0,A:c?c.A:xn(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},u=p,y=To;l&&(u=[p],y=Po);var g=Proxy.revocable(u,y),b=g.revoke,x=g.proxy;return p.k=x,p.j=b,x}(t,n):Ze("ES5").J(t,n);return(n?n.A:xn()).p.push(a),a}function Zs(e){return ot(e)||Ue(22,e),function t(n){if(!ze(n))return n;var a,i=n[j],c=ro(n);if(i){if(!i.P&&(i.i<4||!Ze("ES5").K(i)))return i.t;i.I=!0,a=ml(n,c),i.I=!1}else a=ml(n,c);return kt(a,function(l,p){i&&$s(i.t,l)===p||Sl(a,l,t(p))}),c===3?new Set(a):a}(e)}function ml(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return wn(e)}function Cl(){function e(l,p){var u=c[l];return u?u.enumerable=p:c[l]=u={configurable:!0,enumerable:p,get:function(){var y=this[j];return To.get(y,l)},set:function(y){var g=this[j];To.set(g,l,y)}},u}function t(l){for(var p=l.length-1;p>=0;p--){var u=l[p][j];if(!u.P)switch(u.i){case 5:a(u)&&mt(u);break;case 4:n(u)&&mt(u)}}}function n(l){for(var p=l.t,u=l.k,y=oo(u),g=y.length-1;g>=0;g--){var b=y[g];if(b!==j){var x=p[b];if(x===void 0&&!to(p,b))return!0;var O=u[b],S=O&&O[j];if(S?S.t!==x:!Ol(O,x))return!0}}var E=!!p[j];return y.length!==oo(p).length+(E?0:1)}function a(l){var p=l.k;if(p.length!==l.t.length)return!0;var u=Object.getOwnPropertyDescriptor(p,p.length-1);if(u&&!u.get)return!0;for(var y=0;y<p.length;y++)if(!p.hasOwnProperty(y))return!0;return!1}function i(l){l.g&&Ue(3,JSON.stringify(gt(l)))}var c={};Gs("ES5",{J:function(l,p){var u=Array.isArray(l),y=function(b,x){if(b){for(var O=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(O,""+S,e(S,!0));return O}var E=wl(x);delete E[j];for(var L=oo(E),A=0;A<L.length;A++){var I=L[A];E[I]=e(I,b||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(x),E)}(u,l),g={i:u?5:4,A:p?p.A:xn(),P:!1,I:!1,R:{},l:p,t:l,k:y,o:null,g:!1,C:!1};return Object.defineProperty(y,j,{value:g,writable:!0}),y},S:function(l,p,u){u?ot(p)&&p[j].A===l&&t(l.p):(l.u&&function y(g){if(g&&typeof g=="object"){var b=g[j];if(b){var x=b.t,O=b.k,S=b.R,E=b.i;if(E===4)kt(O,function(U){U!==j&&(x[U]!==void 0||to(x,U)?S[U]||y(O[U]):(S[U]=!0,mt(b)))}),kt(x,function(U){O[U]!==void 0||to(O,U)||(S[U]=!1,mt(b))});else if(E===5){if(a(b)&&(mt(b),S.length=!0),O.length<x.length)for(var L=O.length;L<x.length;L++)S[L]=!1;else for(var A=x.length;A<O.length;A++)S[A]=!0;for(var I=Math.min(O.length,x.length),W=0;W<I;W++)O.hasOwnProperty(W)||(S[W]=!0),S[W]===void 0&&y(O[W])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?n(l):a(l)}})}var bl,ko,An=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Vs=typeof Map<"u",js=typeof Set<"u",xl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",El=An?Symbol.for("immer-nothing"):((bl={})["immer-nothing"]=!0,bl),vl=An?Symbol.for("immer-draftable"):"__$immer_draftable",j=An?Symbol.for("immer-state"):"__$immer_state";var Ys=""+Object.prototype.constructor,oo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,wl=Object.getOwnPropertyDescriptors||function(e){var t={};return oo(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},On={},To={get:function(e,t){if(t===j)return e;var n=gt(e);if(!to(n,t))return function(i,c,l){var p,u=gl(c,l);return u?"value"in u?u.value:(p=u.get)===null||p===void 0?void 0:p.call(i.k):void 0}(e,n,t);var a=n[t];return e.I||!ze(a)?a:a===mn(e.t,t)?(bn(e),e.o[t]=Sn(e.A.h,a,e)):a},has:function(e,t){return t in gt(e)},ownKeys:function(e){return Reflect.ownKeys(gt(e))},set:function(e,t,n){var a=gl(gt(e),t);if(a?.set)return a.set.call(e.k,n),!0;if(!e.P){var i=mn(gt(e),t),c=i?.[j];if(c&&c.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Ol(n,i)&&(n!==void 0||to(e.t,t)))return!0;bn(e),mt(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return mn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,bn(e),mt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=gt(e),a=Reflect.getOwnPropertyDescriptor(n,t);return a&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:a.enumerable,value:n[t]}},defineProperty:function(){Ue(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ue(12)}},Po={};kt(To,function(e,t){Po[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Po.deleteProperty=function(e,t){return Po.set.call(this,e,t,void 0)},Po.set=function(e,t,n){return To.set.call(this,e[0],t,n,e[0])};var qs=function(){function e(n){var a=this;this.O=xl,this.D=!0,this.produce=function(i,c,l){if(typeof i=="function"&&typeof c!="function"){var p=c;c=i;var u=a;return function(E){var L=this;E===void 0&&(E=p);for(var A=arguments.length,I=Array(A>1?A-1:0),W=1;W<A;W++)I[W-1]=arguments[W];return u.produce(E,function(U){var H;return(H=c).call.apply(H,[L,U].concat(I))})}}var y;if(typeof c!="function"&&Ue(6),l!==void 0&&typeof l!="function"&&Ue(7),ze(i)){var g=hl(a),b=Sn(a,i,void 0),x=!0;try{y=c(b),x=!1}finally{x?xr(g):vn(g)}return typeof Promise<"u"&&y instanceof Promise?y.then(function(E){return yn(g,l),gn(E,g)},function(E){throw xr(g),E}):(yn(g,l),gn(y,g))}if(!i||typeof i!="object"){if((y=c(i))===void 0&&(y=i),y===El&&(y=void 0),a.D&&Nn(y,!0),l){var O=[],S=[];Ze("Patches").M(i,y,O,S),l(O,S)}return y}Ue(21,i)},this.produceWithPatches=function(i,c){if(typeof i=="function")return function(y){for(var g=arguments.length,b=Array(g>1?g-1:0),x=1;x<g;x++)b[x-1]=arguments[x];return a.produceWithPatches(y,function(O){return i.apply(void 0,[O].concat(b))})};var l,p,u=a.produce(i,c,function(y,g){l=y,p=g});return typeof Promise<"u"&&u instanceof Promise?u.then(function(y){return[y,l,p]}):[u,l,p]},typeof n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){ze(n)||Ue(8),ot(n)&&(n=Zs(n));var a=hl(this),i=Sn(this,n,void 0);return i[j].C=!0,vn(a),i},t.finishDraft=function(n,a){var i=n&&n[j],c=i.A;return yn(c,a),gn(void 0,c)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!xl&&Ue(20),this.O=n},t.applyPatches=function(n,a){var i;for(i=a.length-1;i>=0;i--){var c=a[i];if(c.path.length===0&&c.op==="replace"){n=c.value;break}}i>-1&&(a=a.slice(i+1));var l=Ze("Patches").$;return ot(n)?l(n,a):this.produce(n,function(p){return l(p,a)})},e}(),Ae=new qs,Xs=Ae.produce,tS=Ae.produceWithPatches.bind(Ae),oS=Ae.setAutoFreeze.bind(Ae),rS=Ae.setUseProxies.bind(Ae),nS=Ae.applyPatches.bind(Ae),aS=Ae.createDraft.bind(Ae),iS=Ae.finishDraft.bind(Ae),Or=Xs;function bt(e){"@babel/helpers - typeof";return bt=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},bt(e)}function In(e,t){if(bt(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(bt(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ln(e){var t=In(e,"string");return bt(t)==="symbol"?t:String(t)}function Pn(e,t,n){return t=Ln(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function Cr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nl(Object(n),!0).forEach(function(a){Pn(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nl(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function ue(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 Rl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),kn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Er={INIT:"@@redux/INIT"+kn(),REPLACE:"@@redux/REPLACE"+kn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+kn()}};function Js(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 Tn(e,t,n){var a;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ue(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ue(1));return n(Tn)(e,t)}if(typeof e!="function")throw new Error(ue(2));var i=e,c=t,l=[],p=l,u=!1;function y(){p===l&&(p=l.slice())}function g(){if(u)throw new Error(ue(3));return c}function b(E){if(typeof E!="function")throw new Error(ue(4));if(u)throw new Error(ue(5));var L=!0;return y(),p.push(E),function(){if(L){if(u)throw new Error(ue(6));L=!1,y();var I=p.indexOf(E);p.splice(I,1),l=null}}}function x(E){if(!Js(E))throw new Error(ue(7));if(typeof E.type>"u")throw new Error(ue(8));if(u)throw new Error(ue(9));try{u=!0,c=i(c,E)}finally{u=!1}for(var L=l=p,A=0;A<L.length;A++){var I=L[A];I()}return E}function O(E){if(typeof E!="function")throw new Error(ue(10));i=E,x({type:Er.REPLACE})}function S(){var E,L=b;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(ue(11));function W(){I.next&&I.next(g())}W();var U=L(W);return{unsubscribe:U}}},E[Rl]=function(){return this},E}return x({type:Er.INIT}),a={dispatch:x,subscribe:b,getState:g,replaceReducer:O},a[Rl]=S,a}function Qs(e){Object.keys(e).forEach(function(t){var n=e[t],a=n(void 0,{type:Er.INIT});if(typeof a>"u")throw new Error(ue(12));if(typeof n(void 0,{type:Er.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ue(13))})}function Al(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var i=t[a];typeof e[i]=="function"&&(n[i]=e[i])}var c=Object.keys(n),l,p;try{Qs(n)}catch(u){p=u}return function(y,g){if(y===void 0&&(y={}),p)throw p;if(0)var b;for(var x=!1,O={},S=0;S<c.length;S++){var E=c[S],L=n[E],A=y[E],I=L(A,g);if(typeof I>"u"){var W=g&&g.type;throw new Error(ue(14))}O[E]=I,x=x||I!==A}return x=x||c.length!==Object.keys(y).length,x?O:y}}function no(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(a){return a}:t.length===1?t[0]:t.reduce(function(a,i){return function(){return a(i.apply(void 0,arguments))}})}function Il(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(a){return function(){var i=a.apply(void 0,arguments),c=function(){throw new Error(ue(15))},l={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},p=t.map(function(u){return u(l)});return c=no.apply(void 0,p)(i.dispatch),Cr(Cr({},i),{},{dispatch:c})}}}function Ll(e){var t=function(a){var i=a.dispatch,c=a.getState;return function(l){return function(p){return typeof p=="function"?p(i,c,e):l(p)}}};return t}var Pl=Ll();Pl.withExtraArgument=Ll;var Un=Pl;var _l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(a[c]=i[c])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function a(){this.constructor=t}t.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),ed=function(e,t){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,i,c,l;return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(y){return function(g){return u([y,g])}}function u(y){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(c=y[0]&2?i.return:y[0]?i.throw||((c=i.return)&&c.call(i),0):i.next)&&!(c=c.call(i,y[1])).done)return c;switch(i=0,c&&(y=[y[0]&2,c.value]),y[0]){case 0:case 1:c=y;break;case 4:return n.label++,{value:y[1],done:!1};case 5:n.label++,i=y[1],y=[0];continue;case 7:y=n.ops.pop(),n.trys.pop();continue;default:if(c=n.trys,!(c=c.length>0&&c[c.length-1])&&(y[0]===6||y[0]===2)){n=0;continue}if(y[0]===3&&(!c||y[1]>c[0]&&y[1]<c[3])){n.label=y[1];break}if(y[0]===6&&n.label<c[1]){n.label=c[1],c=y;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(y);break}c[2]&&n.ops.pop(),n.trys.pop();continue}y=t.call(e,n)}catch(g){y=[6,g],i=0}finally{a=c=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}},ao=function(e,t){for(var n=0,a=t.length,i=e.length;n<a;n++,i++)e[i]=t[n];return e},td=Object.defineProperty,od=Object.defineProperties,rd=Object.getOwnPropertyDescriptors,kl=Object.getOwnPropertySymbols,nd=Object.prototype.hasOwnProperty,ad=Object.prototype.propertyIsEnumerable,Tl=function(e,t,n){return t in e?td(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},xt=function(e,t){for(var n in t||(t={}))nd.call(t,n)&&Tl(e,n,t[n]);if(kl)for(var a=0,i=kl(t);a<i.length;a++){var n=i[a];ad.call(t,n)&&Tl(e,n,t[n])}return e},Wn=function(e,t){return od(e,rd(t))},id=function(e,t,n){return new Promise(function(a,i){var c=function(u){try{p(n.next(u))}catch(y){i(y)}},l=function(u){try{p(n.throw(u))}catch(y){i(y)}},p=function(u){return u.done?a(u.value):Promise.resolve(u.value).then(c,l)};p((n=n.apply(e,t)).next())})};var cd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?no:no.apply(null,arguments)},ES=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ld(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}var sd=function(e){_l(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=e.apply(this,n)||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 n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,ao([void 0],n[0].concat(this)))):new(t.bind.apply(t,ao([void 0],n.concat(this))))},t}(Array),dd=function(e){_l(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=e.apply(this,n)||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 n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,ao([void 0],n[0].concat(this)))):new(t.bind.apply(t,ao([void 0],n.concat(this))))},t}(Array);function Dn(e){return ze(e)?Or(e,function(){}):e}function pd(e){return typeof e=="boolean"}function fd(){return function(t){return ud(t)}}function ud(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,a=e.immutableCheck,i=a===void 0?!0:a,c=e.serializableCheck,l=c===void 0?!0:c,p=new sd;if(n&&(pd(n)?p.push(Un):p.push(Un.withExtraArgument(n.extraArgument))),0){if(i)var u;if(l)var y}return p}var _n=!0;function Bl(e){var t=fd(),n=e||{},a=n.reducer,i=a===void 0?void 0:a,c=n.middleware,l=c===void 0?t():c,p=n.devTools,u=p===void 0?!0:p,y=n.preloadedState,g=y===void 0?void 0:y,b=n.enhancers,x=b===void 0?void 0:b,O;if(typeof i=="function")O=i;else if(ld(i))O=Al(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 S=l;if(typeof S=="function"&&(S=S(t),!_n&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!_n&&S.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Il.apply(void 0,S),L=no;u&&(L=cd(xt({trace:!_n},typeof u=="object"&&u)));var A=new dd(E),I=A;Array.isArray(x)?I=ao([E],x):typeof x=="function"&&(I=x(A));var W=L.apply(void 0,I);return Tn(O,g,W)}function vt(e,t){function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(t){var c=t.apply(void 0,a);if(!c)throw new Error("prepareAction did not return an object");return xt(xt({type:e,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:e,payload:a[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(a){return a.type===e},n}function Dl(e){var t={},n=[],a,i={addCase:function(c,l){var p=typeof c=="string"?c:c.type;if(p in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[p]=l,i},addMatcher:function(c,l){return n.push({matcher:c,reducer:l}),i},addDefaultCase:function(c){return a=c,i}};return e(i),[t,n,a]}function hd(e){return typeof e=="function"}function yd(e,t,n,a){n===void 0&&(n=[]);var i=typeof t=="function"?Dl(t):[t,n,a],c=i[0],l=i[1],p=i[2],u;if(hd(e))u=function(){return Dn(e())};else{var y=Dn(e);u=function(){return y}}function g(b,x){b===void 0&&(b=u());var O=ao([c[x.type]],l.filter(function(S){var E=S.matcher;return E(x)}).map(function(S){var E=S.reducer;return E}));return O.filter(function(S){return!!S}).length===0&&(O=[p]),O.reduce(function(S,E){if(E)if(ot(S)){var L=S,A=E(L,x);return A===void 0?S:A}else{if(ze(S))return Or(S,function(I){return E(I,x)});var A=E(S,x);if(A===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return S},b)}return g.getInitialState=u,g}function gd(e,t){return e+"/"+t}function zl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof e.initialState=="function"?e.initialState:Dn(e.initialState),a=e.reducers||{},i=Object.keys(a),c={},l={},p={};i.forEach(function(g){var b=a[g],x=gd(t,g),O,S;"reducer"in b?(O=b.reducer,S=b.prepare):O=b,c[g]=O,l[x]=O,p[g]=S?vt(x,S):vt(x)});function u(){var g=typeof e.extraReducers=="function"?Dl(e.extraReducers):[e.extraReducers],b=g[0],x=b===void 0?{}:b,O=g[1],S=O===void 0?[]:O,E=g[2],L=E===void 0?void 0:E,A=xt(xt({},x),l);return yd(n,function(I){for(var W in A)I.addCase(W,A[W]);for(var U=0,H=S;U<H.length;U++){var me=H[U];I.addMatcher(me.matcher,me.reducer)}L&&I.addDefaultCase(L)})}var y;return{name:t,reducer:function(g,b){return y||(y=u()),y(g,b)},actions:p,caseReducers:c,getInitialState:function(){return y||(y=u()),y.getInitialState()}}}var md="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",bd=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=md[Math.random()*64|0];return t},xd=["name","message","stack","code"],Bn=function(){function e(t,n){this.payload=t,this.meta=n}return e}(),Ul=function(){function e(t,n){this.payload=t,this.meta=n}return e}(),vd=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,a=xd;n<a.length;n++){var i=a[n];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},AS=function(){function e(t,n,a){var i=vt(t+"/fulfilled",function(g,b,x,O){return{payload:g,meta:Wn(xt({},O||{}),{arg:x,requestId:b,requestStatus:"fulfilled"})}}),c=vt(t+"/pending",function(g,b,x){return{payload:void 0,meta:Wn(xt({},x||{}),{arg:b,requestId:g,requestStatus:"pending"})}}),l=vt(t+"/rejected",function(g,b,x,O,S){return{payload:O,error:(a&&a.serializeError||vd)(g||"Rejected"),meta:Wn(xt({},S||{}),{arg:x,requestId:b,rejectedWithValue:!!O,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),p=!1,u=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function y(g){return function(b,x,O){var S=a?.idGenerator?a.idGenerator(g):bd(),E=new u,L,A=!1;function I(U){L=U,E.abort()}var W=function(){return id(this,null,function(){var U,H,me,re,io,Ie,m;return ed(this,function(C){switch(C.label){case 0:return C.trys.push([0,4,,5]),re=(U=a?.condition)==null?void 0:U.call(a,g,{getState:x,extra:O}),Od(re)?[4,re]:[3,2];case 1:re=C.sent(),C.label=2;case 2:if(re===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,io=new Promise(function(P,Z){return E.signal.addEventListener("abort",function(){return Z({name:"AbortError",message:L||"Aborted"})})}),b(c(S,g,(H=a?.getPendingMeta)==null?void 0:H.call(a,{requestId:S,arg:g},{getState:x,extra:O}))),[4,Promise.race([io,Promise.resolve(n(g,{dispatch:b,getState:x,extra:O,requestId:S,signal:E.signal,abort:I,rejectWithValue:function(P,Z){return new Bn(P,Z)},fulfillWithValue:function(P,Z){return new Ul(P,Z)}})).then(function(P){if(P instanceof Bn)throw P;return P instanceof Ul?i(P.payload,S,g,P.meta):i(P,S,g)})])];case 3:return me=C.sent(),[3,5];case 4:return Ie=C.sent(),me=Ie instanceof Bn?l(null,S,g,Ie.payload,Ie.meta):l(Ie,S,g),[3,5];case 5:return m=a&&!a.dispatchConditionRejection&&l.match(me)&&me.meta.condition,m||b(me),[2,me]}})})}();return Object.assign(W,{abort:I,requestId:S,arg:g,unwrap:function(){return W.then(Sd)}})}}return Object.assign(y,{pending:c,rejected:l,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Sd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Od(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ml="listener",Fl="completed",$l="cancelled",IS="task-"+$l,LS="task-"+Fl,PS=Ml+"-"+$l,kS=Ml+"-"+Fl;var zn="listenerMiddleware";var TS=vt(zn+"/add"),US=vt(zn+"/removeAll"),WS=vt(zn+"/remove");var Wl,_S=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Wl||(Wl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Cd=function(e){return function(t){setTimeout(t,e)}},BS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cd(10);Cl();window.ftReduxStores||(window.ftReduxStores={});var Hl=class e{static get(t){var n;let a=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,c=window.ftReduxStores[a];if(Io(c))return c;if(i==null)return;let l=zl({...i,reducers:(n=i.reducers)!==null&&n!==void 0?n:{}}),p=Bl({reducer:(u,y)=>y.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof y.type=="string"&&y.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...y.overwrites}:l.reducer(u,y)});return window.ftReduxStores[i.name]=new e(l,p)}constructor(t,n){this.reduxSlice=t,this.reduxStore=n,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ur,this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,c)=>{let l=i,p=a[l];return p?(...u)=>{let y=p(...u);return this.reduxStore.dispatch(y),y}:u=>{this.setState({[l]:u})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var wr=class{static format(t,n,a,i){return window.moment?window.moment(t).locale(n).format(this.getDateFormat(a,i)):t}static getDateFormat(t,n){return t?n?"lll":"ll":n?"L LT":"L"}};var Nr=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c};function Gl(e){class t extends e{constructor(...a){super(a),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(_)}dateFormatOptionsChanged(a){return a.has("metadataDescriptors")||a.has("useLongDateFormat")||a.has("useDateTimeFormat")||a.has("uiLocale")}formatDateValues(a){var i,c;return((c=(i=this.metadataDescriptors.find(p=>p.key===a?.key))===null||i===void 0?void 0:i.date)!==null&&c!==void 0?c:!1)?this.formatMetadataDates(a):a}formatMetadataDates(a){return{key:a.key,label:a.label,values:a.values.map(i=>wr.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:a.hierarchicalValues}}}return Nr([(0,Mn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Nr([(0,Mn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Nr([hn({store:_.name,selector:n=>{var a,i;return(i=(a=n.metadataConfiguration)===null||a===void 0?void 0:a.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),Nr([hn({store:_.name})],t.prototype,"uiLocale",void 0),t}var Lr=v(T());var Rr=class extends ft{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 Ar=class extends ft{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 Ed="ft-user-assets",Ir=Lr.FtReduxStore.get({name:Ed,initialState:{savedSearches:void 0,bookmarks:void 0}}),Fn=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ar,this.savedSearchesService=new Rr,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:n}=_.getState();(0,Lr.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ir.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ir.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Ir.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 n=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ir.actions.bookmarks(n)}}},dO=new Fn;var $n=class{addCommand(t,n=!1){_.commands.add(t,n)}consumeCommand(t){return _.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new $n;var Kl=v(T()),Hn=class{highlightHtml(t,n){(0,Kl.highlightHtml)(t,n)}};window.FluidTopicsHighlightHtmlService=new Hn;var Zl=v(T());var Gn=class{isDate(t){var n,a,i,c;return(c=(i=((a=(n=_.getState().metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]).find(p=>p.key===t))===null||i===void 0?void 0:i.date)!==null&&c!==void 0?c:!1}format(t,n){var a,i,c;return Zl.DateFormatter.format(t,(a=n?.locale)!==null&&a!==void 0?a:_.getState().uiLocale,(i=n?.longFormat)!==null&&i!==void 0?i:!1,(c=n?.withTime)!==null&&c!==void 0?c:!1)}};window.FluidTopicsDateService=new Gn;(0,Vl.customElement)("ft-app-context")(J);var Yl=v(Q()),wd=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Kn=Symbol("i18nAttributes"),Tt=Symbol("i18nProperties"),Uo=Symbol("i18nUnsubs");function Tr(e){var t;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?el:eo}i18n(i,c,...l){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,c,...l);let u=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...u)}onI18nUpdate(i){var c,l;(c=this[Kn])===null||c===void 0||c.forEach((p,u)=>{var y;let g=this.getI18nAttributeValue(u);((y=g?.context)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(u,g,p)}),(l=this[Tt])===null||l===void 0||l.forEach((p,u)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,c,l){this[i]={...c,message:this.i18n({context:c.context,key:c.key,...l})}}update(i){var c,l;super.update(i),(c=this[Kn])===null||c===void 0||c.forEach((p,u)=>{let y=this.getI18nAttributeValue(u);y?.context&&y.key&&(i.has(u)||p.argsProvider!=null)&&(i.has(u)&&this.addI18nContext(y.context),this.updateI18nAttributeMessage(u,y,p))}),(l=this[Tt])===null||l===void 0||l.forEach((p,u)=>{p.argsProvider!=null&&(this[u]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,c,l,p;super.connectedCallback(),new Set([...(c=(i=this[Tt])===null||i===void 0?void 0:i.values())!==null&&c!==void 0?c:[],...[...(p=(l=this[Kn])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(u=>this.getI18nAttributeValue(u))].map(u=>u?.context)).forEach(u=>u&&this.addI18nMessages(u))}addI18nMessages(i,c){i=i.toLowerCase(),this[Uo].has(i)||this[Uo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,c??{}),this.onI18nUpdate(i)}addI18nContext(i,c){this.addI18nMessages(typeof i=="string"?i:i.name,c)}disconnectedCallback(){super.disconnectedCallback(),this[Uo].forEach(i=>i()),this[Uo].clear()}}return t=Uo,wd([(0,Yl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var jl=class extends Tr(kr.FtLitElement){},Pr=class extends Tr(kr.FtLitElementRedux){};var Ql=v(T());var Ur=v(M()),Wr=v(Q()),_r=v(T());var ql=v(M());var Xl=ql.css`
|
|
1110
|
+
`;var Wo=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Me=class extends Pr{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ur.nothing:Ur.html`
|
|
1110
1111
|
<span class="ft-i18n">
|
|
1111
1112
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1112
1113
|
</span>
|
|
1113
|
-
`}update(t){var
|
|
1114
|
+
`}update(t){var n;super.update(t),["context","key","defaultMessage"].some(a=>t.has(a))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(n=this.defaultMessage)!==null&&n!==void 0?n:""})}};Me.elementDefinitions={};Me.styles=Xl;Wo([(0,_r.redux)()],Me.prototype,"editorMode",void 0);Wo([(0,Wr.property)()],Me.prototype,"context",void 0);Wo([(0,Wr.property)()],Me.prototype,"key",void 0);Wo([(0,_r.jsonProperty)([])],Me.prototype,"args",void 0);Wo([(0,Wr.property)()],Me.prototype,"defaultMessage",void 0);var Br=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:(n,a)=>{let i=a;return c=>({context:this.name,key:i,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>eo.resolveMessage(this.name,a,...i)})}};var Jl=(e,t)=>(n,a)=>{var i,c;n.constructor.createProperty(a,t??{attribute:!1,type:String});let l={...e,key:(i=e.key)!==null&&i!==void 0?i:a};n[Tt]=(c=n[Tt])!==null&&c!==void 0?c:new Map,n[Tt].set(a,l)};(0,Ql.customElement)("ft-i18n")(Me);var Zn=Br.build("designedReaderMapMetadata");var _e=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ce=class extends Gl(Tr(Bo)){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.displayLabel=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(Zn)}setReaderStateManager(t){super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var t,n,a,i;this.useForSwitchingToRelatives&&this.key?this.relatives=(i=(n=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||n===void 0?void 0:n.computeClustersItemsForMetadata(this.key,((a=this.map)===null||a===void 0?void 0:a.lang)||"en",this.noValueMessage))!==null&&i!==void 0?i:[]:this.relatives=[]}render(){return We.html`
|
|
1114
1115
|
${this.useForSwitchingToRelatives&&this.relatives.length>0?this.renderSwitchToRelatives():this.renderChip()}
|
|
1115
1116
|
${this.hideIfEmpty()}
|
|
1116
|
-
`}renderSwitchToRelatives(){return
|
|
1117
|
+
`}renderSwitchToRelatives(){return We.html`
|
|
1117
1118
|
<div part="floating-menu-container" class="ft-reader-metadata--container">
|
|
1118
1119
|
<ft-floating-menu part="floating-menu" text="Toggle collapsible" trailingIcon>
|
|
1119
1120
|
${this.renderChip(!0)}
|
|
1120
1121
|
<ft-floating-menu-label>${this.metadataLabel}</ft-floating-menu-label>
|
|
1121
|
-
${(0,
|
|
1122
|
+
${(0,es.repeat)(this.relatives,t=>t.metadata.value,t=>this.renderRelativeItem(t.result,t.metadata))}
|
|
1122
1123
|
</ft-floating-menu>
|
|
1123
1124
|
</div>
|
|
1124
|
-
`}renderChip(t=!1){var
|
|
1125
|
+
`}renderChip(t=!1){var n,a,i,c,l,p;let u=this.displayLabel&&((n=this.flatMetadata)===null||n===void 0?void 0:n.value)==((a=this.flatMetadata)===null||a===void 0?void 0:a.displayValue),y=We.html`
|
|
1125
1126
|
<ft-chip part="chip"
|
|
1126
1127
|
exportpartsPrefix="chip"
|
|
1127
|
-
slot="${
|
|
1128
|
+
slot="${u&&t?"toggle":""}"
|
|
1128
1129
|
trailingIcon icon="${t?"thin_arrow":""}"
|
|
1129
1130
|
?clickable=${t}
|
|
1130
1131
|
?multiLine=${this.multiLine}>
|
|
1131
|
-
${this.displayLabel?
|
|
1132
|
-
<span part="label">${(
|
|
1133
|
-
`:
|
|
1132
|
+
${this.displayLabel?We.html`
|
|
1133
|
+
<span part="label">${(c=(i=this.metadata)===null||i===void 0?void 0:i.label)!==null&&c!==void 0?c:this.key}: </span>
|
|
1134
|
+
`:We.nothing}
|
|
1134
1135
|
<span part="values">${this.metadataValue}</span>
|
|
1135
|
-
</ft-chip>`;return
|
|
1136
|
+
</ft-chip>`;return u?y:We.html`
|
|
1136
1137
|
<ft-tooltip part="tooltip"
|
|
1137
1138
|
slot="${t?"toggle":""}"
|
|
1138
1139
|
class="${this.multiLine?"ft-reader-metadata-multi-line":""}"
|
|
1139
|
-
text="${`${this.metadataLabel}: ${(
|
|
1140
|
-
${
|
|
1140
|
+
text="${`${this.metadataLabel}: ${(p=(l=this.flatMetadata)===null||l===void 0?void 0:l.value)!==null&&p!==void 0?p:this.noValueMessage}`}">
|
|
1141
|
+
${y}
|
|
1141
1142
|
</ft-tooltip>
|
|
1142
|
-
`}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,
|
|
1143
|
+
`}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,n){return We.html`
|
|
1143
1144
|
<a part="relative-item-link"
|
|
1144
|
-
href="${
|
|
1145
|
-
@click=${
|
|
1145
|
+
href="${pn(t)}"
|
|
1146
|
+
@click=${a=>this.addTopicPivotParam(a,t)}>
|
|
1146
1147
|
<ft-ripple part="relative-item-ripple"></ft-ripple>
|
|
1147
|
-
<ft-floating-menu-item part="relative-item" value="${
|
|
1148
|
-
${
|
|
1149
|
-
<ft-tooltip part="relative-item-tooltip" text="${
|
|
1148
|
+
<ft-floating-menu-item part="relative-item" value="${n.value}" notFocusable>
|
|
1149
|
+
${n.value==null||n.value===n.displayValue?n.displayValue:We.html`
|
|
1150
|
+
<ft-tooltip part="relative-item-tooltip" text="${n.value}">${n.displayValue}</ft-tooltip>
|
|
1150
1151
|
`}
|
|
1151
1152
|
</ft-floating-menu-item>
|
|
1152
1153
|
</a>
|
|
1153
|
-
`}hideIfEmpty(){let t=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&t?
|
|
1154
|
+
`}hideIfEmpty(){let t=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&t?We.html`
|
|
1154
1155
|
<style>
|
|
1155
1156
|
:host {
|
|
1156
1157
|
display: none !important;
|
|
1157
1158
|
}
|
|
1158
1159
|
</style>
|
|
1159
|
-
`:
|
|
1160
|
+
`:We.nothing}addTopicPivotParam(t,n){var a,i;let c=this.stateManager.store.getState().visibleTopics[0];if(c&&n.type=="MAP"){t.stopPropagation(),t.preventDefault();let l=(a=this.service)===null||a===void 0?void 0:a.getTocNodeNow(c);(i=this.service)===null||i===void 0||i.getTopicInfo(l).then(p=>{let u=p?.metadata.find(b=>b.key==this.relativeTopicPivotMetadata),y=new URL(pn(n));u&&u.values.forEach(b=>y.searchParams.append("topicPivot",b));let g=document.createElement("a");g.href=y.toString(),(t.ctrlKey||t.metaKey)&&(g.target="_blank"),this.append(g),g.click()})}}update(t){var n,a,i,c;super.update(t),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&((n=this.stateManager)===null||n===void 0||n.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&((a=this.stateManager)===null||a===void 0||a.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(i=this.stateManager)===null||i===void 0||i.registerMetadataForSwitchToRelatives(this.key):(c=this.stateManager)===null||c===void 0||c.unregisterMetadataForSwitchToRelatives(this.key)),(t.has("metadata")||this.dateFormatOptionsChanged(t))&&(this.flatMetadata=Ve.ClusteringHelper.flattenMetadata(this.formatDateValues(this.metadata)))}get metadataLabel(){var t,n,a,i,c,l;return this.metadata?this.metadata.label:(l=(i=(a=(n=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||n===void 0?void 0:n.getMetadataDescriptor(this.key))===null||a===void 0?void 0:a.label)!==null&&i!==void 0?i:(c=this.relatives.find(p=>p.metadata.value))===null||c===void 0?void 0:c.metadata.label)!==null&&l!==void 0?l:this.key}};ce.elementDefinitions={"ft-chip":X,"ft-floating-menu":dt,"ft-floating-menu-item":Oe,"ft-floating-menu-label":pt,"ft-ripple":$,"ft-tooltip":V};ce.styles=Jn;_e([(0,rt.property)(),(0,Ve.reduxReactive)()],ce.prototype,"key",void 0);_e([(0,rt.property)({type:Boolean})],ce.prototype,"multiLine",void 0);_e([(0,rt.property)({type:Boolean})],ce.prototype,"useForSwitchingToRelatives",void 0);_e([(0,rt.property)({type:Boolean})],ce.prototype,"displayLabel",void 0);_e([(0,rt.property)({attribute:!1})],ce.prototype,"editorMode",void 0);_e([(0,Ve.redux)({store:"reader",selector:(e,t)=>{var n,a;return(a=(n=e.map)===null||n===void 0?void 0:n.metadata)===null||a===void 0?void 0:a.find(i=>i.key===t.key)}})],ce.prototype,"metadata",void 0);_e([(0,rt.state)()],ce.prototype,"flatMetadata",void 0);_e([(0,Ve.redux)({store:"reader"})],ce.prototype,"map",void 0);_e([(0,Ve.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.relativeTopicPivotMetadata}})],ce.prototype,"relativeTopicPivotMetadata",void 0);_e([(0,rt.state)()],ce.prototype,"relatives",void 0);_e([Jl(Zn.properties.itemWithNoValueForSwitchToRelatives())],ce.prototype,"noValueMessage",void 0);_e([(0,Ve.reduxEventListener)({eventName:"clustering-helper-created"})],ce.prototype,"updateRelatives",null);(0,ts.customElement)("ft-reader-metadata")(ce);})();
|
|
1160
1161
|
/*! Bundled license information:
|
|
1161
1162
|
|
|
1162
1163
|
lit-html/lit-html.js:
|