@fluid-topics/ft-reader-topic-metadata 1.1.85 → 1.1.87
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-topic-metadata.light.js +388 -233
- package/build/ft-reader-topic-metadata.min.js +409 -254
- package/package.json +4 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var yc=Object.create;var Xr=Object.defineProperty;var gc=Object.getOwnPropertyDescriptor;var bc=Object.getOwnPropertyNames;var xc=Object.getPrototypeOf,vc=Object.prototype.hasOwnProperty;var $e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Sc=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bc(e))!vc.call(t,i)&&i!==r&&Xr(t,i,{get:()=>e[i],enumerable:!(n=gc(e,i))||n.enumerable});return t};var S=(t,e,r)=>(r=t!=null?yc(xc(t)):{},Sc(e||!t||!t.__esModule?Xr(r,"default",{value:t,enumerable:!0}):r,t));var _=$e((Wl,Jr)=>{Jr.exports=ftGlobals.wcUtils});var B=$e((Dl,Qr)=>{Qr.exports=ftGlobals.lit});var V=$e((zl,tn)=>{tn.exports=ftGlobals.litDecorators});var je=$e((bu,Mi)=>{Mi.exports=ftGlobals.litClassMap});var Ji=$e((Ru,Xi)=>{Xi.exports=ftGlobals.litUnsafeHTML});var mc=S(_());var bt=S(B()),Xt=S(V());var en=S(B()),Bl={},on=en.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
}
|
|
5
|
-
`;var
|
|
6
|
-
\f\r]`,
|
|
7
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),rn=/'/g,nn=/"/g,dn=/^(?:script|style|textarea|title)$/i,pn=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),fn=pn(1),un=pn(2),Ue=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),an=new WeakMap,ee=oe.createTreeWalker(oe,129);function hn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return tn!==void 0?tn.createHTML(e):e}var Cc=(t,e)=>{let n=t.length-1,a=[],i,c=e===2?"<svg>":"",l=ze;for(let p=0;p<n;p++){let g=t[p],h,y,m=-1,b=0;for(;b<g.length&&(l.lastIndex=b,y=l.exec(g),y!==null);)b=l.lastIndex,l===ze?y[1]==="!--"?l=en:y[1]!==void 0?l=on:y[2]!==void 0?(dn.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=te):y[3]!==void 0&&(l=te):l===te?y[0]===">"?(l=i??ze,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,h=y[1],l=y[3]===void 0?te:y[3]==='"'?nn:rn):l===nn||l===rn?l=te:l===en||l===on?l=ze:(l=te,i=void 0);let v=l===te&&t[p+1].startsWith("/>")?" ":"";c+=l===ze?g+Oc:m>=0?(a.push(h),g.slice(0,m)+cn+g.slice(m)+_t+v):g+_t+(m===-2?p:v)}return[hn(t,c+(t[n]||"<?>")+(e===2?"</svg>":"")),a]},De=class t{constructor({strings:e,_$litType$:n},a){let i;this.parts=[];let c=0,l=0,p=e.length-1,g=this.parts,[h,y]=Cc(e,n);if(this.el=t.createElement(h,a),ee.currentNode=this.el.content,n===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=ee.nextNode())!==null&&g.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(cn)){let b=y[l++],v=i.getAttribute(m).split(_t),x=/([.?@])?(.*)/.exec(b);g.push({type:1,index:c,name:x[2],strings:v,ctor:x[1]==="."?Yo:x[1]==="?"?qo:x[1]==="@"?Xo:pe}),i.removeAttribute(m)}else m.startsWith(_t)&&(g.push({type:6,index:c}),i.removeAttribute(m));if(dn.test(i.tagName)){let m=i.textContent.split(_t),b=m.length-1;if(b>0){i.textContent=no?no.emptyScript:"";for(let v=0;v<b;v++)i.append(m[v],ao()),ee.nextNode(),g.push({type:2,index:++c});i.append(m[b],ao())}}}else if(i.nodeType===8)if(i.data===ln)g.push({type:2,index:c});else{let m=-1;for(;(m=i.data.indexOf(_t,m+1))!==-1;)g.push({type:7,index:c}),m+=_t.length-1}c++}}static createElement(e,n){let a=oe.createElement("template");return a.innerHTML=e,a}};function de(t,e,n=t,a){if(e===Ue)return e;let i=a!==void 0?n._$Co?.[a]:n._$Cl,c=Be(e)?void 0:e._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(t),i._$AT(t,n,a)),a!==void 0?(n._$Co??=[])[a]=i:n._$Cl=i),i!==void 0&&(e=de(t,i._$AS(t,e.values),i,a)),e}var jo=class{constructor(e,n){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:n},parts:a}=this._$AD,i=(e?.creationScope??oe).importNode(n,!0);ee.currentNode=i;let c=ee.nextNode(),l=0,p=0,g=a[0];for(;g!==void 0;){if(l===g.index){let h;g.type===2?h=new io(c,c.nextSibling,this,e):g.type===1?h=new g.ctor(c,g.name,g.strings,this,e):g.type===6&&(h=new Jo(c,this,e)),this._$AV.push(h),g=a[++p]}l!==g?.index&&(c=ee.nextNode(),l++)}return ee.currentNode=oe,i}p(e){let n=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(e,a,n),n+=a.strings.length-2):a._$AI(e[n])),n++}},io=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,n,a,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=a,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,n=this._$AM;return n!==void 0&&e?.nodeType===11&&(e=n.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,n=this){e=de(this,e,n),Be(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Ue&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Sc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==V&&Be(this._$AH)?this._$AA.nextSibling.data=e:this.$(oe.createTextNode(e)),this._$AH=e}g(e){let{values:n,_$litType$:a}=e,i=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=De.createElement(hn(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===i)this._$AH.p(n);else{let c=new jo(i,this),l=c.u(this.options);c.p(n),this.$(l),this._$AH=c}}_$AC(e){let n=an.get(e.strings);return n===void 0&&an.set(e.strings,n=new De(e)),n}T(e){sn(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,a,i=0;for(let c of e)i===n.length?n.push(a=new t(this.k(ao()),this.k(ao()),this,this.options)):a=n[i],a._$AI(c),i++;i<n.length&&(this._$AR(a&&a._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);e&&e!==this._$AB;){let a=e.nextSibling;e.remove(),e=a}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,n,a,i,c){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,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=V}_$AI(e,n=this,a,i){let c=this.strings,l=!1;if(c===void 0)e=de(this,e,n,0),l=!Be(e)||e!==this._$AH&&e!==Ue,l&&(this._$AH=e);else{let p=e,g,h;for(e=c[0],g=0;g<c.length-1;g++)h=de(this,p[a+g],n,g),h===Ue&&(h=this._$AH[g]),l||=!Be(h)||h!==this._$AH[g],h===V?e=V:e!==V&&(e+=(h??"")+c[g+1]),this._$AH[g]=h}l&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Yo=class extends pe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},qo=class extends pe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},Xo=class extends pe{constructor(e,n,a,i,c){super(e,n,a,i,c),this.type=5}_$AI(e,n=this){if((e=de(this,e,n,0)??V)===Ue)return;let a=this._$AH,i=e===V&&a!==V||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,c=e!==V&&(a===V||i);i&&this.element.removeEventListener(this.name,this,a),c&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Jo=class{constructor(e,n,a){this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(e){de(this,e)}};var Nc=Qo.litHtmlPolyfillSupport;Nc?.(De,io),(Qo.litHtmlVersions??=[]).push("3.1.0");var yn=Symbol.for(""),wc=t=>{if(t?.r===yn)return t?._$litStatic$},tr=t=>({_$litStatic$:t,r:yn});var gn=new Map,mn=t=>(e,...n)=>{let a=n.length,i,c,l=[],p=[],g,h=0,y=!1;for(;h<a;){for(g=e[h];h<a&&(c=n[h],(i=wc(c))!==void 0);)g+=i+e[++h],y=!0;h!==a&&p.push(c),l.push(g),h++}if(h===a&&l.push(e[a]),y){let m=l.join("$$lit$$");(e=gn.get(m))===void 0&&(l.raw=l,gn.set(m,e=l)),n=p}return t(e,...n)},er=mn(fn),Ml=mn(un);var or=N(Y()),ia=N(U());var re;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(re||(re={}));var ht=N(G()),C=N(U());var It=N(G(),1),$t=t=>typeof t=="string"?(0,It.unsafeCSS)(t):t,o=class{static create(e,n,a,i){let c=p=>$t(p??i),l=It.css`var(${$t(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>It.css`var(${$t(e)}, ${c(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,n,a,i){let c=p=>a.get(p??i),l=It.css`var(${$t(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>It.css`var(${$t(e)}, ${c(p)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(e,n){let a=c=>e.fallbackVariable?e.fallbackVariable.get(c??e.defaultValue):$t(c??e.lastResortDefaultValue()),i=It.css`var(${$t(e.name)}, ${a(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>It.css`var(${$t(e.name)}, ${a(c)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.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)")},bn={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")},xn={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")},vn={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")},On={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")},Sn={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")},Cn={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")},Nn={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")},wn={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")},En={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")},Ec={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")},Rn={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")},In={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")},An={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")},Ln={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")},Pn={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")},Wn={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")},kn={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")},zn={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")},Bn={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")},Un={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")},Dn={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")},Tn={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")},_n={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")},$n={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")},Hn={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")},Gn={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")},co={display:bn,"title-1":xn,"title-2":vn,"title-3":On,"body-1-regular":Sn,"body-1-medium":Cn,"body-1-semibold":Nn,"body-2-regular":wn,"body-2-medium":En,"body-2-medium-underline":Ec,"body-2-semibold":Rn,"label-1-medium":In,"label-1-semibold":An,"label-1-bold":Ln,"label-2-medium":Pn,"label-2-semibold":Wn,"label-2-bold":kn,"caption-1-medium":zn,"caption-1-semibold":Bn,"caption-1-bold":Un,"caption-2-medium":Dn,"caption-2-semibold":Tn,"caption-2-bold":_n,"caption-3-medium":$n,"caption-3-semibold":Hn,"caption-3-bold":Gn};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.
|
|
8
|
-
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 ns={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 ss={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 hs={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 xs={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 Ns={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 As={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 zs={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 _s={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 Ms={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 Ys={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 td={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 ad={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 dd={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 gd={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 vd={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 wd={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 Ld={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 Bd={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 _d={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 Md={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 Yd={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 tp={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 ap={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 dp={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 gp={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 Fn;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Fn||(Fn={}));var Mn;(function(t){t.large="large",t.medium="medium",t.small="small"})(Mn||(Mn={}));var lo=N(G());function Zn(t){let e=co[t];return lo.css`
|
|
9
|
-
.ft-typography--${(0,
|
|
5
|
+
`;var Yo=S(V());var nn=S(_()),an=S(V());var rn;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(rn||(rn={}));var Oc=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Vo=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ko=Symbol("registerInterval");function Cc(t){var e;class r extends t{constructor(){super(...arguments),this[e]=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[Ko]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ko]):this.dispatchEvent(new Vo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ko,Oc([(0,an.state)()],r.prototype,"stateManager",void 0),r}var no=class extends Cc(nn.FtLitElementRedux){};var cn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},qo=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},Zo=Symbol("registerInterval");function wc(t){var e;class r extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Zo]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[Zo]):this.dispatchEvent(new qo)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Zo,cn([(0,Yo.state)()],r.prototype,"tocNode",void 0),cn([(0,Yo.state)()],r.prototype,"disableContextInteractions",void 0),r}var io=class extends wc(no){};var hc=S(_());var Bi=S(_());var zi=S(B()),F=S(V()),Ge=S(_());var pi=S(_());var rr=globalThis,ao=rr.trustedTypes,ln=ao?ao.createPolicy("lit-html",{createHTML:t=>t}):void 0,hn="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,mn="?"+Mt,Ec=`<${mn}>`,ee=document,co=()=>ee.createComment(""),ke=t=>t===null||typeof t!="object"&&typeof t!="function",yn=Array.isArray,Nc=t=>yn(t)||typeof t?.[Symbol.iterator]=="function",Xo=`[
|
|
6
|
+
\f\r]`,_e=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,sn=/-->/g,dn=/>/g,Qt=RegExp(`>|${Xo}(?:([^\\s"'>=/]+)(${Xo}*=${Xo}*(?:[^
|
|
7
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),fn=/'/g,pn=/"/g,gn=/^(?:script|style|textarea|title)$/i,bn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),xn=bn(1),vn=bn(2),We=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),un=new WeakMap,te=ee.createTreeWalker(ee,129);function Sn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ln!==void 0?ln.createHTML(e):e}var Rc=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",c=_e;for(let s=0;s<r;s++){let p=t[s],f,u,h=-1,m=0;for(;m<p.length&&(c.lastIndex=m,u=c.exec(p),u!==null);)m=c.lastIndex,c===_e?u[1]==="!--"?c=sn:u[1]!==void 0?c=dn:u[2]!==void 0?(gn.test(u[2])&&(i=RegExp("</"+u[2],"g")),c=Qt):u[3]!==void 0&&(c=Qt):c===Qt?u[0]===">"?(c=i??_e,h=-1):u[1]===void 0?h=-2:(h=c.lastIndex-u[2].length,f=u[1],c=u[3]===void 0?Qt:u[3]==='"'?pn:fn):c===pn||c===fn?c=Qt:c===sn||c===dn?c=_e:(c=Qt,i=void 0);let g=c===Qt&&t[s+1].startsWith("/>")?" ":"";a+=c===_e?p+Ec:h>=0?(n.push(f),p.slice(0,h)+hn+p.slice(h)+Mt+g):p+Mt+(h===-2?s:g)}return[Sn(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},De=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,s=e.length-1,p=this.parts,[f,u]=Rc(e,r);if(this.el=t.createElement(f,n),te.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=te.nextNode())!==null&&p.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(hn)){let m=u[c++],g=i.getAttribute(h).split(Mt),y=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Qo:y[1]==="?"?tr:y[1]==="@"?er:fe}),i.removeAttribute(h)}else h.startsWith(Mt)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(gn.test(i.tagName)){let h=i.textContent.split(Mt),m=h.length-1;if(m>0){i.textContent=ao?ao.emptyScript:"";for(let g=0;g<m;g++)i.append(h[g],co()),te.nextNode(),p.push({type:2,index:++a});i.append(h[m],co())}}}else if(i.nodeType===8)if(i.data===mn)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Mt,h+1))!==-1;)p.push({type:7,index:a}),h+=Mt.length-1}a++}}static createElement(e,r){let n=ee.createElement("template");return n.innerHTML=e,n}};function de(t,e,r=t,n){if(e===We)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ke(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=de(t,i._$AS(t,e.values),i,n)),e}var Jo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ee).importNode(r,!0);te.currentNode=i;let a=te.nextNode(),c=0,s=0,p=n[0];for(;p!==void 0;){if(c===p.index){let f;p.type===2?f=new lo(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new or(a,this,e)),this._$AV.push(f),p=n[++s]}c!==p?.index&&(a=te.nextNode(),c++)}return te.currentNode=ee,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=de(this,e,r),ke(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==We&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Nc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==K&&ke(this._$AH)?this._$AA.nextSibling.data=e:this.$(ee.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=De.createElement(Sn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Jo(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=un.get(e.strings);return r===void 0&&un.set(e.strings,r=new De(e)),r}T(e){yn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(co()),this.k(co()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=r,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=K}_$AI(e,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=de(this,e,r,0),c=!ke(e)||e!==this._$AH&&e!==We,c&&(this._$AH=e);else{let s=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=de(this,s[n+p],r,p),f===We&&(f=this._$AH[p]),c||=!ke(f)||f!==this._$AH[p],f===K?e=K:e!==K&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}c&&!i&&this.O(e)}O(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Qo=class extends fe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===K?void 0:e}},tr=class extends fe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==K)}},er=class extends fe{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=de(this,e,r,0)??K)===We)return;let n=this._$AH,i=e===K&&n!==K||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==K&&(n===K||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},or=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){de(this,e)}};var Ac=rr.litHtmlPolyfillSupport;Ac?.(De,lo),(rr.litHtmlVersions??=[]).push("3.1.0");var Cn=Symbol.for(""),Pc=t=>{if(t?.r===Cn)return t?._$litStatic$},nr=t=>({_$litStatic$:t,r:Cn});var On=new Map,wn=t=>(e,...r)=>{let n=r.length,i,a,c=[],s=[],p,f=0,u=!1;for(;f<n;){for(p=e[f];f<n&&(a=r[f],(i=Pc(a))!==void 0);)p+=i+e[++f],u=!0;f!==n&&s.push(a),c.push(p),f++}if(f===n&&c.push(e[n]),u){let h=c.join("$$lit$$");(e=On.get(h))===void 0&&(c.raw=c,On.set(h,e=c)),r=s}return t(e,...r)},ir=wn(xn),Zl=wn(vn);var ar=S(V()),fi=S(_());var ut;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(ut||(ut={}));var ht=S(B()),O=S(_());var Lt=S(B(),1),Ut=t=>typeof t=="string"?(0,Lt.unsafeCSS)(t):t,o=class{static create(e,r,n,i){let a=s=>Ut(s??i),c=Lt.css`var(${Ut(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Lt.css`var(${Ut(e)}, ${a(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let a=s=>n.get(s??i),c=Lt.css`var(${Ut(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Lt.css`var(${Ut(e)}, ${a(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ut(a??e.lastResortDefaultValue()),i=Lt.css`var(${Ut(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Lt.css`var(${Ut(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var l={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)")},En={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")},Nn={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")},Rn={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")},An={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")},Pn={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")},Ln={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")},In={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")},Tn={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")},$n={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")},Lc={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")},_n={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")},kn={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")},Wn={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")},Dn={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")},zn={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")},Bn={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")},Mn={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")},Un={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")},Hn={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")},Gn={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")},jn={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")},Fn={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")},Kn={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")},Vn={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")},Zn={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")},Yn={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")},so={display:En,"title-1":Nn,"title-2":Rn,"title-3":An,"body-1-regular":Pn,"body-1-medium":Ln,"body-1-semibold":In,"body-2-regular":Tn,"body-2-medium":$n,"body-2-medium-underline":Lc,"body-2-semibold":_n,"label-1-medium":kn,"label-1-semibold":Wn,"label-1-bold":Dn,"label-2-medium":zn,"label-2-semibold":Bn,"label-2-bold":Mn,"caption-1-medium":Un,"caption-1-semibold":Hn,"caption-1-bold":Gn,"caption-2-medium":jn,"caption-2-semibold":Fn,"caption-2-bold":Kn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":Yn};var d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
8
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var x={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.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","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.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","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var L={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.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","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.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","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var ys={focusOpacity:o.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",d.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",d.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",d.contentInfoPrimary)};var Ss={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Ns={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Is={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Ws={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var Us={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","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Ks={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.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","",l.colorGray700)};var Xs={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var od={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var cd={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.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","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var pd={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var gd={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Od={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.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","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Rd={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02)};var Td={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Dd={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Ud={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Kd={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Xd={color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.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","",l.spacing3)};var of={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var lf={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.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","",l.spacing3)};var uf={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var bf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var fo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(fo||(fo={}));var X;(function(t){t.large="large",t.medium="medium",t.small="small"})(X||(X={}));var po=S(B());function qn(t){let e=so[t];return po.css`
|
|
9
|
+
.ft-typography--${(0,po.unsafeCSS)(t)} {
|
|
10
10
|
font-family: ${e.fontFamily};
|
|
11
11
|
font-size: ${e.fontSize};
|
|
12
12
|
font-weight: ${e.fontWeight};
|
|
@@ -14,16 +14,16 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
14
14
|
line-height: ${e.lineHeight};
|
|
15
15
|
text-transform: ${e.textCase};
|
|
16
16
|
}
|
|
17
|
-
`}var
|
|
17
|
+
`}var Xn=O.FtCssVariableFactory.extend("--ft-typography-font-family","",O.designSystemVariables.titleFont),It=O.FtCssVariableFactory.extend("--ft-typography-font-family","",O.designSystemVariables.contentFont),E={fontFamily:It,fontSize:O.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:O.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:O.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:O.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:O.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pe={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xn),fontSize:O.FtCssVariableFactory.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},ue={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xn),fontSize:O.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},he={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},me={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},ye={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},Et={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},ge={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},be={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},xe={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},Nt={fontFamily:O.FtCssVariableFactory.extend("--ft-typography-button-font-family","",It),fontSize:O.FtCssVariableFactory.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:O.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:O.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:O.FtCssVariableFactory.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:O.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},Jn=ht.css`
|
|
18
18
|
.ft-typography--title {
|
|
19
|
-
font-family: ${
|
|
20
|
-
font-size: ${
|
|
21
|
-
font-weight: ${
|
|
22
|
-
letter-spacing: ${
|
|
23
|
-
line-height: ${
|
|
24
|
-
text-transform: ${
|
|
25
|
-
}
|
|
26
|
-
`,
|
|
19
|
+
font-family: ${pe.fontFamily};
|
|
20
|
+
font-size: ${pe.fontSize};
|
|
21
|
+
font-weight: ${pe.fontWeight};
|
|
22
|
+
letter-spacing: ${pe.letterSpacing};
|
|
23
|
+
line-height: ${pe.lineHeight};
|
|
24
|
+
text-transform: ${pe.textTransform};
|
|
25
|
+
}
|
|
26
|
+
`,Qn=ht.css`
|
|
27
27
|
.ft-typography--title-dense {
|
|
28
28
|
font-family: ${ue.fontFamily};
|
|
29
29
|
font-size: ${ue.fontSize};
|
|
@@ -32,7 +32,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
32
32
|
line-height: ${ue.lineHeight};
|
|
33
33
|
text-transform: ${ue.textTransform};
|
|
34
34
|
}
|
|
35
|
-
`,
|
|
35
|
+
`,ti=ht.css`
|
|
36
36
|
.ft-typography--subtitle1 {
|
|
37
37
|
font-family: ${he.fontFamily};
|
|
38
38
|
font-size: ${he.fontSize};
|
|
@@ -41,17 +41,17 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
41
41
|
line-height: ${he.lineHeight};
|
|
42
42
|
text-transform: ${he.textTransform};
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,ei=ht.css`
|
|
45
45
|
.ft-typography--subtitle2 {
|
|
46
|
-
font-family: ${
|
|
47
|
-
font-size: ${
|
|
48
|
-
font-weight: ${
|
|
49
|
-
letter-spacing: ${
|
|
50
|
-
line-height: ${
|
|
51
|
-
text-transform: ${
|
|
46
|
+
font-family: ${me.fontFamily};
|
|
47
|
+
font-size: ${me.fontSize};
|
|
48
|
+
font-weight: ${me.fontWeight};
|
|
49
|
+
letter-spacing: ${me.letterSpacing};
|
|
50
|
+
line-height: ${me.lineHeight};
|
|
51
|
+
text-transform: ${me.textTransform};
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
`,
|
|
54
|
+
`,oi=ht.css`
|
|
55
55
|
.ft-typography--body1 {
|
|
56
56
|
font-family: ${ye.fontFamily};
|
|
57
57
|
font-size: ${ye.fontSize};
|
|
@@ -60,25 +60,25 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
60
60
|
line-height: ${ye.lineHeight};
|
|
61
61
|
text-transform: ${ye.textTransform};
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,ri=ht.css`
|
|
64
64
|
.ft-typography--body2 {
|
|
65
|
-
font-family: ${
|
|
66
|
-
font-size: ${
|
|
67
|
-
font-weight: ${
|
|
68
|
-
letter-spacing: ${
|
|
69
|
-
line-height: ${
|
|
70
|
-
text-transform: ${
|
|
65
|
+
font-family: ${Et.fontFamily};
|
|
66
|
+
font-size: ${Et.fontSize};
|
|
67
|
+
font-weight: ${Et.fontWeight};
|
|
68
|
+
letter-spacing: ${Et.letterSpacing};
|
|
69
|
+
line-height: ${Et.lineHeight};
|
|
70
|
+
text-transform: ${Et.textTransform};
|
|
71
71
|
}
|
|
72
|
-
`,
|
|
72
|
+
`,ni=ht.css`
|
|
73
73
|
.ft-typography--caption {
|
|
74
|
-
font-family: ${
|
|
75
|
-
font-size: ${
|
|
76
|
-
font-weight: ${
|
|
77
|
-
letter-spacing: ${
|
|
78
|
-
line-height: ${
|
|
79
|
-
text-transform: ${
|
|
74
|
+
font-family: ${ge.fontFamily};
|
|
75
|
+
font-size: ${ge.fontSize};
|
|
76
|
+
font-weight: ${ge.fontWeight};
|
|
77
|
+
letter-spacing: ${ge.letterSpacing};
|
|
78
|
+
line-height: ${ge.lineHeight};
|
|
79
|
+
text-transform: ${ge.textTransform};
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`,ii=ht.css`
|
|
82
82
|
.ft-typography--breadcrumb {
|
|
83
83
|
font-family: ${be.fontFamily};
|
|
84
84
|
font-size: ${be.fontSize};
|
|
@@ -87,7 +87,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
87
87
|
line-height: ${be.lineHeight};
|
|
88
88
|
text-transform: ${be.textTransform};
|
|
89
89
|
}
|
|
90
|
-
`,
|
|
90
|
+
`,ai=ht.css`
|
|
91
91
|
.ft-typography--overline {
|
|
92
92
|
font-family: ${xe.fontFamily};
|
|
93
93
|
font-size: ${xe.fontSize};
|
|
@@ -96,28 +96,28 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
96
96
|
line-height: ${xe.lineHeight};
|
|
97
97
|
text-transform: ${xe.textTransform};
|
|
98
98
|
}
|
|
99
|
-
`,
|
|
99
|
+
`,ci=ht.css`
|
|
100
100
|
.ft-typography--button {
|
|
101
|
-
font-family: ${
|
|
102
|
-
font-size: ${
|
|
103
|
-
font-weight: ${
|
|
104
|
-
letter-spacing: ${
|
|
105
|
-
line-height: ${
|
|
106
|
-
text-transform: ${
|
|
107
|
-
}
|
|
108
|
-
`,
|
|
101
|
+
font-family: ${Nt.fontFamily};
|
|
102
|
+
font-size: ${Nt.fontSize};
|
|
103
|
+
font-weight: ${Nt.fontWeight};
|
|
104
|
+
letter-spacing: ${Nt.letterSpacing};
|
|
105
|
+
line-height: ${Nt.lineHeight};
|
|
106
|
+
text-transform: ${Nt.textTransform};
|
|
107
|
+
}
|
|
108
|
+
`,li=ht.css`
|
|
109
109
|
.ft-typography {
|
|
110
110
|
vertical-align: inherit;
|
|
111
111
|
}
|
|
112
|
-
`,
|
|
113
|
-
<${
|
|
112
|
+
`,si=[Object.keys(so).map(t=>qn(t))];var di=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},J=class extends fi.FtLitElement{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?ir`
|
|
113
|
+
<${nr(this.element)}
|
|
114
114
|
part="text"
|
|
115
115
|
class="ft-typography ft-typography--${this.variant}">
|
|
116
116
|
<slot></slot>
|
|
117
|
-
</${
|
|
118
|
-
`:
|
|
117
|
+
</${nr(this.element)}>
|
|
118
|
+
`:ir`
|
|
119
119
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
120
|
-
`}};
|
|
120
|
+
`}};J.styles=[Jn,Qn,ti,ei,oi,ri,ni,ii,ai,ci,li,...si];di([(0,ar.property)()],J.prototype,"element",void 0);di([(0,ar.property)()],J.prototype,"variant",void 0);(0,pi.customElement)("ft-typography")(J);var ui=S(B()),Tt=S(_()),ve={distance:Tt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Tt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Tt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Tt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Tt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},hi=ui.css`
|
|
121
121
|
.ft-tooltip--container {
|
|
122
122
|
display: block;
|
|
123
123
|
}
|
|
@@ -146,7 +146,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
146
146
|
position: relative;
|
|
147
147
|
word-break: break-word;
|
|
148
148
|
}
|
|
149
|
-
`;var pa=["top","right","bottom","left"],da=["start","end"],nr=pa.reduce((t,e)=>t.concat(e,e+"-"+da[0],e+"-"+da[1]),[]),Te=Math.min,Ht=Math.max,_e=Math.round;var Pt=t=>({x:t,y:t}),Rc={left:"right",right:"left",bottom:"top",top:"bottom"},Ic={start:"end",end:"start"};function ar(t,e,n){return Ht(t,Te(e,n))}function so(t,e){return typeof t=="function"?t(e):t}function Oe(t){return t.split("-")[0]}function Gt(t){return t.split("-")[1]}function ir(t){return t==="x"?"y":"x"}function cr(t){return t==="y"?"height":"width"}function po(t){return["top","bottom"].includes(Oe(t))?"y":"x"}function lr(t){return ir(po(t))}function fa(t,e,n){n===void 0&&(n=!1);let a=Gt(t),i=lr(t),c=cr(i),l=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[c]>e.floating[c]&&(l=rr(l)),[l,rr(l)]}function ua(t){return t.replace(/start|end/g,e=>Ic[e])}function rr(t){return t.replace(/left|right|bottom|top/g,e=>Rc[e])}function Ac(t){return{top:0,right:0,bottom:0,left:0,...t}}function ha(t){return typeof t!="number"?Ac(t):{top:t,right:t,bottom:t,left:t}}function ne(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ga(t,e,n){let{reference:a,floating:i}=t,c=po(e),l=lr(e),p=cr(l),g=Oe(e),h=c==="y",y=a.x+a.width/2-i.width/2,m=a.y+a.height/2-i.height/2,b=a[p]/2-i[p]/2,v;switch(g){case"top":v={x:y,y:a.y-i.height};break;case"bottom":v={x:y,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:m};break;case"left":v={x:a.x-i.width,y:m};break;default:v={x:a.x,y:a.y}}switch(Gt(e)){case"start":v[l]-=b*(n&&h?-1:1);break;case"end":v[l]+=b*(n&&h?-1:1);break}return v}var ya=async(t,e,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:c=[],platform:l}=n,p=c.filter(Boolean),g=await(l.isRTL==null?void 0:l.isRTL(e)),h=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:m}=ga(h,a,g),b=a,v={},x=0;for(let O=0;O<p.length;O++){let{name:A,fn:E}=p[O],{x:R,y:L,data:k,reset:D}=await E({x:y,y:m,initialPlacement:a,placement:b,strategy:i,middlewareData:v,rects:h,platform:l,elements:{reference:t,floating:e}});if(y=R??y,m=L??m,v={...v,[A]:{...v[A],...k}},D&&x<=50){x++,typeof D=="object"&&(D.placement&&(b=D.placement),D.rects&&(h=D.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):D.rects),{x:y,y:m}=ga(h,b,g)),O=-1;continue}}return{x:y,y:m,placement:b,strategy:i,middlewareData:v}};async function sr(t,e){var n;e===void 0&&(e={});let{x:a,y:i,platform:c,rects:l,elements:p,strategy:g}=t,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:b=!1,padding:v=0}=so(e,t),x=ha(v),A=p[b?m==="floating"?"reference":"floating":m],E=ne(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(A)))==null||n?A:A.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:h,rootBoundary:y,strategy:g})),R=m==="floating"?{...l.floating,x:a,y:i}:l.reference,L=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),k=await(c.isElement==null?void 0:c.isElement(L))?await(c.getScale==null?void 0:c.getScale(L))||{x:1,y:1}:{x:1,y:1},D=ne(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:L,strategy:g}):R);return{top:(E.top-D.top+x.top)/k.y,bottom:(D.bottom-E.bottom+x.bottom)/k.y,left:(E.left-D.left+x.left)/k.x,right:(D.right-E.right+x.right)/k.x}}function Lc(t,e,n){return(t?[...n.filter(i=>Gt(i)===t),...n.filter(i=>Gt(i)!==t)]:n.filter(i=>Oe(i)===i)).filter(i=>t?Gt(i)===t||(e?ua(i)!==i:!1):!0)}var dr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,a,i;let{rects:c,middlewareData:l,placement:p,platform:g,elements:h}=e,{crossAxis:y=!1,alignment:m,allowedPlacements:b=nr,autoAlignment:v=!0,...x}=so(t,e),O=m!==void 0||b===nr?Lc(m||null,v,b):b,A=await sr(e,x),E=((n=l.autoPlacement)==null?void 0:n.index)||0,R=O[E];if(R==null)return{};let L=fa(R,c,await(g.isRTL==null?void 0:g.isRTL(h.floating)));if(p!==R)return{reset:{placement:O[0]}};let k=[A[Oe(R)],A[L[0]],A[L[1]]],D=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:R,overflows:k}],ft=O[E+1];if(ft)return{data:{index:E+1,overflows:D},reset:{placement:ft}};let Dt=D.map(at=>{let ut=Gt(at.placement);return[at.placement,ut&&y?at.overflows.slice(0,2).reduce((it,Qt)=>it+Qt,0):at.overflows[0],at.overflows]}).sort((at,ut)=>at[1]-ut[1]),Tt=((i=Dt.filter(at=>at[2].slice(0,Gt(at[0])?2:3).every(ut=>ut<=0))[0])==null?void 0:i[0])||Dt[0][0];return Tt!==p?{data:{index:E+1,overflows:D},reset:{placement:Tt}}:{}}}};var pr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:a,placement:i}=e,{mainAxis:c=!0,crossAxis:l=!1,limiter:p={fn:A=>{let{x:E,y:R}=A;return{x:E,y:R}}},...g}=so(t,e),h={x:n,y:a},y=await sr(e,g),m=po(Oe(i)),b=ir(m),v=h[b],x=h[m];if(c){let A=b==="y"?"top":"left",E=b==="y"?"bottom":"right",R=v+y[A],L=v-y[E];v=ar(R,v,L)}if(l){let A=m==="y"?"top":"left",E=m==="y"?"bottom":"right",R=x+y[A],L=x-y[E];x=ar(R,x,L)}let O=p.fn({...e,[b]:v,[m]:x});return{...O,data:{x:O.x-n,y:O.y-a}}}}};function Wt(t){return ba(t)?(t.nodeName||"").toLowerCase():"#document"}function tt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kt(t){var e;return(e=(ba(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ba(t){return t instanceof Node||t instanceof tt(t).Node}function Nt(t){return t instanceof Element||t instanceof tt(t).Element}function xt(t){return t instanceof HTMLElement||t instanceof tt(t).HTMLElement}function ma(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof tt(t).ShadowRoot}function Se(t){let{overflow:e,overflowX:n,overflowY:a,display:i}=lt(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+n)&&!["inline","contents"].includes(i)}function xa(t){return["table","td","th"].includes(Wt(t))}function uo(t){let e=ho(),n=lt(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(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 va(t){let e=ae(t);for(;xt(e)&&!$e(e);){if(uo(e))return e;e=ae(e)}return null}function ho(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $e(t){return["html","body","#document"].includes(Wt(t))}function lt(t){return tt(t).getComputedStyle(t)}function He(t){return Nt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ae(t){if(Wt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||ma(t)&&t.host||kt(t);return ma(e)?e.host:e}function Oa(t){let e=ae(t);return $e(e)?t.ownerDocument?t.ownerDocument.body:t.body:xt(e)&&Se(e)?e:Oa(e)}function fo(t,e,n){var a;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Oa(t),c=i===((a=t.ownerDocument)==null?void 0:a.body),l=tt(i);return c?e.concat(l,l.visualViewport||[],Se(i)?i:[],l.frameElement&&n?fo(l.frameElement):[]):e.concat(i,fo(i,[],n))}function Na(t){let e=lt(t),n=parseFloat(e.width)||0,a=parseFloat(e.height)||0,i=xt(t),c=i?t.offsetWidth:n,l=i?t.offsetHeight:a,p=_e(n)!==c||_e(a)!==l;return p&&(n=c,a=l),{width:n,height:a,$:p}}function wa(t){return Nt(t)?t:t.contextElement}function Ce(t){let e=wa(t);if(!xt(e))return Pt(1);let n=e.getBoundingClientRect(),{width:a,height:i,$:c}=Na(e),l=(c?_e(n.width):n.width)/a,p=(c?_e(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var Pc=Pt(0);function Ea(t){let e=tt(t);return!ho()||!e.visualViewport?Pc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wc(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==tt(t)?!1:e}function Ge(t,e,n,a){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),c=wa(t),l=Pt(1);e&&(a?Nt(a)&&(l=Ce(a)):l=Ce(t));let p=Wc(c,n,a)?Ea(c):Pt(0),g=(i.left+p.x)/l.x,h=(i.top+p.y)/l.y,y=i.width/l.x,m=i.height/l.y;if(c){let b=tt(c),v=a&&Nt(a)?tt(a):a,x=b.frameElement;for(;x&&a&&v!==b;){let O=Ce(x),A=x.getBoundingClientRect(),E=lt(x),R=A.left+(x.clientLeft+parseFloat(E.paddingLeft))*O.x,L=A.top+(x.clientTop+parseFloat(E.paddingTop))*O.y;g*=O.x,h*=O.y,y*=O.x,m*=O.y,g+=R,h+=L,x=tt(x).frameElement}}return ne({width:y,height:m,x:g,y:h})}function kc(t){let{rect:e,offsetParent:n,strategy:a}=t,i=xt(n),c=kt(n);if(n===c)return e;let l={scrollLeft:0,scrollTop:0},p=Pt(1),g=Pt(0);if((i||!i&&a!=="fixed")&&((Wt(n)!=="body"||Se(c))&&(l=He(n)),xt(n))){let h=Ge(n);p=Ce(n),g.x=h.x+n.clientLeft,g.y=h.y+n.clientTop}return{width:e.width*p.x,height:e.height*p.y,x:e.x*p.x-l.scrollLeft*p.x+g.x,y:e.y*p.y-l.scrollTop*p.y+g.y}}function zc(t){return Array.from(t.getClientRects())}function Ra(t){return Ge(kt(t)).left+He(t).scrollLeft}function Bc(t){let e=kt(t),n=He(t),a=t.ownerDocument.body,i=Ht(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),c=Ht(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),l=-n.scrollLeft+Ra(t),p=-n.scrollTop;return lt(a).direction==="rtl"&&(l+=Ht(e.clientWidth,a.clientWidth)-i),{width:i,height:c,x:l,y:p}}function Uc(t,e){let n=tt(t),a=kt(t),i=n.visualViewport,c=a.clientWidth,l=a.clientHeight,p=0,g=0;if(i){c=i.width,l=i.height;let h=ho();(!h||h&&e==="fixed")&&(p=i.offsetLeft,g=i.offsetTop)}return{width:c,height:l,x:p,y:g}}function Dc(t,e){let n=Ge(t,!0,e==="fixed"),a=n.top+t.clientTop,i=n.left+t.clientLeft,c=xt(t)?Ce(t):Pt(1),l=t.clientWidth*c.x,p=t.clientHeight*c.y,g=i*c.x,h=a*c.y;return{width:l,height:p,x:g,y:h}}function Sa(t,e,n){let a;if(e==="viewport")a=Uc(t,n);else if(e==="document")a=Bc(kt(t));else if(Nt(e))a=Dc(e,n);else{let i=Ea(t);a={...e,x:e.x-i.x,y:e.y-i.y}}return ne(a)}function Ia(t,e){let n=ae(t);return n===e||!Nt(n)||$e(n)?!1:lt(n).position==="fixed"||Ia(n,e)}function Tc(t,e){let n=e.get(t);if(n)return n;let a=fo(t,[],!1).filter(p=>Nt(p)&&Wt(p)!=="body"),i=null,c=lt(t).position==="fixed",l=c?ae(t):t;for(;Nt(l)&&!$e(l);){let p=lt(l),g=uo(l);!g&&p.position==="fixed"&&(i=null),(c?!g&&!i:!g&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Se(l)&&!g&&Ia(t,l))?a=a.filter(y=>y!==l):i=p,l=ae(l)}return e.set(t,a),a}function _c(t){let{element:e,boundary:n,rootBoundary:a,strategy:i}=t,l=[...n==="clippingAncestors"?Tc(e,this._c):[].concat(n),a],p=l[0],g=l.reduce((h,y)=>{let m=Sa(e,y,i);return h.top=Ht(m.top,h.top),h.right=Te(m.right,h.right),h.bottom=Te(m.bottom,h.bottom),h.left=Ht(m.left,h.left),h},Sa(e,p,i));return{width:g.right-g.left,height:g.bottom-g.top,x:g.left,y:g.top}}function $c(t){return Na(t)}function Hc(t,e,n){let a=xt(e),i=kt(e),c=n==="fixed",l=Ge(t,!0,c,e),p={scrollLeft:0,scrollTop:0},g=Pt(0);if(a||!a&&!c)if((Wt(e)!=="body"||Se(i))&&(p=He(e)),a){let h=Ge(e,!0,c,e);g.x=h.x+e.clientLeft,g.y=h.y+e.clientTop}else i&&(g.x=Ra(i));return{x:l.left+p.scrollLeft-g.x,y:l.top+p.scrollTop-g.y,width:l.width,height:l.height}}function Ca(t,e){return!xt(t)||lt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Aa(t,e){let n=tt(t);if(!xt(t))return n;let a=Ca(t,e);for(;a&&xa(a)&<(a).position==="static";)a=Ca(a,e);return a&&(Wt(a)==="html"||Wt(a)==="body"&<(a).position==="static"&&!uo(a))?n:a||va(t)||n}var Gc=async function(t){let{reference:e,floating:n,strategy:a}=t,i=this.getOffsetParent||Aa,c=this.getDimensions;return{reference:Hc(e,await i(n),a),floating:{x:0,y:0,...await c(n)}}};function Fc(t){return lt(t).direction==="rtl"}var go={convertOffsetParentRelativeRectToViewportRelativeRect:kc,getDocumentElement:kt,getClippingRect:_c,getOffsetParent:Aa,getElementRects:Gc,getClientRects:zc,getDimensions:$c,getScale:Ce,isElement:Nt,isRTL:Fc};var La=(t,e,n)=>{let a=new Map,i={platform:go,...n},c={...i.platform,_c:a};return ya(t,e,{...i,platform:c})};function Pa(t){return Mc(t)}function fr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Mc(t){for(let e=t;e;e=fr(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=fr(t);e;e=fr(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Wa(t,e,n){return La(t,e,{platform:{...go,getOffsetParent:a=>go.getOffsetParent(a,Pa)},middleware:[pr({crossAxis:!0}),dr({allowedPlacements:[n]})]})}var et=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var p=t.length-1;p>=0;p--)(l=t[p])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},T=class extends Fe.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 Fe.Debouncer,this.revealDebouncer=new Fe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ka.html`
|
|
149
|
+
`;var yi=["top","right","bottom","left"],mi=["start","end"],lr=yi.reduce((t,e)=>t.concat(e,e+"-"+mi[0],e+"-"+mi[1]),[]),ze=Math.min,Ht=Math.max,Be=Math.round;var $t=t=>({x:t,y:t}),Ic={left:"right",right:"left",bottom:"top",top:"bottom"},Tc={start:"end",end:"start"};function sr(t,e,r){return Ht(t,ze(e,r))}function uo(t,e){return typeof t=="function"?t(e):t}function Se(t){return t.split("-")[0]}function Gt(t){return t.split("-")[1]}function dr(t){return t==="x"?"y":"x"}function fr(t){return t==="y"?"height":"width"}function ho(t){return["top","bottom"].includes(Se(t))?"y":"x"}function pr(t){return dr(ho(t))}function gi(t,e,r){r===void 0&&(r=!1);let n=Gt(t),i=pr(t),a=fr(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=cr(c)),[c,cr(c)]}function bi(t){return t.replace(/start|end/g,e=>Tc[e])}function cr(t){return t.replace(/left|right|bottom|top/g,e=>Ic[e])}function $c(t){return{top:0,right:0,bottom:0,left:0,...t}}function xi(t){return typeof t!="number"?$c(t):{top:t,right:t,bottom:t,left:t}}function oe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function vi(t,e,r){let{reference:n,floating:i}=t,a=ho(e),c=pr(e),s=fr(c),p=Se(e),f=a==="y",u=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[s]/2-i[s]/2,g;switch(p){case"top":g={x:u,y:n.y-i.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(Gt(e)){case"start":g[c]-=m*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var Si=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,s=a.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:h}=vi(f,n,p),m=n,g={},y=0;for(let b=0;b<s.length;b++){let{name:N,fn:C}=s[b],{x:w,y:R,data:I,reset:k}=await C({x:u,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:t,floating:e}});if(u=w??u,h=R??h,g={...g,[N]:{...g[N],...I}},k&&y<=50){y++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(f=k.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:i}):k.rects),{x:u,y:h}=vi(f,m,p)),b=-1;continue}}return{x:u,y:h,placement:m,strategy:i,middlewareData:g}};async function ur(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:s,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=uo(e,t),y=xi(g),N=s[m?h==="floating"?"reference":"floating":h],C=oe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:f,rootBoundary:u,strategy:p})),w=h==="floating"?{...c.floating,x:n,y:i}:c.reference,R=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),I=await(a.isElement==null?void 0:a.isElement(R))?await(a.getScale==null?void 0:a.getScale(R))||{x:1,y:1}:{x:1,y:1},k=oe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:R,strategy:p}):w);return{top:(C.top-k.top+y.top)/I.y,bottom:(k.bottom-C.bottom+y.bottom)/I.y,left:(C.left-k.left+y.left)/I.x,right:(k.right-C.right+y.right)/I.x}}function _c(t,e,r){return(t?[...r.filter(i=>Gt(i)===t),...r.filter(i=>Gt(i)!==t)]:r.filter(i=>Se(i)===i)).filter(i=>t?Gt(i)===t||(e?bi(i)!==i:!1):!0)}var hr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:s,platform:p,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:m=lr,autoAlignment:g=!0,...y}=uo(t,e),b=h!==void 0||m===lr?_c(h||null,g,m):m,N=await ur(e,y),C=((r=c.autoPlacement)==null?void 0:r.index)||0,w=b[C];if(w==null)return{};let R=gi(w,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(s!==w)return{reset:{placement:b[0]}};let I=[N[Se(w)],N[R[0]],N[R[1]]],k=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:I}],ft=b[C+1];if(ft)return{data:{index:C+1,overflows:k},reset:{placement:ft}};let zt=k.map(it=>{let pt=Gt(it.placement);return[it.placement,pt&&u?it.overflows.slice(0,2).reduce((at,Jt)=>at+Jt,0):it.overflows[0],it.overflows]}).sort((it,pt)=>it[1]-pt[1]),Bt=((i=zt.filter(it=>it[2].slice(0,Gt(it[0])?2:3).every(pt=>pt<=0))[0])==null?void 0:i[0])||zt[0][0];return Bt!==s?{data:{index:C+1,overflows:k},reset:{placement:Bt}}:{}}}};var mr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:N=>{let{x:C,y:w}=N;return{x:C,y:w}}},...p}=uo(t,e),f={x:r,y:n},u=await ur(e,p),h=ho(Se(i)),m=dr(h),g=f[m],y=f[h];if(a){let N=m==="y"?"top":"left",C=m==="y"?"bottom":"right",w=g+u[N],R=g-u[C];g=sr(w,g,R)}if(c){let N=h==="y"?"top":"left",C=h==="y"?"bottom":"right",w=y+u[N],R=y-u[C];y=sr(w,y,R)}let b=s.fn({...e,[m]:g,[h]:y});return{...b,data:{x:b.x-r,y:b.y-n}}}}};function _t(t){return Ci(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kt(t){var e;return(e=(Ci(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ci(t){return t instanceof Node||t instanceof ot(t).Node}function Rt(t){return t instanceof Element||t instanceof ot(t).Element}function vt(t){return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function Oi(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function Oe(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function wi(t){return["table","td","th"].includes(_t(t))}function yo(t){let e=go(),r=ct(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ei(t){let e=re(t);for(;vt(e)&&!Me(e);){if(yo(e))return e;e=re(e)}return null}function go(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(t){return["html","body","#document"].includes(_t(t))}function ct(t){return ot(t).getComputedStyle(t)}function Ue(t){return Rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function re(t){if(_t(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Oi(t)&&t.host||kt(t);return Oi(e)?e.host:e}function Ni(t){let e=re(t);return Me(e)?t.ownerDocument?t.ownerDocument.body:t.body:vt(e)&&Oe(e)?e:Ni(e)}function mo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ni(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),c=ot(i);return a?e.concat(c,c.visualViewport||[],Oe(i)?i:[],c.frameElement&&r?mo(c.frameElement):[]):e.concat(i,mo(i,[],r))}function Pi(t){let e=ct(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=vt(t),a=i?t.offsetWidth:r,c=i?t.offsetHeight:n,s=Be(r)!==a||Be(n)!==c;return s&&(r=a,n=c),{width:r,height:n,$:s}}function Li(t){return Rt(t)?t:t.contextElement}function Ce(t){let e=Li(t);if(!vt(e))return $t(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Pi(e),c=(a?Be(r.width):r.width)/n,s=(a?Be(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var kc=$t(0);function Ii(t){let e=ot(t);return!go()||!e.visualViewport?kc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wc(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function He(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Li(t),c=$t(1);e&&(n?Rt(n)&&(c=Ce(n)):c=Ce(t));let s=Wc(a,r,n)?Ii(a):$t(0),p=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,h=i.height/c.y;if(a){let m=ot(a),g=n&&Rt(n)?ot(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let b=Ce(y),N=y.getBoundingClientRect(),C=ct(y),w=N.left+(y.clientLeft+parseFloat(C.paddingLeft))*b.x,R=N.top+(y.clientTop+parseFloat(C.paddingTop))*b.y;p*=b.x,f*=b.y,u*=b.x,h*=b.y,p+=w,f+=R,y=ot(y).frameElement}}return oe({width:u,height:h,x:p,y:f})}function Dc(t){let{rect:e,offsetParent:r,strategy:n}=t,i=vt(r),a=kt(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},s=$t(1),p=$t(0);if((i||!i&&n!=="fixed")&&((_t(r)!=="body"||Oe(a))&&(c=Ue(r)),vt(r))){let f=He(r);s=Ce(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-c.scrollLeft*s.x+p.x,y:e.y*s.y-c.scrollTop*s.y+p.y}}function zc(t){return Array.from(t.getClientRects())}function Ti(t){return He(kt(t)).left+Ue(t).scrollLeft}function Bc(t){let e=kt(t),r=Ue(t),n=t.ownerDocument.body,i=Ht(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ht(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Ti(t),s=-r.scrollTop;return ct(n).direction==="rtl"&&(c+=Ht(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:s}}function Mc(t,e){let r=ot(t),n=kt(t),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,s=0,p=0;if(i){a=i.width,c=i.height;let f=go();(!f||f&&e==="fixed")&&(s=i.offsetLeft,p=i.offsetTop)}return{width:a,height:c,x:s,y:p}}function Uc(t,e){let r=He(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=vt(t)?Ce(t):$t(1),c=t.clientWidth*a.x,s=t.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:c,height:s,x:p,y:f}}function Ri(t,e,r){let n;if(e==="viewport")n=Mc(t,r);else if(e==="document")n=Bc(kt(t));else if(Rt(e))n=Uc(e,r);else{let i=Ii(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return oe(n)}function $i(t,e){let r=re(t);return r===e||!Rt(r)||Me(r)?!1:ct(r).position==="fixed"||$i(r,e)}function Hc(t,e){let r=e.get(t);if(r)return r;let n=mo(t,[],!1).filter(s=>Rt(s)&&_t(s)!=="body"),i=null,a=ct(t).position==="fixed",c=a?re(t):t;for(;Rt(c)&&!Me(c);){let s=ct(c),p=yo(c);!p&&s.position==="fixed"&&(i=null),(a?!p&&!i:!p&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Oe(c)&&!p&&$i(t,c))?n=n.filter(u=>u!==c):i=s,c=re(c)}return e.set(t,n),n}function Gc(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,c=[...r==="clippingAncestors"?Hc(e,this._c):[].concat(r),n],s=c[0],p=c.reduce((f,u)=>{let h=Ri(e,u,i);return f.top=Ht(h.top,f.top),f.right=ze(h.right,f.right),f.bottom=ze(h.bottom,f.bottom),f.left=Ht(h.left,f.left),f},Ri(e,s,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function jc(t){return Pi(t)}function Fc(t,e,r){let n=vt(e),i=kt(e),a=r==="fixed",c=He(t,!0,a,e),s={scrollLeft:0,scrollTop:0},p=$t(0);if(n||!n&&!a)if((_t(e)!=="body"||Oe(i))&&(s=Ue(e)),n){let f=He(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else i&&(p.x=Ti(i));return{x:c.left+s.scrollLeft-p.x,y:c.top+s.scrollTop-p.y,width:c.width,height:c.height}}function Ai(t,e){return!vt(t)||ct(t).position==="fixed"?null:e?e(t):t.offsetParent}function _i(t,e){let r=ot(t);if(!vt(t))return r;let n=Ai(t,e);for(;n&&wi(n)&&ct(n).position==="static";)n=Ai(n,e);return n&&(_t(n)==="html"||_t(n)==="body"&&ct(n).position==="static"&&!yo(n))?r:n||Ei(t)||r}var Kc=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||_i,a=this.getDimensions;return{reference:Fc(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Vc(t){return ct(t).direction==="rtl"}var bo={convertOffsetParentRelativeRectToViewportRelativeRect:Dc,getDocumentElement:kt,getClippingRect:Gc,getOffsetParent:_i,getElementRects:Kc,getClientRects:zc,getDimensions:jc,getScale:Ce,isElement:Rt,isRTL:Vc};var ki=(t,e,r)=>{let n=new Map,i={platform:bo,...r},a={...i.platform,_c:n};return Si(t,e,{...i,platform:a})};function Wi(t){return Zc(t)}function yr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Zc(t){for(let e=t;e;e=yr(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=yr(t);e;e=yr(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Di(t,e,r){return ki(t,e,{platform:{...bo,getOffsetParent:n=>bo.getOffsetParent(n,Wi)},middleware:[mr({crossAxis:!0}),hr({allowedPlacements:[r]})]})}var rt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},W=class extends Ge.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 Ge.Debouncer,this.revealDebouncer=new Ge.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return zi.html`
|
|
150
150
|
<div part="container"
|
|
151
151
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
152
152
|
@mouseenter=${this.onHover}
|
|
@@ -164,7 +164,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
164
164
|
</div>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(
|
|
167
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Di(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.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(e,r){return Math.max(e,Math.min(0,-r))}};W.elementDefinitions={"ft-typography":J};W.styles=hi;rt([(0,F.property)()],W.prototype,"text",void 0);rt([(0,F.property)({type:Boolean})],W.prototype,"manual",void 0);rt([(0,F.property)({type:Boolean})],W.prototype,"inline",void 0);rt([(0,F.property)({type:Number})],W.prototype,"delay",void 0);rt([(0,F.property)()],W.prototype,"position",void 0);rt([(0,F.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);rt([(0,F.query)(".ft-tooltip--container")],W.prototype,"container",void 0);rt([(0,F.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);rt([(0,F.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);rt([(0,F.state)()],W.prototype,"visible",void 0);rt([(0,F.eventOptions)({passive:!0})],W.prototype,"onTouch",null);rt([(0,F.eventOptions)({passive:!0})],W.prototype,"onHover",null);rt([(0,F.eventOptions)({passive:!0})],W.prototype,"onOut",null);rt([(0,F.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,Bi.customElement)("ft-tooltip")(W);var Or=S(_());var wo=S(B()),et=S(V()),Sa=S(je()),No=S(_());var qi=S(_());var Zi=S(B()),Z=S(V()),Yi=S(je()),Fe=S(_());var Ki=S(B()),H=S(_()),Ui=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorContent),T={color:Ui,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ui),opacityContentOnSurfacePressed:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:H.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Hi=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorPrimary),Gi={color:Hi,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",Hi)},ji=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorSecondary),Fi={color:ji,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",ji)},Vi=Ki.css`
|
|
168
168
|
:host {
|
|
169
169
|
display: contents;
|
|
170
170
|
}
|
|
@@ -177,7 +177,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
177
177
|
|
|
178
178
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
179
179
|
overflow: hidden;
|
|
180
|
-
border-radius: ${
|
|
180
|
+
border-radius: ${T.borderRadius};
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.ft-ripple .ft-ripple--background,
|
|
@@ -211,27 +211,27 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.ft-ripple .ft-ripple--background {
|
|
214
|
-
background-color: ${
|
|
214
|
+
background-color: ${T.backgroundColor};
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.ft-ripple .ft-ripple--effect {
|
|
218
|
-
background-color: ${
|
|
218
|
+
background-color: ${T.color};
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
222
|
-
background-color: ${
|
|
222
|
+
background-color: ${Fi.backgroundColor};
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
226
|
-
background-color: ${
|
|
226
|
+
background-color: ${Fi.color};
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
230
|
-
background-color: ${
|
|
230
|
+
background-color: ${Gi.backgroundColor};
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
234
|
-
background-color: ${
|
|
234
|
+
background-color: ${Gi.color};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple .ft-ripple--background {
|
|
@@ -261,33 +261,33 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
264
|
-
opacity: ${
|
|
264
|
+
opacity: ${T.opacityContentOnSurfaceHover};
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
268
|
-
opacity: ${
|
|
268
|
+
opacity: ${T.opacityContentOnSurfaceSelected};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
272
|
-
opacity: ${
|
|
272
|
+
opacity: ${T.opacityContentOnSurfaceFocused};
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
276
|
-
opacity: ${
|
|
276
|
+
opacity: ${T.opacityContentOnSurfacePressed};
|
|
277
277
|
transform: translate(-50%, -50%) scale(1);
|
|
278
278
|
}
|
|
279
|
-
`;var
|
|
279
|
+
`;var nt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},D=class extends Fe.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 Fe.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Fe.Debouncer(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),c=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(a!=null?a-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 Zi.html`
|
|
280
280
|
<style>
|
|
281
281
|
.ft-ripple .ft-ripple--effect {
|
|
282
282
|
left: ${this.originX}px;
|
|
283
283
|
top: ${this.originY}px;
|
|
284
284
|
}
|
|
285
285
|
</style>
|
|
286
|
-
<div class="${(0,
|
|
286
|
+
<div class="${(0,Yi.classMap)(e)}">
|
|
287
287
|
<div class="ft-ripple--background"></div>
|
|
288
288
|
<div class="ft-ripple--effect"></div>
|
|
289
289
|
</div>
|
|
290
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var n,a;super.update(e),e.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 e,n;let a=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;a&&this.setupFor((n=this.target)!==null&&n!==void 0?n:a)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let n=(...p)=>g=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(g)},a=n("mouseup","contextmenu"),i=n("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&n("keyup")(p)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",a,l),e.addEventListener("touchstart",i,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",c,l),e.addEventListener("focus",this.startFocus,l),e.addEventListener("blur",this.endFocus,l),e.addEventListener("focusin",this.startFocus,l),e.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,l),e.removeEventListener("mousemove",this.moveRipple,l),e.removeEventListener("mouseleave",this.endHover,l),e.removeEventListener("mousedown",a,l),e.removeEventListener("touchstart",i,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",c,l),e.removeEventListener("focus",this.startFocus,l),e.removeEventListener("blur",this.endFocus,l),e.removeEventListener("focusin",this.startFocus,l),e.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let n=e,a=e,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(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let n of e.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=Ga;ot([(0,j.property)({type:Boolean})],_.prototype,"primary",void 0);ot([(0,j.property)({type:Boolean})],_.prototype,"secondary",void 0);ot([(0,j.property)({type:Boolean})],_.prototype,"unbounded",void 0);ot([(0,j.property)({type:Boolean})],_.prototype,"activated",void 0);ot([(0,j.property)({type:Boolean})],_.prototype,"selected",void 0);ot([(0,j.property)({type:Boolean})],_.prototype,"disabled",void 0);ot([(0,j.state)()],_.prototype,"hovered",void 0);ot([(0,j.state)()],_.prototype,"focused",void 0);ot([(0,j.state)()],_.prototype,"pressed",void 0);ot([(0,j.state)()],_.prototype,"rippling",void 0);ot([(0,j.state)()],_.prototype,"originX",void 0);ot([(0,j.state)()],_.prototype,"originY",void 0);ot([(0,j.query)(".ft-ripple")],_.prototype,"ripple",void 0);ot([(0,j.query)(".ft-ripple--effect")],_.prototype,"rippleEffect",void 0);(0,Za.customElement)("ft-ripple")(_);var Ja=N(U());var Ze=N(G()),ie=N(Y()),qa=N(U()),Xa=N(Va());var mo;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.EYE="",t.SHARE="󨃱"})(mo||(mo={}));var S;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(S||(S={}));var Eu=new Map([...["abw"].map(t=>[t,S.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,S.AUDIO]),...["avi"].map(t=>[t,S.AVI]),...["chm","xhs"].map(t=>[t,S.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,S.CODE]),...["csv"].map(t=>[t,S.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,S.DITA]),...["epub"].map(t=>[t,S.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,S.EXCEL]),...["flac"].map(t=>[t,S.FLAC]),...["gif"].map(t=>[t,S.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,S.GZIP]),...["html","htm","xhtml"].map(t=>[t,S.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,S.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,S.JPEG]),...["json"].map(t=>[t,S.JSON]),...["m4a","m4p"].map(t=>[t,S.M4A]),...["mov","qt"].map(t=>[t,S.MOV]),...["mp3"].map(t=>[t,S.MP3]),...["mp4","m4v"].map(t=>[t,S.MP4]),...["ogg","oga"].map(t=>[t,S.OGG]),...["pdf","ps"].map(t=>[t,S.PDF]),...["png"].map(t=>[t,S.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,S.POWERPOINT]),...["rar"].map(t=>[t,S.RAR]),...["stp"].map(t=>[t,S.STP]),...["txt","rtf","md","mdown"].map(t=>[t,S.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,S.VIDEO]),...["wav"].map(t=>[t,S.WAV]),...["wma"].map(t=>[t,S.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,S.WORD]),...["xml","xsl","rdf"].map(t=>[t,S.XML]),...["yaml","yml","x-yaml"].map(t=>[t,S.YAML]),...["zip"].map(t=>[t,S.ZIP])]);var Ru={[S.ABW]:"#91ABC6",[S.AUDIO]:"#1795E3",[S.AVI]:"#E63324",[S.CHM]:"#71C3EB",[S.CODE]:"#71C3EB",[S.CSV]:"#1F7345",[S.DITA]:"#71C3EB",[S.EPUB]:"#85B926",[S.EXCEL]:"#1F7345",[S.FLAC]:"#1795E3",[S.GIF]:"#59B031",[S.GZIP]:"#F8AB36",[S.HTML]:"#71C3EB",[S.IMAGE]:"#59B031",[S.JPEG]:"#59B031",[S.JSON]:"#71C3EB",[S.M4A]:"#1795E3",[S.MOV]:"#E63324",[S.MP3]:"#1795E3",[S.MP4]:"#E63324",[S.OGG]:"#1795E3",[S.PDF]:"#E44948",[S.PNG]:"#59B031",[S.POWERPOINT]:"#B54A2B",[S.RAR]:"#F8AB36",[S.STP]:"#3764B1",[S.TEXT]:"#3162AB",[S.UNKNOWN]:"#999999",[S.VIDEO]:"#E63324",[S.WAV]:"#1795E3",[S.WMA]:"#1795E3",[S.WORD]:"#3162AB",[S.XML]:"#71C3EB",[S.YAML]:"#71C3EB",[S.ZIP]:"#F8AB36"};var ja=N(G()),zt=N(U()),q={size:zt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:zt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ya=ja.css`
|
|
290
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>p=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};D.elementDefinitions={};D.styles=Vi;nt([(0,Z.property)({type:Boolean})],D.prototype,"primary",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"secondary",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"unbounded",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"activated",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"selected",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"disabled",void 0);nt([(0,Z.state)()],D.prototype,"hovered",void 0);nt([(0,Z.state)()],D.prototype,"focused",void 0);nt([(0,Z.state)()],D.prototype,"pressed",void 0);nt([(0,Z.state)()],D.prototype,"rippling",void 0);nt([(0,Z.state)()],D.prototype,"originX",void 0);nt([(0,Z.state)()],D.prototype,"originY",void 0);nt([(0,Z.query)(".ft-ripple")],D.prototype,"ripple",void 0);nt([(0,Z.query)(".ft-ripple--effect")],D.prototype,"rippleEffect",void 0);(0,qi.customElement)("ft-ripple")(D);var ra=S(_());var Ke=S(B()),ne=S(V()),ea=S(_()),oa=S(Ji());var we;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.EYE="",t.SHARE="󨃱"})(we||(we={}));var v;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(v||(v={}));var Au=new Map([...["abw"].map(t=>[t,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,v.AUDIO]),...["avi"].map(t=>[t,v.AVI]),...["chm","xhs"].map(t=>[t,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,v.CODE]),...["csv"].map(t=>[t,v.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,v.DITA]),...["epub"].map(t=>[t,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,v.EXCEL]),...["flac"].map(t=>[t,v.FLAC]),...["gif"].map(t=>[t,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,v.GZIP]),...["html","htm","xhtml"].map(t=>[t,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,v.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,v.JPEG]),...["json"].map(t=>[t,v.JSON]),...["m4a","m4p"].map(t=>[t,v.M4A]),...["mov","qt"].map(t=>[t,v.MOV]),...["mp3"].map(t=>[t,v.MP3]),...["mp4","m4v"].map(t=>[t,v.MP4]),...["ogg","oga"].map(t=>[t,v.OGG]),...["pdf","ps"].map(t=>[t,v.PDF]),...["png"].map(t=>[t,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,v.POWERPOINT]),...["rar"].map(t=>[t,v.RAR]),...["stp"].map(t=>[t,v.STP]),...["txt","rtf","md","mdown"].map(t=>[t,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,v.VIDEO]),...["wav"].map(t=>[t,v.WAV]),...["wma"].map(t=>[t,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,v.WORD]),...["xml","xsl","rdf"].map(t=>[t,v.XML]),...["yaml","yml","x-yaml"].map(t=>[t,v.YAML]),...["zip"].map(t=>[t,v.ZIP])]);var Pu={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Qi=S(B()),Wt=S(_()),G={size:Wt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Wt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ta=Qi.css`
|
|
291
291
|
:host, i.ft-icon {
|
|
292
292
|
display: inline-flex;
|
|
293
293
|
align-items: center;
|
|
@@ -296,14 +296,14 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
:host {
|
|
299
|
-
width: ${
|
|
300
|
-
height: ${
|
|
299
|
+
width: ${G.size};
|
|
300
|
+
height: ${G.size};
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
i.ft-icon {
|
|
304
304
|
width: 100%;
|
|
305
305
|
height: 100%;
|
|
306
|
-
font-size: ${
|
|
306
|
+
font-size: ${G.size};
|
|
307
307
|
line-height: 1;
|
|
308
308
|
font-weight: normal;
|
|
309
309
|
text-transform: none;
|
|
@@ -314,33 +314,33 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
314
314
|
text-rendering: auto;
|
|
315
315
|
-webkit-font-smoothing: antialiased;
|
|
316
316
|
-moz-osx-font-smoothing: grayscale;
|
|
317
|
-
vertical-align: ${
|
|
317
|
+
vertical-align: ${G.verticalAlign};
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
i.ft-icon.ft-icon--fluid-topics {
|
|
321
|
-
font-family: ${
|
|
321
|
+
font-family: ${G.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
322
322
|
|
|
323
323
|
/* Ugly fix because font is broken */
|
|
324
|
-
font-size: calc(0.75 * ${
|
|
325
|
-
line-height: ${
|
|
324
|
+
font-size: calc(0.75 * ${G.size});
|
|
325
|
+
line-height: ${G.size};
|
|
326
326
|
position: relative;
|
|
327
327
|
top: -4%;
|
|
328
328
|
justify-content: center;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
.ft-icon--file-format {
|
|
332
|
-
font-family: ${
|
|
332
|
+
font-family: ${G.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
.ft-icon--material {
|
|
336
|
-
font-family: ${
|
|
336
|
+
font-family: ${G.materialFontFamily}, "Material Icons", sans-serif;
|
|
337
337
|
}
|
|
338
|
-
`;var
|
|
338
|
+
`;var mt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(mt||(mt={}));var xo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Y=class extends ea.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ke.nothing}render(){let e=this.variant&&Object.values(mt).includes(this.variant)?this.variant:mt.fluid_topics,r=e!==mt.material||!!this.value;return Ke.html`
|
|
339
339
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
340
|
-
${(0,
|
|
341
|
-
<slot ?hidden=${
|
|
340
|
+
${(0,oa.unsafeHTML)(this.resolvedIcon)}
|
|
341
|
+
<slot ?hidden=${r}></slot>
|
|
342
342
|
</i>
|
|
343
|
-
`}get textContent(){var e,
|
|
343
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case mt.file_format:this.resolvedIcon=(e=v[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case mt.material:this.resolvedIcon=this.value||Ke.nothing;break;default:this.resolvedIcon=(r=we[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Y.elementDefinitions={};Y.styles=ta;xo([(0,ne.property)()],Y.prototype,"variant",void 0);xo([(0,ne.property)()],Y.prototype,"value",void 0);xo([(0,ne.state)()],Y.prototype,"resolvedIcon",void 0);xo([(0,ne.query)("slot")],Y.prototype,"slottedContent",void 0);(0,ra.customElement)("ft-icon")(Y);var Co=S(B()),P=S(_());var br=S(_());var Ze=S(V()),ha=S(_());var la=S(B()),A=S(_());var na=S(B()),Ve=S(_()),Q={color:Ve.FtCssVariableFactory.extend("--ft-loader-color","",Ve.designSystemVariables.colorPrimary),size:Ve.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ia=na.css`
|
|
344
344
|
:host {
|
|
345
345
|
line-height: 0;
|
|
346
346
|
}
|
|
@@ -349,8 +349,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
349
349
|
display: inline-block;
|
|
350
350
|
position: relative;
|
|
351
351
|
|
|
352
|
-
width: ${
|
|
353
|
-
height: ${
|
|
352
|
+
width: ${Q.size};
|
|
353
|
+
height: ${Q.size};
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.ft-loader div {
|
|
@@ -359,7 +359,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
359
359
|
width: 25%;
|
|
360
360
|
height: 25%;
|
|
361
361
|
border-radius: 50%;
|
|
362
|
-
background: ${
|
|
362
|
+
background: ${Q.color};
|
|
363
363
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
364
364
|
}
|
|
365
365
|
|
|
@@ -406,10 +406,10 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
406
406
|
transform: translate(0, 0);
|
|
407
407
|
}
|
|
408
408
|
100% {
|
|
409
|
-
transform: translate(calc(0.35 * ${
|
|
409
|
+
transform: translate(calc(0.35 * ${Q.size}), 0);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
`;var
|
|
412
|
+
`;var aa=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),M={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:aa,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",Nt.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",aa),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},ca=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),gr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:ca,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ca)},At={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},sa=[la.css`
|
|
413
413
|
:host {
|
|
414
414
|
display: inline-block;
|
|
415
415
|
max-width: 100%;
|
|
@@ -420,7 +420,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
420
420
|
box-shadow: 0px 0px 0px transparent;
|
|
421
421
|
border: 0px solid transparent;
|
|
422
422
|
text-shadow: 0px 0px 0px transparent;
|
|
423
|
-
font-size: ${
|
|
423
|
+
font-size: ${M.fontSize};
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
button:hover {
|
|
@@ -449,31 +449,31 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
449
449
|
border: none;
|
|
450
450
|
pointer-events: auto;
|
|
451
451
|
|
|
452
|
-
--ft-button-internal-line-height: max(calc(${
|
|
453
|
-
--ft-button-internal-color: ${
|
|
454
|
-
${(0,
|
|
455
|
-
${(0,
|
|
452
|
+
--ft-button-internal-line-height: max(calc(${M.fontSize} + 2px), ${M.iconSize});
|
|
453
|
+
--ft-button-internal-color: ${M.color};
|
|
454
|
+
${(0,A.setVariable)(G.size,M.iconSize)};
|
|
455
|
+
${(0,A.setVariable)(T.color,M.rippleColor)};
|
|
456
456
|
|
|
457
|
-
border-radius: ${
|
|
458
|
-
padding: ${
|
|
459
|
-
background-color: ${
|
|
457
|
+
border-radius: ${M.borderRadius};
|
|
458
|
+
padding: ${M.verticalPadding} ${M.horizontalPadding};
|
|
459
|
+
background-color: ${M.backgroundColor};
|
|
460
460
|
color: var(--ft-button-internal-color);
|
|
461
461
|
-webkit-mask-image: radial-gradient(white, black);
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.ft-button.ft-button--outlined {
|
|
465
465
|
border: 1px solid var(--ft-button-internal-color);
|
|
466
|
-
padding: calc(${
|
|
466
|
+
padding: calc(${M.verticalPadding} - 1px) calc(${M.horizontalPadding} - 1px);
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
.ft-button.ft-button--dense {
|
|
470
|
-
padding: ${
|
|
471
|
-
border-radius: ${
|
|
472
|
-
gap: ${
|
|
470
|
+
padding: ${At.verticalPadding} ${At.horizontalPadding};
|
|
471
|
+
border-radius: ${At.borderRadius};
|
|
472
|
+
gap: ${At.iconPadding};
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
476
|
-
padding: calc(${
|
|
476
|
+
padding: calc(${At.verticalPadding} - 1px) calc(${At.horizontalPadding} - 1px);
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
.ft-button:not([disabled]):hover {
|
|
@@ -481,22 +481,22 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
.ft-button--round {
|
|
484
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
484
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${M.verticalPadding});
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
.ft-button--round.ft-button--dense {
|
|
488
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
488
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${At.verticalPadding});
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-button[disabled] {
|
|
492
492
|
filter: grayscale(1);
|
|
493
|
-
opacity: ${
|
|
493
|
+
opacity: ${M.opacityDisabled};
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
.ft-button.ft-button--primary {
|
|
497
|
-
background-color: ${
|
|
498
|
-
--ft-button-internal-color: ${
|
|
499
|
-
${(0,
|
|
497
|
+
background-color: ${gr.backgroundColor};
|
|
498
|
+
--ft-button-internal-color: ${gr.color};
|
|
499
|
+
${(0,A.setVariable)(T.color,gr.rippleColor)};
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.ft-button:focus {
|
|
@@ -509,13 +509,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
509
509
|
white-space: nowrap;
|
|
510
510
|
text-overflow: ellipsis;
|
|
511
511
|
display: block;
|
|
512
|
-
margin: 0 ${
|
|
513
|
-
${(0,
|
|
514
|
-
${(0,
|
|
512
|
+
margin: 0 ${M.iconPadding};
|
|
513
|
+
${(0,A.setVariable)(Nt.fontSize,"1em")};
|
|
514
|
+
${(0,A.setVariable)(Nt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
.ft-button--dense .ft-button--label {
|
|
518
|
-
margin: 0 ${
|
|
518
|
+
margin: 0 ${At.iconPadding};
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
.ft-button--label[hidden] {
|
|
@@ -528,13 +528,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
.ft-button--label[hidden] + [part="icon"] {
|
|
531
|
-
margin: 0 calc(${
|
|
532
|
-
padding: 0 ${
|
|
531
|
+
margin: 0 calc(${M.horizontalPadding} * -1);
|
|
532
|
+
padding: 0 ${M.verticalPadding};
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
536
|
-
margin: 0 calc(${
|
|
537
|
-
padding: 0 ${
|
|
536
|
+
margin: 0 calc(${At.horizontalPadding} * -1);
|
|
537
|
+
padding: 0 ${At.verticalPadding};
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -542,44 +542,43 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
ft-loader {
|
|
545
|
-
${(0,
|
|
546
|
-
${(0,
|
|
545
|
+
${(0,A.setVariable)(Q.size,M.iconSize)};
|
|
546
|
+
${(0,A.setVariable)(Q.color,"var(--ft-button-internal-color)")};
|
|
547
547
|
}
|
|
548
|
-
`,
|
|
548
|
+
`,A.noTextSelect];var Ne=S(_());var pa=S(_());var da=S(B()),fa=S(_());var ie=class extends fa.FtLitElement{render(){return da.html`
|
|
549
549
|
<div class="ft-loader">
|
|
550
550
|
<div></div>
|
|
551
551
|
<div></div>
|
|
552
552
|
<div></div>
|
|
553
553
|
<div></div>
|
|
554
554
|
</div>
|
|
555
|
-
`}};
|
|
555
|
+
`}};ie.styles=ia;(0,pa.customElement)("ft-loader")(ie);var Ee=S(B()),ua=S(je()),tt=S(V()),lt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},j=class extends(0,Ne.toFtFormComponent)(Ne.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(Ee.html`
|
|
556
556
|
<button part="button"
|
|
557
|
-
class="${(0,
|
|
557
|
+
class="${(0,ua.classMap)(this.buttonClasses)}"
|
|
558
558
|
aria-label="${this.getLabel()}"
|
|
559
559
|
?disabled=${this.isDisabled()}>
|
|
560
560
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
561
561
|
<ft-typography part="label"
|
|
562
562
|
variant=${this.typographyVariant}
|
|
563
563
|
element="span"
|
|
564
|
-
class="ft-button--label ${
|
|
564
|
+
class="ft-button--label ${Ne.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
565
565
|
?hidden=${!this.hasTextContent()}>
|
|
566
566
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
567
567
|
</ft-typography>
|
|
568
568
|
${this.resolveIcon()}
|
|
569
569
|
</button>
|
|
570
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
570
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ee.html`
|
|
571
571
|
<ft-tooltip part="tooltip"
|
|
572
572
|
text="${this.getLabel()}"
|
|
573
573
|
position="${this.tooltipPosition}">
|
|
574
574
|
${e}
|
|
575
575
|
</ft-tooltip>
|
|
576
|
-
`:e}resolveIcon(){return this.loading?
|
|
577
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
576
|
+
`:e}resolveIcon(){return this.loading?Ee.html`
|
|
577
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Ee.html`
|
|
578
578
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
579
|
-
`:
|
|
579
|
+
`:Ee.html`
|
|
580
580
|
<slot part="icon" name="icon"></slot>
|
|
581
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(n=>this.unslotText(n)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Z.elementDefinitions={"ft-ripple":_,"ft-tooltip":T,"ft-typography":ct,"ft-icon":rt,"ft-loader":ce};st([(0,J.property)({type:String,reflect:!0})],Z.prototype,"role",void 0);st([(0,J.property)()],Z.prototype,"type",void 0);st([(0,J.property)({type:Boolean})],Z.prototype,"disabled",void 0);st([(0,J.property)()],Z.prototype,"label",void 0);st([(0,J.property)()],Z.prototype,"icon",void 0);st([(0,J.property)()],Z.prototype,"iconVariant",void 0);st([(0,J.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);st([(0,J.property)({type:Boolean})],Z.prototype,"loading",void 0);st([(0,J.property)()],Z.prototype,"tooltipPosition",void 0);st([(0,J.property)({type:Boolean})],Z.prototype,"hideTooltip",void 0);st([(0,J.property)({type:Boolean})],Z.prototype,"forceTooltip",void 0);st([(0,J.query)(".ft-button")],Z.prototype,"button",void 0);st([(0,J.query)(".ft-button--label slot")],Z.prototype,"slottedContent",void 0);var xo=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var p=t.length-1;p>=0;p--)(l=t[p])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},vt=class extends Z{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};vt.styles=[si.safariEllipsisFix,ni];xo([(0,Ve.property)({type:Boolean})],vt.prototype,"primary",void 0);xo([(0,Ve.property)({type:Boolean})],vt.prototype,"outlined",void 0);xo([(0,Ve.property)({type:Boolean})],vt.prototype,"dense",void 0);xo([(0,Ve.property)({type:Boolean})],vt.prototype,"round",void 0);var Ee=N(Y());var hi=N(U());var fi=N(G()),B=N(U());var Bt=N(G(),1),Mt=t=>typeof t=="string"?(0,Bt.unsafeCSS)(t):t,r=class{static create(e,n,a,i){let c=p=>Mt(p??i),l=Bt.css`var(${Mt(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>Bt.css`var(${Mt(e)}, ${c(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,n,a,i){let c=p=>a.get(p??i),l=Bt.css`var(${Mt(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>Bt.css`var(${Mt(e)}, ${c(p)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(e,n){let a=c=>e.fallbackVariable?e.fallbackVariable.get(c??e.defaultValue):Mt(c??e.lastResortDefaultValue()),i=Bt.css`var(${Mt(e.name)}, ${a(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>Bt.css`var(${Mt(e.name)}, ${a(c)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.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)")},ph={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")},fh={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")},uh={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")},hh={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")},gh={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")},yh={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")},mh={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")},bh={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")},xh={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")},vh={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")},Oh={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")},Sh={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")},Ch={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")},Nh={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")},wh={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")},Eh={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")},Rh={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")},Ih={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")},Ah={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")},Lh={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")},Ph={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")},Wh={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")},kh={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")},zh={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")},Bh={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")},Uh={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 u={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.
|
|
582
|
-
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 w={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","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",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","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",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","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",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","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",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 jh={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","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Qh={focusOpacity:r.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",u.contentInfoPrimary)};var ng={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","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var sg={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","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var hg={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","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var xg={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","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Ng={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","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",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 Ag={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",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","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",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 zg={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","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var _g={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",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 Mg={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","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",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","",u.backgroundGlobalOnSurface)};var Yg={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","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var ty={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",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 ay={backgroundColor:r.extend("--ft-popover-background-color","",u.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","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",s.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02)};var dy={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","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.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","",u.borderActionFocusRing)};var gy={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","",u.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","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var vy={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","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",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","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.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","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Ny={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 Ay={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","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var zy={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",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","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",s.spacing3)};var _y={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","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",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","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var My={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",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","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var Yy={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","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",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 tm={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","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.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 di;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(di||(di={}));var pi;(function(t){t.large="large",t.medium="medium",t.small="small"})(pi||(pi={}));var ui=[fi.css`
|
|
581
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};j.elementDefinitions={"ft-ripple":D,"ft-tooltip":W,"ft-typography":J,"ft-icon":Y,"ft-loader":ie};lt([(0,tt.property)({type:String,reflect:!0})],j.prototype,"role",void 0);lt([(0,tt.property)()],j.prototype,"type",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"disabled",void 0);lt([(0,tt.property)()],j.prototype,"label",void 0);lt([(0,tt.property)()],j.prototype,"icon",void 0);lt([(0,tt.property)()],j.prototype,"iconVariant",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"trailingIcon",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"loading",void 0);lt([(0,tt.property)()],j.prototype,"tooltipPosition",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"hideTooltip",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"forceTooltip",void 0);lt([(0,tt.query)(".ft-button")],j.prototype,"button",void 0);lt([(0,tt.query)(".ft-button--label slot")],j.prototype,"slottedContent",void 0);var vo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},St=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"}};St.styles=[ha.safariEllipsisFix,sa];vo([(0,Ze.property)({type:Boolean})],St.prototype,"primary",void 0);vo([(0,Ze.property)({type:Boolean})],St.prototype,"outlined",void 0);vo([(0,Ze.property)({type:Boolean})],St.prototype,"dense",void 0);vo([(0,Ze.property)({type:Boolean})],St.prototype,"round",void 0);var Ye=S(V());var Oo=S(_());var ma=S(B()),$=S(_());var ya=[ma.css`
|
|
583
582
|
:host {
|
|
584
583
|
display: inline-block;
|
|
585
584
|
max-width: 100%;
|
|
@@ -629,7 +628,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
629
628
|
}
|
|
630
629
|
|
|
631
630
|
.ft-button:focus-visible {
|
|
632
|
-
outline-color: ${
|
|
631
|
+
outline-color: ${x.focusFocusRingColor};
|
|
633
632
|
outline-style: solid;
|
|
634
633
|
}
|
|
635
634
|
|
|
@@ -655,149 +654,175 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
655
654
|
display: none;
|
|
656
655
|
}
|
|
657
656
|
|
|
657
|
+
.ft-button.ft-button--icon-only {
|
|
658
|
+
padding: unset;
|
|
659
|
+
border-radius: 50%;
|
|
660
|
+
}
|
|
661
|
+
|
|
658
662
|
/** Primary styles **/
|
|
659
663
|
|
|
660
664
|
.ft-button--primary {
|
|
661
|
-
${(0
|
|
665
|
+
${(0,$.setVariable)(Q.color,x.primaryIconColor)};
|
|
662
666
|
|
|
663
|
-
${(0
|
|
664
|
-
${(0
|
|
665
|
-
${(0
|
|
666
|
-
${(0
|
|
667
|
-
${(0
|
|
667
|
+
${(0,$.setVariable)(T.color,x.primaryStateLayerColor)};
|
|
668
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
|
|
669
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceFocused,x.primaryFocusStateLayerOpacity)};
|
|
670
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceSelected,x.primaryActiveStateLayerOpacity)};
|
|
671
|
+
${(0,$.setVariable)(T.opacityContentOnSurfacePressed,x.primaryActiveStateLayerOpacity)};
|
|
668
672
|
|
|
669
|
-
background-color: ${
|
|
670
|
-
color: ${
|
|
673
|
+
background-color: ${x.primaryBackgroundColor};
|
|
674
|
+
color: ${x.primaryColor};
|
|
671
675
|
border-style: none;
|
|
672
676
|
}
|
|
673
677
|
|
|
674
678
|
.ft-button--primary[disabled] {
|
|
675
|
-
opacity: ${
|
|
679
|
+
opacity: ${x.primaryDisabledComponentOpacity};
|
|
676
680
|
}
|
|
677
681
|
|
|
678
682
|
.ft-button--primary ft-icon {
|
|
679
|
-
color: ${
|
|
683
|
+
color: ${x.primaryIconColor};
|
|
680
684
|
}
|
|
681
685
|
|
|
682
686
|
/** Secondary styles **/
|
|
683
687
|
|
|
684
688
|
.ft-button--secondary {
|
|
685
|
-
${(0
|
|
689
|
+
${(0,$.setVariable)(Q.color,x.secondaryIconColor)};
|
|
686
690
|
|
|
687
|
-
${(0
|
|
688
|
-
${(0
|
|
689
|
-
${(0
|
|
690
|
-
${(0
|
|
691
|
-
${(0
|
|
691
|
+
${(0,$.setVariable)(T.color,x.secondaryStateLayerColor)};
|
|
692
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
|
|
693
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceFocused,x.secondaryFocusStateLayerOpacity)};
|
|
694
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceSelected,x.secondaryActiveStateLayerOpacity)};
|
|
695
|
+
${(0,$.setVariable)(T.opacityContentOnSurfacePressed,x.secondaryActiveStateLayerOpacity)};
|
|
692
696
|
|
|
693
|
-
background-color: ${
|
|
694
|
-
color: ${
|
|
695
|
-
border-color: ${
|
|
697
|
+
background-color: ${x.secondaryBackgroundColor};
|
|
698
|
+
color: ${x.secondaryColor};
|
|
699
|
+
border-color: ${x.secondaryBorderColor};
|
|
696
700
|
border-style: solid;
|
|
697
701
|
}
|
|
698
702
|
|
|
699
703
|
.ft-button--secondary[disabled] {
|
|
700
|
-
opacity: ${
|
|
704
|
+
opacity: ${x.secondaryDisabledComponentOpacity};
|
|
701
705
|
}
|
|
702
706
|
|
|
703
707
|
.ft-button--secondary ft-icon {
|
|
704
|
-
color: ${
|
|
708
|
+
color: ${x.secondaryIconColor};
|
|
705
709
|
}
|
|
706
710
|
|
|
707
711
|
/** Tertiary styles **/
|
|
708
712
|
|
|
709
713
|
.ft-button--tertiary {
|
|
710
|
-
${(0
|
|
714
|
+
${(0,$.setVariable)(Q.color,x.tertiaryIconColor)};
|
|
711
715
|
|
|
712
|
-
${(0
|
|
713
|
-
${(0
|
|
714
|
-
${(0
|
|
715
|
-
${(0
|
|
716
|
-
${(0
|
|
716
|
+
${(0,$.setVariable)(T.color,x.tertiaryStateLayerColor)};
|
|
717
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
|
|
718
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceFocused,x.tertiaryFocusStateLayerOpacity)};
|
|
719
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceSelected,x.tertiaryActiveStateLayerOpacity)};
|
|
720
|
+
${(0,$.setVariable)(T.opacityContentOnSurfacePressed,x.tertiaryActiveStateLayerOpacity)};
|
|
717
721
|
|
|
718
|
-
background-color: ${
|
|
719
|
-
color: ${
|
|
722
|
+
background-color: ${x.tertiaryBackgroundColor};
|
|
723
|
+
color: ${x.tertiaryColor};
|
|
720
724
|
border-style: none;
|
|
721
725
|
}
|
|
722
726
|
|
|
723
727
|
.ft-button--tertiary[disabled] {
|
|
724
|
-
opacity: ${
|
|
728
|
+
opacity: ${x.tertiaryDisabledComponentOpacity};
|
|
725
729
|
}
|
|
726
730
|
|
|
727
731
|
.ft-button--tertiary ft-icon {
|
|
728
|
-
color: ${
|
|
732
|
+
color: ${x.tertiaryIconColor};
|
|
729
733
|
}
|
|
730
734
|
|
|
731
735
|
/** Neutral styles **/
|
|
732
736
|
|
|
733
|
-
.
|
|
734
|
-
${(0
|
|
737
|
+
.ftds--family-neutral {
|
|
738
|
+
${(0,$.setVariable)(Q.color,x.neutralIconColor)};
|
|
735
739
|
|
|
736
|
-
${(0
|
|
737
|
-
${(0
|
|
738
|
-
${(0
|
|
739
|
-
${(0
|
|
740
|
-
${(0
|
|
740
|
+
${(0,$.setVariable)(T.backgroundColor,x.neutralStateLayerColor)};
|
|
741
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
|
|
742
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceFocused,x.neutralFocusStateLayerOpacity)};
|
|
743
|
+
${(0,$.setVariable)(T.opacityContentOnSurfaceSelected,x.neutralActiveStateLayerOpacity)};
|
|
744
|
+
${(0,$.setVariable)(T.opacityContentOnSurfacePressed,x.neutralActiveStateLayerOpacity)};
|
|
741
745
|
|
|
742
|
-
background-color: ${
|
|
743
|
-
color: ${
|
|
746
|
+
background-color: ${x.neutralBackgroundColor};
|
|
747
|
+
color: ${x.neutralColor};
|
|
744
748
|
border-style: none;
|
|
745
749
|
}
|
|
746
750
|
|
|
747
|
-
.
|
|
748
|
-
opacity: ${
|
|
751
|
+
.ftds--family-neutral[disabled] {
|
|
752
|
+
opacity: ${x.neutralDisabledComponentOpacity};
|
|
749
753
|
}
|
|
750
754
|
|
|
751
|
-
.
|
|
752
|
-
color: ${
|
|
755
|
+
.ftds--family-neutral ft-icon {
|
|
756
|
+
color: ${x.neutralIconColor};
|
|
753
757
|
}
|
|
754
758
|
|
|
755
759
|
/** Large styles **/
|
|
756
760
|
|
|
757
|
-
.
|
|
758
|
-
${(0
|
|
759
|
-
${(0
|
|
761
|
+
.ftds--size-large {
|
|
762
|
+
${(0,$.setVariable)(G.size,x.largeIconSize)};
|
|
763
|
+
${(0,$.setVariable)(Q.size,x.largeIconSize)};
|
|
760
764
|
|
|
761
|
-
height: ${
|
|
762
|
-
padding: 0 ${
|
|
763
|
-
gap: ${
|
|
764
|
-
border-radius: ${
|
|
765
|
-
border-width: ${
|
|
765
|
+
height: ${x.largeHeight};
|
|
766
|
+
padding: 0 ${x.largeHorizontalPadding};
|
|
767
|
+
gap: ${x.largeGap};
|
|
768
|
+
border-radius: ${x.largeBorderRadius};
|
|
769
|
+
border-width: ${x.largeBorderWidth};
|
|
766
770
|
}
|
|
767
771
|
|
|
768
|
-
.
|
|
769
|
-
outline-width: ${
|
|
770
|
-
outline-offset: ${
|
|
772
|
+
.ftds--size-large:focus-visible {
|
|
773
|
+
outline-width: ${x.largeFocusOutlineWidth};
|
|
774
|
+
outline-offset: ${x.largeFocusOutlineOffset};
|
|
771
775
|
}
|
|
772
776
|
|
|
773
|
-
.
|
|
774
|
-
width: ${
|
|
775
|
-
padding: unset;
|
|
777
|
+
.ftds--size-large.ft-button--icon-only {
|
|
778
|
+
width: ${x.largeIconOnlyWidth};
|
|
776
779
|
}
|
|
777
780
|
|
|
778
781
|
/** Small styles **/
|
|
779
782
|
|
|
780
|
-
.
|
|
781
|
-
${(0
|
|
782
|
-
${(0
|
|
783
|
+
.ftds--size-medium {
|
|
784
|
+
${(0,$.setVariable)(G.size,x.mediumIconSize)};
|
|
785
|
+
${(0,$.setVariable)(Q.size,x.mediumIconSize)};
|
|
783
786
|
|
|
784
|
-
height: ${
|
|
785
|
-
padding: 0 ${
|
|
786
|
-
gap: ${
|
|
787
|
-
border-radius: ${
|
|
788
|
-
border-width: ${
|
|
787
|
+
height: ${x.mediumHeight};
|
|
788
|
+
padding: 0 ${x.mediumHorizontalPadding};
|
|
789
|
+
gap: ${x.mediumGap};
|
|
790
|
+
border-radius: ${x.mediumBorderRadius};
|
|
791
|
+
border-width: ${x.mediumBorderWidth};
|
|
789
792
|
}
|
|
790
793
|
|
|
791
|
-
.
|
|
792
|
-
outline-width: ${
|
|
793
|
-
outline-offset: ${
|
|
794
|
+
.ftds--size-medium:focus-visible {
|
|
795
|
+
outline-width: ${x.mediumFocusOutlineWidth};
|
|
796
|
+
outline-offset: ${x.mediumFocusOutlineOffset};
|
|
794
797
|
}
|
|
795
798
|
|
|
796
|
-
.
|
|
797
|
-
width: ${
|
|
798
|
-
|
|
799
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
800
|
+
width: ${x.mediumIconOnlyWidth};
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
/** Small styles **/
|
|
805
|
+
|
|
806
|
+
.ftds--size-small {
|
|
807
|
+
${(0,$.setVariable)(G.size,x.smallIconSize)};
|
|
808
|
+
${(0,$.setVariable)(Q.size,x.smallIconSize)};
|
|
809
|
+
|
|
810
|
+
height: ${x.smallHeight};
|
|
811
|
+
padding: 0 ${x.smallHorizontalPadding};
|
|
812
|
+
gap: ${x.smallGap};
|
|
813
|
+
border-radius: ${x.smallBorderRadius};
|
|
814
|
+
border-width: ${x.smallBorderWidth};
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.ftds--size-small:focus-visible {
|
|
818
|
+
outline-width: ${x.smallFocusOutlineWidth};
|
|
819
|
+
outline-offset: ${x.smallFocusOutlineOffset};
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.ftds--size-small.ft-button--icon-only {
|
|
823
|
+
width: ${x.smallIconOnlyWidth};
|
|
799
824
|
}
|
|
800
|
-
|
|
825
|
+
`,$.noTextSelect];var So=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ot=class extends(0,Oo.toFtdsBase)(j){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=fo.brand,this.iconVariant=mt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case X.large:return ut.body2medium;case X.medium:return ut.caption1medium;case X.small:return ut.caption2medium}}};Ot.styles=[Oo.safariEllipsisFix,ya];So([(0,Ye.property)({type:Boolean})],Ot.prototype,"primary",void 0);So([(0,Ye.property)({type:Boolean})],Ot.prototype,"secondary",void 0);So([(0,Ye.property)({type:Boolean})],Ot.prototype,"tertiary",void 0);So([(0,Ye.property)({type:Boolean})],Ot.prototype,"round",void 0);(0,br.customElement)("ft-button")(St);(0,br.customElement)("ftds-button")(Ot);var ga=P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnSurface),yt={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorSurface),color:ga,fontSize:P.FtCssVariableFactory.extend("--ft-chip-font-size","",Et.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:P.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:P.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ga),horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:P.FtCssVariableFactory.external(P.designSystemVariables.colorOutline,"Design system"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},ba=P.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnPrimary)),xr={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorPrimary)),color:ba,rippleColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ba)},xa={horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},va=[P.noTextSelect,Co.css`
|
|
801
826
|
:host {
|
|
802
827
|
display: inline-block;
|
|
803
828
|
max-width: 100%;
|
|
@@ -813,20 +838,20 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
813
838
|
box-sizing: border-box;
|
|
814
839
|
pointer-events: auto;
|
|
815
840
|
|
|
816
|
-
--ft-chip-internal-font-size: ${
|
|
841
|
+
--ft-chip-internal-font-size: ${yt.fontSize};
|
|
817
842
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
818
|
-
${(0,
|
|
819
|
-
--ft-chip-internal-vertical-padding: ${
|
|
820
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
843
|
+
${(0,P.setVariable)(G.size,yt.iconSize)};
|
|
844
|
+
--ft-chip-internal-vertical-padding: ${yt.verticalPadding};
|
|
845
|
+
--ft-chip-internal-horizontal-padding: ${yt.horizontalPadding};
|
|
821
846
|
--ft-chip-internal-icon-padding: 3px;
|
|
822
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
847
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${yt.iconSize});
|
|
823
848
|
|
|
824
|
-
border: 1px solid ${
|
|
825
|
-
color: ${
|
|
826
|
-
${(0,
|
|
827
|
-
border-radius: var(${(0,
|
|
849
|
+
border: 1px solid ${yt.colorOutline};
|
|
850
|
+
color: ${yt.color};
|
|
851
|
+
${(0,P.setVariable)(T.color,yt.rippleColor)};
|
|
852
|
+
border-radius: var(${(0,Co.unsafeCSS)(yt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
828
853
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
829
|
-
background-color: ${
|
|
854
|
+
background-color: ${yt.backgroundColor};
|
|
830
855
|
line-height: var(--ft-chip-internal-content-height);
|
|
831
856
|
}
|
|
832
857
|
|
|
@@ -836,8 +861,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
836
861
|
|
|
837
862
|
.ft-chip--dense {
|
|
838
863
|
--ft-chip-internal-icon-padding: 3px;
|
|
839
|
-
--ft-chip-internal-vertical-padding: ${
|
|
840
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
864
|
+
--ft-chip-internal-vertical-padding: ${xa.verticalPadding};
|
|
865
|
+
--ft-chip-internal-horizontal-padding: ${xa.horizontalPadding};
|
|
841
866
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
842
867
|
}
|
|
843
868
|
|
|
@@ -849,15 +874,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
849
874
|
cursor: default;
|
|
850
875
|
pointer-events: none;
|
|
851
876
|
filter: grayscale(1);
|
|
852
|
-
opacity: ${
|
|
877
|
+
opacity: ${yt.opacityDisabled};
|
|
853
878
|
}
|
|
854
879
|
|
|
855
880
|
.ft-chip--highlighted {
|
|
856
881
|
border: none;
|
|
857
882
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
858
|
-
background-color: ${
|
|
859
|
-
${(0,
|
|
860
|
-
color: ${
|
|
883
|
+
background-color: ${xr.backgroundColor};
|
|
884
|
+
${(0,P.setVariable)(T.color,xr.rippleColor)};
|
|
885
|
+
color: ${xr.color};
|
|
861
886
|
}
|
|
862
887
|
|
|
863
888
|
.ft-chip--clickable {
|
|
@@ -887,9 +912,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
887
912
|
}
|
|
888
913
|
|
|
889
914
|
.ft-chip--icon-button {
|
|
890
|
-
${(0,
|
|
891
|
-
${(0,
|
|
892
|
-
${(0,
|
|
915
|
+
${(0,P.setVariable)(M.iconSize,yt.iconSize)};
|
|
916
|
+
${(0,P.setVariable)(M.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
917
|
+
${(0,P.setVariable)(M.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
893
918
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
894
919
|
}
|
|
895
920
|
|
|
@@ -897,8 +922,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
897
922
|
vertical-align: bottom;
|
|
898
923
|
display: block;
|
|
899
924
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
900
|
-
${(0,
|
|
901
|
-
${(0,
|
|
925
|
+
${(0,P.setVariable)(Et.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
926
|
+
${(0,P.setVariable)(Et.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
902
927
|
}
|
|
903
928
|
|
|
904
929
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -934,8 +959,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
934
959
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
935
960
|
order: -1;
|
|
936
961
|
}
|
|
937
|
-
`];var
|
|
938
|
-
<div class="${(0,
|
|
962
|
+
`];var st=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Eo=class extends CustomEvent{constructor(){super("icon-click")}},U=class extends No.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 e={"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":No.isSafari};return wo.html`
|
|
963
|
+
<div class="${(0,Sa.classMap)(e)}"
|
|
939
964
|
aria-label="${this.getLabel()}"
|
|
940
965
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
941
966
|
@keyup=${this.onKeyUp}
|
|
@@ -946,7 +971,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
946
971
|
</ft-typography>
|
|
947
972
|
${this.internalIcon?this.renderIcon():null}
|
|
948
973
|
</div>
|
|
949
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
974
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?wo.html`
|
|
950
975
|
<ft-button round
|
|
951
976
|
class="ft-chip--icon-button"
|
|
952
977
|
@click=${this.onIconClick}
|
|
@@ -955,33 +980,163 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
955
980
|
label="${this.iconLabel}"
|
|
956
981
|
part="icon-button"
|
|
957
982
|
></ft-button>
|
|
958
|
-
`:
|
|
983
|
+
`:wo.html`
|
|
959
984
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
960
985
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
961
986
|
</div>
|
|
962
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new So))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new So))}getLabel(){return this.label||this.textContent}get textContent(){var e,n;return(n=(e=this.slottedContent)===null||e===void 0?void 0:e.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)}};F.elementDefinitions={"ft-ripple":_,"ft-typography":ct,"ft-icon":rt,"ft-button":vt};F.styles=bi;dt([(0,Q.property)({type:Boolean})],F.prototype,"highlighted",void 0);dt([(0,Q.property)({type:Boolean})],F.prototype,"removable",void 0);dt([(0,Q.property)({type:Boolean})],F.prototype,"disabled",void 0);dt([(0,Q.property)({type:Boolean})],F.prototype,"clickable",void 0);dt([(0,Q.property)({type:Boolean})],F.prototype,"iconClickable",void 0);dt([(0,Q.property)({type:Boolean})],F.prototype,"dense",void 0);dt([(0,Q.property)({type:Boolean})],F.prototype,"multiLine",void 0);dt([(0,Q.property)()],F.prototype,"label",void 0);dt([(0,Q.property)()],F.prototype,"iconLabel",void 0);dt([(0,Q.property)()],F.prototype,"icon",void 0);dt([(0,Q.property)()],F.prototype,"iconVariant",void 0);dt([(0,Q.property)({type:Boolean})],F.prototype,"trailingIcon",void 0);dt([(0,Q.query)("ft-typography slot")],F.prototype,"slottedContent",void 0);(0,vi.customElement)("ft-chip")(F);var Fr=N(Y());function Zc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,a,i;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(a=n;a--!==0;)if(!No(t[a],e[a]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(a of t.entries())if(!e.has(a[0]))return!1;for(a of t.entries())if(!No(a[1],e.get(a[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(a of t.entries())if(!e.has(a[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[a]))return!1;for(a=n;a--!==0;){var c=i[a];if(!No(t[c],e[c]))return!1}return!0}return t!==t&&e!==e}function No(t,e){try{return Zc(t,e)}catch{return!1}}function wo(t,e){return!No(t,e)}var Oi=N(Y(),1);var yr=t=>{let e=t??{};return(n,a)=>{var i;let c={hasChanged:wo,attribute:!1,...e};(0,Oi.property)(c)(n,a);let l=n.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(a,{selector:(i=e.selector)!==null&&i!==void 0?i:p=>p[a],store:e.store})}};var Eo=class{constructor(){this.queue=[]}add(e,n=!1){n&&(this.queue=this.queue.filter(a=>a.type!==e.type)),this.queue.push(e)}consume(e){let n=this.queue.find(a=>a.type===e);return n&&(this.queue=this.queue.filter(a=>a!==n)),n}};var Ye=N(Y(),1);var Si=N(Y(),1);function Ci(t,e){let n=()=>JSON.parse(JSON.stringify(t));return(0,Si.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:wo,...e??{}})}var Ro=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,n){return this.callbacks=[e],this.debounce(n)}queue(e,n){return this.callbacks.push(e),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((n,a)=>{this.resolvePromise=n,this.rejectPromise=a})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,n;let a=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>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 wi=N(G(),1);var Io=window,Kc=Io.ShadowRoot&&(Io.ShadyCSS===void 0||Io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cb=Symbol();var Ni=(t,e)=>{Kc?t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):e.forEach(n=>{let a=document.createElement("style"),i=Io.litNonce;i!==void 0&&a.setAttribute("nonce",i),a.textContent=n.cssText,t.appendChild(a)})};var Ao=class extends wi.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,c])=>e.registry.define(i,c)));let n={...e.shadowRootOptions,customElements:e.registry},a=this.renderOptions.creationScope=this.attachShadow(n);return Ni(a,e.elementStyles),a}};var Lo=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var p=t.length-1;p>=0;p--)(l=t[p])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},Ii,Ei=Symbol("constructorPrototype"),Ri=Symbol("constructorName"),Ai=Symbol("exportpartsDebouncer"),Zt=class extends Ao{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ii]=new Ro(5),this[Ri]=this.constructor.name,this[Ei]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ri]&&Object.setPrototypeOf(this,this[Ei])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){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(e.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 e,n,a;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(a=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&a!==void 0&&a)&&this[Ai].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(e){var n,a,i,c,l,p;let g=b=>b!=null&&b.trim().length>0,h=e.filter(g).map(b=>b.trim());if(h.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let b of(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let v=(c=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&c!==void 0?c:[],x=(p=(l=b.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(O=>O.split(":")[1]))!==null&&p!==void 0?p:[];new Array(...v,...x).filter(g).map(O=>O.trim()).forEach(O=>y.add(O))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(b=>h.map(v=>`${b}:${v}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Ii=Ai;Lo([(0,Ye.property)()],Zt.prototype,"exportpartsPrefix",void 0);Lo([Ci([])],Zt.prototype,"exportpartsPrefixes",void 0);Lo([(0,Ye.property)()],Zt.prototype,"customStylesheet",void 0);Lo([(0,Ye.state)()],Zt.prototype,"useAdoptedStyleSheets",void 0);function qe(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Li,Pi,Wi,Po=Symbol("internalReduxEventsUnsubscribers"),Kt=Symbol("internalStoresUnsubscribers"),le=Symbol("internalStores"),Xe=class extends Zt{constructor(){super(...arguments),this[Li]=new Map,this[Pi]=new Map,this[Wi]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(n=>e.has(n))&&this.updateFromStores()}getUnnamedStore(){if(this[le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[le].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[le].get(e)}addStore(e,n){var a;n=(a=n??(qe(e)?e.name:void 0))!==null&&a!==void 0?a:"default-store",this.unsubscribeFromStore(n),this.setupStore(n,e)}removeStore(e){let n=typeof e=="string"?e:e.name;this.unsubscribeFromStore(n),this[le].delete(n)}setupStore(e,n){this[le].set(e,n),this.subscribeToStore(e,n),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[le].forEach((e,n)=>this.subscribeToStore(n,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,n)=>{let a=this.constructor.getPropertyOptions(n);if(!a?.attribute||!this.hasAttribute(typeof a?.attribute=="string"?a.attribute:n)){let i=this.getStore(e.store);i&&(e.store?this[Kt].has(e.store):this[Kt].size>0)&&(this[n]=e.selector(i.getState(),this))}})}subscribeToStore(e,n){var a;this[Kt].set(e,n.subscribe(()=>this.updateFromStores())),qe(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[Po].push(()=>n.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Kt].forEach((e,n)=>this.unsubscribeFromStore(n)),this[Po].forEach(e=>e()),this[Po]=[]}unsubscribeFromStore(e){this[Kt].has(e)&&this[Kt].get(e)(),this[Kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Li=Kt,Pi=le,Wi=Po;Xe.reduxProperties=new Map;Xe.reduxReactiveProperties=new Set;Xe.reduxEventListeners=new Map;function yt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];if(0)var i,c;throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ut(t){return!!t&&!!t[$]}function Ot(t){var e;return!!t&&(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)===tl}(t)||Array.isArray(t)||!!t[_i]||!!(!((e=t.constructor)===null||e===void 0)&&e[_i])||wr(t)||Er(t))}function se(t,e,n){n===void 0&&(n=!1),Ae(t)===0?(n?Object.keys:Ie)(t).forEach(function(a){n&&typeof a=="symbol"||e(a,t[a],t)}):t.forEach(function(a,i){return e(i,a,t)})}function Ae(t){var e=t[$];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:wr(t)?2:Er(t)?3:0}function Re(t,e){return Ae(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Vc(t,e){return Ae(t)===2?t.get(e):t[e]}function $i(t,e,n){var a=Ae(t);a===2?t.set(e,n):a===3?t.add(n):t[e]=n}function Hi(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function wr(t){return Jc&&t instanceof Map}function Er(t){return Qc&&t instanceof Set}function Vt(t){return t.o||t.t}function Rr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Mi(t);delete e[$];for(var n=Ie(e),a=0;a<n.length;a++){var i=n[a],c=e[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(e[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Ir(t,e){return e===void 0&&(e=!1),Ar(t)||Ut(t)||!Ot(t)||(Ae(t)>1&&(t.set=t.add=t.clear=t.delete=jc),Object.freeze(t),e&&se(t,function(n,a){return Ir(a,!0)},!0)),t}function jc(){yt(2)}function Ar(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Rt(t){var e=Nr[t];return e||yt(18,t),e}function Yc(t,e){Nr[t]||(Nr[t]=e)}function Or(){return Qe}function mr(t,e){e&&(Rt("Patches"),t.u=[],t.s=[],t.v=e)}function Wo(t){Sr(t),t.p.forEach(qc),t.p=null}function Sr(t){t===Qe&&(Qe=t.l)}function ki(t){return Qe={p:[],l:Qe,h:t,m:!0,_:0}}function qc(t){var e=t[$];e.i===0||e.i===1?e.j():e.g=!0}function br(t,e){e._=e.p.length;var n=e.p[0],a=t!==void 0&&t!==n;return e.h.O||Rt("ES5").S(e,t,a),a?(n[$].P&&(Wo(e),yt(4)),Ot(t)&&(t=ko(e,t),e.l||zo(e,t)),e.u&&Rt("Patches").M(n[$].t,t,e.u,e.s)):t=ko(e,n,[]),Wo(e),e.u&&e.v(e.u,e.s),t!==Fi?t:void 0}function ko(t,e,n){if(Ar(e))return e;var a=e[$];if(!a)return se(e,function(p,g){return zi(t,a,e,p,g,n)},!0),e;if(a.A!==t)return e;if(!a.P)return zo(t,a.t,!0),a.t;if(!a.I){a.I=!0,a.A._--;var i=a.i===4||a.i===5?a.o=Rr(a.k):a.o,c=i,l=!1;a.i===3&&(c=new Set(i),i.clear(),l=!0),se(c,function(p,g){return zi(t,a,i,p,g,n,l)}),zo(t,i,!1),n&&t.u&&Rt("Patches").N(a,n,t.u,t.s)}return a.o}function zi(t,e,n,a,i,c,l){if(Ut(i)){var p=ko(t,i,c&&e&&e.i!==3&&!Re(e.R,a)?c.concat(a):void 0);if($i(n,a,p),!Ut(p))return;t.m=!1}else l&&n.add(i);if(Ot(i)&&!Ar(i)){if(!t.h.D&&t._<1)return;ko(t,i),e&&e.A.l||zo(t,i)}}function zo(t,e,n){n===void 0&&(n=!1),!t.l&&t.h.D&&t.m&&Ir(e,n)}function xr(t,e){var n=t[$];return(n?Vt(n):t)[e]}function Bi(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var a=Object.getOwnPropertyDescriptor(n,e);if(a)return a;n=Object.getPrototypeOf(n)}}function jt(t){t.P||(t.P=!0,t.l&&jt(t.l))}function vr(t){t.o||(t.o=Rr(t.t))}function Cr(t,e,n){var a=wr(e)?Rt("MapSet").F(e,n):Er(e)?Rt("MapSet").T(e,n):t.O?function(i,c){var l=Array.isArray(i),p={i:l?1:0,A:c?c.A:Or(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},g=p,h=to;l&&(g=[p],h=Je);var y=Proxy.revocable(g,h),m=y.revoke,b=y.proxy;return p.k=b,p.j=m,b}(e,n):Rt("ES5").J(e,n);return(n?n.A:Or()).p.push(a),a}function Xc(t){return Ut(t)||yt(22,t),function e(n){if(!Ot(n))return n;var a,i=n[$],c=Ae(n);if(i){if(!i.P&&(i.i<4||!Rt("ES5").K(i)))return i.t;i.I=!0,a=Ui(n,c),i.I=!1}else a=Ui(n,c);return se(a,function(l,p){i&&Vc(i.t,l)===p||$i(a,l,e(p))}),c===3?new Set(a):a}(t)}function Ui(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Rr(t)}function Gi(){function t(l,p){var g=c[l];return g?g.enumerable=p:c[l]=g={configurable:!0,enumerable:p,get:function(){var h=this[$];return to.get(h,l)},set:function(h){var y=this[$];to.set(y,l,h)}},g}function e(l){for(var p=l.length-1;p>=0;p--){var g=l[p][$];if(!g.P)switch(g.i){case 5:a(g)&&jt(g);break;case 4:n(g)&&jt(g)}}}function n(l){for(var p=l.t,g=l.k,h=Ie(g),y=h.length-1;y>=0;y--){var m=h[y];if(m!==$){var b=p[m];if(b===void 0&&!Re(p,m))return!0;var v=g[m],x=v&&v[$];if(x?x.t!==b:!Hi(v,b))return!0}}var O=!!p[$];return h.length!==Ie(p).length+(O?0:1)}function a(l){var p=l.k;if(p.length!==l.t.length)return!0;var g=Object.getOwnPropertyDescriptor(p,p.length-1);if(g&&!g.get)return!0;for(var h=0;h<p.length;h++)if(!p.hasOwnProperty(h))return!0;return!1}function i(l){l.g&&yt(3,JSON.stringify(Vt(l)))}var c={};Yc("ES5",{J:function(l,p){var g=Array.isArray(l),h=function(m,b){if(m){for(var v=Array(b.length),x=0;x<b.length;x++)Object.defineProperty(v,""+x,t(x,!0));return v}var O=Mi(b);delete O[$];for(var A=Ie(O),E=0;E<A.length;E++){var R=A[E];O[R]=t(R,m||!!O[R].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(g,l),y={i:g?5:4,A:p?p.A:Or(),P:!1,I:!1,R:{},l:p,t:l,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,$,{value:y,writable:!0}),h},S:function(l,p,g){g?Ut(p)&&p[$].A===l&&e(l.p):(l.u&&function h(y){if(y&&typeof y=="object"){var m=y[$];if(m){var b=m.t,v=m.k,x=m.R,O=m.i;if(O===4)se(v,function(k){k!==$&&(b[k]!==void 0||Re(b,k)?x[k]||h(v[k]):(x[k]=!0,jt(m)))}),se(b,function(k){v[k]!==void 0||Re(v,k)||(x[k]=!1,jt(m))});else if(O===5){if(a(m)&&(jt(m),x.length=!0),v.length<b.length)for(var A=v.length;A<b.length;A++)x[A]=!1;else for(var E=b.length;E<v.length;E++)x[E]=!0;for(var R=Math.min(v.length,b.length),L=0;L<R;L++)v.hasOwnProperty(L)||(x[L]=!0),x[L]===void 0&&h(v[L])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?n(l):a(l)}})}var Di,Qe,Lr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Jc=typeof Map<"u",Qc=typeof Set<"u",Ti=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Fi=Lr?Symbol.for("immer-nothing"):((Di={})["immer-nothing"]=!0,Di),_i=Lr?Symbol.for("immer-draftable"):"__$immer_draftable",$=Lr?Symbol.for("immer-state"):"__$immer_state";var tl=""+Object.prototype.constructor,Ie=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Mi=Object.getOwnPropertyDescriptors||function(t){var e={};return Ie(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e},Nr={},to={get:function(t,e){if(e===$)return t;var n=Vt(t);if(!Re(n,e))return function(i,c,l){var p,g=Bi(c,l);return g?"value"in g?g.value:(p=g.get)===null||p===void 0?void 0:p.call(i.k):void 0}(t,n,e);var a=n[e];return t.I||!Ot(a)?a:a===xr(t.t,e)?(vr(t),t.o[e]=Cr(t.A.h,a,t)):a},has:function(t,e){return e in Vt(t)},ownKeys:function(t){return Reflect.ownKeys(Vt(t))},set:function(t,e,n){var a=Bi(Vt(t),e);if(a?.set)return a.set.call(t.k,n),!0;if(!t.P){var i=xr(Vt(t),e),c=i?.[$];if(c&&c.t===n)return t.o[e]=n,t.R[e]=!1,!0;if(Hi(n,i)&&(n!==void 0||Re(t.t,e)))return!0;vr(t),jt(t)}return t.o[e]===n&&(n!==void 0||e in t.o)||Number.isNaN(n)&&Number.isNaN(t.o[e])||(t.o[e]=n,t.R[e]=!0),!0},deleteProperty:function(t,e){return xr(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,vr(t),jt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=Vt(t),a=Reflect.getOwnPropertyDescriptor(n,e);return a&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:a.enumerable,value:n[e]}},defineProperty:function(){yt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){yt(12)}},Je={};se(to,function(t,e){Je[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Je.deleteProperty=function(t,e){return Je.set.call(this,t,e,void 0)},Je.set=function(t,e,n){return to.set.call(this,t[0],e,n,t[0])};var el=function(){function t(n){var a=this;this.O=Ti,this.D=!0,this.produce=function(i,c,l){if(typeof i=="function"&&typeof c!="function"){var p=c;c=i;var g=a;return function(O){var A=this;O===void 0&&(O=p);for(var E=arguments.length,R=Array(E>1?E-1:0),L=1;L<E;L++)R[L-1]=arguments[L];return g.produce(O,function(k){var D;return(D=c).call.apply(D,[A,k].concat(R))})}}var h;if(typeof c!="function"&&yt(6),l!==void 0&&typeof l!="function"&&yt(7),Ot(i)){var y=ki(a),m=Cr(a,i,void 0),b=!0;try{h=c(m),b=!1}finally{b?Wo(y):Sr(y)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(O){return mr(y,l),br(O,y)},function(O){throw Wo(y),O}):(mr(y,l),br(h,y))}if(!i||typeof i!="object"){if((h=c(i))===void 0&&(h=i),h===Fi&&(h=void 0),a.D&&Ir(h,!0),l){var v=[],x=[];Rt("Patches").M(i,h,v,x),l(v,x)}return h}yt(21,i)},this.produceWithPatches=function(i,c){if(typeof i=="function")return function(h){for(var y=arguments.length,m=Array(y>1?y-1:0),b=1;b<y;b++)m[b-1]=arguments[b];return a.produceWithPatches(h,function(v){return i.apply(void 0,[v].concat(m))})};var l,p,g=a.produce(i,c,function(h,y){l=h,p=y});return typeof Promise<"u"&&g instanceof Promise?g.then(function(h){return[h,l,p]}):[g,l,p]},typeof n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var e=t.prototype;return e.createDraft=function(n){Ot(n)||yt(8),Ut(n)&&(n=Xc(n));var a=ki(this),i=Cr(this,n,void 0);return i[$].C=!0,Sr(a),i},e.finishDraft=function(n,a){var i=n&&n[$],c=i.A;return mr(c,a),br(void 0,c)},e.setAutoFreeze=function(n){this.D=n},e.setUseProxies=function(n){n&&!Ti&&yt(20),this.O=n},e.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=Rt("Patches").$;return Ut(n)?l(n,a):this.produce(n,function(p){return l(p,a)})},t}(),pt=new el,ol=pt.produce,Bb=pt.produceWithPatches.bind(pt),Ub=pt.setAutoFreeze.bind(pt),Db=pt.setUseProxies.bind(pt),Tb=pt.applyPatches.bind(pt),_b=pt.createDraft.bind(pt),$b=pt.finishDraft.bind(pt),Bo=ol;function Yt(t){"@babel/helpers - typeof";return Yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yt(t)}function Pr(t,e){if(Yt(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(Yt(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Wr(t){var e=Pr(t,"string");return Yt(e)==="symbol"?e:String(e)}function kr(t,e,n){return e=Wr(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,a)}return n}function Uo(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Zi(Object(n),!0).forEach(function(a){kr(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zi(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}function X(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ki=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),zr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Do={INIT:"@@redux/INIT"+zr(),REPLACE:"@@redux/REPLACE"+zr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zr()}};function rl(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Br(t,e,n){var a;if(typeof e=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof e=="function"&&typeof n>"u"&&(n=e,e=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(X(1));return n(Br)(t,e)}if(typeof t!="function")throw new Error(X(2));var i=t,c=e,l=[],p=l,g=!1;function h(){p===l&&(p=l.slice())}function y(){if(g)throw new Error(X(3));return c}function m(O){if(typeof O!="function")throw new Error(X(4));if(g)throw new Error(X(5));var A=!0;return h(),p.push(O),function(){if(A){if(g)throw new Error(X(6));A=!1,h();var R=p.indexOf(O);p.splice(R,1),l=null}}}function b(O){if(!rl(O))throw new Error(X(7));if(typeof O.type>"u")throw new Error(X(8));if(g)throw new Error(X(9));try{g=!0,c=i(c,O)}finally{g=!1}for(var A=l=p,E=0;E<A.length;E++){var R=A[E];R()}return O}function v(O){if(typeof O!="function")throw new Error(X(10));i=O,b({type:Do.REPLACE})}function x(){var O,A=m;return O={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(X(11));function L(){R.next&&R.next(y())}L();var k=A(L);return{unsubscribe:k}}},O[Ki]=function(){return this},O}return b({type:Do.INIT}),a={dispatch:b,subscribe:m,getState:y,replaceReducer:v},a[Ki]=x,a}function nl(t){Object.keys(t).forEach(function(e){var n=t[e],a=n(void 0,{type:Do.INIT});if(typeof a>"u")throw new Error(X(12));if(typeof n(void 0,{type:Do.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function Vi(t){for(var e=Object.keys(t),n={},a=0;a<e.length;a++){var i=e[a];typeof t[i]=="function"&&(n[i]=t[i])}var c=Object.keys(n),l,p;try{nl(n)}catch(g){p=g}return function(h,y){if(h===void 0&&(h={}),p)throw p;if(0)var m;for(var b=!1,v={},x=0;x<c.length;x++){var O=c[x],A=n[O],E=h[O],R=A(E,y);if(typeof R>"u"){var L=y&&y.type;throw new Error(X(14))}v[O]=R,b=b||R!==E}return b=b||c.length!==Object.keys(h).length,b?v:h}}function Le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?function(a){return a}:e.length===1?e[0]:e.reduce(function(a,i){return function(){return a(i.apply(void 0,arguments))}})}function ji(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(a){return function(){var i=a.apply(void 0,arguments),c=function(){throw new Error(X(15))},l={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},p=e.map(function(g){return g(l)});return c=Le.apply(void 0,p)(i.dispatch),Uo(Uo({},i),{},{dispatch:c})}}}function Yi(t){var e=function(a){var i=a.dispatch,c=a.getState;return function(l){return function(p){return typeof p=="function"?p(i,c,t):l(p)}}};return e}var qi=Yi();qi.withExtraArgument=Yi;var Ur=qi;var ec=function(){var t=function(e,n){return t=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])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),al=function(t,e){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(h){return function(y){return g([h,y])}}function g(h){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(c=h[0]&2?i.return:h[0]?i.throw||((c=i.return)&&c.call(i),0):i.next)&&!(c=c.call(i,h[1])).done)return c;switch(i=0,c&&(h=[h[0]&2,c.value]),h[0]){case 0:case 1:c=h;break;case 4:return n.label++,{value:h[1],done:!1};case 5:n.label++,i=h[1],h=[0];continue;case 7:h=n.ops.pop(),n.trys.pop();continue;default:if(c=n.trys,!(c=c.length>0&&c[c.length-1])&&(h[0]===6||h[0]===2)){n=0;continue}if(h[0]===3&&(!c||h[1]>c[0]&&h[1]<c[3])){n.label=h[1];break}if(h[0]===6&&n.label<c[1]){n.label=c[1],c=h;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(h);break}c[2]&&n.ops.pop(),n.trys.pop();continue}h=e.call(t,n)}catch(y){h=[6,y],i=0}finally{a=c=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},Pe=function(t,e){for(var n=0,a=e.length,i=t.length;n<a;n++,i++)t[i]=e[n];return t},il=Object.defineProperty,cl=Object.defineProperties,ll=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertySymbols,sl=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Ji=function(t,e,n){return e in t?il(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},qt=function(t,e){for(var n in e||(e={}))sl.call(e,n)&&Ji(t,n,e[n]);if(Xi)for(var a=0,i=Xi(e);a<i.length;a++){var n=i[a];dl.call(e,n)&&Ji(t,n,e[n])}return t},Dr=function(t,e){return cl(t,ll(e))},pl=function(t,e,n){return new Promise(function(a,i){var c=function(g){try{p(n.next(g))}catch(h){i(h)}},l=function(g){try{p(n.throw(g))}catch(h){i(h)}},p=function(g){return g.done?a(g.value):Promise.resolve(g.value).then(c,l)};p((n=n.apply(t,e)).next())})};var fl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Le:Le.apply(null,arguments)},nx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function ul(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var n=e;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return e===n}var hl=function(t){ec(e,t);function e(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return t.prototype.concat.apply(this,n)},e.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(e.bind.apply(e,Pe([void 0],n[0].concat(this)))):new(e.bind.apply(e,Pe([void 0],n.concat(this))))},e}(Array),gl=function(t){ec(e,t);function e(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return t.prototype.concat.apply(this,n)},e.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(e.bind.apply(e,Pe([void 0],n[0].concat(this)))):new(e.bind.apply(e,Pe([void 0],n.concat(this))))},e}(Array);function $r(t){return Ot(t)?Bo(t,function(){}):t}function yl(t){return typeof t=="boolean"}function ml(){return function(e){return bl(e)}}function bl(t){t===void 0&&(t={});var e=t.thunk,n=e===void 0?!0:e,a=t.immutableCheck,i=a===void 0?!0:a,c=t.serializableCheck,l=c===void 0?!0:c,p=new hl;if(n&&(yl(n)?p.push(Ur):p.push(Ur.withExtraArgument(n.extraArgument))),0){if(i)var g;if(l)var h}return p}var Tr=!0;function oc(t){var e=ml(),n=t||{},a=n.reducer,i=a===void 0?void 0:a,c=n.middleware,l=c===void 0?e():c,p=n.devTools,g=p===void 0?!0:p,h=n.preloadedState,y=h===void 0?void 0:h,m=n.enhancers,b=m===void 0?void 0:m,v;if(typeof i=="function")v=i;else if(ul(i))v=Vi(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 x=l;if(typeof x=="function"&&(x=x(e),!Tr&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Tr&&x.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ji.apply(void 0,x),A=Le;g&&(A=fl(qt({trace:!Tr},typeof g=="object"&&g)));var E=new gl(O),R=E;Array.isArray(b)?R=Pe([O],b):typeof b=="function"&&(R=b(E));var L=A.apply(void 0,R);return Br(v,y,L)}function Xt(t,e){function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(e){var c=e.apply(void 0,a);if(!c)throw new Error("prepareAction did not return an object");return qt(qt({type:t,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:t,payload:a[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(a){return a.type===t},n}function rc(t){var e={},n=[],a,i={addCase:function(c,l){var p=typeof c=="string"?c:c.type;if(p in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[p]=l,i},addMatcher:function(c,l){return n.push({matcher:c,reducer:l}),i},addDefaultCase:function(c){return a=c,i}};return t(i),[e,n,a]}function xl(t){return typeof t=="function"}function vl(t,e,n,a){n===void 0&&(n=[]);var i=typeof e=="function"?rc(e):[e,n,a],c=i[0],l=i[1],p=i[2],g;if(xl(t))g=function(){return $r(t())};else{var h=$r(t);g=function(){return h}}function y(m,b){m===void 0&&(m=g());var v=Pe([c[b.type]],l.filter(function(x){var O=x.matcher;return O(b)}).map(function(x){var O=x.reducer;return O}));return v.filter(function(x){return!!x}).length===0&&(v=[p]),v.reduce(function(x,O){if(O)if(Ut(x)){var A=x,E=O(A,b);return E===void 0?x:E}else{if(Ot(x))return Bo(x,function(R){return O(R,b)});var E=O(x,b);if(E===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return x},m)}return y.getInitialState=g,y}function Ol(t,e){return t+"/"+e}function nc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof t.initialState=="function"?t.initialState:$r(t.initialState),a=t.reducers||{},i=Object.keys(a),c={},l={},p={};i.forEach(function(y){var m=a[y],b=Ol(e,y),v,x;"reducer"in m?(v=m.reducer,x=m.prepare):v=m,c[y]=v,l[b]=v,p[y]=x?Xt(b,x):Xt(b)});function g(){var y=typeof t.extraReducers=="function"?rc(t.extraReducers):[t.extraReducers],m=y[0],b=m===void 0?{}:m,v=y[1],x=v===void 0?[]:v,O=y[2],A=O===void 0?void 0:O,E=qt(qt({},b),l);return vl(n,function(R){for(var L in E)R.addCase(L,E[L]);for(var k=0,D=x;k<D.length;k++){var ft=D[k];R.addMatcher(ft.matcher,ft.reducer)}A&&R.addDefaultCase(A)})}var h;return{name:e,reducer:function(y,m){return h||(h=g()),h(y,m)},actions:p,caseReducers:c,getInitialState:function(){return h||(h=g()),h.getInitialState()}}}var Sl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Cl=function(t){t===void 0&&(t=21);for(var e="",n=t;n--;)e+=Sl[Math.random()*64|0];return e},Nl=["name","message","stack","code"],_r=function(){function t(e,n){this.payload=e,this.meta=n}return t}(),Qi=function(){function t(e,n){this.payload=e,this.meta=n}return t}(),wl=function(t){if(typeof t=="object"&&t!==null){for(var e={},n=0,a=Nl;n<a.length;n++){var i=a[n];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},lx=function(){function t(e,n,a){var i=Xt(e+"/fulfilled",function(y,m,b,v){return{payload:y,meta:Dr(qt({},v||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),c=Xt(e+"/pending",function(y,m,b){return{payload:void 0,meta:Dr(qt({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=Xt(e+"/rejected",function(y,m,b,v,x){return{payload:v,error:(a&&a.serializeError||wl)(y||"Rejected"),meta:Dr(qt({},x||{}),{arg:b,requestId:m,rejectedWithValue:!!v,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),p=!1,g=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function h(y){return function(m,b,v){var x=a?.idGenerator?a.idGenerator(y):Cl(),O=new g,A,E=!1;function R(k){A=k,O.abort()}var L=function(){return pl(this,null,function(){var k,D,ft,Dt,Ho,Tt,at;return al(this,function(ut){switch(ut.label){case 0:return ut.trys.push([0,4,,5]),Dt=(k=a?.condition)==null?void 0:k.call(a,y,{getState:b,extra:v}),Rl(Dt)?[4,Dt]:[3,2];case 1:Dt=ut.sent(),ut.label=2;case 2:if(Dt===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Ho=new Promise(function(it,Qt){return O.signal.addEventListener("abort",function(){return Qt({name:"AbortError",message:A||"Aborted"})})}),m(c(x,y,(D=a?.getPendingMeta)==null?void 0:D.call(a,{requestId:x,arg:y},{getState:b,extra:v}))),[4,Promise.race([Ho,Promise.resolve(n(y,{dispatch:m,getState:b,extra:v,requestId:x,signal:O.signal,abort:R,rejectWithValue:function(it,Qt){return new _r(it,Qt)},fulfillWithValue:function(it,Qt){return new Qi(it,Qt)}})).then(function(it){if(it instanceof _r)throw it;return it instanceof Qi?i(it.payload,x,y,it.meta):i(it,x,y)})])];case 3:return ft=ut.sent(),[3,5];case 4:return Tt=ut.sent(),ft=Tt instanceof _r?l(null,x,y,Tt.payload,Tt.meta):l(Tt,x,y),[3,5];case 5:return at=a&&!a.dispatchConditionRejection&&l.match(ft)&&ft.meta.condition,at||m(ft),[2,ft]}})})}();return Object.assign(L,{abort:R,requestId:x,arg:y,unwrap:function(){return L.then(El)}})}}return Object.assign(h,{pending:c,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function El(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Rl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ac="listener",ic="completed",cc="cancelled",sx="task-"+cc,dx="task-"+ic,px=ac+"-"+cc,fx=ac+"-"+ic;var Hr="listenerMiddleware";var ux=Xt(Hr+"/add"),hx=Xt(Hr+"/removeAll"),gx=Xt(Hr+"/remove");var tc,yx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(tc||(tc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Il=function(t){return function(e){setTimeout(e,t)}},mx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Il(10);Gi();window.ftReduxStores||(window.ftReduxStores={});var lc=class t{static get(e){var n;let a=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,c=window.ftReduxStores[a];if(qe(c))return c;if(i==null)return;let l=nc({...i,reducers:(n=i.reducers)!==null&&n!==void 0?n:{}}),p=oc({reducer:(g,h)=>h.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...g,...h.overwrites}:l.reducer(g,h)});return window.ftReduxStores[i.name]=new t(l,p)}constructor(e,n){this.reduxSlice=e,this.reduxStore=n,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Eo,this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,c)=>{let l=i,p=a[l];return p?(...g)=>{let h=p(...g);return this.reduxStore.dispatch(h),h}:g=>{this.setState({[l]:g})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var To=class{static format(e,n,a,i){return window.moment?window.moment(e).locale(n).format(this.getDateFormat(a,i)):e}static getDateFormat(e,n){return e?n?"lll":"ll":n?"L LT":"L"}};var _o=N(U()),Al="ft-app-info",Gr=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Ll={session:(t,e)=>{(0,_o.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>eo.eventBus.dispatchEvent(new Gr(e.payload)),0))}},eo=_o.FtReduxStore.get({name:Al,reducers:Ll,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 $o=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var p=t.length-1;p>=0;p--)(l=t[p])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c};function sc(t){class e extends t{constructor(...a){super(a),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(eo)}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=>To.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:a.hierarchicalValues}}}return $o([(0,Fr.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),$o([(0,Fr.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),$o([yr({store:eo.name,selector:n=>{var a,i;return(i=(a=n.metadataConfiguration)===null||a===void 0?void 0:a.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),$o([yr({store:eo.name})],e.prototype,"uiLocale",void 0),e}var We=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var p=t.length-1;p>=0;p--)(l=t[p])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},bt=class extends sc(ro){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return mt.html`
|
|
987
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Eo))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Eo))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};U.elementDefinitions={"ft-ripple":D,"ft-typography":J,"ft-icon":Y,"ft-button":St};U.styles=va;st([(0,et.property)({type:Boolean})],U.prototype,"highlighted",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"removable",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"disabled",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"clickable",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"iconClickable",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"dense",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"multiLine",void 0);st([(0,et.property)()],U.prototype,"label",void 0);st([(0,et.property)()],U.prototype,"iconLabel",void 0);st([(0,et.property)()],U.prototype,"icon",void 0);st([(0,et.property)()],U.prototype,"iconVariant",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);st([(0,et.query)("ft-typography slot")],U.prototype,"slottedContent",void 0);var ae=S(B()),ce=S(V()),wa=S(je()),Ro=S(_());var Oa=S(B());var vr=S(_());var Ca=[Oa.css`
|
|
988
|
+
:host {
|
|
989
|
+
display: inline-block;
|
|
990
|
+
max-width: 100%;
|
|
991
|
+
pointer-events: none;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.ftds-chip {
|
|
995
|
+
display: flex;
|
|
996
|
+
align-items: center;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.ftds-chip ft-typography {
|
|
1000
|
+
display: flex; /* For typo alignment in the chip */
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
/* MEDIUM VARIANT */
|
|
1004
|
+
.ftds--size-medium {
|
|
1005
|
+
min-height: ${L.mediumMinHeight};
|
|
1006
|
+
padding: 0 ${L.mediumHorizontalPadding};
|
|
1007
|
+
border-radius: ${L.mediumBorderRadius};
|
|
1008
|
+
border-width: ${L.mediumBorderWidth};
|
|
1009
|
+
border-style: solid;
|
|
1010
|
+
gap: ${L.mediumGap};
|
|
1011
|
+
${(0,vr.setVariable)(G.size,L.mediumIconSize)}
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.ftds--size-medium.ftds-chip--removable {
|
|
1015
|
+
padding-right: ${L.mediumButtonRightPadding};
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/* LARGE VARIANT */
|
|
1020
|
+
.ftds--size-large {
|
|
1021
|
+
min-height: ${L.largeMinHeight};
|
|
1022
|
+
padding: 0 ${L.largeHorizontalPadding};
|
|
1023
|
+
border-radius: ${L.largeBorderRadius};
|
|
1024
|
+
border-width: ${L.largeBorderWidth};
|
|
1025
|
+
border-style: solid;
|
|
1026
|
+
gap: ${L.largeGap};
|
|
1027
|
+
${(0,vr.setVariable)(G.size,L.largeIconSize)}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.ftds--size-large.ftds-chip--removable {
|
|
1031
|
+
padding-right: ${L.largeButtonRightPadding};
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
/* NEUTRAL COLORS */
|
|
1036
|
+
.ftds--family-neutral {
|
|
1037
|
+
background-color: ${L.neutralBackgroundColor};
|
|
1038
|
+
border-color: ${L.neutralBorderColor};
|
|
1039
|
+
color: ${L.neutralColor};
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
.ftds--family-neutral .ftds-chip--icon-container {
|
|
1043
|
+
color: ${L.neutralIconColor};
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
/* INFO COLORS */
|
|
1048
|
+
.ftds--family-info {
|
|
1049
|
+
background-color: ${L.infoBackgroundColor};
|
|
1050
|
+
border-color: ${L.infoBorderColor};
|
|
1051
|
+
color: ${L.infoColor};
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.ftds--family-info .ftds-chip--icon-container {
|
|
1055
|
+
color: ${L.infoIconColor};
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
/* SUCCESS COLORS */
|
|
1060
|
+
.ftds--family-success {
|
|
1061
|
+
background-color: ${L.successBackgroundColor};
|
|
1062
|
+
border-color: ${L.successBorderColor};
|
|
1063
|
+
color: ${L.successColor};
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.ftds--family-success .ftds-chip--icon-container {
|
|
1067
|
+
color: ${L.successIconColor};
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
/* WARNING COLORS */
|
|
1072
|
+
.ftds--family-warning {
|
|
1073
|
+
background-color: ${L.warningBackgroundColor};
|
|
1074
|
+
border-color: ${L.warningBorderColor};
|
|
1075
|
+
color: ${L.warningColor};
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.ftds--family-warning .ftds-chip--icon-container {
|
|
1079
|
+
color: ${L.warningIconColor};
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
/* ERROR COLORS */
|
|
1084
|
+
.ftds--family-error {
|
|
1085
|
+
background-color: ${L.errorBackgroundColor};
|
|
1086
|
+
border-color: ${L.errorBorderColor};
|
|
1087
|
+
color: ${L.errorColor};
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.ftds--family-error .ftds-chip--icon-container {
|
|
1091
|
+
color: ${L.errorIconColor};
|
|
1092
|
+
}
|
|
1093
|
+
`];var qe=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Sr=class extends CustomEvent{constructor(){super("remove")}},Ct=class extends Ro.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return ae.html`
|
|
1094
|
+
<div class="${(0,wa.classMap)(e)}"
|
|
1095
|
+
aria-label="${this.getLabel()}"
|
|
1096
|
+
part="chip">
|
|
1097
|
+
${this.renderIcon()}
|
|
1098
|
+
<ft-typography variant=${this.typographyVariant()} element="span" class="ftds-chip--label" part="label">
|
|
1099
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1100
|
+
</ft-typography>
|
|
1101
|
+
${this.renderRemoveButton()}
|
|
1102
|
+
</div>
|
|
1103
|
+
`}renderIcon(){return this.icon?ae.html`
|
|
1104
|
+
<div class="ftds-chip--icon-container" part="icon-container">
|
|
1105
|
+
<ft-icon .variant=${mt.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
1106
|
+
</div>
|
|
1107
|
+
`:ae.nothing}renderRemoveButton(){return this.removable?ae.html`
|
|
1108
|
+
<ftds-button round
|
|
1109
|
+
class="ftds-chip--remove-button"
|
|
1110
|
+
@click=${this.dispatchRemoveEvent}
|
|
1111
|
+
icon=${we.X_MARK}
|
|
1112
|
+
label=${this.removeButtonLabel}
|
|
1113
|
+
family=${Ro.DesignSystemFamily.neutral}
|
|
1114
|
+
size=${this.resolveButtonSize()}
|
|
1115
|
+
part="icon-button"
|
|
1116
|
+
></ftds-button>
|
|
1117
|
+
`:ae.nothing}resolveButtonSize(){switch(this.size){case X.large:return X.medium;case X.medium:case X.small:return X.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Sr)}typographyVariant(){switch(this.size){case X.large:return ut.body2medium;case X.medium:return ut.caption1medium;case X.small:return ut.caption2medium}}};Ct.elementDefinitions={"ft-typography":J,"ft-icon":Y,"ftds-button":Ot};Ct.styles=Ca;qe([(0,ce.property)({type:Boolean})],Ct.prototype,"removable",void 0);qe([(0,ce.property)()],Ct.prototype,"removeButtonLabel",void 0);qe([(0,ce.property)()],Ct.prototype,"label",void 0);qe([(0,ce.property)()],Ct.prototype,"icon",void 0);qe([(0,ce.query)("ft-typography slot")],Ct.prototype,"slottedContent",void 0);(0,Or.customElement)("ft-chip")(U);(0,Or.customElement)("ftds-chip")(Ct);var qr=S(V());function Yc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ao(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ao(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ao(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ao(t,e){try{return Yc(t,e)}catch{return!1}}function Po(t,e){return!Ao(t,e)}var Ea=S(V(),1);var Cr=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Po,attribute:!1,...e};(0,Ea.property)(a)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:s=>s[n],store:e.store})}};var Lo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Xe=S(V(),1);var Na=S(V(),1);function Ra(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Na.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Po,...e??{}})}var Io=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);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 Pa=S(B(),1);var To=window,qc=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,hm=Symbol();var Aa=(t,e)=>{qc?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var $o=class extends Pa.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Aa(n,e.elementStyles),n}};var _o=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ta,La=Symbol("constructorPrototype"),Ia=Symbol("constructorName"),$a=Symbol("exportpartsDebouncer"),jt=class extends $o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ta]=new Io(5),this[Ia]=this.constructor.name,this[La]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ia]&&Object.setPrototypeOf(this,this[La])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.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 e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[$a].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(e){var r,n,i,a,c,s;let p=m=>m!=null&&m.trim().length>0,f=e.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(s=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(b=>b.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...g,...y).filter(p).map(b=>b.trim()).forEach(b=>u.add(b))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Ta=$a;_o([(0,Xe.property)()],jt.prototype,"exportpartsPrefix",void 0);_o([Ra([])],jt.prototype,"exportpartsPrefixes",void 0);_o([(0,Xe.property)()],jt.prototype,"customStylesheet",void 0);_o([(0,Xe.state)()],jt.prototype,"useAdoptedStyleSheets",void 0);function Je(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var _a,ka,Wa,ko=Symbol("internalReduxEventsUnsubscribers"),Ft=Symbol("internalStoresUnsubscribers"),le=Symbol("internalStores"),Qe=class extends jt{constructor(){super(...arguments),this[_a]=new Map,this[ka]=new Map,this[Wa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[le].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[le].get(e)}addStore(e,r){var n;r=(n=r??(Je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[le].delete(r)}setupStore(e,r){this[le].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[le].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Ft].has(e.store):this[Ft].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Ft].set(e,r.subscribe(()=>this.updateFromStores())),Je(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=s=>this[a](s);r.eventBus.addEventListener(i.eventName,c),this[ko].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ft].forEach((e,r)=>this.unsubscribeFromStore(r)),this[ko].forEach(e=>e()),this[ko]=[]}unsubscribeFromStore(e){this[Ft].has(e)&&this[Ft].get(e)(),this[Ft].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};_a=Ft,ka=le,Wa=ko;Qe.reduxProperties=new Map;Qe.reduxReactiveProperties=new Set;Qe.reduxEventListeners=new Map;function gt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Dt(t){return!!t&&!!t[z]}function wt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===nl}(t)||Array.isArray(t)||!!t[Ga]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ga])||Tr(t)||$r(t))}function se(t,e,r){r===void 0&&(r=!1),Pe(t)===0?(r?Object.keys:Ae)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Pe(t){var e=t[z];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Tr(t)?2:$r(t)?3:0}function Re(t,e){return Pe(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Xc(t,e){return Pe(t)===2?t.get(e):t[e]}function ja(t,e,r){var n=Pe(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Fa(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Tr(t){return ol&&t instanceof Map}function $r(t){return rl&&t instanceof Set}function Kt(t){return t.o||t.t}function _r(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Za(t);delete e[z];for(var r=Ae(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function kr(t,e){return e===void 0&&(e=!1),Wr(t)||Dt(t)||!wt(t)||(Pe(t)>1&&(t.set=t.add=t.clear=t.delete=Jc),Object.freeze(t),e&&se(t,function(r,n){return kr(n,!0)},!0)),t}function Jc(){gt(2)}function Wr(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Pt(t){var e=Ir[t];return e||gt(18,t),e}function Qc(t,e){Ir[t]||(Ir[t]=e)}function Ar(){return eo}function wr(t,e){e&&(Pt("Patches"),t.u=[],t.s=[],t.v=e)}function Wo(t){Pr(t),t.p.forEach(tl),t.p=null}function Pr(t){t===eo&&(eo=t.l)}function Da(t){return eo={p:[],l:eo,h:t,m:!0,_:0}}function tl(t){var e=t[z];e.i===0||e.i===1?e.j():e.g=!0}function Er(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Pt("ES5").S(e,t,n),n?(r[z].P&&(Wo(e),gt(4)),wt(t)&&(t=Do(e,t),e.l||zo(e,t)),e.u&&Pt("Patches").M(r[z].t,t,e.u,e.s)):t=Do(e,r,[]),Wo(e),e.u&&e.v(e.u,e.s),t!==Va?t:void 0}function Do(t,e,r){if(Wr(e))return e;var n=e[z];if(!n)return se(e,function(s,p){return za(t,n,e,s,p,r)},!0),e;if(n.A!==t)return e;if(!n.P)return zo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=_r(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),se(a,function(s,p){return za(t,n,i,s,p,r,c)}),zo(t,i,!1),r&&t.u&&Pt("Patches").N(n,r,t.u,t.s)}return n.o}function za(t,e,r,n,i,a,c){if(Dt(i)){var s=Do(t,i,a&&e&&e.i!==3&&!Re(e.R,n)?a.concat(n):void 0);if(ja(r,n,s),!Dt(s))return;t.m=!1}else c&&r.add(i);if(wt(i)&&!Wr(i)){if(!t.h.D&&t._<1)return;Do(t,i),e&&e.A.l||zo(t,i)}}function zo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&kr(e,r)}function Nr(t,e){var r=t[z];return(r?Kt(r):t)[e]}function Ba(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Rr(t){t.o||(t.o=_r(t.t))}function Lr(t,e,r){var n=Tr(e)?Pt("MapSet").F(e,r):$r(e)?Pt("MapSet").T(e,r):t.O?function(i,a){var c=Array.isArray(i),s={i:c?1:0,A:a?a.A:Ar(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=s,f=oo;c&&(p=[s],f=to);var u=Proxy.revocable(p,f),h=u.revoke,m=u.proxy;return s.k=m,s.j=h,m}(e,r):Pt("ES5").J(e,r);return(r?r.A:Ar()).p.push(n),n}function el(t){return Dt(t)||gt(22,t),function e(r){if(!wt(r))return r;var n,i=r[z],a=Pe(r);if(i){if(!i.P&&(i.i<4||!Pt("ES5").K(i)))return i.t;i.I=!0,n=Ma(r,a),i.I=!1}else n=Ma(r,a);return se(n,function(c,s){i&&Xc(i.t,c)===s||ja(n,c,e(s))}),a===3?new Set(n):n}(t)}function Ma(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return _r(t)}function Ka(){function t(c,s){var p=a[c];return p?p.enumerable=s:a[c]=p={configurable:!0,enumerable:s,get:function(){var f=this[z];return oo.get(f,c)},set:function(f){var u=this[z];oo.set(u,c,f)}},p}function e(c){for(var s=c.length-1;s>=0;s--){var p=c[s][z];if(!p.P)switch(p.i){case 5:n(p)&&Vt(p);break;case 4:r(p)&&Vt(p)}}}function r(c){for(var s=c.t,p=c.k,f=Ae(p),u=f.length-1;u>=0;u--){var h=f[u];if(h!==z){var m=s[h];if(m===void 0&&!Re(s,h))return!0;var g=p[h],y=g&&g[z];if(y?y.t!==m:!Fa(g,m))return!0}}var b=!!s[z];return f.length!==Ae(s).length+(b?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(s,s.length-1);if(p&&!p.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function i(c){c.g&>(3,JSON.stringify(Kt(c)))}var a={};Qc("ES5",{J:function(c,s){var p=Array.isArray(c),f=function(h,m){if(h){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var b=Za(m);delete b[z];for(var N=Ae(b),C=0;C<N.length;C++){var w=N[C];b[w]=t(w,h||!!b[w].enumerable)}return Object.create(Object.getPrototypeOf(m),b)}(p,c),u={i:p?5:4,A:s?s.A:Ar(),P:!1,I:!1,R:{},l:s,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,z,{value:u,writable:!0}),f},S:function(c,s,p){p?Dt(s)&&s[z].A===c&&e(c.p):(c.u&&function f(u){if(u&&typeof u=="object"){var h=u[z];if(h){var m=h.t,g=h.k,y=h.R,b=h.i;if(b===4)se(g,function(I){I!==z&&(m[I]!==void 0||Re(m,I)?y[I]||f(g[I]):(y[I]=!0,Vt(h)))}),se(m,function(I){g[I]!==void 0||Re(g,I)||(y[I]=!1,Vt(h))});else if(b===5){if(n(h)&&(Vt(h),y.length=!0),g.length<m.length)for(var N=g.length;N<m.length;N++)y[N]=!1;else for(var C=m.length;C<g.length;C++)y[C]=!0;for(var w=Math.min(g.length,m.length),R=0;R<w;R++)g.hasOwnProperty(R)||(y[R]=!0),y[R]===void 0&&f(g[R])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var Ua,eo,Dr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ol=typeof Map<"u",rl=typeof Set<"u",Ha=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Va=Dr?Symbol.for("immer-nothing"):((Ua={})["immer-nothing"]=!0,Ua),Ga=Dr?Symbol.for("immer-draftable"):"__$immer_draftable",z=Dr?Symbol.for("immer-state"):"__$immer_state";var nl=""+Object.prototype.constructor,Ae=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Za=Object.getOwnPropertyDescriptors||function(t){var e={};return Ae(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ir={},oo={get:function(t,e){if(e===z)return t;var r=Kt(t);if(!Re(r,e))return function(i,a,c){var s,p=Ba(a,c);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!wt(n)?n:n===Nr(t.t,e)?(Rr(t),t.o[e]=Lr(t.A.h,n,t)):n},has:function(t,e){return e in Kt(t)},ownKeys:function(t){return Reflect.ownKeys(Kt(t))},set:function(t,e,r){var n=Ba(Kt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Nr(Kt(t),e),a=i?.[z];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Fa(r,i)&&(r!==void 0||Re(t.t,e)))return!0;Rr(t),Vt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Nr(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Rr(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Kt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){gt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){gt(12)}},to={};se(oo,function(t,e){to[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),to.deleteProperty=function(t,e){return to.set.call(this,t,e,void 0)},to.set=function(t,e,r){return oo.set.call(this,t[0],e,r,t[0])};var il=function(){function t(r){var n=this;this.O=Ha,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var p=n;return function(b){var N=this;b===void 0&&(b=s);for(var C=arguments.length,w=Array(C>1?C-1:0),R=1;R<C;R++)w[R-1]=arguments[R];return p.produce(b,function(I){var k;return(k=a).call.apply(k,[N,I].concat(w))})}}var f;if(typeof a!="function"&>(6),c!==void 0&&typeof c!="function"&>(7),wt(i)){var u=Da(n),h=Lr(n,i,void 0),m=!0;try{f=a(h),m=!1}finally{m?Wo(u):Pr(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(b){return wr(u,c),Er(b,u)},function(b){throw Wo(u),b}):(wr(u,c),Er(f,u))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Va&&(f=void 0),n.D&&kr(f,!0),c){var g=[],y=[];Pt("Patches").M(i,f,g,y),c(g,y)}return f}gt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var u=arguments.length,h=Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(h))})};var c,s,p=n.produce(i,a,function(f,u){c=f,s=u});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,c,s]}):[p,c,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){wt(r)||gt(8),Dt(r)&&(r=el(r));var n=Da(this),i=Lr(this,r,void 0);return i[z].C=!0,Pr(n),i},e.finishDraft=function(r,n){var i=r&&r[z],a=i.A;return wr(a,n),Er(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ha&>(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=Pt("Patches").$;return Dt(r)?c(r,n):this.produce(r,function(s){return c(s,n)})},t}(),dt=new il,al=dt.produce,Nm=dt.produceWithPatches.bind(dt),Rm=dt.setAutoFreeze.bind(dt),Am=dt.setUseProxies.bind(dt),Pm=dt.applyPatches.bind(dt),Lm=dt.createDraft.bind(dt),Im=dt.finishDraft.bind(dt),Bo=al;function Zt(t){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zt(t)}function zr(t,e){if(Zt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Zt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Br(t){var e=zr(t,"string");return Zt(e)==="symbol"?e:String(e)}function Mr(t,e,r){return e=Br(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ya(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Mo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ya(Object(r),!0).forEach(function(n){Mr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ya(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function q(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var qa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ur=function(){return Math.random().toString(36).substring(7).split("").join(".")},Uo={INIT:"@@redux/INIT"+Ur(),REPLACE:"@@redux/REPLACE"+Ur(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ur()}};function cl(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Hr(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(q(1));return r(Hr)(t,e)}if(typeof t!="function")throw new Error(q(2));var i=t,a=e,c=[],s=c,p=!1;function f(){s===c&&(s=c.slice())}function u(){if(p)throw new Error(q(3));return a}function h(b){if(typeof b!="function")throw new Error(q(4));if(p)throw new Error(q(5));var N=!0;return f(),s.push(b),function(){if(N){if(p)throw new Error(q(6));N=!1,f();var w=s.indexOf(b);s.splice(w,1),c=null}}}function m(b){if(!cl(b))throw new Error(q(7));if(typeof b.type>"u")throw new Error(q(8));if(p)throw new Error(q(9));try{p=!0,a=i(a,b)}finally{p=!1}for(var N=c=s,C=0;C<N.length;C++){var w=N[C];w()}return b}function g(b){if(typeof b!="function")throw new Error(q(10));i=b,m({type:Uo.REPLACE})}function y(){var b,N=h;return b={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(q(11));function R(){w.next&&w.next(u())}R();var I=N(R);return{unsubscribe:I}}},b[qa]=function(){return this},b}return m({type:Uo.INIT}),n={dispatch:m,subscribe:h,getState:u,replaceReducer:g},n[qa]=y,n}function ll(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Uo.INIT});if(typeof n>"u")throw new Error(q(12));if(typeof r(void 0,{type:Uo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function Xa(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),c,s;try{ll(r)}catch(p){s=p}return function(f,u){if(f===void 0&&(f={}),s)throw s;if(0)var h;for(var m=!1,g={},y=0;y<a.length;y++){var b=a[y],N=r[b],C=f[b],w=N(C,u);if(typeof w>"u"){var R=u&&u.type;throw new Error(q(14))}g[b]=w,m=m||w!==C}return m=m||a.length!==Object.keys(f).length,m?g:f}}function Le(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Ja(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(q(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(p){return p(c)});return a=Le.apply(void 0,s)(i.dispatch),Mo(Mo({},i),{},{dispatch:a})}}}function Qa(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,a,t):c(s)}}};return e}var tc=Qa();tc.withExtraArgument=Qa;var Gr=tc;var ic=function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),sl=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(f){return function(u){return p([f,u])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}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}}},Ie=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},dl=Object.defineProperty,fl=Object.defineProperties,pl=Object.getOwnPropertyDescriptors,ec=Object.getOwnPropertySymbols,ul=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,oc=function(t,e,r){return e in t?dl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Yt=function(t,e){for(var r in e||(e={}))ul.call(e,r)&&oc(t,r,e[r]);if(ec)for(var n=0,i=ec(e);n<i.length;n++){var r=i[n];hl.call(e,r)&&oc(t,r,e[r])}return t},jr=function(t,e){return fl(t,pl(e))},ml=function(t,e,r){return new Promise(function(n,i){var a=function(p){try{s(r.next(p))}catch(f){i(f)}},c=function(p){try{s(r.throw(p))}catch(f){i(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,c)};s((r=r.apply(t,e)).next())})};var yl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Le:Le.apply(null,arguments)},Ym=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function gl(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var bl=function(t){ic(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array),xl=function(t){ic(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array);function Vr(t){return wt(t)?Bo(t,function(){}):t}function vl(t){return typeof t=="boolean"}function Sl(){return function(e){return Ol(e)}}function Ol(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,c=a===void 0?!0:a,s=new bl;if(r&&(vl(r)?s.push(Gr):s.push(Gr.withExtraArgument(r.extraArgument))),0){if(i)var p;if(c)var f}return s}var Fr=!0;function ac(t){var e=Sl(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,u=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(gl(i))g=Xa(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 y=c;if(typeof y=="function"&&(y=y(e),!Fr&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Fr&&y.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=Ja.apply(void 0,y),N=Le;p&&(N=yl(Yt({trace:!Fr},typeof p=="object"&&p)));var C=new xl(b),w=C;Array.isArray(m)?w=Ie([b],m):typeof m=="function"&&(w=m(C));var R=N.apply(void 0,w);return Hr(g,u,R)}function qt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Yt(Yt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function cc(t){var e={},r=[],n,i={addCase:function(a,c){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=c,i},addMatcher:function(a,c){return r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Cl(t){return typeof t=="function"}function wl(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?cc(e):[e,r,n],a=i[0],c=i[1],s=i[2],p;if(Cl(t))p=function(){return Vr(t())};else{var f=Vr(t);p=function(){return f}}function u(h,m){h===void 0&&(h=p());var g=Ie([a[m.type]],c.filter(function(y){var b=y.matcher;return b(m)}).map(function(y){var b=y.reducer;return b}));return g.filter(function(y){return!!y}).length===0&&(g=[s]),g.reduce(function(y,b){if(b)if(Dt(y)){var N=y,C=b(N,m);return C===void 0?y:C}else{if(wt(y))return Bo(y,function(w){return b(w,m)});var C=b(y,m);if(C===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return y},h)}return u.getInitialState=p,u}function El(t,e){return t+"/"+e}function lc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Vr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};i.forEach(function(u){var h=n[u],m=El(e,u),g,y;"reducer"in h?(g=h.reducer,y=h.prepare):g=h,a[u]=g,c[m]=g,s[u]=y?qt(m,y):qt(m)});function p(){var u=typeof t.extraReducers=="function"?cc(t.extraReducers):[t.extraReducers],h=u[0],m=h===void 0?{}:h,g=u[1],y=g===void 0?[]:g,b=u[2],N=b===void 0?void 0:b,C=Yt(Yt({},m),c);return wl(r,function(w){for(var R in C)w.addCase(R,C[R]);for(var I=0,k=y;I<k.length;I++){var ft=k[I];w.addMatcher(ft.matcher,ft.reducer)}N&&w.addDefaultCase(N)})}var f;return{name:e,reducer:function(u,h){return f||(f=p()),f(u,h)},actions:s,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Nl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rl=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Nl[Math.random()*64|0];return e},Al=["name","message","stack","code"],Kr=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),rc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Pl=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Al;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Qm=function(){function t(e,r,n){var i=qt(e+"/fulfilled",function(u,h,m,g){return{payload:u,meta:jr(Yt({},g||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=qt(e+"/pending",function(u,h,m){return{payload:void 0,meta:jr(Yt({},m||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),c=qt(e+"/rejected",function(u,h,m,g,y){return{payload:g,error:(n&&n.serializeError||Pl)(u||"Rejected"),meta:jr(Yt({},y||{}),{arg:m,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),s=!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(h,m,g){var y=n?.idGenerator?n.idGenerator(u):Rl(),b=new p,N,C=!1;function w(I){N=I,b.abort()}var R=function(){return ml(this,null,function(){var I,k,ft,zt,Fo,Bt,it;return sl(this,function(pt){switch(pt.label){case 0:return pt.trys.push([0,4,,5]),zt=(I=n?.condition)==null?void 0:I.call(n,u,{getState:m,extra:g}),Il(zt)?[4,zt]:[3,2];case 1:zt=pt.sent(),pt.label=2;case 2:if(zt===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,Fo=new Promise(function(at,Jt){return b.signal.addEventListener("abort",function(){return Jt({name:"AbortError",message:N||"Aborted"})})}),h(a(y,u,(k=n?.getPendingMeta)==null?void 0:k.call(n,{requestId:y,arg:u},{getState:m,extra:g}))),[4,Promise.race([Fo,Promise.resolve(r(u,{dispatch:h,getState:m,extra:g,requestId:y,signal:b.signal,abort:w,rejectWithValue:function(at,Jt){return new Kr(at,Jt)},fulfillWithValue:function(at,Jt){return new rc(at,Jt)}})).then(function(at){if(at instanceof Kr)throw at;return at instanceof rc?i(at.payload,y,u,at.meta):i(at,y,u)})])];case 3:return ft=pt.sent(),[3,5];case 4:return Bt=pt.sent(),ft=Bt instanceof Kr?c(null,y,u,Bt.payload,Bt.meta):c(Bt,y,u),[3,5];case 5:return it=n&&!n.dispatchConditionRejection&&c.match(ft)&&ft.meta.condition,it||h(ft),[2,ft]}})})}();return Object.assign(R,{abort:w,requestId:y,arg:u,unwrap:function(){return R.then(Ll)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Ll(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Il(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var sc="listener",dc="completed",fc="cancelled",ty="task-"+fc,ey="task-"+dc,oy=sc+"-"+fc,ry=sc+"-"+dc;var Zr="listenerMiddleware";var ny=qt(Zr+"/add"),iy=qt(Zr+"/removeAll"),ay=qt(Zr+"/remove");var nc,cy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(nc||(nc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Tl=function(t){return function(e){setTimeout(e,t)}},ly=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Tl(10);Ka();window.ftReduxStores||(window.ftReduxStores={});var pc=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Je(a))return a;if(i==null)return;let c=lc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=ac({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:c.reducer(p,f)});return window.ftReduxStores[i.name]=new t(c,s)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Lo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,s=n[c];return s?(...p)=>{let f=s(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[c]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ho=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Go=S(_()),$l="ft-app-info",Yr=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},_l={session:(t,e)=>{(0,Go.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>ro.eventBus.dispatchEvent(new Yr(e.payload)),0))}},ro=Go.FtReduxStore.get({name:$l,reducers:_l,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 jo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function uc(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(ro)}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(s=>s.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=>Ho.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return jo([(0,qr.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),jo([(0,qr.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),jo([Cr({store:ro.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),jo([Cr({store:ro.name})],e.prototype,"uiLocale",void 0),e}var Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},xt=class extends uc(io){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return bt.html`
|
|
963
1118
|
${this.renderChip()}
|
|
964
1119
|
${this.hideIfEmpty()}
|
|
965
|
-
`}renderChip(){var e,n
|
|
1120
|
+
`}renderChip(){var e,r,n;let i=bt.html`
|
|
966
1121
|
<ft-chip part="chip"
|
|
967
1122
|
exportpartsPrefix="chip"
|
|
968
1123
|
?multiLine=${this.multiLine}>
|
|
969
|
-
${this.displayLabel?
|
|
1124
|
+
${this.displayLabel?bt.html`
|
|
970
1125
|
<span part="label">${(e=this.flatMetadata)===null||e===void 0?void 0:e.label}: </span>
|
|
971
|
-
`:
|
|
1126
|
+
`:bt.nothing}
|
|
972
1127
|
<span part="values">${this.metadataValues()}</span>
|
|
973
1128
|
</ft-chip>
|
|
974
|
-
`;return this.displayLabel&&((
|
|
1129
|
+
`;return this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue)?i:bt.html`
|
|
975
1130
|
<ft-tooltip part="tooltip" text="${this.tooltipText}">
|
|
976
1131
|
${i}
|
|
977
1132
|
</ft-tooltip>
|
|
978
|
-
`}metadataValues(){var e;return this.flatMetadata?
|
|
1133
|
+
`}metadataValues(){var e;return this.flatMetadata?bt.html`${(e=this.flatMetadata)===null||e===void 0?void 0:e.displayValue}`:this.key?bt.html`no value for ${this.key}`:bt.html`no metadata selected`}hideIfEmpty(){return!this.editorMode&&!this.flatMetadata?bt.html`
|
|
979
1134
|
<style>
|
|
980
1135
|
:host {
|
|
981
1136
|
display: none !important;
|
|
982
1137
|
}
|
|
983
1138
|
</style>
|
|
984
|
-
`:
|
|
1139
|
+
`:bt.nothing}get tooltipText(){return this.flatMetadata?this.flatMetadata.label+": "+this.flatMetadata.value:""}update(e){super.update(e),["key","tocNode"].some(r=>e.has(r))&&this.updateContent(),(e.has("metadata")||this.dateFormatOptionsChanged(e))&&(this.flatMetadata=hc.ClusteringHelper.flattenMetadata(this.formatDateValues(this.metadata)))}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var e;this.metadata=void 0,this.tocNode&&this.key&&((e=this.service)===null||e===void 0||e.getTopicInfo(this.tocNode).then(r=>this.metadata=r.metadata.find(n=>n.key===this.key)).catch(()=>null))}};xt.elementDefinitions={"ft-tooltip":W,"ft-chip":U};xt.styles=on;Te([(0,Xt.property)()],xt.prototype,"key",void 0);Te([(0,Xt.property)({type:Boolean})],xt.prototype,"multiLine",void 0);Te([(0,Xt.property)({type:Boolean})],xt.prototype,"displayLabel",void 0);Te([(0,Xt.state)()],xt.prototype,"editorMode",void 0);Te([(0,Xt.state)()],xt.prototype,"metadata",void 0);Te([(0,Xt.state)()],xt.prototype,"flatMetadata",void 0);(0,mc.customElement)("ft-reader-topic-metadata")(xt);})();
|
|
985
1140
|
/*! Bundled license information:
|
|
986
1141
|
|
|
987
1142
|
lit-html/lit-html.js:
|