@fluid-topics/ft-search-bar 1.1.121 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-bar.light.js +377 -377
- package/build/ft-search-bar.min.js +61 -61
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var wd=Object.create;var
|
|
1
|
+
"use strict";(()=>{var wd=Object.create;var Qi=Object.defineProperty;var Ed=Object.getOwnPropertyDescriptor;var $d=Object.getOwnPropertyNames;var Rd=Object.getPrototypeOf,kd=Object.prototype.hasOwnProperty;var Io=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ld=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $d(e))!kd.call(t,i)&&i!==r&&Qi(t,i,{get:()=>e[i],enumerable:!(n=Ed(e,i))||n.enumerable});return t};var h=(t,e,r)=>(r=t!=null?wd(Rd(t)):{},Ld(e||!t||!t.__esModule?Qi(r,"default",{value:t,enumerable:!0}):r,t));var w=Io((qp,ea)=>{ea.exports=ftGlobals.wcUtils});var L=Io((Yp,ta)=>{ta.exports=ftGlobals.lit});var Y=Io((Xp,oa)=>{oa.exports=ftGlobals.litDecorators});var fo=Io((Jp,ra)=>{ra.exports=ftGlobals.litRepeat});var lt=Io((Pm,Al)=>{Al.exports=ftGlobals.litClassMap});var ss=Io((bg,ls)=>{ls.exports=ftGlobals.litUnsafeHTML});var Cd=h(w());var Z=h(L()),j=h(Y()),Br=h(fo()),re=h(w());var la=h(w());var aa=h(L()),uo=h(Y()),Ir=h(w());var nt;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(nt||(nt={}));var na=h(L());var ia=na.css`
|
|
2
2
|
.ft-size-watcher--pixel {
|
|
3
3
|
width: 0;
|
|
4
4
|
height: 0;
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
|
-
`;var rr=function(t,e,r,
|
|
20
|
+
`;var rr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Pn=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},je=class extends Ir.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=nt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Ir.Debouncer}render(){return aa.html`
|
|
21
21
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
22
22
|
<div class="ft-size-watcher--watcher"></div>
|
|
23
23
|
</div>
|
|
24
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=
|
|
25
|
-
\f\r]`,
|
|
26
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),pa=/'/g,fa=/"/g,ba=/^(?:script|style|textarea|title)$/i,ga=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),va=ga(1),xa=ga(2),ar=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),ua=new WeakMap,yo=mo.createTreeWalker(mo,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sa!==void 0?sa.createHTML(e):e}var Pd=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":"",l=ir;for(let c=0;c<r;c++){let p=t[c],f,y,m=-1,b=0;for(;b<p.length&&(l.lastIndex=b,y=l.exec(p),y!==null);)b=l.lastIndex,l===ir?y[1]==="!--"?l=ca:y[1]!==void 0?l=da:y[2]!==void 0?(ba.test(y[2])&&(n=RegExp("</"+y[2],"g")),l=ho):y[3]!==void 0&&(l=ho):l===ho?y[0]===">"?(l=n??ir,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,f=y[1],l=y[3]===void 0?ho:y[3]==='"'?fa:pa):l===fa||l===pa?l=ho:l===ca||l===da?l=ir:(l=ho,n=void 0);let v=l===ho&&t[c+1].startsWith("/>")?" ":"";a+=l===ir?p+kd:m>=0?(i.push(f),p.slice(0,m)+ha+p.slice(m)+Kt+v):p+Kt+(m===-2?c:v)}return[Sa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),i]},lr=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,l=0,c=e.length-1,p=this.parts,[f,y]=Pd(e,r);if(this.el=t.createElement(f,i),yo.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=yo.nextNode())!==null&&p.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ha)){let b=y[l++],v=n.getAttribute(m).split(Kt),g=/([.?@])?(.*)/.exec(b);p.push({type:1,index:a,name:g[2],strings:v,ctor:g[1]==="."?Bi:g[1]==="?"?Di:g[1]==="@"?Fi:Fo}),n.removeAttribute(m)}else m.startsWith(Kt)&&(p.push({type:6,index:a}),n.removeAttribute(m));if(ba.test(n.tagName)){let m=n.textContent.split(Kt),b=m.length-1;if(b>0){n.textContent=Dr?Dr.emptyScript:"";for(let v=0;v<b;v++)n.append(m[v],Fr()),yo.nextNode(),p.push({type:2,index:++a});n.append(m[b],Fr())}}}else if(n.nodeType===8)if(n.data===ya)p.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(Kt,m+1))!==-1;)p.push({type:7,index:a}),m+=Kt.length-1}a++}}static createElement(e,r){let i=mo.createElement("template");return i.innerHTML=e,i}};function Do(t,e,r=t,i){if(e===ar)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=nr(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Do(t,n._$AS(t,e.values),n,i)),e}var Ii=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:i}=this._$AD,n=(e?.creationScope??mo).importNode(r,!0);yo.currentNode=n;let a=yo.nextNode(),l=0,c=0,p=i[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new _r(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new _i(a,this,e)),this._$AV.push(f),p=i[++c]}l!==p?.index&&(a=yo.nextNode(),l++)}return yo.currentNode=mo,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},_r=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.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=Do(this,e,r),nr(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==ar&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ad(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!==Se&&nr(this._$AH)?this._$AA.nextSibling.data=e:this.$(mo.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=lr.createElement(Sa(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Ii(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(e){let r=ua.get(e.strings);return r===void 0&&ua.set(e.strings,r=new lr(e)),r}T(e){ma(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.k(Fr()),this.k(Fr()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Se}_$AI(e,r=this,i,n){let a=this.strings,l=!1;if(a===void 0)e=Do(this,e,r,0),l=!nr(e)||e!==this._$AH&&e!==ar,l&&(this._$AH=e);else{let c=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=Do(this,c[i+p],r,p),f===ar&&(f=this._$AH[p]),l||=!nr(f)||f!==this._$AH[p],f===Se?e=Se:e!==Se&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}l&&!n&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bi=class extends Fo{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},Di=class extends Fo{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},Fi=class extends Fo{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Do(this,e,r,0)??Se)===ar)return;let i=this._$AH,n=e===Se&&i!==Se||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Se&&(i===Se||n);n&&this.element.removeEventListener(this.name,this,i),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)}},_i=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Do(this,e)}};var Id=zi.litHtmlPolyfillSupport;Id?.(lr,_r),(zi.litHtmlVersions??=[]).push("3.1.0");var Ca=Symbol.for(""),Bd=t=>{if(t?.r===Ca)return t?._$litStatic$},Ti=t=>({_$litStatic$:t,r:Ca});var Oa=new Map,wa=t=>(e,...r)=>{let i=r.length,n,a,l=[],c=[],p,f=0,y=!1;for(;f<i;){for(p=e[f];f<i&&(a=r[f],(n=Bd(a))!==void 0);)p+=n+e[++f],y=!0;f!==i&&c.push(a),l.push(p),f++}if(f===i&&l.push(e[i]),y){let m=l.join("$$lit$$");(e=Oa.get(m))===void 0&&(l.raw=l,Oa.set(m,e=l)),r=c}return t(e,...r)},Wi=wa(va),ff=wa(xa);var Mi=h(Y()),cl=h(w());var nt;(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"})(nt||(nt={}));var at=h(N()),E=h(w());var Pt=h(N(),1),Zt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=c=>Zt(c??n),l=Pt.css`var(${Zt(e)}, ${a(n)})`;return l.name=e,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(e,r,i,n){let a=c=>i.get(c??n),l=Pt.css`var(${Zt(e)}, ${a(n)})`;return l.name=e,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Zt(a??e.lastResortDefaultValue()),n=Pt.css`var(${Zt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>Pt.css`var(${Zt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var s={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"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),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)")},Ea={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")},$a={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")},Ra={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")},La={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")},Na={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")},ka={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")},Aa={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")},Pa={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")},Ia={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")},Dd={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")},Ba={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")},Da={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")},Fa={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")},_a={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")},za={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ta={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wa={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")},Ma={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")},Ua={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")},Ha={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")},Va={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")},ja={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")},Ga={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")},Ka={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")},Za={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")},qa={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")},zr={display:Ea,"title-1":$a,"title-2":Ra,"title-3":La,"body-1-regular":Na,"body-1-medium":ka,"body-1-semibold":Aa,"body-2-regular":Pa,"body-2-medium":Ia,"body-2-medium-underline":Dd,"body-2-semibold":Ba,"label-1-medium":Da,"label-1-semibold":Fa,"label-1-bold":_a,"label-2-medium":za,"label-2-semibold":Ta,"label-2-bold":Wa,"caption-1-medium":Ma,"caption-1-semibold":Ua,"caption-1-bold":Ha,"caption-2-medium":Va,"caption-2-semibold":ja,"caption-2-bold":Ga,"caption-3-medium":Ka,"caption-3-semibold":Za,"caption-3-bold":qa};var d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
27
|
-
Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var u={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:o.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:o.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var kf={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var M={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:o.extend("--ft-chip-large-gap","",s.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","",s.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",s.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","",s.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:o.extend("--ft-chip-small-gap","",s.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","",s.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 Tf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var Vf={iconSize:o.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",s.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 qf={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var eu={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",s.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 nu={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",s.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",s.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 du={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",s.spacing6),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),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:o.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",s.borderRadiusM)};var yu={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",s.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","",s.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",s.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","",s.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var xu={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",s.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","",s.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",s.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","",s.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Eu={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",s.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","",s.opacity40)};var ku={backgroundColor:o.extend("--ft-text-area-background-color","",s.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","",s.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Du={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",s.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","",s.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","",s.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Wu={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",s.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","",s.opacity40)};var ju={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",s.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","",s.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Yu={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",s.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","",s.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var th={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",s.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","",s.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",s.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","",s.iconSize3)};var ah={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:o.extend("--ft-switch-group-gap","",s.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","",s.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",s.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","",s.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",s.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","",s.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",s.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","",s.borderRadiusS)};var dh={color1Light:o.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",s.colorRed40),color5Base:o.extend("--ft-chart-5-base","",s.colorRed60),color6Light:o.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",s.colorGray50),color10Base:o.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var hh={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var vh={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:o.extend("--ft-notice-gap","",s.spacing2),iconSize:o.extend("--ft-notice-icon-size","",s.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 wh={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","",s.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.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","",s.spacing3)};var Nh={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",s.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","",s.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",s.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","",s.spacing3)};var Bh={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","",s.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",s.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","",s.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",s.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","",s.spacing3)};var Th={iconSize:o.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",s.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","",s.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",s.spacing8)};var Vh={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",s.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","",s.opacity80),shadow:o.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",s.spacing05)};var Tr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tr||(Tr={}));var Ne;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ne||(Ne={}));var Wr=h(N());function Ya(t){let e=zr[t];return Wr.css`
|
|
28
|
-
.ft-typography--${(0,
|
|
24
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=nt.S:this.size<976?this.category=nt.M:this.size<1024?this.category=nt.L:this.size<1440?this.category=nt.XL:this.category=nt.XXL,this.dispatchEvent(new Pn(this.size,this.category)))},this.debounceTimeout)}};je.elementDefinitions={};je.styles=ia;rr([(0,uo.property)({type:Number})],je.prototype,"debounceTimeout",void 0);rr([(0,uo.property)({type:Boolean})],je.prototype,"local",void 0);rr([(0,uo.property)({type:Number,reflect:!0})],je.prototype,"size",void 0);rr([(0,uo.property)({type:String,reflect:!0})],je.prototype,"category",void 0);rr([(0,uo.query)(".ft-size-watcher--watcher")],je.prototype,"watcher",void 0);(0,la.customElement)("ft-size-watcher")(je);var dl=h(w());var Tn=globalThis,Dr=Tn.trustedTypes,sa=Dr?Dr.createPolicy("lit-html",{createHTML:t=>t}):void 0,ha="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,ya="?"+Kt,Nd=`<${ya}>`,mo=document,Fr=()=>mo.createComment(""),ir=t=>t===null||typeof t!="object"&&typeof t!="function",ma=Array.isArray,Ad=t=>ma(t)||typeof t?.[Symbol.iterator]=="function",Bn=`[
|
|
25
|
+
\f\r]`,nr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ca=/-->/g,da=/>/g,ho=RegExp(`>|${Bn}(?:([^\\s"'>=/]+)(${Bn}*=${Bn}*(?:[^
|
|
26
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),pa=/'/g,fa=/"/g,ga=/^(?:script|style|textarea|title)$/i,ba=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),xa=ba(1),va=ba(2),ar=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),ua=new WeakMap,yo=mo.createTreeWalker(mo,129);function Sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sa!==void 0?sa.createHTML(e):e}var Pd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",l=nr;for(let c=0;c<r;c++){let p=t[c],f,y,m=-1,g=0;for(;g<p.length&&(l.lastIndex=g,y=l.exec(p),y!==null);)g=l.lastIndex,l===nr?y[1]==="!--"?l=ca:y[1]!==void 0?l=da:y[2]!==void 0?(ga.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=ho):y[3]!==void 0&&(l=ho):l===ho?y[0]===">"?(l=i??nr,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,f=y[1],l=y[3]===void 0?ho:y[3]==='"'?fa:pa):l===fa||l===pa?l=ho:l===ca||l===da?l=nr:(l=ho,i=void 0);let x=l===ho&&t[c+1].startsWith("/>")?" ":"";a+=l===nr?p+Nd:m>=0?(n.push(f),p.slice(0,m)+ha+p.slice(m)+Kt+x):p+Kt+(m===-2?c:x)}return[Sa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},lr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,l=0,c=e.length-1,p=this.parts,[f,y]=Pd(e,r);if(this.el=t.createElement(f,n),yo.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=yo.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(ha)){let g=y[l++],x=i.getAttribute(m).split(Kt),b=/([.?@])?(.*)/.exec(g);p.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?Dn:b[1]==="?"?Fn:b[1]==="@"?zn:Fo}),i.removeAttribute(m)}else m.startsWith(Kt)&&(p.push({type:6,index:a}),i.removeAttribute(m));if(ga.test(i.tagName)){let m=i.textContent.split(Kt),g=m.length-1;if(g>0){i.textContent=Dr?Dr.emptyScript:"";for(let x=0;x<g;x++)i.append(m[x],Fr()),yo.nextNode(),p.push({type:2,index:++a});i.append(m[g],Fr())}}}else if(i.nodeType===8)if(i.data===ya)p.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(Kt,m+1))!==-1;)p.push({type:7,index:a}),m+=Kt.length-1}a++}}static createElement(e,r){let n=mo.createElement("template");return n.innerHTML=e,n}};function Do(t,e,r=t,n){if(e===ar)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ir(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=Do(t,i._$AS(t,e.values),i,n)),e}var In=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??mo).importNode(r,!0);yo.currentNode=i;let a=yo.nextNode(),l=0,c=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new zr(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new _n(a,this,e)),this._$AV.push(f),p=n[++c]}l!==p?.index&&(a=yo.nextNode(),l++)}return yo.currentNode=mo,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++}},zr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=Se,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=Do(this,e,r),ir(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==ar&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ad(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!==Se&&ir(this._$AH)?this._$AA.nextSibling.data=e:this.$(mo.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=lr.createElement(Sa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new In(i,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(e){let r=ua.get(e.strings);return r===void 0&&ua.set(e.strings,r=new lr(e)),r}T(e){ma(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(Fr()),this.k(Fr()),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))}},Fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=Se,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=Se}_$AI(e,r=this,n,i){let a=this.strings,l=!1;if(a===void 0)e=Do(this,e,r,0),l=!ir(e)||e!==this._$AH&&e!==ar,l&&(this._$AH=e);else{let c=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=Do(this,c[n+p],r,p),f===ar&&(f=this._$AH[p]),l||=!ir(f)||f!==this._$AH[p],f===Se?e=Se:e!==Se&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}l&&!i&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Dn=class extends Fo{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},Fn=class extends Fo{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},zn=class extends Fo{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Do(this,e,r,0)??Se)===ar)return;let n=this._$AH,i=e===Se&&n!==Se||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==Se&&(n===Se||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)}},_n=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){Do(this,e)}};var Bd=Tn.litHtmlPolyfillSupport;Bd?.(lr,zr),(Tn.litHtmlVersions??=[]).push("3.1.0");var Ca=Symbol.for(""),Id=t=>{if(t?.r===Ca)return t?._$litStatic$},Mn=t=>({_$litStatic$:t,r:Ca});var Oa=new Map,wa=t=>(e,...r)=>{let n=r.length,i,a,l=[],c=[],p,f=0,y=!1;for(;f<n;){for(p=e[f];f<n&&(a=r[f],(i=Id(a))!==void 0);)p+=i+e[++f],y=!0;f!==n&&c.push(a),l.push(p),f++}if(f===n&&l.push(e[n]),y){let m=l.join("$$lit$$");(e=Oa.get(m))===void 0&&(l.raw=l,Oa.set(m,e=l)),r=c}return t(e,...r)},Wn=wa(xa),ff=wa(va);var Un=h(Y()),cl=h(w());var it;(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"})(it||(it={}));var at=h(L()),E=h(w());var Pt=h(L(),1),Zt=t=>typeof t=="string"?(0,Pt.unsafeCSS)(t):t,o=class{static create(e,r,n,i){let a=c=>Zt(c??i),l=Pt.css`var(${Zt(e)}, ${a(i)})`;return l.name=e,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,r,n,i){let a=c=>n.get(c??i),l=Pt.css`var(${Zt(e)}, ${a(i)})`;return l.name=e,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=a,l.get=c=>Pt.css`var(${Zt(e)}, ${a(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Zt(a??e.lastResortDefaultValue()),i=Pt.css`var(${Zt(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=>Pt.css`var(${Zt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var s={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"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),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)")},Ea={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")},$a={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")},Ra={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")},ka={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")},La={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")},Na={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")},Aa={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")},Pa={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")},Ba={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")},Dd={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")},Ia={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")},Da={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")},Fa={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")},za={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")},_a={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ta={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ua={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")},Ha={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")},Va={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")},Ga={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")},ja={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")},Ka={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")},Za={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")},qa={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")},_r={display:Ea,"title-1":$a,"title-2":Ra,"title-3":ka,"body-1-regular":La,"body-1-medium":Na,"body-1-semibold":Aa,"body-2-regular":Pa,"body-2-medium":Ba,"body-2-medium-underline":Dd,"body-2-semibold":Ia,"label-1-medium":Da,"label-1-semibold":Fa,"label-1-bold":za,"label-2-medium":_a,"label-2-semibold":Ta,"label-2-bold":Ma,"caption-1-medium":Wa,"caption-1-semibold":Ua,"caption-1-bold":Ha,"caption-2-medium":Va,"caption-2-semibold":Ga,"caption-2-bold":ja,"caption-3-medium":Ka,"caption-3-semibold":Za,"caption-3-bold":qa};var d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
27
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var u={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:o.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:o.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Nf={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var W={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:o.extend("--ft-chip-large-gap","",s.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","",s.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",s.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","",s.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:o.extend("--ft-chip-small-gap","",s.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","",s.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 Tf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var Vf={iconSize:o.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",s.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 qf={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var eu={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var iu={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var du={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var hu={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var xu={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",s.spacing6),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),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:o.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",s.borderRadiusM)};var wu={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",s.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","",s.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",s.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","",s.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var Lu={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",s.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","",s.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",s.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","",s.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Iu={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",s.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","",s.opacity40)};var Tu={backgroundColor:o.extend("--ft-text-area-background-color","",s.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","",s.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Vu={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",s.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","",s.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","",s.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var qu={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",s.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","",s.opacity40)};var eh={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",s.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","",s.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var ih={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",s.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","",s.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var dh={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",s.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","",s.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",s.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","",s.iconSize3)};var yh={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:o.extend("--ft-switch-group-gap","",s.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","",s.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",s.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","",s.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",s.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","",s.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",s.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","",s.borderRadiusS)};var xh={color1Light:o.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",s.colorRed40),color5Base:o.extend("--ft-chart-5-base","",s.colorRed60),color6Light:o.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",s.colorGray50),color10Base:o.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Ch={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var kh={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:o.extend("--ft-notice-gap","",s.spacing2),iconSize:o.extend("--ft-notice-icon-size","",s.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 Bh={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","",s.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.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","",s.spacing3)};var _h={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",s.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","",s.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",s.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","",s.spacing3)};var Hh={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","",s.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",s.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","",s.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",s.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","",s.spacing3)};var Zh={iconSize:o.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",s.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","",s.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",s.spacing8)};var Qh={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",s.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","",s.opacity80),shadow:o.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",s.spacing05)};var Tr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tr||(Tr={}));var Le;(function(t){t.large="large",t.medium="medium",t.small="small"})(Le||(Le={}));var Mr=h(L());function Ya(t){let e=_r[t];return Mr.css`
|
|
28
|
+
.ft-typography--${(0,Mr.unsafeCSS)(t)} {
|
|
29
29
|
font-family: ${e.fontFamily};
|
|
30
30
|
font-size: ${e.fontSize};
|
|
31
31
|
font-weight: ${e.fontWeight};
|
|
@@ -33,17 +33,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
33
33
|
line-height: ${e.lineHeight};
|
|
34
34
|
text-transform: ${e.textCase};
|
|
35
35
|
}
|
|
36
|
-
`}var Xa=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),
|
|
36
|
+
`}var Xa=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),It=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.contentFont),$={fontFamily:It,fontSize:E.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:E.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:E.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:E.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:E.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},zo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xa),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit")},_o={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xa),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit")},To={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit")},Mo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit")},Bt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit")},Ce={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit")},ft={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit")},Wo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit")},Uo={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase")},St={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-button-font-family","",It),fontSize:E.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Ja=at.css`
|
|
37
37
|
.ft-typography--title {
|
|
38
|
-
font-family: ${_o.fontFamily};
|
|
39
|
-
font-size: ${_o.fontSize};
|
|
40
|
-
font-weight: ${_o.fontWeight};
|
|
41
|
-
letter-spacing: ${_o.letterSpacing};
|
|
42
|
-
line-height: ${_o.lineHeight};
|
|
43
|
-
text-transform: ${_o.textTransform};
|
|
44
|
-
}
|
|
45
|
-
`,Qa=at.css`
|
|
46
|
-
.ft-typography--title-dense {
|
|
47
38
|
font-family: ${zo.fontFamily};
|
|
48
39
|
font-size: ${zo.fontSize};
|
|
49
40
|
font-weight: ${zo.fontWeight};
|
|
@@ -51,6 +42,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
51
42
|
line-height: ${zo.lineHeight};
|
|
52
43
|
text-transform: ${zo.textTransform};
|
|
53
44
|
}
|
|
45
|
+
`,Qa=at.css`
|
|
46
|
+
.ft-typography--title-dense {
|
|
47
|
+
font-family: ${_o.fontFamily};
|
|
48
|
+
font-size: ${_o.fontSize};
|
|
49
|
+
font-weight: ${_o.fontWeight};
|
|
50
|
+
letter-spacing: ${_o.letterSpacing};
|
|
51
|
+
line-height: ${_o.lineHeight};
|
|
52
|
+
text-transform: ${_o.textTransform};
|
|
53
|
+
}
|
|
54
54
|
`,el=at.css`
|
|
55
55
|
.ft-typography--subtitle1 {
|
|
56
56
|
font-family: ${To.fontFamily};
|
|
@@ -62,22 +62,22 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
62
62
|
}
|
|
63
63
|
`,tl=at.css`
|
|
64
64
|
.ft-typography--subtitle2 {
|
|
65
|
-
font-family: ${
|
|
66
|
-
font-size: ${
|
|
67
|
-
font-weight: ${
|
|
68
|
-
letter-spacing: ${
|
|
69
|
-
line-height: ${
|
|
70
|
-
text-transform: ${
|
|
65
|
+
font-family: ${Mo.fontFamily};
|
|
66
|
+
font-size: ${Mo.fontSize};
|
|
67
|
+
font-weight: ${Mo.fontWeight};
|
|
68
|
+
letter-spacing: ${Mo.letterSpacing};
|
|
69
|
+
line-height: ${Mo.lineHeight};
|
|
70
|
+
text-transform: ${Mo.textTransform};
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
`,ol=at.css`
|
|
74
74
|
.ft-typography--body1 {
|
|
75
|
-
font-family: ${
|
|
76
|
-
font-size: ${
|
|
77
|
-
font-weight: ${
|
|
78
|
-
letter-spacing: ${
|
|
79
|
-
line-height: ${
|
|
80
|
-
text-transform: ${
|
|
75
|
+
font-family: ${Bt.fontFamily};
|
|
76
|
+
font-size: ${Bt.fontSize};
|
|
77
|
+
font-weight: ${Bt.fontWeight};
|
|
78
|
+
letter-spacing: ${Bt.letterSpacing};
|
|
79
|
+
line-height: ${Bt.lineHeight};
|
|
80
|
+
text-transform: ${Bt.textTransform};
|
|
81
81
|
}
|
|
82
82
|
`,Ho=at.css`
|
|
83
83
|
.ft-typography--body2 {
|
|
@@ -99,14 +99,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
99
99
|
}
|
|
100
100
|
`,rl=at.css`
|
|
101
101
|
.ft-typography--breadcrumb {
|
|
102
|
-
font-family: ${
|
|
103
|
-
font-size: ${
|
|
104
|
-
font-weight: ${
|
|
105
|
-
letter-spacing: ${
|
|
106
|
-
line-height: ${
|
|
107
|
-
text-transform: ${
|
|
102
|
+
font-family: ${Wo.fontFamily};
|
|
103
|
+
font-size: ${Wo.fontSize};
|
|
104
|
+
font-weight: ${Wo.fontWeight};
|
|
105
|
+
letter-spacing: ${Wo.letterSpacing};
|
|
106
|
+
line-height: ${Wo.lineHeight};
|
|
107
|
+
text-transform: ${Wo.textTransform};
|
|
108
108
|
}
|
|
109
|
-
`,
|
|
109
|
+
`,nl=at.css`
|
|
110
110
|
.ft-typography--overline {
|
|
111
111
|
font-family: ${Uo.fontFamily};
|
|
112
112
|
font-size: ${Uo.fontSize};
|
|
@@ -115,7 +115,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
115
115
|
line-height: ${Uo.lineHeight};
|
|
116
116
|
text-transform: ${Uo.textTransform};
|
|
117
117
|
}
|
|
118
|
-
`,
|
|
118
|
+
`,il=at.css`
|
|
119
119
|
.ft-typography--button {
|
|
120
120
|
font-family: ${St.fontFamily};
|
|
121
121
|
font-size: ${St.fontSize};
|
|
@@ -128,15 +128,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
128
128
|
.ft-typography {
|
|
129
129
|
vertical-align: inherit;
|
|
130
130
|
}
|
|
131
|
-
`,ll=[Object.keys(
|
|
132
|
-
<${
|
|
131
|
+
`,ll=[Object.keys(_r).map(t=>Ya(t))];var sl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},q=class extends cl.FtLitElement{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?Wn`
|
|
132
|
+
<${Mn(this.element)}
|
|
133
133
|
part="text"
|
|
134
134
|
class="ft-typography ft-typography--${this.variant}">
|
|
135
135
|
<slot></slot>
|
|
136
|
-
</${
|
|
137
|
-
`:
|
|
136
|
+
</${Mn(this.element)}>
|
|
137
|
+
`:Wn`
|
|
138
138
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
139
|
-
`}};q.styles=[Ja,Qa,el,tl,ol,Ho,qt,rl,il,
|
|
139
|
+
`}};q.styles=[Ja,Qa,el,tl,ol,Ho,qt,rl,nl,il,al,...ll];sl([(0,Un.property)()],q.prototype,"element",void 0);sl([(0,Un.property)()],q.prototype,"variant",void 0);(0,dl.customElement)("ft-typography")(q);var Hn=h(w());function Wr(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function pl(t){return Wr(t).split("|").pop()}function fl(t){return Wr(t).split("|").join(" > ")}function ul(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>ul(r,t.selected)),value:t.value}}function hl(t){return(0,Hn.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Vn(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>ul(e,!1))}}function yl(t){return(0,Hn.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var li=h(w());var wo=h(L()),X=h(Y()),st=h(w());var Ye=h(L()),Oe=h(Y()),zs=h(fo()),tn=h(w());var ri=h(w());var gr=h(Y()),gs=h(w());var Ll=h(L()),D=h(w());var Sl=h(L()),me=h(w()),ml=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorContent),O={color:ml,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",ml),opacityContentOnSurfacePressed:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.FtCssVariableFactory.external(me.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},gl=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorPrimary),bl={color:gl,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",gl)},xl=me.FtCssVariableFactory.extend("--ft-ripple-color","",me.designSystemVariables.colorSecondary),vl={color:xl,backgroundColor:me.FtCssVariableFactory.extend("--ft-ripple-background-color","",xl)},Ol=Sl.css`
|
|
140
140
|
:host {
|
|
141
141
|
display: contents;
|
|
142
142
|
}
|
|
@@ -191,19 +191,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
194
|
-
background-color: ${
|
|
194
|
+
background-color: ${vl.backgroundColor};
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
198
|
-
background-color: ${
|
|
198
|
+
background-color: ${vl.color};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
202
|
-
background-color: ${
|
|
202
|
+
background-color: ${bl.backgroundColor};
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
206
|
-
background-color: ${
|
|
206
|
+
background-color: ${bl.color};
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.ft-ripple .ft-ripple--background {
|
|
@@ -248,7 +248,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
248
248
|
opacity: ${O.opacityContentOnSurfacePressed};
|
|
249
249
|
transform: translate(-50%, -50%) scale(1);
|
|
250
250
|
}
|
|
251
|
-
`;var Cl=h(
|
|
251
|
+
`;var Cl=h(L()),sr=h(w()),ne={color:sr.FtCssVariableFactory.extend("--ft-loader-color","",sr.designSystemVariables.colorPrimary),size:sr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},wl=Cl.css`
|
|
252
252
|
:host {
|
|
253
253
|
line-height: 0;
|
|
254
254
|
}
|
|
@@ -257,8 +257,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
257
257
|
display: inline-block;
|
|
258
258
|
position: relative;
|
|
259
259
|
|
|
260
|
-
width: ${
|
|
261
|
-
height: ${
|
|
260
|
+
width: ${ne.size};
|
|
261
|
+
height: ${ne.size};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
.ft-loader div {
|
|
@@ -267,7 +267,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
267
267
|
width: 25%;
|
|
268
268
|
height: 25%;
|
|
269
269
|
border-radius: 50%;
|
|
270
|
-
background: ${
|
|
270
|
+
background: ${ne.color};
|
|
271
271
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
272
272
|
}
|
|
273
273
|
|
|
@@ -314,10 +314,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
314
314
|
transform: translate(0, 0);
|
|
315
315
|
}
|
|
316
316
|
100% {
|
|
317
|
-
transform: translate(calc(0.35 * ${
|
|
317
|
+
transform: translate(calc(0.35 * ${ne.size}), 0);
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
`;var El=h(
|
|
320
|
+
`;var El=h(L()),Dt=h(w()),de={size:Dt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Dt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Dt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Dt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$l=El.css`
|
|
321
321
|
:host, i.ft-icon {
|
|
322
322
|
display: inline-flex;
|
|
323
323
|
align-items: center;
|
|
@@ -365,7 +365,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
365
365
|
.ft-icon--material {
|
|
366
366
|
font-family: ${de.materialFontFamily}, "Material Icons", sans-serif;
|
|
367
367
|
}
|
|
368
|
-
`;var Rl=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),U={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Rl,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",St.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Rl),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},
|
|
368
|
+
`;var Rl=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),U={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Rl,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",St.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Rl),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},kl=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Gn={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:kl,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",kl)},Ot={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Nl=[Ll.css`
|
|
369
369
|
:host {
|
|
370
370
|
display: inline-block;
|
|
371
371
|
max-width: 100%;
|
|
@@ -450,9 +450,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
450
450
|
}
|
|
451
451
|
|
|
452
452
|
.ft-button.ft-button--primary {
|
|
453
|
-
background-color: ${
|
|
454
|
-
--ft-button-internal-color: ${
|
|
455
|
-
${(0,D.setVariable)(O.color,
|
|
453
|
+
background-color: ${Gn.backgroundColor};
|
|
454
|
+
--ft-button-internal-color: ${Gn.color};
|
|
455
|
+
${(0,D.setVariable)(O.color,Gn.rippleColor)};
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.ft-button:focus {
|
|
@@ -498,21 +498,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
ft-loader {
|
|
501
|
-
${(0,D.setVariable)(
|
|
502
|
-
${(0,D.setVariable)(
|
|
501
|
+
${(0,D.setVariable)(ne.size,U.iconSize)};
|
|
502
|
+
${(0,D.setVariable)(ne.color,"var(--ft-button-internal-color)")};
|
|
503
503
|
}
|
|
504
|
-
`,D.noTextSelect];var Qt=h(w());var
|
|
504
|
+
`,D.noTextSelect];var Qt=h(w());var Il=h(w());var Pl=h(L()),we=h(Y()),Bl=h(lt()),cr=h(w());var ze=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},T=class extends cr.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 cr.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 cr.Debouncer(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),l=(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-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.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 Pl.html`
|
|
505
505
|
<style>
|
|
506
506
|
.ft-ripple .ft-ripple--effect {
|
|
507
507
|
left: ${this.originX}px;
|
|
508
508
|
top: ${this.originY}px;
|
|
509
509
|
}
|
|
510
510
|
</style>
|
|
511
|
-
<div class="${(0,
|
|
511
|
+
<div class="${(0,Bl.classMap)(e)}">
|
|
512
512
|
<div class="ft-ripple--background"></div>
|
|
513
513
|
<div class="ft-ripple--effect"></div>
|
|
514
514
|
</div>
|
|
515
|
-
`}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,
|
|
515
|
+
`}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=(...c)=>p=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",n,l),e.addEventListener("touchstart",i,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",a,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",n,l),e.removeEventListener("touchstart",i,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",a,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 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()}};T.elementDefinitions={};T.styles=Ol;ze([(0,we.property)({type:Boolean})],T.prototype,"primary",void 0);ze([(0,we.property)({type:Boolean})],T.prototype,"secondary",void 0);ze([(0,we.property)({type:Boolean})],T.prototype,"unbounded",void 0);ze([(0,we.property)({type:Boolean})],T.prototype,"activated",void 0);ze([(0,we.property)({type:Boolean})],T.prototype,"selected",void 0);ze([(0,we.property)({type:Boolean})],T.prototype,"disabled",void 0);ze([(0,we.state)()],T.prototype,"hovered",void 0);ze([(0,we.state)()],T.prototype,"focused",void 0);ze([(0,we.state)()],T.prototype,"pressed",void 0);ze([(0,we.state)()],T.prototype,"rippling",void 0);ze([(0,we.state)()],T.prototype,"originX",void 0);ze([(0,we.state)()],T.prototype,"originY",void 0);ze([(0,we.query)(".ft-ripple")],T.prototype,"ripple",void 0);ze([(0,we.query)(".ft-ripple--effect")],T.prototype,"rippleEffect",void 0);(0,Il.customElement)("ft-ripple")(T);var as=h(w());var is=h(L()),be=h(Y()),yr=h(w());var Dl=h(L()),Ft=h(w()),Yt={distance:Ft.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ft.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ft.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ft.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ft.FtCssVariableFactory.external(Ft.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ft.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Fl=Dl.css`
|
|
516
516
|
.ft-tooltip--container {
|
|
517
517
|
display: block;
|
|
518
518
|
}
|
|
@@ -541,7 +541,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
541
541
|
position: relative;
|
|
542
542
|
word-break: break-word;
|
|
543
543
|
}
|
|
544
|
-
`;var zl=["top","right","bottom","left"],_l=["start","end"],Gi=zl.reduce((t,e)=>t.concat(e,e+"-"+_l[0],e+"-"+_l[1]),[]),dr=Math.min,Xt=Math.max,pr=Math.round;var _t=t=>({x:t,y:t}),Fd={left:"right",right:"left",bottom:"top",top:"bottom"},_d={start:"end",end:"start"};function Ki(t,e,r){return Xt(t,dr(e,r))}function Ur(t,e){return typeof t=="function"?t(e):t}function Vo(t){return t.split("-")[0]}function Jt(t){return t.split("-")[1]}function Zi(t){return t==="x"?"y":"x"}function qi(t){return t==="y"?"height":"width"}function Hr(t){return["top","bottom"].includes(Vo(t))?"y":"x"}function Yi(t){return Zi(Hr(t))}function Tl(t,e,r){r===void 0&&(r=!1);let i=Jt(t),n=Yi(t),a=qi(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=ji(l)),[l,ji(l)]}function Wl(t){return t.replace(/start|end/g,e=>_d[e])}function ji(t){return t.replace(/left|right|bottom|top/g,e=>Fd[e])}function zd(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ml(t){return typeof t!="number"?zd(t):{top:t,right:t,bottom:t,left:t}}function bo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ul(t,e,r){let{reference:i,floating:n}=t,a=Hr(e),l=Yi(e),c=qi(l),p=Vo(e),f=a==="y",y=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[c]/2-n[c]/2,v;switch(p){case"top":v={x:y,y:i.y-n.height};break;case"bottom":v={x:y,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:m};break;case"left":v={x:i.x-n.width,y:m};break;default:v={x:i.x,y:i.y}}switch(Jt(e)){case"start":v[l]-=b*(r&&f?-1:1);break;case"end":v[l]+=b*(r&&f?-1:1);break}return v}var Hl=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=r,c=a.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:n}),{x:y,y:m}=Ul(f,i,p),b=i,v={},g=0;for(let S=0;S<c.length;S++){let{name:k,fn:R}=c[S],{x:L,y:B,data:j,reset:Q}=await R({x:y,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:v,rects:f,platform:l,elements:{reference:t,floating:e}});if(y=L??y,m=B??m,v={...v,[k]:{...v[k],...j}},Q&&g<=50){g++,typeof Q=="object"&&(Q.placement&&(b=Q.placement),Q.rects&&(f=Q.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:n}):Q.rects),{x:y,y:m}=Ul(f,b,p)),S=-1;continue}}return{x:y,y:m,placement:b,strategy:n,middlewareData:v}};async function Xi(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:l,elements:c,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:b=!1,padding:v=0}=Ur(e,t),g=Ml(v),k=c[b?m==="floating"?"reference":"floating":m],R=bo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(k)))==null||r?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:y,strategy:p})),L=m==="floating"?{...l.floating,x:i,y:n}:l.reference,B=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),j=await(a.isElement==null?void 0:a.isElement(B))?await(a.getScale==null?void 0:a.getScale(B))||{x:1,y:1}:{x:1,y:1},Q=bo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:B,strategy:p}):L);return{top:(R.top-Q.top+g.top)/j.y,bottom:(Q.bottom-R.bottom+g.bottom)/j.y,left:(R.left-Q.left+g.left)/j.x,right:(Q.right-R.right+g.right)/j.x}}function Td(t,e,r){return(t?[...r.filter(n=>Jt(n)===t),...r.filter(n=>Jt(n)!==t)]:r.filter(n=>Vo(n)===n)).filter(n=>t?Jt(n)===t||(e?Wl(n)!==n:!1):!0)}var Ji=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:l,placement:c,platform:p,elements:f}=e,{crossAxis:y=!1,alignment:m,allowedPlacements:b=Gi,autoAlignment:v=!0,...g}=Ur(t,e),S=m!==void 0||b===Gi?Td(m||null,v,b):b,k=await Xi(e,g),R=((r=l.autoPlacement)==null?void 0:r.index)||0,L=S[R];if(L==null)return{};let B=Tl(L,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(c!==L)return{reset:{placement:S[0]}};let j=[k[Vo(L)],k[B[0]],k[B[1]]],Q=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:L,overflows:j}],ot=S[R+1];if(ot)return{data:{index:R+1,overflows:Q},reset:{placement:ot}};let jt=Q.map(Ve=>{let rt=Jt(Ve.placement);return[Ve.placement,rt&&y?Ve.overflows.slice(0,2).reduce((je,po)=>je+po,0):Ve.overflows[0],Ve.overflows]}).sort((Ve,rt)=>Ve[1]-rt[1]),Gt=((n=jt.filter(Ve=>Ve[2].slice(0,Jt(Ve[0])?2:3).every(rt=>rt<=0))[0])==null?void 0:n[0])||jt[0][0];return Gt!==c?{data:{index:R+1,overflows:Q},reset:{placement:Gt}}:{}}}};var Qi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:k=>{let{x:R,y:L}=k;return{x:R,y:L}}},...p}=Ur(t,e),f={x:r,y:i},y=await Xi(e,p),m=Hr(Vo(n)),b=Zi(m),v=f[b],g=f[m];if(a){let k=b==="y"?"top":"left",R=b==="y"?"bottom":"right",L=v+y[k],B=v-y[R];v=Ki(L,v,B)}if(l){let k=m==="y"?"top":"left",R=m==="y"?"bottom":"right",L=g+y[k],B=g-y[R];g=Ki(L,g,B)}let S=c.fn({...e,[b]:v,[m]:g});return{...S,data:{x:S.x-r,y:S.y-i}}}}};function zt(t){return jl(t)?(t.nodeName||"").toLowerCase():"#document"}function ze(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Tt(t){var e;return(e=(jl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function jl(t){return t instanceof Node||t instanceof ze(t).Node}function Ct(t){return t instanceof Element||t instanceof ze(t).Element}function ut(t){return t instanceof HTMLElement||t instanceof ze(t).HTMLElement}function Vl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ze(t).ShadowRoot}function jo(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function Gl(t){return["table","td","th"].includes(zt(t))}function jr(t){let e=Gr(),r=Ke(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(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Kl(t){let e=go(t);for(;ut(e)&&!fr(e);){if(jr(e))return e;e=go(e)}return null}function Gr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fr(t){return["html","body","#document"].includes(zt(t))}function Ke(t){return ze(t).getComputedStyle(t)}function ur(t){return Ct(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function go(t){if(zt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vl(t)&&t.host||Tt(t);return Vl(e)?e.host:e}function Zl(t){let e=go(t);return fr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ut(e)&&jo(e)?e:Zl(e)}function Vr(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Zl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),l=ze(n);return a?e.concat(l,l.visualViewport||[],jo(n)?n:[],l.frameElement&&r?Vr(l.frameElement):[]):e.concat(n,Vr(n,[],r))}function Xl(t){let e=Ke(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ut(t),a=n?t.offsetWidth:r,l=n?t.offsetHeight:i,c=pr(r)!==a||pr(i)!==l;return c&&(r=a,i=l),{width:r,height:i,$:c}}function Jl(t){return Ct(t)?t:t.contextElement}function Go(t){let e=Jl(t);if(!ut(e))return _t(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Xl(e),l=(a?pr(r.width):r.width)/i,c=(a?pr(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Ud=_t(0);function Ql(t){let e=ze(t);return!Gr()||!e.visualViewport?Ud:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hd(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ze(t)?!1:e}function hr(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=Jl(t),l=_t(1);e&&(i?Ct(i)&&(l=Go(i)):l=Go(t));let c=Hd(a,r,i)?Ql(a):_t(0),p=(n.left+c.x)/l.x,f=(n.top+c.y)/l.y,y=n.width/l.x,m=n.height/l.y;if(a){let b=ze(a),v=i&&Ct(i)?ze(i):i,g=b.frameElement;for(;g&&i&&v!==b;){let S=Go(g),k=g.getBoundingClientRect(),R=Ke(g),L=k.left+(g.clientLeft+parseFloat(R.paddingLeft))*S.x,B=k.top+(g.clientTop+parseFloat(R.paddingTop))*S.y;p*=S.x,f*=S.y,y*=S.x,m*=S.y,p+=L,f+=B,g=ze(g).frameElement}}return bo({width:y,height:m,x:p,y:f})}function Vd(t){let{rect:e,offsetParent:r,strategy:i}=t,n=ut(r),a=Tt(r);if(r===a)return e;let l={scrollLeft:0,scrollTop:0},c=_t(1),p=_t(0);if((n||!n&&i!=="fixed")&&((zt(r)!=="body"||jo(a))&&(l=ur(r)),ut(r))){let f=hr(r);c=Go(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-l.scrollLeft*c.x+p.x,y:e.y*c.y-l.scrollTop*c.y+p.y}}function jd(t){return Array.from(t.getClientRects())}function es(t){return hr(Tt(t)).left+ur(t).scrollLeft}function Gd(t){let e=Tt(t),r=ur(t),i=t.ownerDocument.body,n=Xt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Xt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+es(t),c=-r.scrollTop;return Ke(i).direction==="rtl"&&(l+=Xt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:c}}function Kd(t,e){let r=ze(t),i=Tt(t),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,c=0,p=0;if(n){a=n.width,l=n.height;let f=Gr();(!f||f&&e==="fixed")&&(c=n.offsetLeft,p=n.offsetTop)}return{width:a,height:l,x:c,y:p}}function Zd(t,e){let r=hr(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=ut(t)?Go(t):_t(1),l=t.clientWidth*a.x,c=t.clientHeight*a.y,p=n*a.x,f=i*a.y;return{width:l,height:c,x:p,y:f}}function ql(t,e,r){let i;if(e==="viewport")i=Kd(t,r);else if(e==="document")i=Gd(Tt(t));else if(Ct(e))i=Zd(e,r);else{let n=Ql(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return bo(i)}function ts(t,e){let r=go(t);return r===e||!Ct(r)||fr(r)?!1:Ke(r).position==="fixed"||ts(r,e)}function qd(t,e){let r=e.get(t);if(r)return r;let i=Vr(t,[],!1).filter(c=>Ct(c)&&zt(c)!=="body"),n=null,a=Ke(t).position==="fixed",l=a?go(t):t;for(;Ct(l)&&!fr(l);){let c=Ke(l),p=jr(l);!p&&c.position==="fixed"&&(n=null),(a?!p&&!n:!p&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||jo(l)&&!p&&ts(t,l))?i=i.filter(y=>y!==l):n=c,l=go(l)}return e.set(t,i),i}function Yd(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,l=[...r==="clippingAncestors"?qd(e,this._c):[].concat(r),i],c=l[0],p=l.reduce((f,y)=>{let m=ql(e,y,n);return f.top=Xt(m.top,f.top),f.right=dr(m.right,f.right),f.bottom=dr(m.bottom,f.bottom),f.left=Xt(m.left,f.left),f},ql(e,c,n));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Xd(t){return Xl(t)}function Jd(t,e,r){let i=ut(e),n=Tt(e),a=r==="fixed",l=hr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},p=_t(0);if(i||!i&&!a)if((zt(e)!=="body"||jo(n))&&(c=ur(e)),i){let f=hr(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else n&&(p.x=es(n));return{x:l.left+c.scrollLeft-p.x,y:l.top+c.scrollTop-p.y,width:l.width,height:l.height}}function Yl(t,e){return!ut(t)||Ke(t).position==="fixed"?null:e?e(t):t.offsetParent}function os(t,e){let r=ze(t);if(!ut(t))return r;let i=Yl(t,e);for(;i&&Gl(i)&&Ke(i).position==="static";)i=Yl(i,e);return i&&(zt(i)==="html"||zt(i)==="body"&&Ke(i).position==="static"&&!jr(i))?r:i||Kl(t)||r}var Qd=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||os,a=this.getDimensions;return{reference:Jd(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function ep(t){return Ke(t).direction==="rtl"}var Kr={convertOffsetParentRelativeRectToViewportRelativeRect:Vd,getDocumentElement:Tt,getClippingRect:Yd,getOffsetParent:os,getElementRects:Qd,getClientRects:jd,getDimensions:Xd,getScale:Go,isElement:Ct,isRTL:ep};var rs=(t,e,r)=>{let i=new Map,n={platform:Kr,...r},a={...n.platform,_c:i};return Hl(t,e,{...n,platform:a})};function is(t){return tp(t)}function en(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function tp(t){for(let e=t;e;e=en(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=en(t);e;e=en(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 Zr(t,e,r){return rs(t,e,{platform:{...Kr,getOffsetParent:i=>Kr.getOffsetParent(i,is)},middleware:[Qi({crossAxis:!0}),Ji({allowedPlacements:[r]})]})}var Te=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ne=class extends yr.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 yr.Debouncer,this.revealDebouncer=new yr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ns.html`
|
|
544
|
+
`;var _l=["top","right","bottom","left"],zl=["start","end"],Kn=_l.reduce((t,e)=>t.concat(e,e+"-"+zl[0],e+"-"+zl[1]),[]),dr=Math.min,Xt=Math.max,pr=Math.round;var zt=t=>({x:t,y:t}),Fd={left:"right",right:"left",bottom:"top",top:"bottom"},zd={start:"end",end:"start"};function Zn(t,e,r){return Xt(t,dr(e,r))}function Ur(t,e){return typeof t=="function"?t(e):t}function Vo(t){return t.split("-")[0]}function Jt(t){return t.split("-")[1]}function qn(t){return t==="x"?"y":"x"}function Yn(t){return t==="y"?"height":"width"}function Hr(t){return["top","bottom"].includes(Vo(t))?"y":"x"}function Xn(t){return qn(Hr(t))}function Tl(t,e,r){r===void 0&&(r=!1);let n=Jt(t),i=Xn(t),a=Yn(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=jn(l)),[l,jn(l)]}function Ml(t){return t.replace(/start|end/g,e=>zd[e])}function jn(t){return t.replace(/left|right|bottom|top/g,e=>Fd[e])}function _d(t){return{top:0,right:0,bottom:0,left:0,...t}}function Wl(t){return typeof t!="number"?_d(t):{top:t,right:t,bottom:t,left:t}}function go(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ul(t,e,r){let{reference:n,floating:i}=t,a=Hr(e),l=Xn(e),c=Yn(l),p=Vo(e),f=a==="y",y=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(p){case"top":x={x:y,y:n.y-i.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-i.width,y:m};break;default:x={x:n.x,y:n.y}}switch(Jt(e)){case"start":x[l]-=g*(r&&f?-1:1);break;case"end":x[l]+=g*(r&&f?-1:1);break}return x}var Hl=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:l}=r,c=a.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:m}=Ul(f,n,p),g=n,x={},b=0;for(let S=0;S<c.length;S++){let{name:N,fn:R}=c[S],{x:k,y:I,data:G,reset:Q}=await R({x:y,y:m,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:f,platform:l,elements:{reference:t,floating:e}});if(y=k??y,m=I??m,x={...x,[N]:{...x[N],...G}},Q&&b<=50){b++,typeof Q=="object"&&(Q.placement&&(g=Q.placement),Q.rects&&(f=Q.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):Q.rects),{x:y,y:m}=Ul(f,g,p)),S=-1;continue}}return{x:y,y:m,placement:g,strategy:i,middlewareData:x}};async function Jn(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:l,elements:c,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:g=!1,padding:x=0}=Ur(e,t),b=Wl(x),N=c[g?m==="floating"?"reference":"floating":m],R=go(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(c.floating)),boundary:f,rootBoundary:y,strategy:p})),k=m==="floating"?{...l.floating,x:n,y:i}:l.reference,I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),G=await(a.isElement==null?void 0:a.isElement(I))?await(a.getScale==null?void 0:a.getScale(I))||{x:1,y:1}:{x:1,y:1},Q=go(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:I,strategy:p}):k);return{top:(R.top-Q.top+b.top)/G.y,bottom:(Q.bottom-R.bottom+b.bottom)/G.y,left:(R.left-Q.left+b.left)/G.x,right:(Q.right-R.right+b.right)/G.x}}function Td(t,e,r){return(t?[...r.filter(i=>Jt(i)===t),...r.filter(i=>Jt(i)!==t)]:r.filter(i=>Vo(i)===i)).filter(i=>t?Jt(i)===t||(e?Ml(i)!==i:!1):!0)}var Qn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:l,placement:c,platform:p,elements:f}=e,{crossAxis:y=!1,alignment:m,allowedPlacements:g=Kn,autoAlignment:x=!0,...b}=Ur(t,e),S=m!==void 0||g===Kn?Td(m||null,x,g):g,N=await Jn(e,b),R=((r=l.autoPlacement)==null?void 0:r.index)||0,k=S[R];if(k==null)return{};let I=Tl(k,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(c!==k)return{reset:{placement:S[0]}};let G=[N[Vo(k)],N[I[0]],N[I[1]]],Q=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:G}],ot=S[R+1];if(ot)return{data:{index:R+1,overflows:Q},reset:{placement:ot}};let Gt=Q.map(Ve=>{let rt=Jt(Ve.placement);return[Ve.placement,rt&&y?Ve.overflows.slice(0,2).reduce((Ge,po)=>Ge+po,0):Ve.overflows[0],Ve.overflows]}).sort((Ve,rt)=>Ve[1]-rt[1]),jt=((i=Gt.filter(Ve=>Ve[2].slice(0,Jt(Ve[0])?2:3).every(rt=>rt<=0))[0])==null?void 0:i[0])||Gt[0][0];return jt!==c?{data:{index:R+1,overflows:Q},reset:{placement:jt}}:{}}}};var ei=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:l=!1,limiter:c={fn:N=>{let{x:R,y:k}=N;return{x:R,y:k}}},...p}=Ur(t,e),f={x:r,y:n},y=await Jn(e,p),m=Hr(Vo(i)),g=qn(m),x=f[g],b=f[m];if(a){let N=g==="y"?"top":"left",R=g==="y"?"bottom":"right",k=x+y[N],I=x-y[R];x=Zn(k,x,I)}if(l){let N=m==="y"?"top":"left",R=m==="y"?"bottom":"right",k=b+y[N],I=b-y[R];b=Zn(k,b,I)}let S=c.fn({...e,[g]:x,[m]:b});return{...S,data:{x:S.x-r,y:S.y-n}}}}};function _t(t){return Gl(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Tt(t){var e;return(e=(Gl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gl(t){return t instanceof Node||t instanceof _e(t).Node}function Ct(t){return t instanceof Element||t instanceof _e(t).Element}function ut(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function Vl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function Go(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function jl(t){return["table","td","th"].includes(_t(t))}function Gr(t){let e=jr(),r=Ke(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 Kl(t){let e=bo(t);for(;ut(e)&&!fr(e);){if(Gr(e))return e;e=bo(e)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fr(t){return["html","body","#document"].includes(_t(t))}function Ke(t){return _e(t).getComputedStyle(t)}function ur(t){return Ct(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function bo(t){if(_t(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Vl(t)&&t.host||Tt(t);return Vl(e)?e.host:e}function Zl(t){let e=bo(t);return fr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ut(e)&&Go(e)?e:Zl(e)}function Vr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Zl(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),l=_e(i);return a?e.concat(l,l.visualViewport||[],Go(i)?i:[],l.frameElement&&r?Vr(l.frameElement):[]):e.concat(i,Vr(i,[],r))}function Xl(t){let e=Ke(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ut(t),a=i?t.offsetWidth:r,l=i?t.offsetHeight:n,c=pr(r)!==a||pr(n)!==l;return c&&(r=a,n=l),{width:r,height:n,$:c}}function Jl(t){return Ct(t)?t:t.contextElement}function jo(t){let e=Jl(t);if(!ut(e))return zt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Xl(e),l=(a?pr(r.width):r.width)/n,c=(a?pr(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Ud=zt(0);function Ql(t){let e=_e(t);return!jr()||!e.visualViewport?Ud:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Hd(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==_e(t)?!1:e}function hr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Jl(t),l=zt(1);e&&(n?Ct(n)&&(l=jo(n)):l=jo(t));let c=Hd(a,r,n)?Ql(a):zt(0),p=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,y=i.width/l.x,m=i.height/l.y;if(a){let g=_e(a),x=n&&Ct(n)?_e(n):n,b=g.frameElement;for(;b&&n&&x!==g;){let S=jo(b),N=b.getBoundingClientRect(),R=Ke(b),k=N.left+(b.clientLeft+parseFloat(R.paddingLeft))*S.x,I=N.top+(b.clientTop+parseFloat(R.paddingTop))*S.y;p*=S.x,f*=S.y,y*=S.x,m*=S.y,p+=k,f+=I,b=_e(b).frameElement}}return go({width:y,height:m,x:p,y:f})}function Vd(t){let{rect:e,offsetParent:r,strategy:n}=t,i=ut(r),a=Tt(r);if(r===a)return e;let l={scrollLeft:0,scrollTop:0},c=zt(1),p=zt(0);if((i||!i&&n!=="fixed")&&((_t(r)!=="body"||Go(a))&&(l=ur(r)),ut(r))){let f=hr(r);c=jo(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-l.scrollLeft*c.x+p.x,y:e.y*c.y-l.scrollTop*c.y+p.y}}function Gd(t){return Array.from(t.getClientRects())}function es(t){return hr(Tt(t)).left+ur(t).scrollLeft}function jd(t){let e=Tt(t),r=ur(t),n=t.ownerDocument.body,i=Xt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Xt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+es(t),c=-r.scrollTop;return Ke(n).direction==="rtl"&&(l+=Xt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:l,y:c}}function Kd(t,e){let r=_e(t),n=Tt(t),i=r.visualViewport,a=n.clientWidth,l=n.clientHeight,c=0,p=0;if(i){a=i.width,l=i.height;let f=jr();(!f||f&&e==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:l,x:c,y:p}}function Zd(t,e){let r=hr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=ut(t)?jo(t):zt(1),l=t.clientWidth*a.x,c=t.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:l,height:c,x:p,y:f}}function ql(t,e,r){let n;if(e==="viewport")n=Kd(t,r);else if(e==="document")n=jd(Tt(t));else if(Ct(e))n=Zd(e,r);else{let i=Ql(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return go(n)}function ts(t,e){let r=bo(t);return r===e||!Ct(r)||fr(r)?!1:Ke(r).position==="fixed"||ts(r,e)}function qd(t,e){let r=e.get(t);if(r)return r;let n=Vr(t,[],!1).filter(c=>Ct(c)&&_t(c)!=="body"),i=null,a=Ke(t).position==="fixed",l=a?bo(t):t;for(;Ct(l)&&!fr(l);){let c=Ke(l),p=Gr(l);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Go(l)&&!p&&ts(t,l))?n=n.filter(y=>y!==l):i=c,l=bo(l)}return e.set(t,n),n}function Yd(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,l=[...r==="clippingAncestors"?qd(e,this._c):[].concat(r),n],c=l[0],p=l.reduce((f,y)=>{let m=ql(e,y,i);return f.top=Xt(m.top,f.top),f.right=dr(m.right,f.right),f.bottom=dr(m.bottom,f.bottom),f.left=Xt(m.left,f.left),f},ql(e,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Xd(t){return Xl(t)}function Jd(t,e,r){let n=ut(e),i=Tt(e),a=r==="fixed",l=hr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},p=zt(0);if(n||!n&&!a)if((_t(e)!=="body"||Go(i))&&(c=ur(e)),n){let f=hr(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else i&&(p.x=es(i));return{x:l.left+c.scrollLeft-p.x,y:l.top+c.scrollTop-p.y,width:l.width,height:l.height}}function Yl(t,e){return!ut(t)||Ke(t).position==="fixed"?null:e?e(t):t.offsetParent}function os(t,e){let r=_e(t);if(!ut(t))return r;let n=Yl(t,e);for(;n&&jl(n)&&Ke(n).position==="static";)n=Yl(n,e);return n&&(_t(n)==="html"||_t(n)==="body"&&Ke(n).position==="static"&&!Gr(n))?r:n||Kl(t)||r}var Qd=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||os,a=this.getDimensions;return{reference:Jd(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function ep(t){return Ke(t).direction==="rtl"}var Kr={convertOffsetParentRelativeRectToViewportRelativeRect:Vd,getDocumentElement:Tt,getClippingRect:Yd,getOffsetParent:os,getElementRects:Qd,getClientRects:Gd,getDimensions:Xd,getScale:jo,isElement:Ct,isRTL:ep};var rs=(t,e,r)=>{let n=new Map,i={platform:Kr,...r},a={...i.platform,_c:n};return Hl(t,e,{...i,platform:a})};function ns(t){return tp(t)}function ti(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function tp(t){for(let e=t;e;e=ti(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ti(t);e;e=ti(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 Zr(t,e,r){return rs(t,e,{platform:{...Kr,getOffsetParent:n=>Kr.getOffsetParent(n,ns)},middleware:[ei({crossAxis:!0}),Qn({allowedPlacements:[r]})]})}var Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ie=class extends yr.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 yr.Debouncer,this.revealDebouncer=new yr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return is.html`
|
|
545
545
|
<div part="container"
|
|
546
546
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
547
547
|
@mouseenter=${this.onHover}
|
|
@@ -559,19 +559,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
559
559
|
</div>
|
|
560
560
|
</div>
|
|
561
561
|
</div>
|
|
562
|
-
`}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="",Zr(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))}};ne.elementDefinitions={"ft-typography":q};ne.styles=Fl;Te([(0,ge.property)()],ne.prototype,"text",void 0);Te([(0,ge.property)({type:Boolean})],ne.prototype,"manual",void 0);Te([(0,ge.property)({type:Boolean})],ne.prototype,"inline",void 0);Te([(0,ge.property)({type:Number})],ne.prototype,"delay",void 0);Te([(0,ge.property)()],ne.prototype,"position",void 0);Te([(0,ge.queryAssignedNodes)()],ne.prototype,"slotNodes",void 0);Te([(0,ge.query)(".ft-tooltip--container")],ne.prototype,"container",void 0);Te([(0,ge.query)(".ft-tooltip")],ne.prototype,"tooltip",void 0);Te([(0,ge.query)(".ft-tooltip--content")],ne.prototype,"tooltipContent",void 0);Te([(0,ge.state)()],ne.prototype,"visible",void 0);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onTouch",null);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onHover",null);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onOut",null);Te([(0,ge.eventOptions)({passive:!0})],ne.prototype,"onClick",null);(0,as.customElement)("ft-tooltip")(ne);var fs=h(w());var mr=h(N()),vo=h(Y()),ds=h(w()),ps=h(ss());var wt;(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.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(wt||(wt={}));var C;(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=""})(C||(C={}));var tn=new Map([...["abw"].map(t=>[t,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]),op=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function cs(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,c]=(((r=op.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=tn.get(c))!==null&&i!==void 0?i:tn.get(e))!==null&&n!==void 0?n:tn.get(l))!==null&&a!==void 0?a:C.UNKNOWN}var sb={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var ke;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ke||(ke={}));var qr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends ds.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(ke).includes(this.variant)?this.variant:ke.fluid_topics,r=e!==ke.material||!!this.value;return mr.html`
|
|
562
|
+
`}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="",Zr(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))}};ie.elementDefinitions={"ft-typography":q};ie.styles=Fl;Te([(0,be.property)()],ie.prototype,"text",void 0);Te([(0,be.property)({type:Boolean})],ie.prototype,"manual",void 0);Te([(0,be.property)({type:Boolean})],ie.prototype,"inline",void 0);Te([(0,be.property)({type:Number})],ie.prototype,"delay",void 0);Te([(0,be.property)()],ie.prototype,"position",void 0);Te([(0,be.queryAssignedNodes)()],ie.prototype,"slotNodes",void 0);Te([(0,be.query)(".ft-tooltip--container")],ie.prototype,"container",void 0);Te([(0,be.query)(".ft-tooltip")],ie.prototype,"tooltip",void 0);Te([(0,be.query)(".ft-tooltip--content")],ie.prototype,"tooltipContent",void 0);Te([(0,be.state)()],ie.prototype,"visible",void 0);Te([(0,be.eventOptions)({passive:!0})],ie.prototype,"onTouch",null);Te([(0,be.eventOptions)({passive:!0})],ie.prototype,"onHover",null);Te([(0,be.eventOptions)({passive:!0})],ie.prototype,"onOut",null);Te([(0,be.eventOptions)({passive:!0})],ie.prototype,"onClick",null);(0,as.customElement)("ft-tooltip")(ie);var fs=h(w());var mr=h(L()),xo=h(Y()),ds=h(w()),ps=h(ss());var wt;(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.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(wt||(wt={}));var C;(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=""})(C||(C={}));var oi=new Map([...["abw"].map(t=>[t,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]),op=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function cs(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,c]=(((r=op.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=oi.get(c))!==null&&n!==void 0?n:oi.get(e))!==null&&i!==void 0?i:oi.get(l))!==null&&a!==void 0?a:C.UNKNOWN}var xg={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var Ne;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ne||(Ne={}));var qr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends ds.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(Ne).includes(this.variant)?this.variant:Ne.fluid_topics,r=e!==Ne.material||!!this.value;return mr.html`
|
|
563
563
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
564
564
|
${(0,ps.unsafeHTML)(this.resolvedIcon)}
|
|
565
565
|
<slot ?hidden=${r}></slot>
|
|
566
566
|
</i>
|
|
567
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(
|
|
567
|
+
`}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 Ne.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ne.material:this.resolvedIcon=this.value||mr.nothing;break;default:this.resolvedIcon=(r=wt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ae.elementDefinitions={};ae.styles=$l;qr([(0,xo.property)()],ae.prototype,"variant",void 0);qr([(0,xo.property)()],ae.prototype,"value",void 0);qr([(0,xo.state)()],ae.prototype,"resolvedIcon",void 0);qr([(0,xo.query)("slot")],ae.prototype,"slottedContent",void 0);(0,fs.customElement)("ft-icon")(ae);var ys=h(w());var us=h(L()),hs=h(w());var vo=class extends hs.FtLitElement{render(){return us.html`
|
|
568
568
|
<div class="ft-loader">
|
|
569
569
|
<div></div>
|
|
570
570
|
<div></div>
|
|
571
571
|
<div></div>
|
|
572
572
|
<div></div>
|
|
573
573
|
</div>
|
|
574
|
-
`}};
|
|
574
|
+
`}};vo.styles=wl;(0,ys.customElement)("ft-loader")(vo);var Ko=h(L()),ms=h(lt()),$e=h(Y()),Me=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends(0,Qt.toFtFormComponent)(Qt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(Ko.html`
|
|
575
575
|
<button part="button"
|
|
576
576
|
class="${(0,ms.classMap)(this.buttonClasses)}"
|
|
577
577
|
aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
|
|
@@ -597,7 +597,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
597
597
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
598
598
|
`:Ko.html`
|
|
599
599
|
<slot part="icon" name="icon"></slot>
|
|
600
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Qt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};fe.elementDefinitions={"ft-ripple":T,"ft-tooltip":
|
|
600
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Qt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};fe.elementDefinitions={"ft-ripple":T,"ft-tooltip":ie,"ft-typography":q,"ft-icon":ae,"ft-loader":vo};Me([(0,$e.property)({type:String,reflect:!0})],fe.prototype,"role",void 0);Me([(0,$e.property)()],fe.prototype,"type",void 0);Me([(0,$e.property)({type:Boolean})],fe.prototype,"disabled",void 0);Me([(0,$e.property)()],fe.prototype,"label",void 0);Me([(0,$e.property)()],fe.prototype,"icon",void 0);Me([(0,$e.property)()],fe.prototype,"iconVariant",void 0);Me([(0,$e.property)({type:Boolean})],fe.prototype,"trailingIcon",void 0);Me([(0,$e.property)({type:Boolean})],fe.prototype,"loading",void 0);Me([(0,$e.property)({attribute:"aria-label"})],fe.prototype,"ariaLabel",void 0);Me([(0,$e.property)()],fe.prototype,"tooltipPosition",void 0);Me([(0,$e.property)({type:Boolean})],fe.prototype,"hideTooltip",void 0);Me([(0,$e.property)({type:Boolean})],fe.prototype,"forceTooltip",void 0);Me([(0,$e.query)(".ft-button")],fe.prototype,"button",void 0);Me([(0,$e.query)(".ft-button--label slot")],fe.prototype,"slottedContent",void 0);var Yr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},xe=class extends fe{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"}};xe.styles=[gs.safariEllipsisFix,Nl];Yr([(0,gr.property)({type:Boolean})],xe.prototype,"primary",void 0);Yr([(0,gr.property)({type:Boolean})],xe.prototype,"outlined",void 0);Yr([(0,gr.property)({type:Boolean})],xe.prototype,"dense",void 0);Yr([(0,gr.property)({type:Boolean})],xe.prototype,"round",void 0);var br=h(Y());var Jr=h(w());var bs=h(L()),v=h(w());var xs=[bs.css`
|
|
601
601
|
:host {
|
|
602
602
|
display: inline-block;
|
|
603
603
|
max-width: 100%;
|
|
@@ -681,13 +681,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
681
681
|
/** Brand Primary styles **/
|
|
682
682
|
|
|
683
683
|
.ftds--family-brand.ft-button--primary {
|
|
684
|
-
${(0,
|
|
684
|
+
${(0,v.setVariable)(ne.color,u.primaryBrandIconColor)};
|
|
685
685
|
|
|
686
|
-
${(0,
|
|
687
|
-
${(0,
|
|
688
|
-
${(0,
|
|
689
|
-
${(0,
|
|
690
|
-
${(0,
|
|
686
|
+
${(0,v.setVariable)(O.color,u.primaryBrandStateLayerColor)};
|
|
687
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
|
|
688
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.primaryBrandFocusStateLayerOpacity)};
|
|
689
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.primaryBrandActiveStateLayerOpacity)};
|
|
690
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.primaryBrandActiveStateLayerOpacity)};
|
|
691
691
|
|
|
692
692
|
background-color: ${u.primaryBrandBackgroundColor};
|
|
693
693
|
color: ${u.primaryBrandColor};
|
|
@@ -705,13 +705,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
705
705
|
/** Brand Secondary styles **/
|
|
706
706
|
|
|
707
707
|
.ftds--family-brand.ft-button--secondary {
|
|
708
|
-
${(0,
|
|
708
|
+
${(0,v.setVariable)(ne.color,u.secondaryBrandIconColor)};
|
|
709
709
|
|
|
710
|
-
${(0,
|
|
711
|
-
${(0,
|
|
712
|
-
${(0,
|
|
713
|
-
${(0,
|
|
714
|
-
${(0,
|
|
710
|
+
${(0,v.setVariable)(O.color,u.secondaryBrandStateLayerColor)};
|
|
711
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
|
|
712
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryBrandFocusStateLayerOpacity)};
|
|
713
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryBrandActiveStateLayerOpacity)};
|
|
714
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryBrandActiveStateLayerOpacity)};
|
|
715
715
|
|
|
716
716
|
background-color: ${u.secondaryBrandBackgroundColor};
|
|
717
717
|
color: ${u.secondaryBrandColor};
|
|
@@ -730,13 +730,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
730
730
|
/** Brand Tertiary styles **/
|
|
731
731
|
|
|
732
732
|
.ftds--family-brand.ft-button--tertiary {
|
|
733
|
-
${(0,
|
|
733
|
+
${(0,v.setVariable)(ne.color,u.tertiaryBrandIconColor)};
|
|
734
734
|
|
|
735
|
-
${(0,
|
|
736
|
-
${(0,
|
|
737
|
-
${(0,
|
|
738
|
-
${(0,
|
|
739
|
-
${(0,
|
|
735
|
+
${(0,v.setVariable)(O.color,u.tertiaryBrandStateLayerColor)};
|
|
736
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
|
|
737
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryBrandFocusStateLayerOpacity)};
|
|
738
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
739
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
740
740
|
|
|
741
741
|
background-color: ${u.tertiaryBrandBackgroundColor};
|
|
742
742
|
color: ${u.tertiaryBrandColor};
|
|
@@ -754,13 +754,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
754
754
|
/** Neutral Secondary styles **/
|
|
755
755
|
|
|
756
756
|
.ftds--family-neutral.ft-button--secondary {
|
|
757
|
-
${(0,
|
|
757
|
+
${(0,v.setVariable)(ne.color,u.secondaryNeutralIconColor)};
|
|
758
758
|
|
|
759
|
-
${(0,
|
|
760
|
-
${(0,
|
|
761
|
-
${(0,
|
|
762
|
-
${(0,
|
|
763
|
-
${(0,
|
|
759
|
+
${(0,v.setVariable)(O.backgroundColor,u.secondaryNeutralStateLayerColor)};
|
|
760
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
|
|
761
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryNeutralFocusStateLayerOpacity)};
|
|
762
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
763
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
764
764
|
|
|
765
765
|
background-color: ${u.secondaryNeutralBackgroundColor};
|
|
766
766
|
color: ${u.secondaryNeutralColor};
|
|
@@ -779,13 +779,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
779
779
|
/** Neutral Tertiary styles **/
|
|
780
780
|
|
|
781
781
|
.ftds--family-neutral.ft-button--tertiary {
|
|
782
|
-
${(0,
|
|
782
|
+
${(0,v.setVariable)(ne.color,u.tertiaryNeutralIconColor)};
|
|
783
783
|
|
|
784
|
-
${(0,
|
|
785
|
-
${(0,
|
|
786
|
-
${(0,
|
|
787
|
-
${(0,
|
|
788
|
-
${(0,
|
|
784
|
+
${(0,v.setVariable)(O.backgroundColor,u.tertiaryNeutralStateLayerColor)};
|
|
785
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
|
|
786
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryNeutralFocusStateLayerOpacity)};
|
|
787
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
788
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
789
789
|
|
|
790
790
|
background-color: ${u.tertiaryNeutralBackgroundColor};
|
|
791
791
|
color: ${u.tertiaryNeutralColor};
|
|
@@ -803,13 +803,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
803
803
|
/** Info Secondary styles **/
|
|
804
804
|
|
|
805
805
|
.ftds--family-info.ft-button--secondary {
|
|
806
|
-
${(0,
|
|
806
|
+
${(0,v.setVariable)(ne.color,u.secondaryInfoIconColor)};
|
|
807
807
|
|
|
808
|
-
${(0,
|
|
809
|
-
${(0,
|
|
810
|
-
${(0,
|
|
811
|
-
${(0,
|
|
812
|
-
${(0,
|
|
808
|
+
${(0,v.setVariable)(O.backgroundColor,u.secondaryInfoStateLayerColor)};
|
|
809
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
|
|
810
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryInfoFocusStateLayerOpacity)};
|
|
811
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryInfoActiveStateLayerOpacity)};
|
|
812
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryInfoActiveStateLayerOpacity)};
|
|
813
813
|
|
|
814
814
|
background-color: ${u.secondaryInfoBackgroundColor};
|
|
815
815
|
color: ${u.secondaryInfoColor};
|
|
@@ -828,13 +828,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
828
828
|
/** Info Tertiary styles **/
|
|
829
829
|
|
|
830
830
|
.ftds--family-info.ft-button--tertiary {
|
|
831
|
-
${(0,
|
|
831
|
+
${(0,v.setVariable)(ne.color,u.tertiaryInfoIconColor)};
|
|
832
832
|
|
|
833
|
-
${(0,
|
|
834
|
-
${(0,
|
|
835
|
-
${(0,
|
|
836
|
-
${(0,
|
|
837
|
-
${(0,
|
|
833
|
+
${(0,v.setVariable)(O.backgroundColor,u.tertiaryInfoStateLayerColor)};
|
|
834
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
|
|
835
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryInfoFocusStateLayerOpacity)};
|
|
836
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
837
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
838
838
|
|
|
839
839
|
background-color: ${u.tertiaryInfoBackgroundColor};
|
|
840
840
|
color: ${u.tertiaryInfoColor};
|
|
@@ -852,13 +852,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
852
852
|
/** Success Secondary styles **/
|
|
853
853
|
|
|
854
854
|
.ftds--family-success.ft-button--secondary {
|
|
855
|
-
${(0,
|
|
855
|
+
${(0,v.setVariable)(ne.color,u.secondarySuccessIconColor)};
|
|
856
856
|
|
|
857
|
-
${(0,
|
|
858
|
-
${(0,
|
|
859
|
-
${(0,
|
|
860
|
-
${(0,
|
|
861
|
-
${(0,
|
|
857
|
+
${(0,v.setVariable)(O.backgroundColor,u.secondarySuccessStateLayerColor)};
|
|
858
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
|
|
859
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.secondarySuccessFocusStateLayerOpacity)};
|
|
860
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.secondarySuccessActiveStateLayerOpacity)};
|
|
861
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.secondarySuccessActiveStateLayerOpacity)};
|
|
862
862
|
|
|
863
863
|
background-color: ${u.secondarySuccessBackgroundColor};
|
|
864
864
|
color: ${u.secondarySuccessColor};
|
|
@@ -877,13 +877,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
877
877
|
/** Success Tertiary styles **/
|
|
878
878
|
|
|
879
879
|
.ftds--family-success.ft-button--tertiary {
|
|
880
|
-
${(0,
|
|
880
|
+
${(0,v.setVariable)(ne.color,u.tertiarySuccessIconColor)};
|
|
881
881
|
|
|
882
|
-
${(0,
|
|
883
|
-
${(0,
|
|
884
|
-
${(0,
|
|
885
|
-
${(0,
|
|
886
|
-
${(0,
|
|
882
|
+
${(0,v.setVariable)(O.backgroundColor,u.tertiarySuccessStateLayerColor)};
|
|
883
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
|
|
884
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiarySuccessFocusStateLayerOpacity)};
|
|
885
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
886
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
887
887
|
|
|
888
888
|
background-color: ${u.tertiarySuccessBackgroundColor};
|
|
889
889
|
color: ${u.tertiarySuccessColor};
|
|
@@ -901,13 +901,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
901
901
|
/** Warning Secondary styles **/
|
|
902
902
|
|
|
903
903
|
.ftds--family-warning.ft-button--secondary {
|
|
904
|
-
${(0,
|
|
904
|
+
${(0,v.setVariable)(ne.color,u.secondaryWarningIconColor)};
|
|
905
905
|
|
|
906
|
-
${(0,
|
|
907
|
-
${(0,
|
|
908
|
-
${(0,
|
|
909
|
-
${(0,
|
|
910
|
-
${(0,
|
|
906
|
+
${(0,v.setVariable)(O.backgroundColor,u.secondaryWarningStateLayerColor)};
|
|
907
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
|
|
908
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryWarningFocusStateLayerOpacity)};
|
|
909
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryWarningActiveStateLayerOpacity)};
|
|
910
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryWarningActiveStateLayerOpacity)};
|
|
911
911
|
|
|
912
912
|
background-color: ${u.secondaryWarningBackgroundColor};
|
|
913
913
|
color: ${u.secondaryWarningColor};
|
|
@@ -926,13 +926,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
926
926
|
/** Warning Tertiary styles **/
|
|
927
927
|
|
|
928
928
|
.ftds--family-warning.ft-button--tertiary {
|
|
929
|
-
${(0,
|
|
929
|
+
${(0,v.setVariable)(ne.color,u.tertiaryWarningIconColor)};
|
|
930
930
|
|
|
931
|
-
${(0,
|
|
932
|
-
${(0,
|
|
933
|
-
${(0,
|
|
934
|
-
${(0,
|
|
935
|
-
${(0,
|
|
931
|
+
${(0,v.setVariable)(O.backgroundColor,u.tertiaryWarningStateLayerColor)};
|
|
932
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
|
|
933
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryWarningFocusStateLayerOpacity)};
|
|
934
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
935
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
936
936
|
|
|
937
937
|
background-color: ${u.tertiaryWarningBackgroundColor};
|
|
938
938
|
color: ${u.tertiaryWarningColor};
|
|
@@ -950,13 +950,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
950
950
|
/** Error Secondary styles **/
|
|
951
951
|
|
|
952
952
|
.ftds--family-error.ft-button--secondary {
|
|
953
|
-
${(0,
|
|
953
|
+
${(0,v.setVariable)(ne.color,u.secondaryErrorIconColor)};
|
|
954
954
|
|
|
955
|
-
${(0,
|
|
956
|
-
${(0,
|
|
957
|
-
${(0,
|
|
958
|
-
${(0,
|
|
959
|
-
${(0,
|
|
955
|
+
${(0,v.setVariable)(O.backgroundColor,u.secondaryErrorStateLayerColor)};
|
|
956
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
|
|
957
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryErrorFocusStateLayerOpacity)};
|
|
958
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryErrorActiveStateLayerOpacity)};
|
|
959
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryErrorActiveStateLayerOpacity)};
|
|
960
960
|
|
|
961
961
|
background-color: ${u.secondaryErrorBackgroundColor};
|
|
962
962
|
color: ${u.secondaryErrorColor};
|
|
@@ -975,13 +975,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
975
975
|
/** Error Tertiary styles **/
|
|
976
976
|
|
|
977
977
|
.ftds--family-error.ft-button--tertiary {
|
|
978
|
-
${(0,
|
|
978
|
+
${(0,v.setVariable)(ne.color,u.tertiaryErrorIconColor)};
|
|
979
979
|
|
|
980
|
-
${(0,
|
|
981
|
-
${(0,
|
|
982
|
-
${(0,
|
|
983
|
-
${(0,
|
|
984
|
-
${(0,
|
|
980
|
+
${(0,v.setVariable)(O.backgroundColor,u.tertiaryErrorStateLayerColor)};
|
|
981
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
|
|
982
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryErrorFocusStateLayerOpacity)};
|
|
983
|
+
${(0,v.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
984
|
+
${(0,v.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
985
985
|
|
|
986
986
|
background-color: ${u.tertiaryErrorBackgroundColor};
|
|
987
987
|
color: ${u.tertiaryErrorColor};
|
|
@@ -999,8 +999,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
999
999
|
/** Large styles **/
|
|
1000
1000
|
|
|
1001
1001
|
.ftds--size-large {
|
|
1002
|
-
${(0,
|
|
1003
|
-
${(0,
|
|
1002
|
+
${(0,v.setVariable)(de.size,u.largeIconSize)};
|
|
1003
|
+
${(0,v.setVariable)(ne.size,u.largeIconSize)};
|
|
1004
1004
|
|
|
1005
1005
|
height: ${u.largeHeight};
|
|
1006
1006
|
padding: 0 ${u.largeHorizontalPadding};
|
|
@@ -1021,8 +1021,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1021
1021
|
/** Small styles **/
|
|
1022
1022
|
|
|
1023
1023
|
.ftds--size-medium {
|
|
1024
|
-
${(0,
|
|
1025
|
-
${(0,
|
|
1024
|
+
${(0,v.setVariable)(de.size,u.mediumIconSize)};
|
|
1025
|
+
${(0,v.setVariable)(ne.size,u.mediumIconSize)};
|
|
1026
1026
|
|
|
1027
1027
|
height: ${u.mediumHeight};
|
|
1028
1028
|
padding: 0 ${u.mediumHorizontalPadding};
|
|
@@ -1044,8 +1044,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1044
1044
|
/** Small styles **/
|
|
1045
1045
|
|
|
1046
1046
|
.ftds--size-small {
|
|
1047
|
-
${(0,
|
|
1048
|
-
${(0,
|
|
1047
|
+
${(0,v.setVariable)(de.size,u.smallIconSize)};
|
|
1048
|
+
${(0,v.setVariable)(ne.size,u.smallIconSize)};
|
|
1049
1049
|
|
|
1050
1050
|
height: ${u.smallHeight};
|
|
1051
1051
|
padding: 0 ${u.smallHorizontalPadding};
|
|
@@ -1062,15 +1062,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1062
1062
|
.ftds--size-small.ft-button--icon-only {
|
|
1063
1063
|
width: ${u.smallIconOnlyWidth};
|
|
1064
1064
|
}
|
|
1065
|
-
`,
|
|
1065
|
+
`,v.noTextSelect];var Xr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ht=class extends(0,Jr.toFtdsBase)(fe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Tr.brand,this.iconVariant=Ne.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 Le.large:return it.body2medium;case Le.medium:return it.caption1medium;case Le.small:return it.caption2medium}}};ht.styles=[Jr.safariEllipsisFix,xs];Xr([(0,br.property)({type:Boolean})],ht.prototype,"primary",void 0);Xr([(0,br.property)({type:Boolean})],ht.prototype,"secondary",void 0);Xr([(0,br.property)({type:Boolean})],ht.prototype,"tertiary",void 0);Xr([(0,br.property)({type:Boolean})],ht.prototype,"round",void 0);(0,ri.customElement)("ft-button")(xe);(0,ri.customElement)("ftds-button")(ht);var Es=h(w());var Os=h(L()),Wt=h(Y()),Cs=h(w()),ws=h(lt());var Ze=h(w()),vs=h(L());var Mt={textColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ze.designSystemVariables.colorOnSurfaceHigh),fontSize:Ze.FtCssVariableFactory.extend("--ft-checkbox-font-size","",$.fontSize),colorPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ze.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ze.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Ss=vs.css`
|
|
1066
1066
|
* {
|
|
1067
1067
|
box-sizing: border-box;
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
1070
|
.ft-checkbox {
|
|
1071
1071
|
box-sizing: border-box;
|
|
1072
|
-
color: ${
|
|
1073
|
-
font-size: ${
|
|
1072
|
+
color: ${Mt.textColor};
|
|
1073
|
+
font-size: ${Mt.fontSize};
|
|
1074
1074
|
|
|
1075
1075
|
display: inline-flex;
|
|
1076
1076
|
align-items: center;
|
|
@@ -1078,7 +1078,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
1080
|
.ft-checkbox--disabled {
|
|
1081
|
-
color: ${
|
|
1081
|
+
color: ${Mt.colorOnSurfaceDisabled};
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
1084
|
input {
|
|
@@ -1102,26 +1102,26 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1102
1102
|
|
|
1103
1103
|
.ft-checkbox--box {
|
|
1104
1104
|
display: flex;
|
|
1105
|
-
border: 2px solid ${
|
|
1105
|
+
border: 2px solid ${Mt.borderColor};
|
|
1106
1106
|
border-radius: 2px;
|
|
1107
1107
|
|
|
1108
1108
|
width: 18px;
|
|
1109
1109
|
height: 18px;
|
|
1110
1110
|
|
|
1111
|
-
color: ${
|
|
1111
|
+
color: ${Mt.colorOnPrimary};
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
1114
|
|
|
1115
1115
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
1116
1116
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
1117
|
-
border-color: ${
|
|
1118
|
-
background-color: ${
|
|
1117
|
+
border-color: ${Mt.colorPrimary};
|
|
1118
|
+
background-color: ${Mt.colorPrimary};
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
1121
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
1122
|
-
border-color: ${
|
|
1122
|
+
border-color: ${Mt.colorOnSurfaceDisabled};
|
|
1123
1123
|
background-color: transparent;
|
|
1124
|
-
color: ${
|
|
1124
|
+
color: ${Mt.colorOnSurfaceDisabled};
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
1127
1127
|
.ft-checkbox--checkmark {
|
|
@@ -1140,7 +1140,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1140
1140
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1141
1141
|
opacity: 1;
|
|
1142
1142
|
}
|
|
1143
|
-
`;var So=function(t,e,r,
|
|
1143
|
+
`;var So=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ae=class extends Cs.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Os.html`
|
|
1144
1144
|
<label class="${(0,ws.classMap)(e)}" for="checkbox-input">
|
|
1145
1145
|
<div class="ft-checkbox--box-container">
|
|
1146
1146
|
<ft-ripple
|
|
@@ -1167,7 +1167,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1167
1167
|
<slot></slot>
|
|
1168
1168
|
</ft-typography>
|
|
1169
1169
|
</label>
|
|
1170
|
-
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};Ae.elementDefinitions={"ft-ripple":T,"ft-typography":q};Ae.styles=Ss;So([(0,
|
|
1170
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};Ae.elementDefinitions={"ft-ripple":T,"ft-typography":q};Ae.styles=Ss;So([(0,Wt.property)()],Ae.prototype,"name",void 0);So([(0,Wt.property)({type:Boolean,reflect:!0})],Ae.prototype,"checked",void 0);So([(0,Wt.property)({type:Boolean})],Ae.prototype,"indeterminate",void 0);So([(0,Wt.property)({type:Boolean})],Ae.prototype,"disabled",void 0);So([(0,Wt.query)(".ft-checkbox")],Ae.prototype,"container",void 0);So([(0,Wt.query)("ft-ripple")],Ae.prototype,"ripple",void 0);So([(0,Wt.query)("input")],Ae.prototype,"input",void 0);(0,Es.customElement)("ft-checkbox")(Ae);var ni=h(w());var ks=h(L()),yt=h(Y()),Ls=h(w()),Ns=h(lt());var $s=h(L()),qe=h(w()),Oo={textColor:qe.FtCssVariableFactory.extend("--ft-radio-text-color","",qe.designSystemVariables.colorOnSurfaceHigh),colorPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnPrimary,"Design system"),borderColor:qe.FtCssVariableFactory.extend("--ft-radio-border-color","",qe.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:qe.FtCssVariableFactory.external(qe.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Rs=$s.css`
|
|
1171
1171
|
* {
|
|
1172
1172
|
box-sizing: border-box;
|
|
1173
1173
|
}
|
|
@@ -1255,8 +1255,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1255
1255
|
.ft-radio ft-typography {
|
|
1256
1256
|
padding-right: 2px;
|
|
1257
1257
|
}
|
|
1258
|
-
`;var Ut=function(t,e,r,
|
|
1259
|
-
<div class="${(0,
|
|
1258
|
+
`;var Ut=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Qr=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ve=class extends Ls.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ks.html`
|
|
1259
|
+
<div class="${(0,Ns.classMap)(e)}">
|
|
1260
1260
|
<div class="ft-radio--box-container">
|
|
1261
1261
|
<ft-ripple
|
|
1262
1262
|
?disabled=${this.disabled}
|
|
@@ -1274,13 +1274,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1274
1274
|
@change=${this.onChange}
|
|
1275
1275
|
>
|
|
1276
1276
|
</div>
|
|
1277
|
-
<label for="radio-button" @click=${r=>{var
|
|
1277
|
+
<label for="radio-button" @click=${r=>{var n;r.stopPropagation(),r.preventDefault(),(n=this.input)===null||n===void 0||n.click()}}>
|
|
1278
1278
|
<ft-typography variant="body2">
|
|
1279
1279
|
<slot></slot>
|
|
1280
1280
|
</ft-typography>
|
|
1281
1281
|
</label>
|
|
1282
1282
|
</div>
|
|
1283
|
-
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Qr(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Qr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};
|
|
1283
|
+
`}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Qr(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Qr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};ve.elementDefinitions={"ft-ripple":T,"ft-typography":q};ve.styles=Rs;Ut([(0,yt.property)()],ve.prototype,"value",void 0);Ut([(0,yt.property)()],ve.prototype,"name",void 0);Ut([(0,yt.property)({type:Boolean,reflect:!0})],ve.prototype,"checked",void 0);Ut([(0,yt.property)({attribute:"aria-checked",reflect:!0})],ve.prototype,"ariaChecked",void 0);Ut([(0,yt.property)({type:Boolean})],ve.prototype,"disabled",void 0);Ut([(0,yt.property)({reflect:!0,attribute:"role"})],ve.prototype,"role",void 0);Ut([(0,yt.query)(".ft-radio")],ve.prototype,"container",void 0);Ut([(0,yt.query)("ft-ripple")],ve.prototype,"ripple",void 0);Ut([(0,yt.query)("input")],ve.prototype,"input",void 0);var Bs=h(w()),Ht=h(Y()),Is=h(L());var As=h(L());var Ps=As.css`
|
|
1284
1284
|
:host {
|
|
1285
1285
|
display: block;
|
|
1286
1286
|
}
|
|
@@ -1288,12 +1288,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1288
1288
|
:host(:focus-visible) {
|
|
1289
1289
|
outline: none;
|
|
1290
1290
|
}
|
|
1291
|
-
`;var Zo=function(t,e,r,
|
|
1291
|
+
`;var Zo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},We=class extends Bs.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return Is.html`
|
|
1292
1292
|
<slot @slotchange=${this.onSlotChange}
|
|
1293
1293
|
@change=${this.onChange}
|
|
1294
1294
|
@keydown=${this.onKeyDown}
|
|
1295
1295
|
></slot>
|
|
1296
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let
|
|
1296
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};We.elementDefinitions={};We.styles=Ps;Zo([(0,Ht.property)()],We.prototype,"name",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"role"})],We.prototype,"role",void 0);Zo([(0,Ht.property)({reflect:!0})],We.prototype,"tabIndex",void 0);Zo([(0,Ht.property)({reflect:!0,attribute:"aria-labelledby"})],We.prototype,"ariaLabelledBy",void 0);Zo([(0,Ht.queryAssignedElements)()],We.prototype,"radioButtons",void 0);Zo([(0,Ht.state)()],We.prototype,"currentSelectedIndex",void 0);(0,ni.customElement)("ft-radio")(ve);(0,ni.customElement)("ft-radio-group")(We);var Ds=h(L()),le=h(w());var en={borderRadiusM:le.FtCssVariableFactory.external(le.designSystemVariables.borderRadiusM,"Design system"),colorOutline:le.FtCssVariableFactory.external(le.designSystemVariables.colorOutline,"Design system"),colorOnSurface:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:le.FtCssVariableFactory.external(le.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:le.FtCssVariableFactory.external(le.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:le.FtCssVariableFactory.external(Ce.fontFamily,"Body2 typography"),fontSize:le.FtCssVariableFactory.external(Ce.fontSize,"Body2 typography"),fontWeight:le.FtCssVariableFactory.external(Ce.fontWeight,"Body2 typography"),letterSpacing:le.FtCssVariableFactory.external(Ce.letterSpacing,"Body2 typography"),lineHeight:le.FtCssVariableFactory.external(Ce.lineHeight,"Body2 typography"),textTransform:le.FtCssVariableFactory.external(Ce.textTransform,"Body2 typography")},Fs=Ds.css`
|
|
1297
1297
|
.ft-filter-level--container {
|
|
1298
1298
|
display: flex;
|
|
1299
1299
|
flex-direction: column;
|
|
@@ -1307,14 +1307,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1307
1307
|
flex-shrink: 0;
|
|
1308
1308
|
text-decoration: none;
|
|
1309
1309
|
position: relative;
|
|
1310
|
-
border-radius: ${
|
|
1310
|
+
border-radius: ${en.borderRadiusM};
|
|
1311
1311
|
overflow: hidden;
|
|
1312
1312
|
display: flex;
|
|
1313
1313
|
align-items: center;
|
|
1314
1314
|
padding: 4px 4px;
|
|
1315
1315
|
gap: 4px;
|
|
1316
1316
|
cursor: pointer;
|
|
1317
|
-
color: ${
|
|
1317
|
+
color: ${en.colorOnSurface};
|
|
1318
1318
|
}
|
|
1319
1319
|
|
|
1320
1320
|
.ft-filter-level--go-back:focus {
|
|
@@ -1343,7 +1343,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
1345
1345
|
ft-button {
|
|
1346
|
-
${(0,le.setVariable)(U.color,
|
|
1346
|
+
${(0,le.setVariable)(U.color,en.colorOnSurface)};
|
|
1347
1347
|
}
|
|
1348
1348
|
|
|
1349
1349
|
ft-radio, ft-checkbox {
|
|
@@ -1357,9 +1357,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1357
1357
|
|
|
1358
1358
|
.ft-filter-level--no-values {
|
|
1359
1359
|
margin: 10px 0;
|
|
1360
|
-
color: ${
|
|
1360
|
+
color: ${en.colorOnSurfaceMedium};
|
|
1361
1361
|
}
|
|
1362
|
-
`;var Pe=function(t,e,r,
|
|
1362
|
+
`;var Pe=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ue=class extends tn.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(n=>!n.selected)),this.filter&&(e=e.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return Ye.html`
|
|
1363
1363
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1364
1364
|
${this.parent==null?null:Ye.html`
|
|
1365
1365
|
<div tabindex="0"
|
|
@@ -1380,16 +1380,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1380
1380
|
${this.noValuesLabel}
|
|
1381
1381
|
</ft-typography>
|
|
1382
1382
|
`:Ye.nothing}
|
|
1383
|
-
${(0,
|
|
1383
|
+
${(0,zs.repeat)(r,n=>n.value,n=>{var i;return Ye.html`
|
|
1384
1384
|
<div class="ft-filter-level--option" part="options" tabindex="-1">
|
|
1385
|
-
${this.multivalued?this.buildMultiValuedOption(
|
|
1386
|
-
${this.preventNavigation||
|
|
1385
|
+
${this.multivalued?this.buildMultiValuedOption(n):this.buildMonoValuedOption(n)}
|
|
1386
|
+
${this.preventNavigation||n.selected||((i=n.subOptions)!==null&&i!==void 0?i:[]).length===0?Ye.nothing:Ye.html`
|
|
1387
1387
|
<ft-button icon="thin_arrow_right"
|
|
1388
1388
|
part="controls navigate-hierarchy"
|
|
1389
1389
|
aria-label="Expand node"
|
|
1390
1390
|
?disabled=${this.disabled}
|
|
1391
1391
|
hideTooltip
|
|
1392
|
-
@click=${()=>this.displayLevel(
|
|
1392
|
+
@click=${()=>this.displayLevel(n)}></ft-button>
|
|
1393
1393
|
`}
|
|
1394
1394
|
</div>
|
|
1395
1395
|
`})}
|
|
@@ -1410,8 +1410,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1410
1410
|
data-value="${e.value}"
|
|
1411
1411
|
.checked=${e.selected}
|
|
1412
1412
|
.disabled=${this.disabled}
|
|
1413
|
-
.indeterminate=${(0,
|
|
1414
|
-
@change=${
|
|
1413
|
+
.indeterminate=${(0,tn.flatDeep)((r=e.subOptions)!==null&&r!==void 0?r:[],n=>{var i;return(i=n.subOptions)!==null&&i!==void 0?i:[]}).some(n=>n.selected)}
|
|
1414
|
+
@change=${n=>this.optionsChanged(n,e)}>
|
|
1415
1415
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1416
1416
|
</ft-checkbox>
|
|
1417
1417
|
`}buildMonoValuedOption(e){return Ye.html`
|
|
@@ -1425,7 +1425,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1425
1425
|
@change=${r=>this.optionsChanged(r,e)}>
|
|
1426
1426
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1427
1427
|
</ft-radio>
|
|
1428
|
-
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ue.elementDefinitions={"ft-button":
|
|
1428
|
+
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ue.elementDefinitions={"ft-button":xe,"ft-ripple":T,"ft-typography":q,"ft-checkbox":Ae,"ft-icon":ae,"ft-radio":ve};ue.styles=Fs;Pe([(0,Oe.property)({type:String})],ue.prototype,"filterId",void 0);Pe([(0,Oe.property)({type:Object})],ue.prototype,"parent",void 0);Pe([(0,Oe.property)({type:Array})],ue.prototype,"options",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"multivalued",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"disabled",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"hideSelectedOptions",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"displayCount",void 0);Pe([(0,Oe.property)({type:Boolean})],ue.prototype,"preventNavigation",void 0);Pe([(0,Oe.property)({type:String})],ue.prototype,"filter",void 0);Pe([(0,Oe.property)({type:String})],ue.prototype,"moreValuesButtonLabel",void 0);Pe([(0,Oe.property)({type:String})],ue.prototype,"noValuesLabel",void 0);Pe([(0,Oe.property)({type:Number})],ue.prototype,"displayedValuesLimit",void 0);Pe([(0,Oe.query)(".ft-filter-level--container")],ue.prototype,"container",void 0);Pe([(0,Oe.state)()],ue.prototype,"radios",void 0);Pe([(0,Oe.state)()],ue.prototype,"displayedPages",void 0);var Us=h(w());var Ms=h(L()),Xe=h(Y()),Co=h(w());var Ws=h(lt());var _s=h(L()),mt=h(w());var Be={buttonsColor:mt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",mt.designSystemVariables.colorPrimary),buttonsZIndex:mt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:mt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:mt.FtCssVariableFactory.external(mt.designSystemVariables.colorSurface,"Design system")},Ts=_s.css`
|
|
1429
1429
|
.ft-snap-scroll {
|
|
1430
1430
|
box-sizing: border-box;
|
|
1431
1431
|
position: relative;
|
|
@@ -1460,7 +1460,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1460
1460
|
flex-wrap: nowrap;
|
|
1461
1461
|
align-items: flex-start;
|
|
1462
1462
|
justify-content: flex-start;
|
|
1463
|
-
gap: ${
|
|
1463
|
+
gap: ${Be.gap};
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1503,11 +1503,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1503
1503
|
.ft-snap-scroll--next {
|
|
1504
1504
|
position: absolute;
|
|
1505
1505
|
display: flex;
|
|
1506
|
-
z-index: ${
|
|
1506
|
+
z-index: ${Be.buttonsZIndex};
|
|
1507
1507
|
opacity: 1;
|
|
1508
1508
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1509
1509
|
${(0,mt.setVariable)(U.backgroundColor,"transparent")};
|
|
1510
|
-
${(0,mt.setVariable)(U.color,
|
|
1510
|
+
${(0,mt.setVariable)(U.color,Be.buttonsColor)};
|
|
1511
1511
|
}
|
|
1512
1512
|
|
|
1513
1513
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1520,37 +1520,37 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1520
1520
|
top: 0;
|
|
1521
1521
|
left: -1px;
|
|
1522
1522
|
bottom: 0;
|
|
1523
|
-
background: linear-gradient(to right, ${
|
|
1523
|
+
background: linear-gradient(to right, ${Be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1524
1524
|
}
|
|
1525
1525
|
|
|
1526
1526
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1527
1527
|
top: -1px;
|
|
1528
1528
|
left: 0;
|
|
1529
1529
|
right: 0;
|
|
1530
|
-
background: linear-gradient(to bottom, ${
|
|
1530
|
+
background: linear-gradient(to bottom, ${Be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1531
1531
|
}
|
|
1532
1532
|
|
|
1533
1533
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1534
1534
|
top: 0;
|
|
1535
1535
|
right: -1px;
|
|
1536
1536
|
bottom: 0;
|
|
1537
|
-
background: linear-gradient(to left, ${
|
|
1537
|
+
background: linear-gradient(to left, ${Be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
1540
1540
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1541
1541
|
left: 0;
|
|
1542
1542
|
right: 0;
|
|
1543
1543
|
bottom: -1px;
|
|
1544
|
-
background: linear-gradient(to top, ${
|
|
1544
|
+
background: linear-gradient(to top, ${Be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1545
1545
|
}
|
|
1546
1546
|
|
|
1547
1547
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1548
1548
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1549
1549
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1550
1550
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1551
|
-
background-color: ${
|
|
1551
|
+
background-color: ${Be.colorSurface};
|
|
1552
1552
|
}
|
|
1553
|
-
`;var Et=function(t,e,r,
|
|
1553
|
+
`;var Et=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ii=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},ge=class extends Co.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new Co.Debouncer(200),this.updateScrollDebouncer=new Co.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,Ws.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Co.isSafari}),r=this.controls&&this.withScroll;return Ms.html`
|
|
1554
1554
|
<div part="container" class="${e}">
|
|
1555
1555
|
<ft-button
|
|
1556
1556
|
class="ft-snap-scroll--previous"
|
|
@@ -1574,7 +1574,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1574
1574
|
@click=${this.next}
|
|
1575
1575
|
></ft-button>
|
|
1576
1576
|
</div>
|
|
1577
|
-
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new
|
|
1577
|
+
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ii(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,n;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};ge.elementDefinitions={"ft-button":xe};ge.styles=Ts;Et([(0,Xe.property)({type:Boolean})],ge.prototype,"horizontal",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"hideScrollbar",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"controls",void 0);Et([(0,Xe.property)({type:Boolean})],ge.prototype,"limitSize",void 0);Et([(0,Xe.state)()],ge.prototype,"elements",void 0);Et([(0,Xe.state)()],ge.prototype,"currentElement",void 0);Et([(0,Xe.state)()],ge.prototype,"withScroll",void 0);Et([(0,Xe.state)()],ge.prototype,"startReached",void 0);Et([(0,Xe.state)()],ge.prototype,"endReached",void 0);Et([(0,Xe.query)(".ft-snap-scroll--content")],ge.prototype,"contentSlot",void 0);(0,Us.customElement)("ft-snap-scroll")(ge);var Hs=h(L()),ee=h(w());var Ue={colorOutline:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorPrimary,"Design system"),colorSurface:ee.FtCssVariableFactory.external(ee.designSystemVariables.colorSurface,"Design system"),transitionDuration:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ee.FtCssVariableFactory.external(ee.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ee.FtCssVariableFactory.extend("--ft-filter-label-color","",ee.designSystemVariables.colorOnSurface),labelFontSize:ee.FtCssVariableFactory.extend("--ft-filter-label-font-size","",$.fontSize,"16px")},Vs=[qt,ee.noTextInputDefaultClearButton,Hs.css`
|
|
1578
1578
|
:host {
|
|
1579
1579
|
display: flex;
|
|
1580
1580
|
max-height: 100%;
|
|
@@ -1691,7 +1691,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1691
1691
|
slot:not([name]) {
|
|
1692
1692
|
display: none;
|
|
1693
1693
|
}
|
|
1694
|
-
`];var se=function(t,e,r,
|
|
1694
|
+
`];var se=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ai=class extends CustomEvent{constructor(e){super("change",{detail:e})}},K=class extends st.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new st.Debouncer(300),this.changeDebouncer=new st.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,st.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,st.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return wo.html`
|
|
1695
1695
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1696
1696
|
part="container">
|
|
1697
1697
|
${!this.label&&!e?null:wo.html`
|
|
@@ -1715,8 +1715,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1715
1715
|
part="input"
|
|
1716
1716
|
class="ft-typography--caption"
|
|
1717
1717
|
?disabled=${!r}
|
|
1718
|
-
placeholder="${
|
|
1719
|
-
size="${r?
|
|
1718
|
+
placeholder="${n}"
|
|
1719
|
+
size="${r?n.length:0}"
|
|
1720
1720
|
@search=${this.onFilterChange}
|
|
1721
1721
|
@keyup=${this.onFilterChange}>
|
|
1722
1722
|
</div>
|
|
@@ -1727,7 +1727,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1727
1727
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1728
1728
|
@option-change=${this.optionsChanged}></slot>
|
|
1729
1729
|
</div>
|
|
1730
|
-
`}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(
|
|
1730
|
+
`}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(n=>n.value));this.displayedLevels=this.displayedLevels.filter(n=>r.has(n)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,n,i,a,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(a=(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),n=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=n<0?"ft-filter--level-center":"ft-filter--level-left";return wo.html`
|
|
1731
1731
|
${this.raiseSelectedOptions&&r.length>0?wo.html`
|
|
1732
1732
|
<ft-filter-level
|
|
1733
1733
|
filterId="${this.id}"
|
|
@@ -1745,10 +1745,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1745
1745
|
<ft-snap-scroll horizontal hideScrollbar
|
|
1746
1746
|
class="ft-filter--levels"
|
|
1747
1747
|
@current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
|
|
1748
|
-
${this.renderLevel(
|
|
1749
|
-
${this.displayedLevels.map(a=>e.find(l=>l.value===a)).map((a,l)=>{var c;let p=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":l===
|
|
1748
|
+
${this.renderLevel(i,this.options)}
|
|
1749
|
+
${this.displayedLevels.map(a=>e.find(l=>l.value===a)).map((a,l)=>{var c;let p=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":l===n?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(p,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
|
|
1750
1750
|
</ft-snap-scroll>
|
|
1751
|
-
`}renderLevel(e,r,
|
|
1751
|
+
`}renderLevel(e,r,n){return wo.html`
|
|
1752
1752
|
<ft-filter-level
|
|
1753
1753
|
class="${e}"
|
|
1754
1754
|
filterId="${this.id}"
|
|
@@ -1758,7 +1758,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1758
1758
|
?disabled=${this.disabled||e!=="ft-filter--level-center"}
|
|
1759
1759
|
?hideSelectedOptions=${this.raiseSelectedOptions}
|
|
1760
1760
|
?displayCount="${this.displayCount}"
|
|
1761
|
-
.parent=${
|
|
1761
|
+
.parent=${n}
|
|
1762
1762
|
.options=${r}
|
|
1763
1763
|
.displayedValuesLimit=${this.displayedValuesLimit}
|
|
1764
1764
|
@change=${this.onChange}
|
|
@@ -1768,17 +1768,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1768
1768
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1769
1769
|
noValuesLabel="${this.noValuesLabel}"
|
|
1770
1770
|
></ft-filter-level>
|
|
1771
|
-
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let
|
|
1771
|
+
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(a=>a.value===e.detail.value);n.selected=!n.selected;let i=a=>{var l;a!==n&&(a.selected=!1),(l=a.subOptions)===null||l===void 0||l.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,st.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new ai(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":xe,"ft-filter-level":ue,"ft-snap-scroll":ge,"ft-typography":q};K.styles=Vs;se([(0,X.property)({type:String})],K.prototype,"id",void 0);se([(0,X.property)({type:String})],K.prototype,"label",void 0);se([(0,X.property)({type:String})],K.prototype,"filterPlaceHolder",void 0);se([(0,X.property)({type:String})],K.prototype,"clearButtonLabel",void 0);se([(0,X.property)({type:String})],K.prototype,"moreValuesButtonLabel",void 0);se([(0,X.property)({type:String})],K.prototype,"noValuesLabel",void 0);se([(0,st.jsonProperty)([])],K.prototype,"options",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"multivalued",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"disabled",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"raiseSelectedOptions",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"displayCount",void 0);se([(0,X.property)({type:Number})],K.prototype,"displayedValuesLimit",void 0);se([(0,X.property)({type:Boolean})],K.prototype,"hideClearButton",void 0);se([(0,X.query)(".ft-filter--slot")],K.prototype,"slotElement",void 0);se([(0,X.query)(".ft-filter--container")],K.prototype,"container",void 0);se([(0,X.query)(".ft-filter--values")],K.prototype,"valuesContainer",void 0);se([(0,X.query)(".ft-filter--levels")],K.prototype,"levelsContainer",void 0);se([(0,X.state)()],K.prototype,"lastLevelHasHiddenvalues",void 0);se([(0,X.query)(".ft-filter--filter input")],K.prototype,"filterInput",void 0);se([(0,X.queryAll)(".ft-filter--levels ft-filter-level")],K.prototype,"levels",void 0);se([(0,X.state)()],K.prototype,"withScroll",void 0);se([(0,X.state)()],K.prototype,"filter",void 0);se([(0,X.state)()],K.prototype,"slideIn",void 0);se([(0,X.state)()],K.prototype,"slideOut",void 0);var on=h(w()),Eo=h(Y()),Gs=h(L()),qo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Je=class extends on.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Gs.html`
|
|
1772
1772
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1773
|
-
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};qo([(0,Eo.property)({type:String})],Je.prototype,"label",void 0);qo([(0,Eo.property)({type:Object,converter:t=>t})],Je.prototype,"value",void 0);qo([(0,Eo.property)({type:Boolean,reflect:!0})],Je.prototype,"selected",void 0);qo([(0,Eo.property)({type:Object})],Je.prototype,"subOptions",void 0);qo([(0,
|
|
1773
|
+
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};qo([(0,Eo.property)({type:String})],Je.prototype,"label",void 0);qo([(0,Eo.property)({type:Object,converter:t=>t})],Je.prototype,"value",void 0);qo([(0,Eo.property)({type:Boolean,reflect:!0})],Je.prototype,"selected",void 0);qo([(0,Eo.property)({type:Object})],Je.prototype,"subOptions",void 0);qo([(0,on.jsonProperty)({})],Je.prototype,"renderOption",void 0);qo([(0,Eo.query)(".ft-filter-option--slot")],Je.prototype,"slotElement",void 0);(0,li.customElement)("ft-filter")(K);(0,li.customElement)("ft-filter-option")(Je);var si=h(w());var qs=h(L()),rn=h(Y()),Ys=h(w());var js=h(L());var Ks=js.css`
|
|
1774
1774
|
.ft-accordion {
|
|
1775
1775
|
box-sizing: border-box;
|
|
1776
1776
|
}
|
|
1777
|
-
`;var Zs=function(t,e,r,
|
|
1777
|
+
`;var Zs=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$t=class extends Ys.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return qs.html`
|
|
1778
1778
|
<div class="ft-accordion">
|
|
1779
1779
|
<slot @activated=${this.onChange}></slot>
|
|
1780
1780
|
</div>
|
|
1781
|
-
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};$t.elementDefinitions={};$t.styles=Ks;Zs([(0,
|
|
1781
|
+
`}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};$t.elementDefinitions={};$t.styles=Ks;Zs([(0,rn.property)({type:Boolean})],$t.prototype,"multi",void 0);Zs([(0,rn.query)("slot")],$t.prototype,"content",void 0);var xr=h(L()),vr=h(Y()),Qs=h(w());var Xs=h(L()),Ro=h(w()),$o={horizontalSpacing:Ro.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:Ro.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:Ro.FtCssVariableFactory.external(Ro.designSystemVariables.colorOutline,"Design system"),backgroundColor:Ro.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Js=Xs.css`
|
|
1782
1782
|
.ft-accordion-item {
|
|
1783
1783
|
display: flex;
|
|
1784
1784
|
flex-direction: column;
|
|
@@ -1824,7 +1824,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1824
1824
|
.ft-accordion-item--separator {
|
|
1825
1825
|
border-bottom: 1px solid ${$o.colorOutline};
|
|
1826
1826
|
}
|
|
1827
|
-
`;var
|
|
1827
|
+
`;var nn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ct=class extends Qs.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return xr.html`
|
|
1828
1828
|
<div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
|
|
1829
1829
|
<div class="ft-accordion-item--toggle"
|
|
1830
1830
|
part="toggle"
|
|
@@ -1835,13 +1835,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1835
1835
|
aria-controls="ft-accordion-item-content"
|
|
1836
1836
|
aria-expanded="${this.active}">
|
|
1837
1837
|
<ft-ripple part="toggle-ripple"></ft-ripple>
|
|
1838
|
-
${this.icon?
|
|
1838
|
+
${this.icon?xr.html`
|
|
1839
1839
|
<ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
|
|
1840
1840
|
`:null}
|
|
1841
|
-
${this.label?
|
|
1841
|
+
${this.label?xr.html`
|
|
1842
1842
|
<ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
|
|
1843
1843
|
</ft-typography>
|
|
1844
|
-
`:
|
|
1844
|
+
`:xr.html`
|
|
1845
1845
|
<slot class="ft-accordion-item--label" name="toggle" part="label"></slot>
|
|
1846
1846
|
`}
|
|
1847
1847
|
<ft-icon variant="material">${this.active?"expand_less":"expand_more"}</ft-icon>
|
|
@@ -1854,7 +1854,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1854
1854
|
</div>
|
|
1855
1855
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1856
1856
|
</div>
|
|
1857
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae};ct.styles=Js;
|
|
1857
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};ct.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae};ct.styles=Js;nn([(0,vr.property)()],ct.prototype,"icon",void 0);nn([(0,vr.property)()],ct.prototype,"iconVariant",void 0);nn([(0,vr.property)()],ct.prototype,"label",void 0);nn([(0,vr.property)({type:Boolean,reflect:!0})],ct.prototype,"active",void 0);(0,si.customElement)("ft-accordion")($t);(0,si.customElement)("ft-accordion-item")(ct);var fi=h(w());var ln=h(L()),De=h(Y()),nc=h(lt()),Yo=h(w());var an=h(L()),M=h(w());var ec=M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnSurface),Ie={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorSurface),color:ec,fontSize:M.FtCssVariableFactory.extend("--ft-chip-font-size","",Ce.fontSize),iconSize:M.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:M.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:M.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ec),horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:M.FtCssVariableFactory.extend("--ft-chip-border-color","",M.designSystemVariables.colorOutline),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},tc=M.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnPrimary)),ci={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorPrimary)),color:tc,rippleColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",tc)},oc={horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},rc=[M.noTextSelect,an.css`
|
|
1858
1858
|
:host {
|
|
1859
1859
|
display: inline-block;
|
|
1860
1860
|
max-width: 100%;
|
|
@@ -1870,20 +1870,20 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1870
1870
|
box-sizing: border-box;
|
|
1871
1871
|
pointer-events: auto;
|
|
1872
1872
|
|
|
1873
|
-
--ft-chip-internal-font-size: ${
|
|
1873
|
+
--ft-chip-internal-font-size: ${Ie.fontSize};
|
|
1874
1874
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1875
|
-
${(0,
|
|
1876
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1877
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1875
|
+
${(0,M.setVariable)(de.size,Ie.iconSize)};
|
|
1876
|
+
--ft-chip-internal-vertical-padding: ${Ie.verticalPadding};
|
|
1877
|
+
--ft-chip-internal-horizontal-padding: ${Ie.horizontalPadding};
|
|
1878
1878
|
--ft-chip-internal-icon-padding: 3px;
|
|
1879
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
1879
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ie.iconSize});
|
|
1880
1880
|
|
|
1881
|
-
border: 1px solid ${
|
|
1882
|
-
color: ${
|
|
1883
|
-
${(0,
|
|
1884
|
-
border-radius: var(${(0,
|
|
1881
|
+
border: 1px solid ${Ie.borderColor};
|
|
1882
|
+
color: ${Ie.color};
|
|
1883
|
+
${(0,M.setVariable)(O.color,Ie.rippleColor)};
|
|
1884
|
+
border-radius: var(${(0,an.unsafeCSS)(Ie.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
1885
1885
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
1886
|
-
background-color: ${
|
|
1886
|
+
background-color: ${Ie.backgroundColor};
|
|
1887
1887
|
line-height: var(--ft-chip-internal-content-height);
|
|
1888
1888
|
}
|
|
1889
1889
|
|
|
@@ -1906,15 +1906,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1906
1906
|
cursor: default;
|
|
1907
1907
|
pointer-events: none;
|
|
1908
1908
|
filter: grayscale(1);
|
|
1909
|
-
opacity: ${
|
|
1909
|
+
opacity: ${Ie.opacityDisabled};
|
|
1910
1910
|
}
|
|
1911
1911
|
|
|
1912
1912
|
.ft-chip--highlighted {
|
|
1913
1913
|
border: none;
|
|
1914
1914
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
1915
|
-
background-color: ${
|
|
1916
|
-
${(0,
|
|
1917
|
-
color: ${
|
|
1915
|
+
background-color: ${ci.backgroundColor};
|
|
1916
|
+
${(0,M.setVariable)(O.color,ci.rippleColor)};
|
|
1917
|
+
color: ${ci.color};
|
|
1918
1918
|
}
|
|
1919
1919
|
|
|
1920
1920
|
.ft-chip--clickable {
|
|
@@ -1945,9 +1945,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1945
1945
|
}
|
|
1946
1946
|
|
|
1947
1947
|
.ft-chip--icon-button {
|
|
1948
|
-
${(0,
|
|
1949
|
-
${(0,
|
|
1950
|
-
${(0,
|
|
1948
|
+
${(0,M.setVariable)(U.iconSize,Ie.iconSize)};
|
|
1949
|
+
${(0,M.setVariable)(U.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1950
|
+
${(0,M.setVariable)(U.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1951
1951
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1952
1952
|
}
|
|
1953
1953
|
|
|
@@ -1955,8 +1955,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1955
1955
|
vertical-align: bottom;
|
|
1956
1956
|
display: block;
|
|
1957
1957
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1958
|
-
${(0,
|
|
1959
|
-
${(0,
|
|
1958
|
+
${(0,M.setVariable)(Ce.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1959
|
+
${(0,M.setVariable)(Ce.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1960
1960
|
}
|
|
1961
1961
|
|
|
1962
1962
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1992,8 +1992,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1992
1992
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1993
1993
|
order: -1;
|
|
1994
1994
|
}
|
|
1995
|
-
`];var Qe=function(t,e,r,
|
|
1996
|
-
<div class="${(0,
|
|
1995
|
+
`];var Qe=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},sn=class extends CustomEvent{constructor(){super("icon-click")}},he=class extends Yo.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":Yo.isSafari};return ln.html`
|
|
1996
|
+
<div class="${(0,nc.classMap)(e)}"
|
|
1997
1997
|
aria-label="${this.getLabel()}"
|
|
1998
1998
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1999
1999
|
@keyup=${this.onKeyUp}
|
|
@@ -2004,7 +2004,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2004
2004
|
</ft-typography>
|
|
2005
2005
|
${this.internalIcon?this.renderIcon():null}
|
|
2006
2006
|
</div>
|
|
2007
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
2007
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?ln.html`
|
|
2008
2008
|
<ft-button round
|
|
2009
2009
|
class="ft-chip--icon-button"
|
|
2010
2010
|
@click=${this.onIconClick}
|
|
@@ -2014,11 +2014,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2014
2014
|
tooltipposition="top"
|
|
2015
2015
|
part="icon-button"
|
|
2016
2016
|
></ft-button>
|
|
2017
|
-
`:
|
|
2017
|
+
`:ln.html`
|
|
2018
2018
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2019
2019
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2020
2020
|
</div>
|
|
2021
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new
|
|
2021
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new sn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new sn))}getLabel(){return this.label||this.textContent}get textContent(){return(0,Yo.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};he.elementDefinitions={"ft-ripple":T,"ft-typography":q,"ft-icon":ae,"ft-button":xe};he.styles=rc;Qe([(0,De.property)({type:Boolean})],he.prototype,"highlighted",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"removable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"disabled",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"clickable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"iconClickable",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"dense",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"multiLine",void 0);Qe([(0,De.property)()],he.prototype,"label",void 0);Qe([(0,De.property)()],he.prototype,"iconLabel",void 0);Qe([(0,De.property)()],he.prototype,"icon",void 0);Qe([(0,De.property)()],he.prototype,"iconVariant",void 0);Qe([(0,De.property)({type:Boolean})],he.prototype,"trailingIcon",void 0);Qe([(0,De.query)("ft-typography slot")],he.prototype,"slottedContent",void 0);var ko=h(L()),Lo=h(Y()),lc=h(lt()),cn=h(w());var ic=h(L());var di=h(w());var ac=[ic.css`
|
|
2022
2022
|
:host {
|
|
2023
2023
|
display: inline-block;
|
|
2024
2024
|
max-width: 100%;
|
|
@@ -2036,95 +2036,95 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2036
2036
|
|
|
2037
2037
|
/* MEDIUM VARIANT */
|
|
2038
2038
|
.ftds--size-medium {
|
|
2039
|
-
min-height: ${
|
|
2040
|
-
padding: 0 ${
|
|
2041
|
-
border-radius: ${
|
|
2042
|
-
border-width: ${
|
|
2039
|
+
min-height: ${W.mediumMinHeight};
|
|
2040
|
+
padding: 0 ${W.mediumHorizontalPadding};
|
|
2041
|
+
border-radius: ${W.mediumBorderRadius};
|
|
2042
|
+
border-width: ${W.mediumBorderWidth};
|
|
2043
2043
|
border-style: solid;
|
|
2044
|
-
gap: ${
|
|
2045
|
-
${(0,
|
|
2044
|
+
gap: ${W.mediumGap};
|
|
2045
|
+
${(0,di.setVariable)(de.size,W.mediumIconSize)}
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
2048
2048
|
.ftds--size-medium.ftds-chip--removable {
|
|
2049
|
-
padding-right: ${
|
|
2049
|
+
padding-right: ${W.mediumButtonRightPadding};
|
|
2050
2050
|
}
|
|
2051
2051
|
|
|
2052
2052
|
|
|
2053
2053
|
/* LARGE VARIANT */
|
|
2054
2054
|
.ftds--size-large {
|
|
2055
|
-
min-height: ${
|
|
2056
|
-
padding: 0 ${
|
|
2057
|
-
border-radius: ${
|
|
2058
|
-
border-width: ${
|
|
2055
|
+
min-height: ${W.largeMinHeight};
|
|
2056
|
+
padding: 0 ${W.largeHorizontalPadding};
|
|
2057
|
+
border-radius: ${W.largeBorderRadius};
|
|
2058
|
+
border-width: ${W.largeBorderWidth};
|
|
2059
2059
|
border-style: solid;
|
|
2060
|
-
gap: ${
|
|
2061
|
-
${(0,
|
|
2060
|
+
gap: ${W.largeGap};
|
|
2061
|
+
${(0,di.setVariable)(de.size,W.largeIconSize)}
|
|
2062
2062
|
}
|
|
2063
2063
|
|
|
2064
2064
|
.ftds--size-large.ftds-chip--removable {
|
|
2065
|
-
padding-right: ${
|
|
2065
|
+
padding-right: ${W.largeButtonRightPadding};
|
|
2066
2066
|
}
|
|
2067
2067
|
|
|
2068
2068
|
|
|
2069
2069
|
/* NEUTRAL COLORS */
|
|
2070
2070
|
.ftds--family-neutral {
|
|
2071
|
-
background-color: ${
|
|
2072
|
-
border-color: ${
|
|
2073
|
-
color: ${
|
|
2071
|
+
background-color: ${W.neutralBackgroundColor};
|
|
2072
|
+
border-color: ${W.neutralBorderColor};
|
|
2073
|
+
color: ${W.neutralColor};
|
|
2074
2074
|
}
|
|
2075
2075
|
|
|
2076
2076
|
.ftds--family-neutral .ftds-chip--icon-container {
|
|
2077
|
-
color: ${
|
|
2077
|
+
color: ${W.neutralIconColor};
|
|
2078
2078
|
}
|
|
2079
2079
|
|
|
2080
2080
|
|
|
2081
2081
|
/* INFO COLORS */
|
|
2082
2082
|
.ftds--family-info {
|
|
2083
|
-
background-color: ${
|
|
2084
|
-
border-color: ${
|
|
2085
|
-
color: ${
|
|
2083
|
+
background-color: ${W.infoBackgroundColor};
|
|
2084
|
+
border-color: ${W.infoBorderColor};
|
|
2085
|
+
color: ${W.infoColor};
|
|
2086
2086
|
}
|
|
2087
2087
|
|
|
2088
2088
|
.ftds--family-info .ftds-chip--icon-container {
|
|
2089
|
-
color: ${
|
|
2089
|
+
color: ${W.infoIconColor};
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
2092
2092
|
|
|
2093
2093
|
/* SUCCESS COLORS */
|
|
2094
2094
|
.ftds--family-success {
|
|
2095
|
-
background-color: ${
|
|
2096
|
-
border-color: ${
|
|
2097
|
-
color: ${
|
|
2095
|
+
background-color: ${W.successBackgroundColor};
|
|
2096
|
+
border-color: ${W.successBorderColor};
|
|
2097
|
+
color: ${W.successColor};
|
|
2098
2098
|
}
|
|
2099
2099
|
|
|
2100
2100
|
.ftds--family-success .ftds-chip--icon-container {
|
|
2101
|
-
color: ${
|
|
2101
|
+
color: ${W.successIconColor};
|
|
2102
2102
|
}
|
|
2103
2103
|
|
|
2104
2104
|
|
|
2105
2105
|
/* WARNING COLORS */
|
|
2106
2106
|
.ftds--family-warning {
|
|
2107
|
-
background-color: ${
|
|
2108
|
-
border-color: ${
|
|
2109
|
-
color: ${
|
|
2107
|
+
background-color: ${W.warningBackgroundColor};
|
|
2108
|
+
border-color: ${W.warningBorderColor};
|
|
2109
|
+
color: ${W.warningColor};
|
|
2110
2110
|
}
|
|
2111
2111
|
|
|
2112
2112
|
.ftds--family-warning .ftds-chip--icon-container {
|
|
2113
|
-
color: ${
|
|
2113
|
+
color: ${W.warningIconColor};
|
|
2114
2114
|
}
|
|
2115
2115
|
|
|
2116
2116
|
|
|
2117
2117
|
/* ERROR COLORS */
|
|
2118
2118
|
.ftds--family-error {
|
|
2119
|
-
background-color: ${
|
|
2120
|
-
border-color: ${
|
|
2121
|
-
color: ${
|
|
2119
|
+
background-color: ${W.errorBackgroundColor};
|
|
2120
|
+
border-color: ${W.errorBorderColor};
|
|
2121
|
+
color: ${W.errorColor};
|
|
2122
2122
|
}
|
|
2123
2123
|
|
|
2124
2124
|
.ftds--family-error .ftds-chip--icon-container {
|
|
2125
|
-
color: ${
|
|
2125
|
+
color: ${W.errorIconColor};
|
|
2126
2126
|
}
|
|
2127
|
-
`];var Sr=function(t,e,r,
|
|
2127
|
+
`];var Sr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},pi=class extends CustomEvent{constructor(){super("remove")}},gt=class extends cn.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 ko.html`
|
|
2128
2128
|
<div class="${(0,lc.classMap)(e)}"
|
|
2129
2129
|
aria-label="${this.getLabel()}"
|
|
2130
2130
|
part="chip">
|
|
@@ -2134,39 +2134,39 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2134
2134
|
</ft-typography>
|
|
2135
2135
|
${this.renderRemoveButton()}
|
|
2136
2136
|
</div>
|
|
2137
|
-
`}renderIcon(){return this.icon?
|
|
2137
|
+
`}renderIcon(){return this.icon?ko.html`
|
|
2138
2138
|
<div class="ftds-chip--icon-container" part="icon-container">
|
|
2139
|
-
<ft-icon .variant=${
|
|
2139
|
+
<ft-icon .variant=${Ne.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
2140
2140
|
</div>
|
|
2141
|
-
`:
|
|
2141
|
+
`:ko.nothing}renderRemoveButton(){return this.removable?ko.html`
|
|
2142
2142
|
<ftds-button round
|
|
2143
2143
|
class="ftds-chip--remove-button"
|
|
2144
2144
|
@click=${this.dispatchRemoveEvent}
|
|
2145
2145
|
icon=${wt.X_MARK}
|
|
2146
2146
|
label=${this.removeButtonLabel}
|
|
2147
|
-
family=${
|
|
2147
|
+
family=${cn.DesignSystemFamily.neutral}
|
|
2148
2148
|
size=${this.resolveButtonSize()}
|
|
2149
2149
|
part="icon-button"
|
|
2150
2150
|
></ftds-button>
|
|
2151
|
-
`:
|
|
2151
|
+
`:ko.nothing}resolveButtonSize(){switch(this.size){case Le.large:return Le.medium;case Le.medium:case Le.small:return Le.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 pi)}typographyVariant(){switch(this.size){case Le.large:return it.body2medium;case Le.medium:return it.caption1medium;case Le.small:return it.caption2medium}}};gt.elementDefinitions={"ft-typography":q,"ft-icon":ae,"ftds-button":ht};gt.styles=ac;Sr([(0,Lo.property)({type:Boolean})],gt.prototype,"removable",void 0);Sr([(0,Lo.property)()],gt.prototype,"removeButtonLabel",void 0);Sr([(0,Lo.property)()],gt.prototype,"label",void 0);Sr([(0,Lo.property)()],gt.prototype,"icon",void 0);Sr([(0,Lo.query)("ft-typography slot")],gt.prototype,"slottedContent",void 0);(0,fi.customElement)("ft-chip")(he);(0,fi.customElement)("ftds-chip")(gt);var yi=h(w());var Cr=h(L()),oe=h(Y()),hi=h(lt()),yc=h(fo()),wr=h(w());var fc=h(w());var ui=h(L()),Xo=h(Y()),dc=h(lt()),pc=h(w());var sc=h(L()),te=h(w());var _={fontSize:te.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:te.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:te.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:te.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:te.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:te.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:te.FtCssVariableFactory.extend("--ft-input-label-border-color","",te.designSystemVariables.colorOutline),textColor:te.FtCssVariableFactory.extend("--ft-input-label-text-color","",te.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:te.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",te.designSystemVariables.colorOnSurfaceDisabled),colorSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorSurface,"Design system"),borderRadiusS:te.FtCssVariableFactory.external(te.designSystemVariables.borderRadiusS,"Design system"),colorError:te.FtCssVariableFactory.external(te.designSystemVariables.colorError,"Design system")},cc=sc.css`
|
|
2152
2152
|
.ft-input-label {
|
|
2153
2153
|
position: absolute;
|
|
2154
2154
|
inset: 0;
|
|
2155
2155
|
display: flex;
|
|
2156
|
-
background-color: ${
|
|
2157
|
-
border-radius: ${
|
|
2156
|
+
background-color: ${_.colorSurface};
|
|
2157
|
+
border-radius: ${_.borderRadiusS} ${_.borderRadiusS} 0 0;
|
|
2158
2158
|
}
|
|
2159
2159
|
|
|
2160
2160
|
.ft-input-label--outlined {
|
|
2161
|
-
border-radius: ${
|
|
2161
|
+
border-radius: ${_.borderRadiusS};
|
|
2162
2162
|
}
|
|
2163
2163
|
|
|
2164
2164
|
.ft-input-label {
|
|
2165
|
-
border-color: ${
|
|
2165
|
+
border-color: ${_.borderColor};
|
|
2166
2166
|
}
|
|
2167
2167
|
|
|
2168
2168
|
.ft-input-label.ft-input-label--in-error {
|
|
2169
|
-
border-color: ${
|
|
2169
|
+
border-color: ${_.colorError}
|
|
2170
2170
|
}
|
|
2171
2171
|
|
|
2172
2172
|
.ft-input-label:before,
|
|
@@ -2179,7 +2179,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2179
2179
|
}
|
|
2180
2180
|
|
|
2181
2181
|
.ft-input-label:before {
|
|
2182
|
-
width: calc(${
|
|
2182
|
+
width: calc(${_.horizontalSpacing} - 4px);
|
|
2183
2183
|
flex-shrink: 0;
|
|
2184
2184
|
}
|
|
2185
2185
|
|
|
@@ -2195,20 +2195,20 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2195
2195
|
border-bottom-width: 1px;
|
|
2196
2196
|
border-bottom-style: solid;
|
|
2197
2197
|
border-color: inherit;
|
|
2198
|
-
color: ${
|
|
2198
|
+
color: ${_.textColor};
|
|
2199
2199
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
2200
|
-
max-width: calc(${
|
|
2200
|
+
max-width: calc(${_.labelMaxWidth} - 2 * (${_.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
2201
2201
|
text-overflow: ellipsis;
|
|
2202
|
-
${(0,te.setVariable)(ft.fontSize,
|
|
2203
|
-
${(0,te.setVariable)(ft.lineHeight,
|
|
2202
|
+
${(0,te.setVariable)(ft.fontSize,_.fontSize)};
|
|
2203
|
+
${(0,te.setVariable)(ft.lineHeight,_.fontSize)};
|
|
2204
2204
|
}
|
|
2205
2205
|
|
|
2206
2206
|
.ft-input-label--in-error .ft-input-label--text {
|
|
2207
|
-
color: ${
|
|
2207
|
+
color: ${_.colorError}
|
|
2208
2208
|
}
|
|
2209
2209
|
|
|
2210
2210
|
.ft-input-label--disabled .ft-input-label--text {
|
|
2211
|
-
color: ${
|
|
2211
|
+
color: ${_.disabledTextColor};
|
|
2212
2212
|
}
|
|
2213
2213
|
|
|
2214
2214
|
.ft-input-label--hidden-text {
|
|
@@ -2225,19 +2225,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2225
2225
|
overflow: hidden;
|
|
2226
2226
|
white-space: nowrap;
|
|
2227
2227
|
text-overflow: ellipsis;
|
|
2228
|
-
padding: ${
|
|
2229
|
-
margin: calc(${
|
|
2228
|
+
padding: ${_.verticalSpacing} 4px;
|
|
2229
|
+
margin: calc(${_.verticalSpacing} * -1) 0;
|
|
2230
2230
|
max-width: 100%;
|
|
2231
2231
|
box-sizing: border-box;
|
|
2232
2232
|
}
|
|
2233
2233
|
|
|
2234
2234
|
.ft-input-label--raised .ft-input-label--text {
|
|
2235
|
-
${(0,te.setVariable)(ft.fontSize,
|
|
2236
|
-
${(0,te.setVariable)(ft.lineHeight,
|
|
2235
|
+
${(0,te.setVariable)(ft.fontSize,_.raisedFontSize)};
|
|
2236
|
+
${(0,te.setVariable)(ft.lineHeight,_.raisedFontSize)};
|
|
2237
2237
|
}
|
|
2238
2238
|
|
|
2239
2239
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
2240
|
-
top: ${
|
|
2240
|
+
top: ${_.verticalSpacing};
|
|
2241
2241
|
}
|
|
2242
2242
|
|
|
2243
2243
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -2250,36 +2250,36 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2250
2250
|
.ft-input-label--outlined:before {
|
|
2251
2251
|
border-left-width: 1px;
|
|
2252
2252
|
border-left-style: solid;
|
|
2253
|
-
border-radius: ${
|
|
2253
|
+
border-radius: ${_.borderRadiusS} 0 0 ${_.borderRadiusS};
|
|
2254
2254
|
}
|
|
2255
2255
|
|
|
2256
2256
|
.ft-input-label--outlined:after {
|
|
2257
2257
|
border-right-width: 1px;
|
|
2258
2258
|
border-right-style: solid;
|
|
2259
|
-
border-radius: 0 ${
|
|
2259
|
+
border-radius: 0 ${_.borderRadiusS} ${_.borderRadiusS} 0;
|
|
2260
2260
|
}
|
|
2261
2261
|
|
|
2262
2262
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
2263
2263
|
padding: 2px 4px;
|
|
2264
|
-
z-index: ${
|
|
2265
|
-
background-color: ${
|
|
2266
|
-
border-radius: ${
|
|
2264
|
+
z-index: ${_.raisedZIndex};
|
|
2265
|
+
background-color: ${_.colorSurface};
|
|
2266
|
+
border-radius: ${_.borderRadiusS};
|
|
2267
2267
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
2268
2268
|
}
|
|
2269
2269
|
|
|
2270
2270
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
2271
2271
|
border-top: none;
|
|
2272
2272
|
}
|
|
2273
|
-
`;var Or=function(t,e,r,
|
|
2273
|
+
`;var Or=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},et=class extends pc.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ui.html`
|
|
2274
2274
|
<div class="${(0,dc.classMap)(e)}">
|
|
2275
|
-
${this.text?
|
|
2275
|
+
${this.text?ui.html`
|
|
2276
2276
|
<div class="ft-input-label--text ft-typography--caption">
|
|
2277
2277
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
2278
2278
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
2279
2279
|
</div>
|
|
2280
2280
|
`:null}
|
|
2281
2281
|
</div>
|
|
2282
|
-
`}};et.elementDefinitions={};et.styles=[qt,cc];Or([(0,Xo.property)({type:String})],et.prototype,"text",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"raised",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"outlined",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"disabled",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"error",void 0);(0,fc.customElement)("ft-input-label")(et);var uc=h(
|
|
2282
|
+
`}};et.elementDefinitions={};et.styles=[qt,cc];Or([(0,Xo.property)({type:String})],et.prototype,"text",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"raised",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"outlined",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"disabled",void 0);Or([(0,Xo.property)({type:Boolean})],et.prototype,"error",void 0);(0,fc.customElement)("ft-input-label")(et);var uc=h(L()),F=h(w());var H={labelSize:F.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:F.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:F.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:F.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:F.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:F.FtCssVariableFactory.extend("--ft-select-selected-option-color","",F.designSystemVariables.colorOnSurface),helperColor:F.FtCssVariableFactory.extend("--ft-select-helper-color","",F.designSystemVariables.colorOnSurfaceMedium),optionsColor:F.FtCssVariableFactory.extend("--ft-select-options-color","",F.designSystemVariables.colorOnSurface),optionsZIndex:F.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:F.FtCssVariableFactory.external(F.designSystemVariables.borderRadiusS,"Design system"),elevation02:F.FtCssVariableFactory.external(F.designSystemVariables.elevation02,"Design system"),colorError:F.FtCssVariableFactory.external(F.designSystemVariables.colorError,"Design system")},hc=uc.css`
|
|
2283
2283
|
*:focus {
|
|
2284
2284
|
outline: none;
|
|
2285
2285
|
}
|
|
@@ -2331,11 +2331,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2331
2331
|
}
|
|
2332
2332
|
|
|
2333
2333
|
ft-input-label {
|
|
2334
|
-
${(0,F.setVariable)(
|
|
2335
|
-
${(0,F.setVariable)(
|
|
2336
|
-
${(0,F.setVariable)(
|
|
2337
|
-
${(0,F.setVariable)(
|
|
2338
|
-
${(0,F.setVariable)(
|
|
2334
|
+
${(0,F.setVariable)(_.fontSize,H.selectedOptionSize)};
|
|
2335
|
+
${(0,F.setVariable)(_.raisedFontSize,H.labelSize)};
|
|
2336
|
+
${(0,F.setVariable)(_.verticalSpacing,H.verticalSpacing)};
|
|
2337
|
+
${(0,F.setVariable)(_.horizontalSpacing,H.horizontalSpacing)};
|
|
2338
|
+
${(0,F.setVariable)(_.labelMaxWidth,`calc(100% - ${de.size} - 8px)`)};
|
|
2339
2339
|
}
|
|
2340
2340
|
|
|
2341
2341
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
@@ -2343,8 +2343,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2343
2343
|
}
|
|
2344
2344
|
|
|
2345
2345
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
2346
|
-
${(0,F.setVariable)(
|
|
2347
|
-
${(0,F.setVariable)(
|
|
2346
|
+
${(0,F.setVariable)(_.borderColor,H.colorPrimary)};
|
|
2347
|
+
${(0,F.setVariable)(_.textColor,H.colorPrimary)};
|
|
2348
2348
|
}
|
|
2349
2349
|
|
|
2350
2350
|
.ft-select--selected-option {
|
|
@@ -2354,8 +2354,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2354
2354
|
overflow: hidden;
|
|
2355
2355
|
white-space: nowrap;
|
|
2356
2356
|
text-overflow: ellipsis;
|
|
2357
|
-
${(0,F.setVariable)(
|
|
2358
|
-
${(0,F.setVariable)(
|
|
2357
|
+
${(0,F.setVariable)(Bt.fontSize,H.selectedOptionSize)};
|
|
2358
|
+
${(0,F.setVariable)(Bt.lineHeight,H.selectedOptionSize)};
|
|
2359
2359
|
}
|
|
2360
2360
|
|
|
2361
2361
|
.ft-select--in-error .ft-select--selected-option {
|
|
@@ -2424,8 +2424,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2424
2424
|
.ft-select--in-error .ft-select--helper-text {
|
|
2425
2425
|
color: ${H.colorError};
|
|
2426
2426
|
}
|
|
2427
|
-
`;var pe=function(t,e,r,
|
|
2428
|
-
<div class="${(0,
|
|
2427
|
+
`;var pe=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Rt=class extends wr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Cr.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Rt.elementDefinitions={};pe([(0,oe.property)({type:String})],Rt.prototype,"label",void 0);pe([(0,oe.property)({type:Object,converter:t=>t})],Rt.prototype,"value",void 0);pe([(0,oe.property)({type:Boolean,reflect:!0})],Rt.prototype,"selected",void 0);var J=class extends wr.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,n,i,a;let l=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,p=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":l,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Cr.html`
|
|
2428
|
+
<div class="${(0,hi.classMap)(f)}" part="container">
|
|
2429
2429
|
<div class="ft-select--main-panel" part="main-panel">
|
|
2430
2430
|
<ft-input-label text="${this.label}"
|
|
2431
2431
|
part="label"
|
|
@@ -2445,7 +2445,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2445
2445
|
role="combobox">
|
|
2446
2446
|
<ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
|
|
2447
2447
|
<ft-typography variant="body1" class="ft-select--selected-option">
|
|
2448
|
-
${(a=(
|
|
2448
|
+
${(a=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:""}
|
|
2449
2449
|
</ft-typography>
|
|
2450
2450
|
<ft-icon>${l?"thin_arrow_up":"thin_arrow"}</ft-icon>
|
|
2451
2451
|
</div>
|
|
@@ -2464,16 +2464,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2464
2464
|
@option-change=${this.updateOptionsFromSlot}
|
|
2465
2465
|
></slot>
|
|
2466
2466
|
`}renderOption(e){let r=this.selectedOption===e;return Cr.html`
|
|
2467
|
-
<div class="${(0,
|
|
2467
|
+
<div class="${(0,hi.classMap)({"ft-select--option":!0,"ft-select--option-selected":r,"ft-typography--body2":!0})}"
|
|
2468
2468
|
part="option"
|
|
2469
2469
|
tabindex="0"
|
|
2470
2470
|
data-value="${e.value}"
|
|
2471
|
-
@keydown=${
|
|
2471
|
+
@keydown=${i=>this.onOptionKeyDown(i,e)}
|
|
2472
2472
|
@click=${()=>this.selectOption(e)}>
|
|
2473
2473
|
<ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
|
|
2474
2474
|
<span>${e.label}</span>
|
|
2475
2475
|
</div>
|
|
2476
|
-
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,
|
|
2476
|
+
`}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,n;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Zr(this.mainPanel,this.optionsMenu,"bottom").then(({x:i,y:a})=>{this.optionsMenu.style.left=`${i}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let n=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,n,i,a,l;let c;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),c=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),c=(l=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&l!==void 0?l:this.firstOption;break}c?.focus()}onOptionKeyDown(e,r){var n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(e){var r,n;if(!(0,wr.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};J.elementDefinitions={"ft-input-label":et,"ft-typography":q,"ft-ripple":T,"ft-icon":ae};J.styles=[Ho,qt,hc];pe([(0,oe.property)({type:String})],J.prototype,"label",void 0);pe([(0,oe.property)({type:String})],J.prototype,"ariaLabel",void 0);pe([(0,oe.property)({type:String})],J.prototype,"helper",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"outlined",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"disabled",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"error",void 0);pe([(0,oe.property)({type:Boolean})],J.prototype,"fixedMenuPosition",void 0);pe([(0,oe.property)({type:Array})],J.prototype,"options",void 0);pe([(0,oe.state)()],J.prototype,"selectedOption",void 0);pe([(0,oe.state)()],J.prototype,"optionsDisplayed",void 0);pe([(0,oe.state)()],J.prototype,"focusOptions",void 0);pe([(0,oe.query)(".ft-select")],J.prototype,"container",void 0);pe([(0,oe.query)(".ft-select--options")],J.prototype,"optionsMenu",void 0);pe([(0,oe.query)(".ft-select--input-panel")],J.prototype,"mainPanel",void 0);pe([(0,oe.query)(".ft-select--option:first-child")],J.prototype,"firstOption",void 0);pe([(0,oe.query)(".ft-select--option:focus")],J.prototype,"focusedOption",void 0);pe([(0,oe.query)(".ft-select--option.ft-select--option-selected")],J.prototype,"selectedOptionElement",void 0);pe([(0,oe.query)(".ft-select--option:last-child")],J.prototype,"lastOption",void 0);pe([(0,oe.query)("slot")],J.prototype,"optionsSlot",void 0);(0,yi.customElement)("ft-select")(J);(0,yi.customElement)("ft-select-option")(Rt);var P=h(w()),mi=h(L());var mc=h(L()),bt=h(w()),Ee={display:bt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:bt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:bt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:bt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:bt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:bt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:bt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:bt.FtCssVariableFactory.external(bt.designSystemVariables.borderRadiusM,"Design system")},gc=mc.css`
|
|
2477
2477
|
:host {
|
|
2478
2478
|
width: ${Ee.width};
|
|
2479
2479
|
height: ${Ee.height};
|
|
@@ -2500,7 +2500,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2500
2500
|
background-position: calc(100vw + ${Ee.glareWidth}) 0, calc(${Ee.glareWidth} * -1) 0;
|
|
2501
2501
|
}
|
|
2502
2502
|
}
|
|
2503
|
-
`;var A={height:P.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:P.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",P.designSystemVariables.borderRadiusS),mobileOpenPosition:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:P.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:P.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:P.FtCssVariableFactory.external(P.designSystemVariables.colorSurface,"Design system"),colorOnSurface:P.FtCssVariableFactory.external(P.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:P.FtCssVariableFactory.external(P.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:P.FtCssVariableFactory.external(P.designSystemVariables.colorOutline,"Design system"),colorPrimary:P.FtCssVariableFactory.external(P.designSystemVariables.colorPrimary,"Design system"),elevation02:P.FtCssVariableFactory.external(P.designSystemVariables.elevation02,"Design system"),buttonColor:P.FtCssVariableFactory.external(U.color,"Button"),buttonRippleColor:P.FtCssVariableFactory.external(U.rippleColor,"Button")},
|
|
2503
|
+
`;var A={height:P.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:P.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",P.designSystemVariables.borderRadiusS),mobileOpenPosition:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:P.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:P.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:P.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:P.FtCssVariableFactory.external(P.designSystemVariables.colorSurface,"Design system"),colorOnSurface:P.FtCssVariableFactory.external(P.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:P.FtCssVariableFactory.external(P.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:P.FtCssVariableFactory.external(P.designSystemVariables.colorOutline,"Design system"),colorPrimary:P.FtCssVariableFactory.external(P.designSystemVariables.colorPrimary,"Design system"),elevation02:P.FtCssVariableFactory.external(P.designSystemVariables.elevation02,"Design system"),buttonColor:P.FtCssVariableFactory.external(U.color,"Button"),buttonRippleColor:P.FtCssVariableFactory.external(U.rippleColor,"Button")},bc=mi.css`
|
|
2504
2504
|
* {
|
|
2505
2505
|
box-sizing: border-box;
|
|
2506
2506
|
}
|
|
@@ -2637,8 +2637,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2637
2637
|
}
|
|
2638
2638
|
|
|
2639
2639
|
.ft-search-bar--left-action.ft-search-bar--content-locale {
|
|
2640
|
-
${(0,P.setVariable)(
|
|
2641
|
-
${(0,P.setVariable)(
|
|
2640
|
+
${(0,P.setVariable)(_.borderColor,"transparent")};
|
|
2641
|
+
${(0,P.setVariable)(_.borderRadiusS,`calc(${A.borderRadius} - 1px)`)};
|
|
2642
2642
|
${(0,P.setVariable)(H.selectedOptionColor,A.buttonColor)};
|
|
2643
2643
|
}
|
|
2644
2644
|
|
|
@@ -2695,7 +2695,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2695
2695
|
${(0,P.setVariable)($.fontWeight,"bold")};
|
|
2696
2696
|
}
|
|
2697
2697
|
|
|
2698
|
-
`,
|
|
2698
|
+
`,xc=mi.css`
|
|
2699
2699
|
.ft-search-bar--presets {
|
|
2700
2700
|
min-width: 200px;
|
|
2701
2701
|
}
|
|
@@ -2756,7 +2756,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2756
2756
|
.ft-search-bar--desktop-menu .ft-search-bar--filters-container {
|
|
2757
2757
|
display: block;
|
|
2758
2758
|
height: ${A.desktopFiltersHeight};
|
|
2759
|
-
${(0,P.setVariable)(
|
|
2759
|
+
${(0,P.setVariable)(Be.gap,"16px")};
|
|
2760
2760
|
}
|
|
2761
2761
|
|
|
2762
2762
|
.ft-search-bar--desktop-menu ft-filter {
|
|
@@ -2771,15 +2771,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2771
2771
|
}
|
|
2772
2772
|
|
|
2773
2773
|
.ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
|
|
2774
|
-
max-width: calc(50% - ${
|
|
2774
|
+
max-width: calc(50% - ${Be.gap} / 2);
|
|
2775
2775
|
}
|
|
2776
2776
|
|
|
2777
2777
|
.ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
|
|
2778
|
-
max-width: max(250px, calc(33% - 2 * ${
|
|
2778
|
+
max-width: max(250px, calc(33% - 2 * ${Be.gap} / 3));
|
|
2779
2779
|
}
|
|
2780
2780
|
|
|
2781
2781
|
.ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
|
|
2782
|
-
max-width: max(250px, calc(25% - 3 * ${
|
|
2782
|
+
max-width: max(250px, calc(25% - 3 * ${Be.gap} / 4));
|
|
2783
2783
|
}
|
|
2784
2784
|
|
|
2785
2785
|
.ft-search-bar--hierarchical-filter {
|
|
@@ -2856,49 +2856,49 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2856
2856
|
.ft-search-bar--desktop-menu .ft-search-bar--launch-search {
|
|
2857
2857
|
margin: 0;
|
|
2858
2858
|
}
|
|
2859
|
-
`;var Oc=h(w());var
|
|
2860
|
-
`}};eo.elementDefinitions={};eo.styles=
|
|
2859
|
+
`;var Oc=h(w());var vc=h(L()),Sc=h(w());var eo=class extends Sc.FtLitElement{render(){return vc.html`
|
|
2860
|
+
`}};eo.elementDefinitions={};eo.styles=gc;(0,Oc.customElement)("ft-skeleton")(eo);var No=h(L()),gi=h(fo());var dn=h(w());var kt=class{constructor(e,r=300){this.searchBar=e,this.updateDebouncer=new dn.Debouncer(r)}render(){let e=this.searchBar.recentSearches.filter(n=>n.toLowerCase().includes(this.searchBar.query.toLowerCase())),r=this.searchBar.suggestions.length>0||e.length>0;return No.html`
|
|
2861
2861
|
<div class="ft-search-bar--suggestions ft-word-wrap ${r?"ft-search-bar--suggestions-not-empty":""}"
|
|
2862
2862
|
part="suggestions-container"
|
|
2863
|
-
@keydown=${
|
|
2864
|
-
${(0,
|
|
2863
|
+
@keydown=${n=>this.onSuggestKeyDown(n)}>
|
|
2864
|
+
${(0,gi.repeat)(e.slice(0,5),n=>n,n=>No.html`
|
|
2865
2865
|
<div part="suggestion-container">
|
|
2866
|
-
<a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:
|
|
2866
|
+
<a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:n})}"
|
|
2867
2867
|
part="suggestions"
|
|
2868
2868
|
class="ft-search-bar--suggestion ft-search-bar--recent-search"
|
|
2869
|
-
@keyup=${
|
|
2870
|
-
@click=${
|
|
2869
|
+
@keyup=${i=>this.onSuggestKeyUp(i,n)}
|
|
2870
|
+
@click=${i=>this.onSuggestClick(i,n)}>
|
|
2871
2871
|
<ft-ripple></ft-ripple>
|
|
2872
2872
|
<ft-icon variant="material" value="history" part="suggestion-icon"></ft-icon>
|
|
2873
|
-
<ft-typography variant="body1">${
|
|
2873
|
+
<ft-typography variant="body1">${n}</ft-typography>
|
|
2874
2874
|
</a>
|
|
2875
2875
|
<ft-button icon="close"
|
|
2876
2876
|
round
|
|
2877
2877
|
part="remove-suggestion"
|
|
2878
2878
|
?dense=${!this.searchBar.isMobile}
|
|
2879
|
-
label="${this.searchBar.labelResolver.resolve("removeRecentSearch",
|
|
2879
|
+
label="${this.searchBar.labelResolver.resolve("removeRecentSearch",n)}"
|
|
2880
2880
|
tooltipPosition="left"
|
|
2881
|
-
@click=${
|
|
2881
|
+
@click=${i=>this.removeRecentSearch(i,n)}>
|
|
2882
2882
|
</ft-button>
|
|
2883
2883
|
</div>
|
|
2884
2884
|
`)}
|
|
2885
|
-
${(0,
|
|
2885
|
+
${(0,gi.repeat)(this.searchBar.suggestions,n=>n.value,n=>No.html`
|
|
2886
2886
|
<div part="suggestion-container">
|
|
2887
|
-
<a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:
|
|
2887
|
+
<a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:n.value})}"
|
|
2888
2888
|
part="suggestions"
|
|
2889
2889
|
class="ft-search-bar--suggestion"
|
|
2890
|
-
@keyup=${
|
|
2891
|
-
@click=${
|
|
2890
|
+
@keyup=${i=>this.onSuggestKeyUp(i,n.value)}
|
|
2891
|
+
@click=${i=>this.onSuggestClick(i,n.value)}>
|
|
2892
2892
|
<ft-ripple></ft-ripple>
|
|
2893
|
-
${this.getIcon(
|
|
2894
|
-
<ft-typography variant="body1">${
|
|
2893
|
+
${this.getIcon(n)}
|
|
2894
|
+
<ft-typography variant="body1">${n.value}</ft-typography>
|
|
2895
2895
|
</a>
|
|
2896
2896
|
</div>
|
|
2897
2897
|
`)}
|
|
2898
2898
|
</div>
|
|
2899
|
-
`}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(
|
|
2900
|
-
<ft-icon .variant="${r}" .value="${
|
|
2901
|
-
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};
|
|
2899
|
+
`}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(n=>n.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var r,n;switch(e.key){case"ArrowUp":(r=this.previousSuggestionElement())===null||r===void 0||r.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(n=this.nextSuggestionElement())===null||n===void 0||n.focus(),e.preventDefault(),e.stopPropagation();break}}nextSuggestionElement(){var e,r;let n=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,i=(r=n?.nextElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return i??this.getFirstSuggestionElement()}previousSuggestionElement(){var e,r;let n=(e=this.getFocusedSuggestionElement())===null||e===void 0?void 0:e.parentElement,i=(r=n?.previousElementSibling)===null||r===void 0?void 0:r.querySelector("[part=suggestions]");return i??this.getLastSuggestionElement()}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestClick(e,r){!e.ctrlKey&&!e.metaKey&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),e.stopPropagation(),this.searchBar.setQuery(r),this.searchBar.launchSearch()}removeRecentSearch(e,r){var n,i,a,l;e.preventDefault(),e.stopPropagation();let c=e.target.closest("[part='suggestion-container']"),p=(l=(i=(n=c?.previousElementSibling)===null||n===void 0?void 0:n.querySelector("[part='suggestions']"))!==null&&i!==void 0?i:(a=c?.nextElementSibling)===null||a===void 0?void 0:a.querySelector("[part='suggestions']"))!==null&&l!==void 0?l:this.searchBar.input;p?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(f=>f.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Ne.file_format:Ne.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?wt.BOOK:wt.ARTICLE;break;case"DOCUMENT":n=cs(e.mimeType,e.filenameExtension);break;case"TOPIC":n=wt.TOPICS;break}return No.html`
|
|
2900
|
+
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
2901
|
+
`}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};kt.styles=[dn.wordWrap,No.css`
|
|
2902
2902
|
.ft-search-bar--mobile .ft-search-bar--suggestions {
|
|
2903
2903
|
flex-grow: 1;
|
|
2904
2904
|
flex-shrink: 1;
|
|
@@ -2980,7 +2980,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2980
2980
|
flex-grow: 1;
|
|
2981
2981
|
flex-shrink: 1;
|
|
2982
2982
|
}
|
|
2983
|
-
`];var Re=h(
|
|
2983
|
+
`];var Re=h(L()),bi=h(fo());var pn=h(w());var Lt=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return Re.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),n=Re.html`
|
|
2984
2984
|
${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?Re.html`
|
|
2985
2985
|
<ft-chip part="selected-filters selected-filter-ft-locale"
|
|
2986
2986
|
?dense=${this.searchBar.dense&&!e}
|
|
@@ -2991,7 +2991,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2991
2991
|
${this.getLocaleLabel(this.searchBar.contentLocale)}
|
|
2992
2992
|
</ft-chip>
|
|
2993
2993
|
`:null}
|
|
2994
|
-
${(0,
|
|
2994
|
+
${(0,bi.repeat)(this.searchBar.facets,i=>i.key,i=>{let a=yl(i);return(0,bi.repeat)(a,l=>{let c=i.label+": "+fl(l),p=i.key.replace(":","-"),f=Re.html`
|
|
2995
2995
|
<ft-chip
|
|
2996
2996
|
part="selected-filters selected-filter-${p}"
|
|
2997
2997
|
?dense=${this.searchBar.dense&&!e}
|
|
@@ -3001,9 +3001,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3001
3001
|
label="${c}"
|
|
3002
3002
|
iconLabel=${e?Re.nothing:"Remove "+c}
|
|
3003
3003
|
title=${r?c:Re.nothing}
|
|
3004
|
-
@click=${()=>this.openMobileFilters(
|
|
3005
|
-
@icon-click=${()=>this.searchBar.setFilter(
|
|
3006
|
-
data-key="${
|
|
3004
|
+
@click=${()=>this.openMobileFilters(i.key)}
|
|
3005
|
+
@icon-click=${()=>this.searchBar.setFilter(i.key,a.filter(y=>y!==l))}
|
|
3006
|
+
data-key="${i.key}"
|
|
3007
3007
|
data-value="${l}">
|
|
3008
3008
|
${pl(l)}
|
|
3009
3009
|
</ft-chip>
|
|
@@ -3025,13 +3025,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3025
3025
|
class="ft-search-bar--selected-filters"
|
|
3026
3026
|
part="selected-filters-container"
|
|
3027
3027
|
exportpartsPrefix="selected-filters-container">
|
|
3028
|
-
${
|
|
3028
|
+
${n}
|
|
3029
3029
|
</ft-snap-scroll>
|
|
3030
3030
|
`:Re.html`
|
|
3031
3031
|
<div class="ft-search-bar--selected-filters" part="selected-filters-container">
|
|
3032
|
-
${
|
|
3032
|
+
${n}
|
|
3033
3033
|
</div>
|
|
3034
|
-
`}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(
|
|
3034
|
+
`}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(n=>{var i;return((i=n.lang)!==null&&i!==void 0?i:"").toLowerCase()===(e??"").toLowerCase()}).map(n=>n.label).pop())!==null&&r!==void 0?r:e}};Lt.styles=Re.css`
|
|
3035
3035
|
.ft-search-bar--selected-filters:not(ft-snap-scroll) {
|
|
3036
3036
|
flex-shrink: 0;
|
|
3037
3037
|
display: flex;
|
|
@@ -3042,7 +3042,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3042
3042
|
|
|
3043
3043
|
ft-snap-scroll.ft-search-bar--selected-filters {
|
|
3044
3044
|
overflow: hidden;
|
|
3045
|
-
${(0,
|
|
3045
|
+
${(0,pn.setVariable)(Be.gap,"4px")};
|
|
3046
3046
|
}
|
|
3047
3047
|
|
|
3048
3048
|
ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
|
|
@@ -3050,8 +3050,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3050
3050
|
}
|
|
3051
3051
|
|
|
3052
3052
|
.ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
|
|
3053
|
-
${(0,
|
|
3054
|
-
${(0,
|
|
3053
|
+
${(0,pn.setVariable)(Ie.iconSize,"17px")};
|
|
3054
|
+
${(0,pn.setVariable)(Ie.fontSize,"12px")};
|
|
3055
3055
|
}
|
|
3056
3056
|
|
|
3057
3057
|
.ft-search-bar--selected-filters * {
|
|
@@ -3061,7 +3061,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3061
3061
|
.ft-search-bar--selected-filters ft-chip {
|
|
3062
3062
|
flex-grow: 0;
|
|
3063
3063
|
}
|
|
3064
|
-
`;var
|
|
3064
|
+
`;var Nt=h(L());var Cc=h(lt()),Er=class{constructor(e,r,n){this.searchBar=e,this.selectedFacetsManager=r??new Lt(e),this.suggestManager=n??new kt(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return Nt.html`
|
|
3065
3065
|
<div class="${(0,Cc.classMap)(e)}" part="container" tabindex="-1">
|
|
3066
3066
|
<div class="ft-search-bar" role="search">
|
|
3067
3067
|
<div class="ft-search-bar--input-container" part="input-container">
|
|
@@ -3080,18 +3080,18 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3080
3080
|
</div>
|
|
3081
3081
|
${this.searchBar.displayFacets?this.searchBar.renderFacetsActions():this.selectedFacetsManager.render()}
|
|
3082
3082
|
${this.searchBar.displayFacets?this.searchBar.renderMobileFacets():this.suggestManager.render()}
|
|
3083
|
-
${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?
|
|
3083
|
+
${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?Nt.html`
|
|
3084
3084
|
<ft-button class="ft-search-bar--launch-search"
|
|
3085
3085
|
part="launch-search-in-panel"
|
|
3086
3086
|
icon="search"
|
|
3087
3087
|
@click=${this.searchBar.launchSearch}>
|
|
3088
3088
|
${this.searchBar.labelResolver.resolve("searchButton")}
|
|
3089
3089
|
</ft-button>
|
|
3090
|
-
`:
|
|
3090
|
+
`:Nt.nothing}
|
|
3091
3091
|
</div>
|
|
3092
|
-
`}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return
|
|
3092
|
+
`}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return Nt.html`
|
|
3093
3093
|
<div class="ft-search-bar--actions" part="search-bar-actions">
|
|
3094
|
-
${e?
|
|
3094
|
+
${e?Nt.html`
|
|
3095
3095
|
<ft-button class="ft-search-bar--clear-query"
|
|
3096
3096
|
part="clear-query"
|
|
3097
3097
|
icon="close"
|
|
@@ -3101,7 +3101,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3101
3101
|
@click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1,await this.searchBar.focusInput()}}
|
|
3102
3102
|
></ft-button>
|
|
3103
3103
|
<div class="ft-search-bar--separator"></div>
|
|
3104
|
-
`:
|
|
3104
|
+
`:Nt.nothing}
|
|
3105
3105
|
<ft-button class="ft-search-bar--launch-search"
|
|
3106
3106
|
part="launch-search-in-bar"
|
|
3107
3107
|
icon="search"
|
|
@@ -3111,9 +3111,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3111
3111
|
@click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.launchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
|
|
3112
3112
|
></ft-button>
|
|
3113
3113
|
</div>
|
|
3114
|
-
`}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Er.styles=
|
|
3114
|
+
`}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Er.styles=Nt.css`
|
|
3115
3115
|
|
|
3116
|
-
`;var He=h(
|
|
3116
|
+
`;var He=h(L()),wc=h(fo());var Ec=h(lt()),$r=class{constructor(e,r,n){this.searchBar=e,this.selectedFacetsManager=r??new Lt(e),this.suggestManager=n??new kt(e)}render(){let e={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return He.html`
|
|
3117
3117
|
<div class="${(0,Ec.classMap)(e)}" part="container" tabindex="-1">
|
|
3118
3118
|
<div class="ft-search-bar" part="search-bar" role="search">
|
|
3119
3119
|
${this.renderSearchBarLeftAction()}
|
|
@@ -3185,10 +3185,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3185
3185
|
</div>
|
|
3186
3186
|
`}onSearchBarKeyDown(e){var r;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(r=this.searchBar.input)===null||r===void 0||r.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};$r.styles=He.css`
|
|
3187
3187
|
|
|
3188
|
-
`;var Sd=h(w());var
|
|
3189
|
-
`;var
|
|
3188
|
+
`;var Sd=h(w());var Nc=h(L()),dt=h(Y()),xt=h(w());var $c=h(L());var Rc=$c.css`
|
|
3189
|
+
`;var fn=h(w()),rp="ft-app-info",xi=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},np={session:(t,e)=>{(0,fn.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>z.eventBus.dispatchEvent(new xi(e.payload)),0))}},z=fn.FtReduxStore.get({name:rp,reducers:np,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 oo=h(w());var vi=h(w());var Ao=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=z.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=z.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var to=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new vi.CacheRegistry,this.cache=e?i.commonCache:new vi.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ao.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ao.await()}clearCache(){this.cache.clearAll()}};var kc,ip=Symbol("clearAfterUnitTest"),un=class extends to{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[kc]=()=>{this.defaultMessages={},this.cache=new oo.CacheRegistry,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=z.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};(0,oo.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),l=this.resolveContext(a);return new oo.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},l).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>(0,oo.delay)(0).then(()=>r()).catch(()=>null)))}};kc=ip;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends un{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends un{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Lc=window.FluidTopicsI18nService,B0=window.FluidTopicsCustomI18nService;var Fe=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends xt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ao.get(),this.messageContexts=[],this.cache=new xt.CacheRegistry,this.cleanSessionDebouncer=new xt.Debouncer}render(){return Nc.html`
|
|
3190
3190
|
<slot></slot>
|
|
3191
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("availableUiLocales")&&_.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Nc.addContext(r)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ye.elementDefinitions={};ye.styles=Rc;Fe([(0,dt.property)()],ye.prototype,"baseUrl",void 0);Fe([(0,dt.property)()],ye.prototype,"apiIntegrationIdentifier",void 0);Fe([(0,dt.property)()],ye.prototype,"uiLocale",void 0);Fe([(0,vt.jsonProperty)(null)],ye.prototype,"availableUiLocales",void 0);Fe([(0,vt.jsonProperty)(null)],ye.prototype,"metadataConfiguration",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"editorMode",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"noCustom",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"openExternalDocumentInNewTab",void 0);Fe([(0,dt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ye.prototype,"noCustomComponent",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"withManualResources",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"navigatorOnline",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"forcedOffline",void 0);Fe([(0,dt.property)({type:Object})],ye.prototype,"apiProvider",void 0);Fe([(0,vt.jsonProperty)([])],ye.prototype,"messageContexts",void 0);Fe([(0,vt.jsonProperty)(void 0)],ye.prototype,"session",void 0);var jp=h(Y());function ap(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,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!ui(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ui(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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(n=Object.keys(t),r=n.length,r!==Object.keys(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){var a=n[i];if(!ui(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ui(t,e){try{return ap(t,e)}catch{return!1}}function Sn(t,e){return!ui(t,e)}var lp=h(Y(),1);var hi=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}};var Rr=h(Y(),1);var Ac=h(Y(),1);function Pc(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Ac.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:Sn,...e??{}})}var yi=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,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of i)try{await l()}catch(c){n(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bc=h(N(),1);var mi=window,sp=mi.ShadowRoot&&(mi.ShadyCSS===void 0||mi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,z0=Symbol();var Ic=(t,e)=>{sp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let i=document.createElement("style"),n=mi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)})};var bi=class extends Bc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return Ic(i,e.elementStyles),i}};var gi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zc,Dc=Symbol("constructorPrototype"),Fc=Symbol("constructorName"),Tc=Symbol("exportpartsDebouncer"),_c=Symbol("dynamicDependenciesLoaded"),ro=class extends bi{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zc]=new yi(5),this[Fc]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fc]&&Object.setPrototypeOf(this,this[Dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[_c]||(e[_c]=!0,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,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}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,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[Tc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.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,i,n,a,l,c;let p=b=>b!=null&&b.trim().length>0,f=e.filter(p).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let b of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let v=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],g=(c=(l=b.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...v,...g).filter(p).map(S=>S.trim()).forEach(S=>y.add(S))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(b=>f.map(v=>`${b}:${v}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};zc=Tc;gi([(0,Rr.property)()],ro.prototype,"exportpartsPrefix",void 0);gi([Pc([])],ro.prototype,"exportpartsPrefixes",void 0);gi([(0,Rr.property)()],ro.prototype,"customStylesheet",void 0);gi([(0,Rr.state)()],ro.prototype,"useAdoptedStyleSheets",void 0);function Lr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Wc,Mc,Uc,vi=Symbol("internalReduxEventsUnsubscribers"),io=Symbol("internalStoresUnsubscribers"),Po=Symbol("internalStores"),Nr=class extends ro{constructor(){super(...arguments),this[Wc]=new Map,this[Mc]=new Map,this[Uc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Po].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Po].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Po].get(e)}addStore(e,r){var i;r=(i=r??(Lr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Po].delete(r)}setupStore(e,r){this[Po].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Po].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[io].has(e.store):this[io].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[io].set(e,r.subscribe(()=>this.updateFromStores())),Lr(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let l=c=>this[a](c);r.eventBus.addEventListener(n.eventName,l),this[vi].push(()=>r.eventBus.removeEventListener(n.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[io].forEach((e,r)=>this.unsubscribeFromStore(r)),this[vi].forEach(e=>e()),this[vi]=[]}unsubscribeFromStore(e){this[io].has(e)&&this[io].get(e)(),this[io].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wc=io,Mc=Po,Uc=vi;Nr.reduxProperties=new Map;Nr.reduxReactiveProperties=new Set;Nr.reduxEventListeners=new Map;function pt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Vt(t){return!!t&&!!t[ce]}function xt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===mp}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||kn(t)||An(t))}function Io(t,e,r){r===void 0&&(r=!1),er(t)===0?(r?Object.keys:Qo)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function er(t){var e=t[ce];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:kn(t)?2:An(t)?3:0}function Jo(t,e){return er(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function cp(t,e){return er(t)===2?t.get(e):t[e]}function Yc(t,e,r){var i=er(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Xc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function kn(t){return hp&&t instanceof Map}function An(t){return yp&&t instanceof Set}function no(t){return t.o||t.t}function Pn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ed(t);delete e[ce];for(var r=Qo(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function In(t,e){return e===void 0&&(e=!1),Bn(t)||Vt(t)||!xt(t)||(er(t)>1&&(t.set=t.add=t.clear=t.delete=dp),Object.freeze(t),e&&Io(t,function(r,i){return In(i,!0)},!0)),t}function dp(){pt(2)}function Bn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function At(t){var e=Nn[t];return e||pt(18,t),e}function pp(t,e){Nn[t]||(Nn[t]=e)}function $n(){return Ar}function On(t,e){e&&(At("Patches"),t.u=[],t.s=[],t.v=e)}function xi(t){Rn(t),t.p.forEach(fp),t.p=null}function Rn(t){t===Ar&&(Ar=t.l)}function Hc(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function fp(t){var e=t[ce];e.i===0||e.i===1?e.j():e.g=!0}function Cn(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||At("ES5").S(e,t,i),i?(r[ce].P&&(xi(e),pt(4)),xt(t)&&(t=Si(e,t),e.l||Oi(e,t)),e.u&&At("Patches").M(r[ce].t,t,e.u,e.s)):t=Si(e,r,[]),xi(e),e.u&&e.v(e.u,e.s),t!==Qc?t:void 0}function Si(t,e,r){if(Bn(e))return e;var i=e[ce];if(!i)return Io(e,function(c,p){return Vc(t,i,e,c,p,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Oi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Pn(i.k):i.o,a=n,l=!1;i.i===3&&(a=new Set(n),n.clear(),l=!0),Io(a,function(c,p){return Vc(t,i,n,c,p,r,l)}),Oi(t,n,!1),r&&t.u&&At("Patches").N(i,r,t.u,t.s)}return i.o}function Vc(t,e,r,i,n,a,l){if(Vt(n)){var c=Si(t,n,a&&e&&e.i!==3&&!Jo(e.R,i)?a.concat(i):void 0);if(Yc(r,i,c),!Vt(c))return;t.m=!1}else l&&r.add(n);if(xt(n)&&!Bn(n)){if(!t.h.D&&t._<1)return;Si(t,n),e&&e.A.l||Oi(t,n)}}function Oi(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&In(e,r)}function wn(t,e){var r=t[ce];return(r?no(r):t)[e]}function jc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function ao(t){t.P||(t.P=!0,t.l&&ao(t.l))}function En(t){t.o||(t.o=Pn(t.t))}function Ln(t,e,r){var i=kn(e)?At("MapSet").F(e,r):An(e)?At("MapSet").T(e,r):t.O?function(n,a){var l=Array.isArray(n),c={i:l?1:0,A:a?a.A:$n(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},p=c,f=Pr;l&&(p=[c],f=kr);var y=Proxy.revocable(p,f),m=y.revoke,b=y.proxy;return c.k=b,c.j=m,b}(e,r):At("ES5").J(e,r);return(r?r.A:$n()).p.push(i),i}function up(t){return Vt(t)||pt(22,t),function e(r){if(!xt(r))return r;var i,n=r[ce],a=er(r);if(n){if(!n.P&&(n.i<4||!At("ES5").K(n)))return n.t;n.I=!0,i=Gc(r,a),n.I=!1}else i=Gc(r,a);return Io(i,function(l,c){n&&cp(n.t,l)===c||Yc(i,l,e(c))}),a===3?new Set(i):i}(t)}function Gc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Pn(t)}function Jc(){function t(l,c){var p=a[l];return p?p.enumerable=c:a[l]=p={configurable:!0,enumerable:c,get:function(){var f=this[ce];return Pr.get(f,l)},set:function(f){var y=this[ce];Pr.set(y,l,f)}},p}function e(l){for(var c=l.length-1;c>=0;c--){var p=l[c][ce];if(!p.P)switch(p.i){case 5:i(p)&&ao(p);break;case 4:r(p)&&ao(p)}}}function r(l){for(var c=l.t,p=l.k,f=Qo(p),y=f.length-1;y>=0;y--){var m=f[y];if(m!==ce){var b=c[m];if(b===void 0&&!Jo(c,m))return!0;var v=p[m],g=v&&v[ce];if(g?g.t!==b:!Xc(v,b))return!0}}var S=!!c[ce];return f.length!==Qo(c).length+(S?0:1)}function i(l){var c=l.k;if(c.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function n(l){l.g&&pt(3,JSON.stringify(no(l)))}var a={};pp("ES5",{J:function(l,c){var p=Array.isArray(l),f=function(m,b){if(m){for(var v=Array(b.length),g=0;g<b.length;g++)Object.defineProperty(v,""+g,t(g,!0));return v}var S=ed(b);delete S[ce];for(var k=Qo(S),R=0;R<k.length;R++){var L=k[R];S[L]=t(L,m||!!S[L].enumerable)}return Object.create(Object.getPrototypeOf(b),S)}(p,l),y={i:p?5:4,A:c?c.A:$n(),P:!1,I:!1,R:{},l:c,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ce,{value:y,writable:!0}),f},S:function(l,c,p){p?Vt(c)&&c[ce].A===l&&e(l.p):(l.u&&function f(y){if(y&&typeof y=="object"){var m=y[ce];if(m){var b=m.t,v=m.k,g=m.R,S=m.i;if(S===4)Io(v,function(j){j!==ce&&(b[j]!==void 0||Jo(b,j)?g[j]||f(v[j]):(g[j]=!0,ao(m)))}),Io(b,function(j){v[j]!==void 0||Jo(v,j)||(g[j]=!1,ao(m))});else if(S===5){if(i(m)&&(ao(m),g.length=!0),v.length<b.length)for(var k=v.length;k<b.length;k++)g[k]=!1;else for(var R=b.length;R<v.length;R++)g[R]=!0;for(var L=Math.min(v.length,b.length),B=0;B<L;B++)v.hasOwnProperty(B)||(g[B]=!0),g[B]===void 0&&f(v[B])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):i(l)}})}var Kc,Ar,Dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hp=typeof Map<"u",yp=typeof Set<"u",Zc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qc=Dn?Symbol.for("immer-nothing"):((Kc={})["immer-nothing"]=!0,Kc),qc=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",ce=Dn?Symbol.for("immer-state"):"__$immer_state";var mp=""+Object.prototype.constructor,Qo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ed=Object.getOwnPropertyDescriptors||function(t){var e={};return Qo(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Nn={},Pr={get:function(t,e){if(e===ce)return t;var r=no(t);if(!Jo(r,e))return function(n,a,l){var c,p=jc(a,l);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!xt(i)?i:i===wn(t.t,e)?(En(t),t.o[e]=Ln(t.A.h,i,t)):i},has:function(t,e){return e in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,e,r){var i=jc(no(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=wn(no(t),e),a=n?.[ce];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Xc(r,n)&&(r!==void 0||Jo(t.t,e)))return!0;En(t),ao(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 wn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,En(t),ao(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=no(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){pt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pt(12)}},kr={};Io(Pr,function(t,e){kr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),kr.deleteProperty=function(t,e){return kr.set.call(this,t,e,void 0)},kr.set=function(t,e,r){return Pr.set.call(this,t[0],e,r,t[0])};var bp=function(){function t(r){var i=this;this.O=Zc,this.D=!0,this.produce=function(n,a,l){if(typeof n=="function"&&typeof a!="function"){var c=a;a=n;var p=i;return function(S){var k=this;S===void 0&&(S=c);for(var R=arguments.length,L=Array(R>1?R-1:0),B=1;B<R;B++)L[B-1]=arguments[B];return p.produce(S,function(j){var Q;return(Q=a).call.apply(Q,[k,j].concat(L))})}}var f;if(typeof a!="function"&&pt(6),l!==void 0&&typeof l!="function"&&pt(7),xt(n)){var y=Hc(i),m=Ln(i,n,void 0),b=!0;try{f=a(m),b=!1}finally{b?xi(y):Rn(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return On(y,l),Cn(S,y)},function(S){throw xi(y),S}):(On(y,l),Cn(f,y))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Qc&&(f=void 0),i.D&&In(f,!0),l){var v=[],g=[];At("Patches").M(n,f,v,g),l(v,g)}return f}pt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var y=arguments.length,m=Array(y>1?y-1:0),b=1;b<y;b++)m[b-1]=arguments[b];return i.produceWithPatches(f,function(v){return n.apply(void 0,[v].concat(m))})};var l,c,p=i.produce(n,a,function(f,y){l=f,c=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,c]}):[p,l,c]},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){xt(r)||pt(8),Vt(r)&&(r=up(r));var i=Hc(this),n=Ln(this,r,void 0);return n[ce].C=!0,Rn(i),n},e.finishDraft=function(r,i){var n=r&&r[ce],a=n.A;return On(a,i),Cn(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Zc&&pt(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var l=At("Patches").$;return Vt(r)?l(r,i):this.produce(r,function(c){return l(c,i)})},t}(),tt=new bp,gp=tt.produce,Y0=tt.produceWithPatches.bind(tt),X0=tt.setAutoFreeze.bind(tt),J0=tt.setUseProxies.bind(tt),Q0=tt.applyPatches.bind(tt),eS=tt.createDraft.bind(tt),tS=tt.finishDraft.bind(tt),Ci=gp;function lo(t){"@babel/helpers - typeof";return lo=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},lo(t)}function Fn(t,e){if(lo(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(lo(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function _n(t){var e=Fn(t,"string");return lo(e)==="symbol"?e:String(e)}function zn(t,e,r){return e=_n(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function td(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function wi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?td(Object(r),!0).forEach(function(i){zn(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Le(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 od=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Tn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ei={INIT:"@@redux/INIT"+Tn(),REPLACE:"@@redux/REPLACE"+Tn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Tn()}};function vp(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 Wn(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Le(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Le(1));return r(Wn)(t,e)}if(typeof t!="function")throw new Error(Le(2));var n=t,a=e,l=[],c=l,p=!1;function f(){c===l&&(c=l.slice())}function y(){if(p)throw new Error(Le(3));return a}function m(S){if(typeof S!="function")throw new Error(Le(4));if(p)throw new Error(Le(5));var k=!0;return f(),c.push(S),function(){if(k){if(p)throw new Error(Le(6));k=!1,f();var L=c.indexOf(S);c.splice(L,1),l=null}}}function b(S){if(!vp(S))throw new Error(Le(7));if(typeof S.type>"u")throw new Error(Le(8));if(p)throw new Error(Le(9));try{p=!0,a=n(a,S)}finally{p=!1}for(var k=l=c,R=0;R<k.length;R++){var L=k[R];L()}return S}function v(S){if(typeof S!="function")throw new Error(Le(10));n=S,b({type:Ei.REPLACE})}function g(){var S,k=m;return S={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Le(11));function B(){L.next&&L.next(y())}B();var j=k(B);return{unsubscribe:j}}},S[od]=function(){return this},S}return b({type:Ei.INIT}),i={dispatch:b,subscribe:m,getState:y,replaceReducer:v},i[od]=g,i}function xp(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Ei.INIT});if(typeof i>"u")throw new Error(Le(12));if(typeof r(void 0,{type:Ei.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Le(13))})}function rd(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),l,c;try{xp(r)}catch(p){c=p}return function(f,y){if(f===void 0&&(f={}),c)throw c;if(0)var m;for(var b=!1,v={},g=0;g<a.length;g++){var S=a[g],k=r[S],R=f[S],L=k(R,y);if(typeof L>"u"){var B=y&&y.type;throw new Error(Le(14))}v[S]=L,b=b||L!==R}return b=b||a.length!==Object.keys(f).length,b?v:f}}function tr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function id(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Le(15))},l={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(l)});return a=tr.apply(void 0,c)(n.dispatch),wi(wi({},n),{},{dispatch:a})}}}function nd(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(l){return function(c){return typeof c=="function"?c(n,a,t):l(c)}}};return e}var ad=nd();ad.withExtraArgument=nd;var Mn=ad;var pd=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[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 i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),Sp=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(f){return function(y){return p([f,y])}}function p(f){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=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++,n=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(y){f=[6,y],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},or=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Op=Object.defineProperty,Cp=Object.defineProperties,wp=Object.getOwnPropertyDescriptors,ld=Object.getOwnPropertySymbols,Ep=Object.prototype.hasOwnProperty,$p=Object.prototype.propertyIsEnumerable,sd=function(t,e,r){return e in t?Op(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},so=function(t,e){for(var r in e||(e={}))Ep.call(e,r)&&sd(t,r,e[r]);if(ld)for(var i=0,n=ld(e);i<n.length;i++){var r=n[i];$p.call(e,r)&&sd(t,r,e[r])}return t},Un=function(t,e){return Cp(t,wp(e))},Rp=function(t,e,r){return new Promise(function(i,n){var a=function(p){try{c(r.next(p))}catch(f){n(f)}},l=function(p){try{c(r.throw(p))}catch(f){n(f)}},c=function(p){return p.done?i(p.value):Promise.resolve(p.value).then(a,l)};c((r=r.apply(t,e)).next())})};var Lp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tr:tr.apply(null,arguments)},vS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Np(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 kp=function(t){pd(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array),Ap=function(t){pd(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array);function jn(t){return xt(t)?Ci(t,function(){}):t}function Pp(t){return typeof t=="boolean"}function Ip(){return function(e){return Bp(e)}}function Bp(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,l=a===void 0?!0:a,c=new kp;if(r&&(Pp(r)?c.push(Mn):c.push(Mn.withExtraArgument(r.extraArgument))),0){if(n)var p;if(l)var f}return c}var Hn=!0;function fd(t){var e=Ip(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,l=a===void 0?e():a,c=r.devTools,p=c===void 0?!0:c,f=r.preloadedState,y=f===void 0?void 0:f,m=r.enhancers,b=m===void 0?void 0:m,v;if(typeof n=="function")v=n;else if(Np(n))v=rd(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=l;if(typeof g=="function"&&(g=g(e),!Hn&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hn&&g.some(function(j){return typeof j!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=id.apply(void 0,g),k=tr;p&&(k=Lp(so({trace:!Hn},typeof p=="object"&&p)));var R=new Ap(S),L=R;Array.isArray(b)?L=or([S],b):typeof b=="function"&&(L=b(R));var B=k.apply(void 0,L);return Wn(v,y,B)}function co(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return so(so({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function ud(t){var e={},r=[],i,n={addCase:function(a,l){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=l,n},addMatcher:function(a,l){return r.push({matcher:a,reducer:l}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function Dp(t){return typeof t=="function"}function Fp(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?ud(e):[e,r,i],a=n[0],l=n[1],c=n[2],p;if(Dp(t))p=function(){return jn(t())};else{var f=jn(t);p=function(){return f}}function y(m,b){m===void 0&&(m=p());var v=or([a[b.type]],l.filter(function(g){var S=g.matcher;return S(b)}).map(function(g){var S=g.reducer;return S}));return v.filter(function(g){return!!g}).length===0&&(v=[c]),v.reduce(function(g,S){if(S)if(Vt(g)){var k=g,R=S(k,b);return R===void 0?g:R}else{if(xt(g))return Ci(g,function(L){return S(L,b)});var R=S(g,b);if(R===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return g},m)}return y.getInitialState=p,y}function _p(t,e){return t+"/"+e}function hd(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:jn(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},c={};n.forEach(function(y){var m=i[y],b=_p(e,y),v,g;"reducer"in m?(v=m.reducer,g=m.prepare):v=m,a[y]=v,l[b]=v,c[y]=g?co(b,g):co(b)});function p(){var y=typeof t.extraReducers=="function"?ud(t.extraReducers):[t.extraReducers],m=y[0],b=m===void 0?{}:m,v=y[1],g=v===void 0?[]:v,S=y[2],k=S===void 0?void 0:S,R=so(so({},b),l);return Fp(r,function(L){for(var B in R)L.addCase(B,R[B]);for(var j=0,Q=g;j<Q.length;j++){var ot=Q[j];L.addMatcher(ot.matcher,ot.reducer)}k&&L.addDefaultCase(k)})}var f;return{name:e,reducer:function(y,m){return f||(f=p()),f(y,m)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var zp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tp=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=zp[Math.random()*64|0];return e},Wp=["name","message","stack","code"],Vn=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),cd=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Mp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Wp;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},CS=function(){function t(e,r,i){var n=co(e+"/fulfilled",function(y,m,b,v){return{payload:y,meta:Un(so({},v||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=co(e+"/pending",function(y,m,b){return{payload:void 0,meta:Un(so({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=co(e+"/rejected",function(y,m,b,v,g){return{payload:v,error:(i&&i.serializeError||Mp)(y||"Rejected"),meta:Un(so({},g||{}),{arg:b,requestId:m,rejectedWithValue:!!v,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),c=!1,p=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 f(y){return function(m,b,v){var g=i?.idGenerator?i.idGenerator(y):Tp(),S=new p,k,R=!1;function L(j){k=j,S.abort()}var B=function(){return Rp(this,null,function(){var j,Q,ot,jt,ki,Gt,Ve;return Sp(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,4,,5]),jt=(j=i?.condition)==null?void 0:j.call(i,y,{getState:b,extra:v}),Hp(jt)?[4,jt]:[3,2];case 1:jt=rt.sent(),rt.label=2;case 2:if(jt===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,ki=new Promise(function(je,po){return S.signal.addEventListener("abort",function(){return po({name:"AbortError",message:k||"Aborted"})})}),m(a(g,y,(Q=i?.getPendingMeta)==null?void 0:Q.call(i,{requestId:g,arg:y},{getState:b,extra:v}))),[4,Promise.race([ki,Promise.resolve(r(y,{dispatch:m,getState:b,extra:v,requestId:g,signal:S.signal,abort:L,rejectWithValue:function(je,po){return new Vn(je,po)},fulfillWithValue:function(je,po){return new cd(je,po)}})).then(function(je){if(je instanceof Vn)throw je;return je instanceof cd?n(je.payload,g,y,je.meta):n(je,g,y)})])];case 3:return ot=rt.sent(),[3,5];case 4:return Gt=rt.sent(),ot=Gt instanceof Vn?l(null,g,y,Gt.payload,Gt.meta):l(Gt,g,y),[3,5];case 5:return Ve=i&&!i.dispatchConditionRejection&&l.match(ot)&&ot.meta.condition,Ve||m(ot),[2,ot]}})})}();return Object.assign(B,{abort:L,requestId:g,arg:y,unwrap:function(){return B.then(Up)}})}}return Object.assign(f,{pending:a,rejected:l,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Up(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Hp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var yd="listener",md="completed",bd="cancelled",wS="task-"+bd,ES="task-"+md,$S=yd+"-"+bd,RS=yd+"-"+md;var Gn="listenerMiddleware";var LS=co(Gn+"/add"),NS=co(Gn+"/removeAll"),kS=co(Gn+"/remove");var dd,AS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(dd||(dd=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Vp=function(t){return function(e){setTimeout(e,t)}},PS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vp(10);Jc();window.ftReduxStores||(window.ftReduxStores={});var gd=class t{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Lr(a))return a;if(n==null)return;let l=hd({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=fd({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[n.name]=new t(l,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new hi,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let l=n,c=i[l];return c?(...p)=>{let f=c(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[l]: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 Ni=h(w());var $i=class extends to{async listMySearches(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ri=class extends to{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Gp="ft-user-assets",Li=Ni.FtReduxStore.get({name:Gp,initialState:{savedSearches:void 0,bookmarks:void 0}}),Kn=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ri,this.savedSearchesService=new $i,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=_.getState();(0,Ni.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Li.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Li.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Li.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Li.actions.bookmarks(r)}}},lO=new Kn;var Zn=class{addCommand(e,r=!1){_.commands.add(e,r)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zn;var vd=h(w()),qn=class{highlightHtml(e,r,i){(0,vd.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new qn;var xd=h(w());var Yn=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=_.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return xd.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:_.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Yn;(0,Sd.customElement)("ft-app-context")(ye);var V=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Od={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Xn=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Jn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Kp=()=>{},I=class extends re.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new re.ParametrizedLabelResolver(Od,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new re.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=it.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Lt(this),this.selectedFacetsManager=new Nt(this),this.desktopSearchBarManager=new $r(this),this.mobileSearchBarManager=new Er(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new re.Debouncer(10),this.updateLocalesDebouncer=new re.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new re.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===it.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,re.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Z.html`
|
|
3191
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(z.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&z.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&z.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&z.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&z.actions.noCustom(this.noCustom),e.has("editorMode")&&z.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&z.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&z.actions.session(this.session),e.has("availableUiLocales")&&z.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Lc.addContext(r)),e.has("openExternalDocumentInNewTab")&&z.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&z.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&z.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ye.elementDefinitions={};ye.styles=Rc;Fe([(0,dt.property)()],ye.prototype,"baseUrl",void 0);Fe([(0,dt.property)()],ye.prototype,"apiIntegrationIdentifier",void 0);Fe([(0,dt.property)()],ye.prototype,"uiLocale",void 0);Fe([(0,xt.jsonProperty)(null)],ye.prototype,"availableUiLocales",void 0);Fe([(0,xt.jsonProperty)(null)],ye.prototype,"metadataConfiguration",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"editorMode",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"noCustom",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"openExternalDocumentInNewTab",void 0);Fe([(0,dt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ye.prototype,"noCustomComponent",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"withManualResources",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"navigatorOnline",void 0);Fe([(0,dt.property)({type:Boolean})],ye.prototype,"forcedOffline",void 0);Fe([(0,dt.property)({type:Object})],ye.prototype,"apiProvider",void 0);Fe([(0,xt.jsonProperty)([])],ye.prototype,"messageContexts",void 0);Fe([(0,xt.jsonProperty)(void 0)],ye.prototype,"session",void 0);var Gp=h(Y());function ap(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(!hn(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(!hn(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(!hn(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function hn(t,e){try{return ap(t,e)}catch{return!1}}function Si(t,e){return!hn(t,e)}var lp=h(Y(),1);var yn=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 Rr=h(Y(),1);var Ac=h(Y(),1);function Pc(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Ac.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:Si,...e??{}})}var mn=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 l of n)try{await l()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ic=h(L(),1);var gn=window,sp=gn.ShadowRoot&&(gn.ShadyCSS===void 0||gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,q0=Symbol();var Bc=(t,e)=>{sp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=gn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var bn=class extends Ic.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 Bc(n,e.elementStyles),n}};var xn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},_c,Dc=Symbol("constructorPrototype"),Fc=Symbol("constructorName"),Tc=Symbol("exportpartsDebouncer"),zc=Symbol("dynamicDependenciesLoaded"),ro=class extends bn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_c]=new mn(5),this[Fc]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fc]&&Object.setPrototypeOf(this,this[Dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[zc]||(e[zc]=!0,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[Tc].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,l,c;let p=g=>g!=null&&g.trim().length>0,f=e.filter(p).map(g=>g.trim());if(f.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(l=g.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...b).filter(p).map(S=>S.trim()).forEach(S=>y.add(S))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(g=>f.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};_c=Tc;xn([(0,Rr.property)()],ro.prototype,"exportpartsPrefix",void 0);xn([Pc([])],ro.prototype,"exportpartsPrefixes",void 0);xn([(0,Rr.property)()],ro.prototype,"customStylesheet",void 0);xn([(0,Rr.state)()],ro.prototype,"useAdoptedStyleSheets",void 0);function kr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Mc,Wc,Uc,vn=Symbol("internalReduxEventsUnsubscribers"),no=Symbol("internalStoresUnsubscribers"),Po=Symbol("internalStores"),Lr=class extends ro{constructor(){super(...arguments),this[Mc]=new Map,this[Wc]=new Map,this[Uc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Po].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Po].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Po].get(e)}addStore(e,r){var n;r=(n=r??(kr(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[Po].delete(r)}setupStore(e,r){this[Po].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Po].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[no].has(e.store):this[no].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[no].set(e,r.subscribe(()=>this.updateFromStores())),kr(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 l=c=>this[a](c);r.eventBus.addEventListener(i.eventName,l),this[vn].push(()=>r.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[no].forEach((e,r)=>this.unsubscribeFromStore(r)),this[vn].forEach(e=>e()),this[vn]=[]}unsubscribeFromStore(e){this[no].has(e)&&this[no].get(e)(),this[no].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Mc=no,Wc=Po,Uc=vn;Lr.reduxProperties=new Map;Lr.reduxReactiveProperties=new Set;Lr.reduxEventListeners=new Map;function pt(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(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Vt(t){return!!t&&!!t[ce]}function vt(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)===mp}(t)||Array.isArray(t)||!!t[qc]||!!(!((e=t.constructor)===null||e===void 0)&&e[qc])||Ni(t)||Ai(t))}function Bo(t,e,r){r===void 0&&(r=!1),er(t)===0?(r?Object.keys:Qo)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function er(t){var e=t[ce];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ni(t)?2:Ai(t)?3:0}function Jo(t,e){return er(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function cp(t,e){return er(t)===2?t.get(e):t[e]}function Yc(t,e,r){var n=er(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Xc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ni(t){return hp&&t instanceof Map}function Ai(t){return yp&&t instanceof Set}function io(t){return t.o||t.t}function Pi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ed(t);delete e[ce];for(var r=Qo(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 Bi(t,e){return e===void 0&&(e=!1),Ii(t)||Vt(t)||!vt(t)||(er(t)>1&&(t.set=t.add=t.clear=t.delete=dp),Object.freeze(t),e&&Bo(t,function(r,n){return Bi(n,!0)},!0)),t}function dp(){pt(2)}function Ii(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function At(t){var e=Li[t];return e||pt(18,t),e}function pp(t,e){Li[t]||(Li[t]=e)}function $i(){return Ar}function Oi(t,e){e&&(At("Patches"),t.u=[],t.s=[],t.v=e)}function Sn(t){Ri(t),t.p.forEach(fp),t.p=null}function Ri(t){t===Ar&&(Ar=t.l)}function Hc(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function fp(t){var e=t[ce];e.i===0||e.i===1?e.j():e.g=!0}function Ci(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||At("ES5").S(e,t,n),n?(r[ce].P&&(Sn(e),pt(4)),vt(t)&&(t=On(e,t),e.l||Cn(e,t)),e.u&&At("Patches").M(r[ce].t,t,e.u,e.s)):t=On(e,r,[]),Sn(e),e.u&&e.v(e.u,e.s),t!==Qc?t:void 0}function On(t,e,r){if(Ii(e))return e;var n=e[ce];if(!n)return Bo(e,function(c,p){return Vc(t,n,e,c,p,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Cn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Pi(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),Bo(a,function(c,p){return Vc(t,n,i,c,p,r,l)}),Cn(t,i,!1),r&&t.u&&At("Patches").N(n,r,t.u,t.s)}return n.o}function Vc(t,e,r,n,i,a,l){if(Vt(i)){var c=On(t,i,a&&e&&e.i!==3&&!Jo(e.R,n)?a.concat(n):void 0);if(Yc(r,n,c),!Vt(c))return;t.m=!1}else l&&r.add(i);if(vt(i)&&!Ii(i)){if(!t.h.D&&t._<1)return;On(t,i),e&&e.A.l||Cn(t,i)}}function Cn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Bi(e,r)}function wi(t,e){var r=t[ce];return(r?io(r):t)[e]}function Gc(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 ao(t){t.P||(t.P=!0,t.l&&ao(t.l))}function Ei(t){t.o||(t.o=Pi(t.t))}function ki(t,e,r){var n=Ni(e)?At("MapSet").F(e,r):Ai(e)?At("MapSet").T(e,r):t.O?function(i,a){var l=Array.isArray(i),c={i:l?1:0,A:a?a.A:$i(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,f=Pr;l&&(p=[c],f=Nr);var y=Proxy.revocable(p,f),m=y.revoke,g=y.proxy;return c.k=g,c.j=m,g}(e,r):At("ES5").J(e,r);return(r?r.A:$i()).p.push(n),n}function up(t){return Vt(t)||pt(22,t),function e(r){if(!vt(r))return r;var n,i=r[ce],a=er(r);if(i){if(!i.P&&(i.i<4||!At("ES5").K(i)))return i.t;i.I=!0,n=jc(r,a),i.I=!1}else n=jc(r,a);return Bo(n,function(l,c){i&&cp(i.t,l)===c||Yc(n,l,e(c))}),a===3?new Set(n):n}(t)}function jc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Pi(t)}function Jc(){function t(l,c){var p=a[l];return p?p.enumerable=c:a[l]=p={configurable:!0,enumerable:c,get:function(){var f=this[ce];return Pr.get(f,l)},set:function(f){var y=this[ce];Pr.set(y,l,f)}},p}function e(l){for(var c=l.length-1;c>=0;c--){var p=l[c][ce];if(!p.P)switch(p.i){case 5:n(p)&&ao(p);break;case 4:r(p)&&ao(p)}}}function r(l){for(var c=l.t,p=l.k,f=Qo(p),y=f.length-1;y>=0;y--){var m=f[y];if(m!==ce){var g=c[m];if(g===void 0&&!Jo(c,m))return!0;var x=p[m],b=x&&x[ce];if(b?b.t!==g:!Xc(x,g))return!0}}var S=!!c[ce];return f.length!==Qo(c).length+(S?0:1)}function n(l){var c=l.k;if(c.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(l){l.g&&pt(3,JSON.stringify(io(l)))}var a={};pp("ES5",{J:function(l,c){var p=Array.isArray(l),f=function(m,g){if(m){for(var x=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(x,""+b,t(b,!0));return x}var S=ed(g);delete S[ce];for(var N=Qo(S),R=0;R<N.length;R++){var k=N[R];S[k]=t(k,m||!!S[k].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(p,l),y={i:p?5:4,A:c?c.A:$i(),P:!1,I:!1,R:{},l:c,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ce,{value:y,writable:!0}),f},S:function(l,c,p){p?Vt(c)&&c[ce].A===l&&e(l.p):(l.u&&function f(y){if(y&&typeof y=="object"){var m=y[ce];if(m){var g=m.t,x=m.k,b=m.R,S=m.i;if(S===4)Bo(x,function(G){G!==ce&&(g[G]!==void 0||Jo(g,G)?b[G]||f(x[G]):(b[G]=!0,ao(m)))}),Bo(g,function(G){x[G]!==void 0||Jo(x,G)||(b[G]=!1,ao(m))});else if(S===5){if(n(m)&&(ao(m),b.length=!0),x.length<g.length)for(var N=x.length;N<g.length;N++)b[N]=!1;else for(var R=g.length;R<x.length;R++)b[R]=!0;for(var k=Math.min(x.length,g.length),I=0;I<k;I++)x.hasOwnProperty(I)||(b[I]=!0),b[I]===void 0&&f(x[I])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Kc,Ar,Di=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hp=typeof Map<"u",yp=typeof Set<"u",Zc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qc=Di?Symbol.for("immer-nothing"):((Kc={})["immer-nothing"]=!0,Kc),qc=Di?Symbol.for("immer-draftable"):"__$immer_draftable",ce=Di?Symbol.for("immer-state"):"__$immer_state";var mp=""+Object.prototype.constructor,Qo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ed=Object.getOwnPropertyDescriptors||function(t){var e={};return Qo(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Li={},Pr={get:function(t,e){if(e===ce)return t;var r=io(t);if(!Jo(r,e))return function(i,a,l){var c,p=Gc(a,l);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!vt(n)?n:n===wi(t.t,e)?(Ei(t),t.o[e]=ki(t.A.h,n,t)):n},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,r){var n=Gc(io(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=wi(io(t),e),a=i?.[ce];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Xc(r,i)&&(r!==void 0||Jo(t.t,e)))return!0;Ei(t),ao(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 wi(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ei(t),ao(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=io(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){pt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pt(12)}},Nr={};Bo(Pr,function(t,e){Nr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Nr.deleteProperty=function(t,e){return Nr.set.call(this,t,e,void 0)},Nr.set=function(t,e,r){return Pr.set.call(this,t[0],e,r,t[0])};var gp=function(){function t(r){var n=this;this.O=Zc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(S){var N=this;S===void 0&&(S=c);for(var R=arguments.length,k=Array(R>1?R-1:0),I=1;I<R;I++)k[I-1]=arguments[I];return p.produce(S,function(G){var Q;return(Q=a).call.apply(Q,[N,G].concat(k))})}}var f;if(typeof a!="function"&&pt(6),l!==void 0&&typeof l!="function"&&pt(7),vt(i)){var y=Hc(n),m=ki(n,i,void 0),g=!0;try{f=a(m),g=!1}finally{g?Sn(y):Ri(y)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return Oi(y,l),Ci(S,y)},function(S){throw Sn(y),S}):(Oi(y,l),Ci(f,y))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Qc&&(f=void 0),n.D&&Bi(f,!0),l){var x=[],b=[];At("Patches").M(i,f,x,b),l(x,b)}return f}pt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var y=arguments.length,m=Array(y>1?y-1:0),g=1;g<y;g++)m[g-1]=arguments[g];return n.produceWithPatches(f,function(x){return i.apply(void 0,[x].concat(m))})};var l,c,p=n.produce(i,a,function(f,y){l=f,c=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,c]}):[p,l,c]},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){vt(r)||pt(8),Vt(r)&&(r=up(r));var n=Hc(this),i=ki(this,r,void 0);return i[ce].C=!0,Ri(n),i},e.finishDraft=function(r,n){var i=r&&r[ce],a=i.A;return Oi(a,n),Ci(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Zc&&pt(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 l=At("Patches").$;return Vt(r)?l(r,n):this.produce(r,function(c){return l(c,n)})},t}(),tt=new gp,bp=tt.produce,lS=tt.produceWithPatches.bind(tt),sS=tt.setAutoFreeze.bind(tt),cS=tt.setUseProxies.bind(tt),dS=tt.applyPatches.bind(tt),pS=tt.createDraft.bind(tt),fS=tt.finishDraft.bind(tt),wn=bp;function lo(t){"@babel/helpers - typeof";return lo=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},lo(t)}function Fi(t,e){if(lo(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(lo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zi(t){var e=Fi(t,"string");return lo(e)==="symbol"?e:String(e)}function _i(t,e,r){return e=zi(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function td(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 En(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?td(Object(r),!0).forEach(function(n){_i(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ke(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 od=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ti=function(){return Math.random().toString(36).substring(7).split("").join(".")},$n={INIT:"@@redux/INIT"+Ti(),REPLACE:"@@redux/REPLACE"+Ti(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ti()}};function xp(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 Mi(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ke(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ke(1));return r(Mi)(t,e)}if(typeof t!="function")throw new Error(ke(2));var i=t,a=e,l=[],c=l,p=!1;function f(){c===l&&(c=l.slice())}function y(){if(p)throw new Error(ke(3));return a}function m(S){if(typeof S!="function")throw new Error(ke(4));if(p)throw new Error(ke(5));var N=!0;return f(),c.push(S),function(){if(N){if(p)throw new Error(ke(6));N=!1,f();var k=c.indexOf(S);c.splice(k,1),l=null}}}function g(S){if(!xp(S))throw new Error(ke(7));if(typeof S.type>"u")throw new Error(ke(8));if(p)throw new Error(ke(9));try{p=!0,a=i(a,S)}finally{p=!1}for(var N=l=c,R=0;R<N.length;R++){var k=N[R];k()}return S}function x(S){if(typeof S!="function")throw new Error(ke(10));i=S,g({type:$n.REPLACE})}function b(){var S,N=m;return S={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(ke(11));function I(){k.next&&k.next(y())}I();var G=N(I);return{unsubscribe:G}}},S[od]=function(){return this},S}return g({type:$n.INIT}),n={dispatch:g,subscribe:m,getState:y,replaceReducer:x},n[od]=b,n}function vp(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:$n.INIT});if(typeof n>"u")throw new Error(ke(12));if(typeof r(void 0,{type:$n.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ke(13))})}function rd(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),l,c;try{vp(r)}catch(p){c=p}return function(f,y){if(f===void 0&&(f={}),c)throw c;if(0)var m;for(var g=!1,x={},b=0;b<a.length;b++){var S=a[b],N=r[S],R=f[S],k=N(R,y);if(typeof k>"u"){var I=y&&y.type;throw new Error(ke(14))}x[S]=k,g=g||k!==R}return g=g||a.length!==Object.keys(f).length,g?x:f}}function tr(){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 nd(){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(ke(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(l)});return a=tr.apply(void 0,c)(i.dispatch),En(En({},i),{},{dispatch:a})}}}function id(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(c){return typeof c=="function"?c(i,a,t):l(c)}}};return e}var ad=id();ad.withExtraArgument=id;var Wi=ad;var pd=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)}}(),Sp=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(f){return function(y){return p([f,y])}}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(y){f=[6,y],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},or=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Op=Object.defineProperty,Cp=Object.defineProperties,wp=Object.getOwnPropertyDescriptors,ld=Object.getOwnPropertySymbols,Ep=Object.prototype.hasOwnProperty,$p=Object.prototype.propertyIsEnumerable,sd=function(t,e,r){return e in t?Op(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},so=function(t,e){for(var r in e||(e={}))Ep.call(e,r)&&sd(t,r,e[r]);if(ld)for(var n=0,i=ld(e);n<i.length;n++){var r=i[n];$p.call(e,r)&&sd(t,r,e[r])}return t},Ui=function(t,e){return Cp(t,wp(e))},Rp=function(t,e,r){return new Promise(function(n,i){var a=function(p){try{c(r.next(p))}catch(f){i(f)}},l=function(p){try{c(r.throw(p))}catch(f){i(f)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,l)};c((r=r.apply(t,e)).next())})};var kp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tr:tr.apply(null,arguments)},NS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Lp(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 Np=function(t){pd(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,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array),Ap=function(t){pd(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,or([void 0],r[0].concat(this)))):new(e.bind.apply(e,or([void 0],r.concat(this))))},e}(Array);function Gi(t){return vt(t)?wn(t,function(){}):t}function Pp(t){return typeof t=="boolean"}function Bp(){return function(e){return Ip(e)}}function Ip(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,l=a===void 0?!0:a,c=new Np;if(r&&(Pp(r)?c.push(Wi):c.push(Wi.withExtraArgument(r.extraArgument))),0){if(i)var p;if(l)var f}return c}var Hi=!0;function fd(t){var e=Bp(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,l=a===void 0?e():a,c=r.devTools,p=c===void 0?!0:c,f=r.preloadedState,y=f===void 0?void 0:f,m=r.enhancers,g=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if(Lp(i))x=rd(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=l;if(typeof b=="function"&&(b=b(e),!Hi&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hi&&b.some(function(G){return typeof G!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=nd.apply(void 0,b),N=tr;p&&(N=kp(so({trace:!Hi},typeof p=="object"&&p)));var R=new Ap(S),k=R;Array.isArray(g)?k=or([S],g):typeof g=="function"&&(k=g(R));var I=N.apply(void 0,k);return Mi(x,y,I)}function co(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 so(so({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 ud(t){var e={},r=[],n,i={addCase:function(a,l){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=l,i},addMatcher:function(a,l){return r.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Dp(t){return typeof t=="function"}function Fp(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?ud(e):[e,r,n],a=i[0],l=i[1],c=i[2],p;if(Dp(t))p=function(){return Gi(t())};else{var f=Gi(t);p=function(){return f}}function y(m,g){m===void 0&&(m=p());var x=or([a[g.type]],l.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,S){if(S)if(Vt(b)){var N=b,R=S(N,g);return R===void 0?b:R}else{if(vt(b))return wn(b,function(k){return S(k,g)});var R=S(b,g);if(R===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return b},m)}return y.getInitialState=p,y}function zp(t,e){return t+"/"+e}function hd(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:Gi(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};i.forEach(function(y){var m=n[y],g=zp(e,y),x,b;"reducer"in m?(x=m.reducer,b=m.prepare):x=m,a[y]=x,l[g]=x,c[y]=b?co(g,b):co(g)});function p(){var y=typeof t.extraReducers=="function"?ud(t.extraReducers):[t.extraReducers],m=y[0],g=m===void 0?{}:m,x=y[1],b=x===void 0?[]:x,S=y[2],N=S===void 0?void 0:S,R=so(so({},g),l);return Fp(r,function(k){for(var I in R)k.addCase(I,R[I]);for(var G=0,Q=b;G<Q.length;G++){var ot=Q[G];k.addMatcher(ot.matcher,ot.reducer)}N&&k.addDefaultCase(N)})}var f;return{name:e,reducer:function(y,m){return f||(f=p()),f(y,m)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var _p="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tp=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=_p[Math.random()*64|0];return e},Mp=["name","message","stack","code"],Vi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),cd=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Mp;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},IS=function(){function t(e,r,n){var i=co(e+"/fulfilled",function(y,m,g,x){return{payload:y,meta:Ui(so({},x||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})}}),a=co(e+"/pending",function(y,m,g){return{payload:void 0,meta:Ui(so({},g||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=co(e+"/rejected",function(y,m,g,x,b){return{payload:x,error:(n&&n.serializeError||Wp)(y||"Rejected"),meta:Ui(so({},b||{}),{arg:g,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),c=!1,p=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 f(y){return function(m,g,x){var b=n?.idGenerator?n.idGenerator(y):Tp(),S=new p,N,R=!1;function k(G){N=G,S.abort()}var I=function(){return Rp(this,null,function(){var G,Q,ot,Gt,An,jt,Ve;return Sp(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,4,,5]),Gt=(G=n?.condition)==null?void 0:G.call(n,y,{getState:g,extra:x}),Hp(Gt)?[4,Gt]:[3,2];case 1:Gt=rt.sent(),rt.label=2;case 2:if(Gt===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,An=new Promise(function(Ge,po){return S.signal.addEventListener("abort",function(){return po({name:"AbortError",message:N||"Aborted"})})}),m(a(b,y,(Q=n?.getPendingMeta)==null?void 0:Q.call(n,{requestId:b,arg:y},{getState:g,extra:x}))),[4,Promise.race([An,Promise.resolve(r(y,{dispatch:m,getState:g,extra:x,requestId:b,signal:S.signal,abort:k,rejectWithValue:function(Ge,po){return new Vi(Ge,po)},fulfillWithValue:function(Ge,po){return new cd(Ge,po)}})).then(function(Ge){if(Ge instanceof Vi)throw Ge;return Ge instanceof cd?i(Ge.payload,b,y,Ge.meta):i(Ge,b,y)})])];case 3:return ot=rt.sent(),[3,5];case 4:return jt=rt.sent(),ot=jt instanceof Vi?l(null,b,y,jt.payload,jt.meta):l(jt,b,y),[3,5];case 5:return Ve=n&&!n.dispatchConditionRejection&&l.match(ot)&&ot.meta.condition,Ve||m(ot),[2,ot]}})})}();return Object.assign(I,{abort:k,requestId:b,arg:y,unwrap:function(){return I.then(Up)}})}}return Object.assign(f,{pending:a,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Up(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Hp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var yd="listener",md="completed",gd="cancelled",DS="task-"+gd,FS="task-"+md,zS=yd+"-"+gd,_S=yd+"-"+md;var ji="listenerMiddleware";var TS=co(ji+"/add"),MS=co(ji+"/removeAll"),WS=co(ji+"/remove");var dd,US=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(dd||(dd=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Vp=function(t){return function(e){setTimeout(e,t)}},HS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vp(10);Jc();window.ftReduxStores||(window.ftReduxStores={});var bd=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(kr(a))return a;if(i==null)return;let l=hd({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=fd({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[i.name]=new t(l,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new yn,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let l=i,c=n[l];return c?(...p)=>{let f=c(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[l]: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 Nn=h(w());var Rn=class extends to{async listMySearches(){let e=z.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var kn=class extends to{async listMyBookmarks(){let e=z.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var jp="ft-user-assets",Ln=Nn.FtReduxStore.get({name:jp,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ki=class{constructor(){this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new kn,this.savedSearchesService=new Rn,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=z.getState();(0,Nn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ln.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ln.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ln.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ln.actions.bookmarks(r)}}},bO=new Ki;var Zi=class{addCommand(e,r=!1){z.commands.add(e,r)}consumeCommand(e){return z.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zi;var xd=h(w()),qi=class{highlightHtml(e,r,n){(0,xd.highlightHtml)(e,r,n)}};window.FluidTopicsHighlightHtmlService=new qi;var vd=h(w());var Yi=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=z.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return vd.DateFormatter.format(e,(n=r?.locale)!==null&&n!==void 0?n:z.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Yi;(0,Sd.customElement)("ft-app-context")(ye);var V=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Od={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},Xi=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Ji=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Kp=()=>{},B=class extends re.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new re.ParametrizedLabelResolver(Od,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new re.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=nt.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new kt(this),this.selectedFacetsManager=new Lt(this),this.desktopSearchBarManager=new $r(this),this.mobileSearchBarManager=new Er(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new re.Debouncer(10),this.updateLocalesDebouncer=new re.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new re.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(n=>r.values.includes(n)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(n=>r.metadataFilters.some(i=>this.compareFilters(n,i))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var n,i;return((i=(n=r.valueFilter)===null||n===void 0?void 0:n.values.length)!==null&&i!==void 0?i:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===nt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,re.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Z.html`
|
|
3192
3192
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
3193
3193
|
${this.renderSearchBar()}
|
|
3194
3194
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():Z.html`
|
|
@@ -3213,7 +3213,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3213
3213
|
</div>
|
|
3214
3214
|
</ft-accordion-item>
|
|
3215
3215
|
`:null}
|
|
3216
|
-
${(0,
|
|
3216
|
+
${(0,Br.repeat)(this.facets,r=>r.key,r=>{let n=Vn(r),i=r.key.replace(":","-"),a=hl(n);return r.rootNodes.length>0?Z.html`
|
|
3217
3217
|
<ft-accordion-item data-facet-key="${r.key}">
|
|
3218
3218
|
<div class="ft-search-bar--filter-label" slot="toggle">
|
|
3219
3219
|
<ft-typography variant="button">${r.label}</ft-typography>
|
|
@@ -3224,18 +3224,18 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3224
3224
|
`:Z.nothing}
|
|
3225
3225
|
</div>
|
|
3226
3226
|
<ft-filter
|
|
3227
|
-
part="filters filter filter-${
|
|
3228
|
-
.exportpartsPrefixes=${["filter","filter-"+
|
|
3229
|
-
id="${
|
|
3230
|
-
filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",
|
|
3227
|
+
part="filters filter filter-${i}"
|
|
3228
|
+
.exportpartsPrefixes=${["filter","filter-"+i]}
|
|
3229
|
+
id="${n.id}"
|
|
3230
|
+
filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",n.label)}"
|
|
3231
3231
|
clearButtonLabel="${this.labelResolver.resolve("clearFilterButton")}"
|
|
3232
3232
|
moreValuesButtonLabel="${this.labelResolver.resolve("displayMoreFilterValuesButton")}"
|
|
3233
3233
|
noValuesLabel="${this.labelResolver.resolve("noFilterValuesAvailable")}"
|
|
3234
|
-
?multivalued=${
|
|
3234
|
+
?multivalued=${n.multivalued}
|
|
3235
3235
|
raiseSelectedOptions
|
|
3236
|
-
.options=${
|
|
3236
|
+
.options=${n.options}
|
|
3237
3237
|
.displayedValuesLimit=${10}
|
|
3238
|
-
@change=${l=>this.setFilter(
|
|
3238
|
+
@change=${l=>this.setFilter(n.id,l.detail)}
|
|
3239
3239
|
></ft-filter>
|
|
3240
3240
|
</ft-accordion-item>
|
|
3241
3241
|
`:Z.nothing})}
|
|
@@ -3243,8 +3243,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3243
3243
|
`}getContentLocaleRadioGroup(){var e;return Z.html`
|
|
3244
3244
|
<ft-radio-group aria-labelledby="content_locale_radio_group_label"
|
|
3245
3245
|
@change=${r=>{this.contentLocale=r.detail==="all"?void 0:r.detail,this.clearFilters()}}>
|
|
3246
|
-
${(0,
|
|
3247
|
-
<ft-radio value="${(
|
|
3246
|
+
${(0,Br.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],r=>r.lang,r=>{var n;return Z.html`
|
|
3247
|
+
<ft-radio value="${(n=r.lang)!==null&&n!==void 0?n:"all"}"
|
|
3248
3248
|
?checked=${r.lang==this.contentLocale}>
|
|
3249
3249
|
${r.label}
|
|
3250
3250
|
</ft-radio>
|
|
@@ -3273,7 +3273,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3273
3273
|
label="${this.labelResolver.resolve("presetsSelector")}"
|
|
3274
3274
|
outlined
|
|
3275
3275
|
@change=${r=>this.selectedPreset=r.detail}>
|
|
3276
|
-
${(0,
|
|
3276
|
+
${(0,Br.repeat)((e=this.presets)!==null&&e!==void 0?e:[],r=>r.name,r=>Z.html`
|
|
3277
3277
|
<ft-select-option value="${r.name}"
|
|
3278
3278
|
label="${r.name}"
|
|
3279
3279
|
?selected=${r.name===this.selectedPreset}>
|
|
@@ -3305,11 +3305,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3305
3305
|
${this.getContentLocaleRadioGroup()}
|
|
3306
3306
|
</div>
|
|
3307
3307
|
`:Z.nothing}
|
|
3308
|
-
${(0,
|
|
3308
|
+
${(0,Br.repeat)(this.facets,e=>e.key,e=>{let r=Vn(e),n=r.options.some(a=>{var l,c;return((c=(l=a.subOptions)===null||l===void 0?void 0:l.length)!==null&&c!==void 0?c:0)>0}),i=e.key.replace(":","-");return Z.html`
|
|
3309
3309
|
<ft-filter
|
|
3310
|
-
class="${
|
|
3311
|
-
part="filters filter filter-${
|
|
3312
|
-
.exportpartsPrefixes=${["filter","filter-"+
|
|
3310
|
+
class="${n?"ft-search-bar--hierarchical-filter":""}"
|
|
3311
|
+
part="filters filter filter-${i}"
|
|
3312
|
+
.exportpartsPrefixes=${["filter","filter-"+i]}
|
|
3313
3313
|
id="${r.id}"
|
|
3314
3314
|
label="${r.label}"
|
|
3315
3315
|
filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",r.label)}"
|
|
@@ -3324,14 +3324,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3324
3324
|
></ft-filter>
|
|
3325
3325
|
`})}
|
|
3326
3326
|
</ft-snap-scroll>
|
|
3327
|
-
`:Z.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,
|
|
3327
|
+
`:Z.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,n,i,a,l;if(e.has("labels")&&(this.labelResolver=new re.ParametrizedLabelResolver(Od,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let c=p=>this.availableContentLocales.some(f=>f.lang==p);c(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&c(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((n=this.presets)!==null&&n!==void 0?n:[]).forEach(c=>c.metadataFilters.forEach(p=>{p.valueFilter&&(p.valueFilter.values=p.valueFilter.values.map(f=>Wr(f)))})),e.has("presets")||e.has("selectedPreset")){let c=((i=this.presets)!==null&&i!==void 0?i:[]).find(p=>p.name===this.selectedPreset);c&&!this.compareRequests(this.request,c)&&this.setFiltersFromPreset(c)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(c=>e.has(c))&&(this.selectedPreset=(l=((a=this.presets)!==null&&a!==void 0?a:[]).find(c=>this.compareRequests(c,this.request)))===null||l===void 0?void 0:l.name),["baseUrl","apiIntegrationIdentifier"].some(c=>e.has(c))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(c=>e.has(c))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(c=>e.has(c))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(c=>e.has(c))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Ji(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,n,i;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(n=this.scrollingFiltersContainer)===null||n===void 0||n.scrollIndexIntoView(this.facets.findIndex(l=>l.key===this.scrollToFacet));let a=(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(n=>n.facets.forEach(i=>{this.knownFacetLabels.set(i.key,i.label),r.set(i.key,i)})).catch(Kp)),this.facets=[];for(let n of this.facetsRequest)r.has(n.id)?this.facets.push(r.get(n.id)):this.knownFacetLabels.has(n.id)&&this.facets.push({key:n.id,label:this.knownFacetLabels.get(n.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}launchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,n)=>n<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.dispatchEvent(new Xi(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!re.isTouchScreen&&this.focusInput(),z.eventBus.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),z.eventBus.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let n=this.metadataFilters.filter(i=>!i.valueFilter||i.key!==e);this.facets.forEach(i=>{i.key===e&&(0,re.flatDeep)(i.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&n.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=n,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,re.flatDeep)(r.rootNodes,n=>n.childNodes).forEach(n=>n.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?Z.nothing:Z.html`
|
|
3328
3328
|
<div class="ft-search-bar--floating-panel"
|
|
3329
3329
|
id="ft-search-bar-floating-panel"
|
|
3330
3330
|
@keyup=${this.onFloatingContainerKeyUp}
|
|
3331
3331
|
part="floating-panel"
|
|
3332
3332
|
tabindex="-1">
|
|
3333
3333
|
${this.renderDesktopMenu()}
|
|
3334
|
-
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};
|
|
3334
|
+
</div>`}enableFocusReactionOnAnyUserInteraction(){this.addEventListener("blur",this.enableFocusReactionCallback),this.addEventListener("click",this.enableFocusReactionCallback),this.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){this.reactToFocus=!0,this.removeEventListener("blur",this.enableFocusReactionCallback),this.removeEventListener("click",this.enableFocusReactionCallback),this.removeEventListener("keyup",this.enableFocusReactionCallback)}};B.elementDefinitions={"ft-accordion":$t,"ft-accordion-item":ct,"ft-button":xe,"ft-chip":he,"ft-filter":K,"ft-filter-option":Je,"ft-icon":ae,"ft-ripple":T,"ft-select":J,"ft-select-option":Rt,"ft-size-watcher":je,"ft-skeleton":eo,"ft-snap-scroll":ge,"ft-tooltip":ie,"ft-typography":q,"ft-radio-group":We,"ft-radio":ve};B.styles=[Ho,re.noTextInputDefaultClearButton,bc,xc,Lt.styles,kt.styles];V([(0,j.property)({type:Boolean})],B.prototype,"dense",void 0);V([(0,j.property)()],B.prototype,"mode",void 0);V([(0,j.property)({type:Boolean})],B.prototype,"forceMobileMenuOpen",void 0);V([(0,j.property)({type:Boolean})],B.prototype,"forceMenuOpen",void 0);V([(0,j.property)()],B.prototype,"baseUrl",void 0);V([(0,j.property)()],B.prototype,"apiIntegrationIdentifier",void 0);V([(0,j.property)()],B.prototype,"contentLocale",void 0);V([(0,j.state)()],B.prototype,"availableContentLocales",void 0);V([(0,j.state)()],B.prototype,"availableContentLocalesInitialized",void 0);V([(0,j.property)()],B.prototype,"uiLocale",void 0);V([(0,re.jsonProperty)({})],B.prototype,"labels",void 0);V([(0,re.jsonProperty)([])],B.prototype,"displayedFilters",void 0);V([(0,re.jsonProperty)([])],B.prototype,"presets",void 0);V([(0,j.property)({type:String,reflect:!0})],B.prototype,"selectedPreset",void 0);V([(0,re.jsonProperty)([])],B.prototype,"priors",void 0);V([(0,j.property)()],B.prototype,"searchRequestSerializer",void 0);V([(0,j.property)({type:Boolean})],B.prototype,"focusOnDisplay",void 0);V([(0,j.state)()],B.prototype,"metadataFilters",void 0);V([(0,j.state)()],B.prototype,"sizeCategory",void 0);V([(0,j.state)()],B.prototype,"displayFacets",void 0);V([(0,j.state)()],B.prototype,"mobileMenuOpen",void 0);V([(0,j.state)()],B.prototype,"facets",void 0);V([(0,j.state)()],B.prototype,"facetsInitialized",void 0);V([(0,j.query)(".ft-search-bar--container")],B.prototype,"container",void 0);V([(0,j.query)(".ft-search-bar--filters-opener")],B.prototype,"filtersOpener",void 0);V([(0,j.query)(".ft-search-bar--floating-panel")],B.prototype,"floatingContainer",void 0);V([(0,j.query)("ft-snap-scroll.ft-search-bar--filters-container")],B.prototype,"scrollingFiltersContainer",void 0);V([(0,j.query)(".ft-search-bar--input")],B.prototype,"input",void 0);V([(0,j.state)()],B.prototype,"query",void 0);V([(0,j.state)()],B.prototype,"suggestions",void 0);V([(0,j.state)()],B.prototype,"recentSearches",void 0);V([(0,j.state)()],B.prototype,"scrollToFacet",void 0);V([(0,j.state)()],B.prototype,"api",void 0);V([(0,j.state)()],B.prototype,"reactToFocus",void 0);V([(0,j.state)()],B.prototype,"facetsLoaded",void 0);(0,Cd.customElement)("ft-search-bar")(B);})();
|
|
3335
3335
|
/*! Bundled license information:
|
|
3336
3336
|
|
|
3337
3337
|
lit-html/lit-html.js:
|