@fluid-topics/ft-search-bar 1.1.83 → 1.1.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var fp=Object.create;var Wn=Object.defineProperty;var up=Object.getOwnPropertyDescriptor;var hp=Object.getOwnPropertyNames;var mp=Object.getPrototypeOf,yp=Object.prototype.hasOwnProperty;var $o=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var gp=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of hp(e))!yp.call(t,n)&&n!==o&&Wn(t,n,{get:()=>e[n],enumerable:!(i=up(e,n))||i.enumerable});return t};var u=(t,e,o)=>(o=t!=null?fp(mp(t)):{},gp(e||!t||!t.__esModule?Wn(o,"default",{value:t,enumerable:!0}):o,t));var O=$o((Dd,Un)=>{Un.exports=ftGlobals.wcUtils});var $=$o((_d,Hn)=>{Hn.exports=ftGlobals.lit});var Z=$o((Td,Vn)=>{Vn.exports=ftGlobals.litDecorators});var ao=$o((zd,jn)=>{jn.exports=ftGlobals.litRepeat});var st=$o((Xm,Sl)=>{Sl.exports=ftGlobals.litClassMap});var Jl=$o((Fy,Xl)=>{Xl.exports=ftGlobals.litUnsafeHTML});var dp=u(O());var G=u($()),V=u(Z()),$r=u(ao()),ae=u(O());var qn=u(O());var Zn=u($()),lo=u(Z()),Nr=u(O());var tt;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(tt||(tt={}));var Kn=u($());var Gn=Kn.css`
1
+ "use strict";(()=>{var xp=Object.create;var Kn=Object.defineProperty;var vp=Object.getOwnPropertyDescriptor;var Sp=Object.getOwnPropertyNames;var Op=Object.getPrototypeOf,Cp=Object.prototype.hasOwnProperty;var $o=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var wp=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Sp(e))!Cp.call(t,i)&&i!==o&&Kn(t,i,{get:()=>e[i],enumerable:!(n=vp(e,i))||n.enumerable});return t};var m=(t,e,o)=>(o=t!=null?xp(Op(t)):{},wp(e||!t||!t.__esModule?Kn(o,"default",{value:t,enumerable:!0}):o,t));var E=$o((Md,Vn)=>{Vn.exports=ftGlobals.wcUtils});var I=$o((Hd,jn)=>{jn.exports=ftGlobals.lit});var X=$o((Zd,qn)=>{qn.exports=ftGlobals.litDecorators});var fo=$o((Gd,Yn)=>{Yn.exports=ftGlobals.litRepeat});var dt=$o((nm,Nl)=>{Nl.exports=ftGlobals.litClassMap});var rc=$o((Vm,oc)=>{oc.exports=ftGlobals.litUnsafeHTML});var bp=m(E());var Y=m(I()),V=m(X()),$r=m(fo()),se=m(E());var ei=m(E());var Qn=m(I()),uo=m(X()),Pr=m(E());var at;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(at||(at={}));var Xn=m(I());var Jn=Xn.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 Jo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Oi=class extends CustomEvent{constructor(e,o){super("change",{detail:{size:e,category:o}})}},Ue=class extends Nr.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=tt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Nr.Debouncer}render(){return Zn.html`
20
+ `;var rr=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},Ra=class extends CustomEvent{constructor(e,o){super("change",{detail:{size:e,category:o}})}},Ge=class extends Pr.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=at.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Pr.Debouncer}render(){return Qn.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=tt.S:this.size<976?this.category=tt.M:this.size<1024?this.category=tt.L:this.size<1440?this.category=tt.XL:this.category=tt.XXL,this.dispatchEvent(new Oi(this.size,this.category)))},this.debounceTimeout)}};Ue.elementDefinitions={};Ue.styles=Gn;Jo([(0,lo.property)({type:Number})],Ue.prototype,"debounceTimeout",void 0);Jo([(0,lo.property)({type:Boolean})],Ue.prototype,"local",void 0);Jo([(0,lo.property)({type:Number,reflect:!0})],Ue.prototype,"size",void 0);Jo([(0,lo.property)({type:String,reflect:!0})],Ue.prototype,"category",void 0);Jo([(0,lo.query)(".ft-size-watcher--watcher")],Ue.prototype,"watcher",void 0);(0,qn.customElement)("ft-size-watcher")(Ue);var el=u(O());var ki=globalThis,kr=ki.trustedTypes,Yn=kr?kr.createPolicy("lit-html",{createHTML:t=>t}):void 0,oa="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,ra="?"+Wt,bp=`<${ra}>`,po=document,Ar=()=>po.createComment(""),er=t=>t===null||typeof t!="object"&&typeof t!="function",ia=Array.isArray,vp=t=>ia(t)||typeof t?.[Symbol.iterator]=="function",wi=`[
25
- \f\r]`,Qo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xn=/-->/g,Jn=/>/g,so=RegExp(`>|${wi}(?:([^\\s"'>=/]+)(${wi}*=${wi}*(?:[^
26
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Qn=/'/g,ea=/"/g,na=/^(?:script|style|textarea|title)$/i,aa=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),la=aa(1),sa=aa(2),tr=Symbol.for("lit-noChange"),be=Symbol.for("lit-nothing"),ta=new WeakMap,co=po.createTreeWalker(po,129);function ca(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yn!==void 0?Yn.createHTML(e):e}var xp=(t,e)=>{let o=t.length-1,i=[],n,a=e===2?"<svg>":"",l=Qo;for(let s=0;s<o;s++){let d=t[s],f,h,m=-1,y=0;for(;y<d.length&&(l.lastIndex=y,h=l.exec(d),h!==null);)y=l.lastIndex,l===Qo?h[1]==="!--"?l=Xn:h[1]!==void 0?l=Jn:h[2]!==void 0?(na.test(h[2])&&(n=RegExp("</"+h[2],"g")),l=so):h[3]!==void 0&&(l=so):l===so?h[0]===">"?(l=n??Qo,m=-1):h[1]===void 0?m=-2:(m=l.lastIndex-h[2].length,f=h[1],l=h[3]===void 0?so:h[3]==='"'?ea:Qn):l===ea||l===Qn?l=so:l===Xn||l===Jn?l=Qo:(l=so,n=void 0);let b=l===so&&t[s+1].startsWith("/>")?" ":"";a+=l===Qo?d+bp:m>=0?(i.push(f),d.slice(0,m)+oa+d.slice(m)+Wt+b):d+Wt+(m===-2?s:b)}return[ca(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),i]},or=class t{constructor({strings:e,_$litType$:o},i){let n;this.parts=[];let a=0,l=0,s=e.length-1,d=this.parts,[f,h]=xp(e,o);if(this.el=t.createElement(f,i),co.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=co.nextNode())!==null&&d.length<s;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(oa)){let y=h[l++],b=n.getAttribute(m).split(Wt),g=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:g[2],strings:b,ctor:g[1]==="."?Ei:g[1]==="?"?Ri:g[1]==="@"?$i:ko}),n.removeAttribute(m)}else m.startsWith(Wt)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(na.test(n.tagName)){let m=n.textContent.split(Wt),y=m.length-1;if(y>0){n.textContent=kr?kr.emptyScript:"";for(let b=0;b<y;b++)n.append(m[b],Ar()),co.nextNode(),d.push({type:2,index:++a});n.append(m[y],Ar())}}}else if(n.nodeType===8)if(n.data===ra)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(Wt,m+1))!==-1;)d.push({type:7,index:a}),m+=Wt.length-1}a++}}static createElement(e,o){let i=po.createElement("template");return i.innerHTML=e,i}};function No(t,e,o=t,i){if(e===tr)return e;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=er(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,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(e=No(t,n._$AS(t,e.values),n,i)),e}var Ci=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:i}=this._$AD,n=(e?.creationScope??po).importNode(o,!0);co.currentNode=n;let a=co.nextNode(),l=0,s=0,d=i[0];for(;d!==void 0;){if(l===d.index){let f;d.type===2?f=new Lr(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Ni(a,this,e)),this._$AV.push(f),d=i[++s]}l!==d?.index&&(a=co.nextNode(),l++)}return co.currentNode=po,n}p(e){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,o),o+=i.strings.length-2):i._$AI(e[o])),o++}},Lr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,i,n){this.type=2,this._$AH=be,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=No(this,e,o),er(e)?e===be||e==null||e===""?(this._$AH!==be&&this._$AR(),this._$AH=be):e!==this._$AH&&e!==tr&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):vp(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!==be&&er(this._$AH)?this._$AA.nextSibling.data=e:this.$(po.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=or.createElement(ca(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new Ci(n,this),l=a.u(this.options);a.p(o),this.$(l),this._$AH=a}}_$AC(e){let o=ta.get(e.strings);return o===void 0&&ta.set(e.strings,o=new or(e)),o}T(e){ia(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of e)n===o.length?o.push(i=new t(this.k(Ar()),this.k(Ar()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ko=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,i,n,a){this.type=1,this._$AH=be,this._$AN=void 0,this.element=e,this.name=o,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=be}_$AI(e,o=this,i,n){let a=this.strings,l=!1;if(a===void 0)e=No(this,e,o,0),l=!er(e)||e!==this._$AH&&e!==tr,l&&(this._$AH=e);else{let s=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=No(this,s[i+d],o,d),f===tr&&(f=this._$AH[d]),l||=!er(f)||f!==this._$AH[d],f===be?e=be:e!==be&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}l&&!n&&this.O(e)}O(e){e===be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ei=class extends ko{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===be?void 0:e}},Ri=class extends ko{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==be)}},$i=class extends ko{constructor(e,o,i,n,a){super(e,o,i,n,a),this.type=5}_$AI(e,o=this){if((e=No(this,e,o,0)??be)===tr)return;let i=this._$AH,n=e===be&&i!==be||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==be&&(i===be||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)}},Ni=class{constructor(e,o,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){No(this,e)}};var Sp=ki.litHtmlPolyfillSupport;Sp?.(or,Lr),(ki.litHtmlVersions??=[]).push("3.1.0");var da=Symbol.for(""),Op=t=>{if(t?.r===da)return t?._$litStatic$},Ai=t=>({_$litStatic$:t,r:da});var pa=new Map,fa=t=>(e,...o)=>{let i=o.length,n,a,l=[],s=[],d,f=0,h=!1;for(;f<i;){for(d=e[f];f<i&&(a=o[f],(n=Op(a))!==void 0);)d+=n+e[++f],h=!0;f!==i&&s.push(a),l.push(d),f++}if(f===i&&l.push(e[i]),h){let m=l.join("$$lit$$");(e=pa.get(m))===void 0&&(l.raw=l,pa.set(m,e=l)),o=s}return t(e,...o)},Li=fa(la),Xd=fa(sa);var Pi=u(Z()),Qa=u(O());var fo;(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"})(fo||(fo={}));var ot=u($()),S=u(O());var $t=u($(),1),Ut=t=>typeof t=="string"?(0,$t.unsafeCSS)(t):t,r=class{static create(e,o,i,n){let a=s=>Ut(s??n),l=$t.css`var(${Ut(e)}, ${a(n)})`;return l.name=e,l.description=o,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=s=>$t.css`var(${Ut(e)}, ${a(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(e,o,i,n){let a=s=>i.get(s??n),l=$t.css`var(${Ut(e)}, ${a(n)})`;return l.name=e,l.description=o,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=s=>$t.css`var(${Ut(e)}, ${a(s)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(e,o){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ut(a??e.lastResortDefaultValue()),n=$t.css`var(${Ut(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>$t.css`var(${Ut(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ua={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},ha={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ma={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ya={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ga={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ba={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},va={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},xa={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Sa={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wp={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Oa={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},wa={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ca={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ea={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ba={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Pr={display:ua,"title-1":ha,"title-2":ma,"title-3":ya,"body-1-regular":ga,"body-1-medium":ba,"body-1-semibold":va,"body-2-regular":xa,"body-2-medium":Sa,"body-2-medium-underline":wp,"body-2-semibold":Oa,"label-1-medium":wa,"label-1-semibold":Ca,"label-1-bold":Ea,"label-2-medium":Ra,"label-2-semibold":$a,"label-2-bold":Na,"caption-1-medium":ka,"caption-1-semibold":Aa,"caption-1-bold":La,"caption-2-medium":Pa,"caption-2-semibold":Ia,"caption-2-bold":Ba,"caption-3-medium":Da,"caption-3-semibold":_a,"caption-3-bold":Ta};var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
27
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var w={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var yf={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",c.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",c.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",c.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Sf={focusOpacity:r.extend("--ft-link-focus-opacity","",c.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Rf={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Lf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var _f={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Wf={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Kf={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",c.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Xf={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var ou={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var lu={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var fu={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var gu={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Ou={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var $u={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02)};var Pu={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity16),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Tu={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Uu={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Ku={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var Xu={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var oh={color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var lh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var fh={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var gh={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Oh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var za;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(za||(za={}));var Fa;(function(t){t.large="large",t.medium="medium",t.small="small"})(Fa||(Fa={}));var Ir=u($());function Ma(t){let e=Pr[t];return Ir.css`
28
- .ft-typography--${(0,Ir.unsafeCSS)(t)} {
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=at.S:this.size<976?this.category=at.M:this.size<1024?this.category=at.L:this.size<1440?this.category=at.XL:this.category=at.XXL,this.dispatchEvent(new Ra(this.size,this.category)))},this.debounceTimeout)}};Ge.elementDefinitions={};Ge.styles=Jn;rr([(0,uo.property)({type:Number})],Ge.prototype,"debounceTimeout",void 0);rr([(0,uo.property)({type:Boolean})],Ge.prototype,"local",void 0);rr([(0,uo.property)({type:Number,reflect:!0})],Ge.prototype,"size",void 0);rr([(0,uo.property)({type:String,reflect:!0})],Ge.prototype,"category",void 0);rr([(0,uo.query)(".ft-size-watcher--watcher")],Ge.prototype,"watcher",void 0);(0,ei.customElement)("ft-size-watcher")(Ge);var nl=m(E());var Ba=globalThis,Br=Ba.trustedTypes,ti=Br?Br.createPolicy("lit-html",{createHTML:t=>t}):void 0,li="$lit$",Gt=`lit$${(Math.random()+"").slice(9)}$`,ci="?"+Gt,Ep=`<${ci}>`,mo=document,zr=()=>mo.createComment(""),nr=t=>t===null||typeof t!="object"&&typeof t!="function",si=Array.isArray,Np=t=>si(t)||typeof t?.[Symbol.iterator]=="function",ka=`[
25
+ \f\r]`,ar=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,oi=/-->/g,ri=/>/g,ho=RegExp(`>|${ka}(?:([^\\s"'>=/]+)(${ka}*=${ka}*(?:[^
26
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ai=/'/g,ni=/"/g,pi=/^(?:script|style|textarea|title)$/i,di=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),fi=di(1),ui=di(2),ir=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),ii=new WeakMap,go=mo.createTreeWalker(mo,129);function hi(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ti!==void 0?ti.createHTML(e):e}var Rp=(t,e)=>{let o=t.length-1,n=[],i,l=e===2?"<svg>":"",c=ar;for(let s=0;s<o;s++){let h=t[s],g,y,b=-1,x=0;for(;x<h.length&&(c.lastIndex=x,y=c.exec(h),y!==null);)x=c.lastIndex,c===ar?y[1]==="!--"?c=oi:y[1]!==void 0?c=ri:y[2]!==void 0?(pi.test(y[2])&&(i=RegExp("</"+y[2],"g")),c=ho):y[3]!==void 0&&(c=ho):c===ho?y[0]===">"?(c=i??ar,b=-1):y[1]===void 0?b=-2:(b=c.lastIndex-y[2].length,g=y[1],c=y[3]===void 0?ho:y[3]==='"'?ni:ai):c===ni||c===ai?c=ho:c===oi||c===ri?c=ar:(c=ho,i=void 0);let S=c===ho&&t[s+1].startsWith("/>")?" ":"";l+=c===ar?h+Ep:b>=0?(n.push(g),h.slice(0,b)+li+h.slice(b)+Gt+S):h+Gt+(b===-2?s:S)}return[hi(t,l+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},lr=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let l=0,c=0,s=e.length-1,h=this.parts,[g,y]=Rp(e,o);if(this.el=t.createElement(g,n),go.currentNode=this.el.content,o===2){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(i=go.nextNode())!==null&&h.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let b of i.getAttributeNames())if(b.endsWith(li)){let x=y[c++],S=i.getAttribute(b).split(Gt),v=/([.?@])?(.*)/.exec(x);h.push({type:1,index:l,name:v[2],strings:S,ctor:v[1]==="."?Ia:v[1]==="?"?Aa:v[1]==="@"?$a:Bo}),i.removeAttribute(b)}else b.startsWith(Gt)&&(h.push({type:6,index:l}),i.removeAttribute(b));if(pi.test(i.tagName)){let b=i.textContent.split(Gt),x=b.length-1;if(x>0){i.textContent=Br?Br.emptyScript:"";for(let S=0;S<x;S++)i.append(b[S],zr()),go.nextNode(),h.push({type:2,index:++l});i.append(b[x],zr())}}}else if(i.nodeType===8)if(i.data===ci)h.push({type:2,index:l});else{let b=-1;for(;(b=i.data.indexOf(Gt,b+1))!==-1;)h.push({type:7,index:l}),b+=Gt.length-1}l++}}static createElement(e,o){let n=mo.createElement("template");return n.innerHTML=e,n}};function Po(t,e,o=t,n){if(e===ir)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,l=nr(e)?void 0:e._$litDirective$;return i?.constructor!==l&&(i?._$AO?.(!1),l===void 0?i=void 0:(i=new l(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Po(t,i._$AS(t,e.values),i,n)),e}var La=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??mo).importNode(o,!0);go.currentNode=i;let l=go.nextNode(),c=0,s=0,h=n[0];for(;h!==void 0;){if(c===h.index){let g;h.type===2?g=new Wr(l,l.nextSibling,this,e):h.type===1?g=new h.ctor(l,h.name,h.strings,this,e):h.type===6&&(g=new Pa(l,this,e)),this._$AV.push(g),h=n[++s]}c!==h?.index&&(l=go.nextNode(),c++)}return go.currentNode=mo,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Wr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=Se,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Po(this,e,o),nr(e)?e===Se||e==null||e===""?(this._$AH!==Se&&this._$AR(),this._$AH=Se):e!==this._$AH&&e!==ir&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Np(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:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=lr.createElement(hi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let l=new La(i,this),c=l.u(this.options);l.p(o),this.$(c),this._$AH=l}}_$AC(e){let o=ii.get(e.strings);return o===void 0&&ii.set(e.strings,o=new lr(e)),o}T(e){si(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let l of e)i===o.length?o.push(n=new t(this.k(zr()),this.k(zr()),this,this.options)):n=o[i],n._$AI(l),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Bo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,l){this.type=1,this._$AH=Se,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Se}_$AI(e,o=this,n,i){let l=this.strings,c=!1;if(l===void 0)e=Po(this,e,o,0),c=!nr(e)||e!==this._$AH&&e!==ir,c&&(this._$AH=e);else{let s=e,h,g;for(e=l[0],h=0;h<l.length-1;h++)g=Po(this,s[n+h],o,h),g===ir&&(g=this._$AH[h]),c||=!nr(g)||g!==this._$AH[h],g===Se?e=Se:e!==Se&&(e+=(g??"")+l[h+1]),this._$AH[h]=g}c&&!i&&this.O(e)}O(e){e===Se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ia=class extends Bo{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Se?void 0:e}},Aa=class extends Bo{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Se)}},$a=class extends Bo{constructor(e,o,n,i,l){super(e,o,n,i,l),this.type=5}_$AI(e,o=this){if((e=Po(this,e,o,0)??Se)===ir)return;let n=this._$AH,i=e===Se&&n!==Se||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,l=e!==Se&&(n===Se||i);i&&this.element.removeEventListener(this.name,this,n),l&&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)}},Pa=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Po(this,e)}};var kp=Ba.litHtmlPolyfillSupport;kp?.(lr,Wr),(Ba.litHtmlVersions??=[]).push("3.1.0");var mi=Symbol.for(""),Lp=t=>{if(t?.r===mi)return t?._$litStatic$},za=t=>({_$litStatic$:t,r:mi});var gi=new Map,yi=t=>(e,...o)=>{let n=o.length,i,l,c=[],s=[],h,g=0,y=!1;for(;g<n;){for(h=e[g];g<n&&(l=o[g],(i=Lp(l))!==void 0);)h+=i+e[++g],y=!0;g!==n&&s.push(l),c.push(h),g++}if(g===n&&c.push(e[n]),y){let b=c.join("$$lit$$");(e=gi.get(b))===void 0&&(c.raw=c,gi.set(b,e=c)),o=s}return t(e,...o)},Wa=yi(fi),af=yi(ui);var Fa=m(X()),al=m(E());var yo;(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"})(yo||(yo={}));var nt=m(I()),w=m(E());var It=m(I(),1),Kt=t=>typeof t=="string"?(0,It.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let l=s=>Kt(s??i),c=It.css`var(${Kt(e)}, ${l(i)})`;return c.name=e,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>It.css`var(${Kt(e)}, ${l(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,o,n,i){let l=s=>n.get(s??i),c=It.css`var(${Kt(e)}, ${l(i)})`;return c.name=e,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>It.css`var(${Kt(e)}, ${l(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,o){let n=l=>e.fallbackVariable?e.fallbackVariable.get(l??e.defaultValue):Kt(l??e.lastResortDefaultValue()),i=It.css`var(${Kt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=l=>It.css`var(${Kt(e.name)}, ${n(l)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var d={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},bi={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ip={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ri={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ki={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},$i={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Bi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},zi={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Wi={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fi={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Di={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ti={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ui={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Mi={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Fr={display:bi,"title-1":xi,"title-2":vi,"title-3":Si,"body-1-regular":Oi,"body-1-medium":Ci,"body-1-semibold":wi,"body-2-regular":Ei,"body-2-medium":Ni,"body-2-medium-underline":Ip,"body-2-semibold":Ri,"label-1-medium":ki,"label-1-semibold":Li,"label-1-bold":Ii,"label-2-medium":Ai,"label-2-semibold":$i,"label-2-bold":Pi,"caption-1-medium":Bi,"caption-1-semibold":zi,"caption-1-bold":Wi,"caption-2-medium":Fi,"caption-2-semibold":Di,"caption-2-bold":_i,"caption-3-medium":Ti,"caption-3-semibold":Ui,"caption-3-bold":Mi};var f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
27
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var xf={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:r.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:r.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var wf={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:r.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:r.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Lf={focusOpacity:r.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",f.contentInfoPrimary)};var Bf={iconSize:r.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var _f={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:r.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Zf={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var qf={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var eu={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:r.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",d.borderRadiusM)};var nu={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",d.colorGray700)};var pu={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var gu={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var vu={backgroundColor:r.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var Eu={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Iu={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var zu={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Tu={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",d.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",d.shadowElevation02)};var Gu={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Yu={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:r.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var eh={color1Light:r.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",d.colorRed40),color5Base:r.extend("--ft-chart-5-base","",d.colorRed60),color6Light:r.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",d.colorGray50),color10Base:r.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var nh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:r.extend("--ft-notice-gap","",d.spacing2),iconSize:r.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var ph={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",d.spacing3)};var gh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",d.spacing3)};var vh={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",d.spacing3)};var Eh={iconSize:r.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",d.spacing8)};var Ih={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:r.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",d.spacing05)};var Hi;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Hi||(Hi={}));var Zi;(function(t){t.large="large",t.medium="medium",t.small="small"})(Zi||(Zi={}));var Dr=m(I());function Gi(t){let e=Fr[t];return Dr.css`
28
+ .ft-typography--${(0,Dr.unsafeCSS)(t)} {
29
29
  font-family: ${e.fontFamily};
30
30
  font-size: ${e.fontSize};
31
31
  font-weight: ${e.fontWeight};
@@ -33,81 +33,35 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
33
33
  line-height: ${e.lineHeight};
34
34
  text-transform: ${e.textCase};
35
35
  }
36
- `}var Wa=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.titleFont),kt=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.contentFont),C={fontFamily:kt,fontSize:S.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:S.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:S.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:S.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:S.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ao={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Wa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-font-size","",C.fontSize,"20px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit")},Lo={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Wa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",C.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",C.letterSpacing,"0.105px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",C.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit")},Po={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",C.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",C.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",C.letterSpacing,"0.144px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",C.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",C.textTransform,"inherit")},Io={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",C.letterSpacing,"0.098px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",C.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",C.textTransform,"inherit")},Nt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",C.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",C.letterSpacing,"0.496px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",C.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",C.textTransform,"inherit")},Se={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",C.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",C.letterSpacing,"0.252px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",C.lineHeight,"1.4"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",C.textTransform,"inherit")},lt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",C.fontSize,"12px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",C.letterSpacing,"0.396px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",C.lineHeight,"1.33"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",C.textTransform,"inherit")},Bo={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",C.letterSpacing,"0.33px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",C.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",C.textTransform,"inherit")},Do={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",C.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",C.letterSpacing,"1.5px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",C.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",C.textTransform,"uppercase")},yt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-button-font-family","",kt),fontSize:S.FtCssVariableFactory.extend("--ft-typography-button-font-size","",C.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",C.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",C.letterSpacing,"1.246px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-button-line-height","",C.lineHeight,"1.15"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",C.textTransform,"uppercase")},Ua=ot.css`
36
+ `}var Ki=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),$t=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),R={fontFamily:$t,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},zo={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ki),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit")},Wo={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ki),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit")},Fo={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit")},Do={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit")},At={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit")},we={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit")},pt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit")},_o={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit")},To={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase")},xt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$t),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase")},Vi=nt.css`
37
37
  .ft-typography--title {
38
- font-family: ${Ao.fontFamily};
39
- font-size: ${Ao.fontSize};
40
- font-weight: ${Ao.fontWeight};
41
- letter-spacing: ${Ao.letterSpacing};
42
- line-height: ${Ao.lineHeight};
43
- text-transform: ${Ao.textTransform};
44
- }
45
- `,Ha=ot.css`
38
+ font-family: ${zo.fontFamily};
39
+ font-size: ${zo.fontSize};
40
+ font-weight: ${zo.fontWeight};
41
+ letter-spacing: ${zo.letterSpacing};
42
+ line-height: ${zo.lineHeight};
43
+ text-transform: ${zo.textTransform};
44
+ }
45
+ `,ji=nt.css`
46
46
  .ft-typography--title-dense {
47
- font-family: ${Lo.fontFamily};
48
- font-size: ${Lo.fontSize};
49
- font-weight: ${Lo.fontWeight};
50
- letter-spacing: ${Lo.letterSpacing};
51
- line-height: ${Lo.lineHeight};
52
- text-transform: ${Lo.textTransform};
53
- }
54
- `,Va=ot.css`
47
+ font-family: ${Wo.fontFamily};
48
+ font-size: ${Wo.fontSize};
49
+ font-weight: ${Wo.fontWeight};
50
+ letter-spacing: ${Wo.letterSpacing};
51
+ line-height: ${Wo.lineHeight};
52
+ text-transform: ${Wo.textTransform};
53
+ }
54
+ `,qi=nt.css`
55
55
  .ft-typography--subtitle1 {
56
- font-family: ${Po.fontFamily};
57
- font-size: ${Po.fontSize};
58
- font-weight: ${Po.fontWeight};
59
- letter-spacing: ${Po.letterSpacing};
60
- line-height: ${Po.lineHeight};
61
- text-transform: ${Po.textTransform};
62
- }
63
- `,ja=ot.css`
56
+ font-family: ${Fo.fontFamily};
57
+ font-size: ${Fo.fontSize};
58
+ font-weight: ${Fo.fontWeight};
59
+ letter-spacing: ${Fo.letterSpacing};
60
+ line-height: ${Fo.lineHeight};
61
+ text-transform: ${Fo.textTransform};
62
+ }
63
+ `,Yi=nt.css`
64
64
  .ft-typography--subtitle2 {
65
- font-family: ${Io.fontFamily};
66
- font-size: ${Io.fontSize};
67
- font-weight: ${Io.fontWeight};
68
- letter-spacing: ${Io.letterSpacing};
69
- line-height: ${Io.lineHeight};
70
- text-transform: ${Io.textTransform};
71
- }
72
-
73
- `,Ka=ot.css`
74
- .ft-typography--body1 {
75
- font-family: ${Nt.fontFamily};
76
- font-size: ${Nt.fontSize};
77
- font-weight: ${Nt.fontWeight};
78
- letter-spacing: ${Nt.letterSpacing};
79
- line-height: ${Nt.lineHeight};
80
- text-transform: ${Nt.textTransform};
81
- }
82
- `,_o=ot.css`
83
- .ft-typography--body2 {
84
- font-family: ${Se.fontFamily};
85
- font-size: ${Se.fontSize};
86
- font-weight: ${Se.fontWeight};
87
- letter-spacing: ${Se.letterSpacing};
88
- line-height: ${Se.lineHeight};
89
- text-transform: ${Se.textTransform};
90
- }
91
- `,Ht=ot.css`
92
- .ft-typography--caption {
93
- font-family: ${lt.fontFamily};
94
- font-size: ${lt.fontSize};
95
- font-weight: ${lt.fontWeight};
96
- letter-spacing: ${lt.letterSpacing};
97
- line-height: ${lt.lineHeight};
98
- text-transform: ${lt.textTransform};
99
- }
100
- `,Ga=ot.css`
101
- .ft-typography--breadcrumb {
102
- font-family: ${Bo.fontFamily};
103
- font-size: ${Bo.fontSize};
104
- font-weight: ${Bo.fontWeight};
105
- letter-spacing: ${Bo.letterSpacing};
106
- line-height: ${Bo.lineHeight};
107
- text-transform: ${Bo.textTransform};
108
- }
109
- `,Za=ot.css`
110
- .ft-typography--overline {
111
65
  font-family: ${Do.fontFamily};
112
66
  font-size: ${Do.fontSize};
113
67
  font-weight: ${Do.fontWeight};
@@ -115,28 +69,74 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
115
69
  line-height: ${Do.lineHeight};
116
70
  text-transform: ${Do.textTransform};
117
71
  }
118
- `,qa=ot.css`
72
+
73
+ `,Xi=nt.css`
74
+ .ft-typography--body1 {
75
+ font-family: ${At.fontFamily};
76
+ font-size: ${At.fontSize};
77
+ font-weight: ${At.fontWeight};
78
+ letter-spacing: ${At.letterSpacing};
79
+ line-height: ${At.lineHeight};
80
+ text-transform: ${At.textTransform};
81
+ }
82
+ `,Uo=nt.css`
83
+ .ft-typography--body2 {
84
+ font-family: ${we.fontFamily};
85
+ font-size: ${we.fontSize};
86
+ font-weight: ${we.fontWeight};
87
+ letter-spacing: ${we.letterSpacing};
88
+ line-height: ${we.lineHeight};
89
+ text-transform: ${we.textTransform};
90
+ }
91
+ `,Vt=nt.css`
92
+ .ft-typography--caption {
93
+ font-family: ${pt.fontFamily};
94
+ font-size: ${pt.fontSize};
95
+ font-weight: ${pt.fontWeight};
96
+ letter-spacing: ${pt.letterSpacing};
97
+ line-height: ${pt.lineHeight};
98
+ text-transform: ${pt.textTransform};
99
+ }
100
+ `,Ji=nt.css`
101
+ .ft-typography--breadcrumb {
102
+ font-family: ${_o.fontFamily};
103
+ font-size: ${_o.fontSize};
104
+ font-weight: ${_o.fontWeight};
105
+ letter-spacing: ${_o.letterSpacing};
106
+ line-height: ${_o.lineHeight};
107
+ text-transform: ${_o.textTransform};
108
+ }
109
+ `,Qi=nt.css`
110
+ .ft-typography--overline {
111
+ font-family: ${To.fontFamily};
112
+ font-size: ${To.fontSize};
113
+ font-weight: ${To.fontWeight};
114
+ letter-spacing: ${To.letterSpacing};
115
+ line-height: ${To.lineHeight};
116
+ text-transform: ${To.textTransform};
117
+ }
118
+ `,el=nt.css`
119
119
  .ft-typography--button {
120
- font-family: ${yt.fontFamily};
121
- font-size: ${yt.fontSize};
122
- font-weight: ${yt.fontWeight};
123
- letter-spacing: ${yt.letterSpacing};
124
- line-height: ${yt.lineHeight};
125
- text-transform: ${yt.textTransform};
126
- }
127
- `,Ya=ot.css`
120
+ font-family: ${xt.fontFamily};
121
+ font-size: ${xt.fontSize};
122
+ font-weight: ${xt.fontWeight};
123
+ letter-spacing: ${xt.letterSpacing};
124
+ line-height: ${xt.lineHeight};
125
+ text-transform: ${xt.textTransform};
126
+ }
127
+ `,tl=nt.css`
128
128
  .ft-typography {
129
129
  vertical-align: inherit;
130
130
  }
131
- `,Xa=[Object.keys(Pr).map(t=>Ma(t))];var Ja=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},q=class extends Qa.FtLitElement{constructor(){super(...arguments),this.variant=fo.body1}render(){return this.element?Li`
132
- <${Ai(this.element)}
131
+ `,ol=[Object.keys(Fr).map(t=>Gi(t))];var rl=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},J=class extends al.FtLitElement{constructor(){super(...arguments),this.variant=yo.body1}render(){return this.element?Wa`
132
+ <${za(this.element)}
133
133
  part="text"
134
134
  class="ft-typography ft-typography--${this.variant}">
135
135
  <slot></slot>
136
- </${Ai(this.element)}>
137
- `:Li`
136
+ </${za(this.element)}>
137
+ `:Wa`
138
138
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
139
- `}};q.styles=[Ua,Ha,Va,ja,Ka,_o,Ht,Ga,Za,qa,Ya,...Xa];Ja([(0,Pi.property)()],q.prototype,"element",void 0);Ja([(0,Pi.property)()],q.prototype,"variant",void 0);(0,el.customElement)("ft-typography")(q);var Ii=u(O());function Br(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function tl(t){return Br(t).split("|").pop()}function ol(t){return Br(t).split("|").join(" > ")}function rl(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(o=>rl(o,t.selected)),value:t.value}}function il(t){return(0,Ii.flatDeep)(t.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]}).filter(e=>e.selected).map(e=>e.label)}function Bi(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>rl(e,!1))}}function nl(t){return(0,Ii.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Xi=u(O());var vo=u($()),Y=u(Z()),rt=u(O());var Ge=u($()),xe=u(Z()),Ns=u(ao()),Kr=u(O());var Gi=u(O());var fr=u(Z()),ls=u(O());var vl=u($()),I=u(O());var dl=u($()),fe=u(O()),al=fe.FtCssVariableFactory.extend("--ft-ripple-color","",fe.designSystemVariables.colorContent),_={color:al,backgroundColor:fe.FtCssVariableFactory.extend("--ft-ripple-background-color","",al),opacityContentOnSurfacePressed:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:fe.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ll=fe.FtCssVariableFactory.extend("--ft-ripple-color","",fe.designSystemVariables.colorPrimary),sl={color:ll,backgroundColor:fe.FtCssVariableFactory.extend("--ft-ripple-background-color","",ll)},cl=fe.FtCssVariableFactory.extend("--ft-ripple-color","",fe.designSystemVariables.colorSecondary),pl={color:cl,backgroundColor:fe.FtCssVariableFactory.extend("--ft-ripple-background-color","",cl)},fl=dl.css`
139
+ `}};J.styles=[Vi,ji,qi,Yi,Xi,Uo,Vt,Ji,Qi,el,tl,...ol];rl([(0,Fa.property)()],J.prototype,"element",void 0);rl([(0,Fa.property)()],J.prototype,"variant",void 0);(0,nl.customElement)("ft-typography")(J);var Da=m(E());function _r(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function il(t){return _r(t).split("|").pop()}function ll(t){return _r(t).split("|").join(" > ")}function cl(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(o=>cl(o,t.selected)),value:t.value}}function sl(t){return(0,Da.flatDeep)(t.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]}).filter(e=>e.selected).map(e=>e.label)}function _a(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>cl(e,!1))}}function pl(t){return(0,Da.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var on=m(E());var wo=m(I()),Q=m(X()),it=m(E());var Ye=m(I()),Ce=m(X()),zc=m(fo()),Xr=m(E());var Ja=m(E());var yr=m(X()),fc=m(E());var wl=m(I()),W=m(E());var ml=m(I()),ge=m(E()),dl=ge.FtCssVariableFactory.extend("--ft-ripple-color","",ge.designSystemVariables.colorContent),_={color:dl,backgroundColor:ge.FtCssVariableFactory.extend("--ft-ripple-background-color","",dl),opacityContentOnSurfacePressed:ge.FtCssVariableFactory.external(ge.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ge.FtCssVariableFactory.external(ge.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ge.FtCssVariableFactory.external(ge.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ge.FtCssVariableFactory.external(ge.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ge.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},fl=ge.FtCssVariableFactory.extend("--ft-ripple-color","",ge.designSystemVariables.colorPrimary),ul={color:fl,backgroundColor:ge.FtCssVariableFactory.extend("--ft-ripple-background-color","",fl)},hl=ge.FtCssVariableFactory.extend("--ft-ripple-color","",ge.designSystemVariables.colorSecondary),gl={color:hl,backgroundColor:ge.FtCssVariableFactory.extend("--ft-ripple-background-color","",hl)},yl=ml.css`
140
140
  :host {
141
141
  display: contents;
142
142
  }
@@ -191,19 +191,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
191
191
  }
192
192
 
193
193
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
194
- background-color: ${pl.backgroundColor};
194
+ background-color: ${gl.backgroundColor};
195
195
  }
196
196
 
197
197
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
198
- background-color: ${pl.color};
198
+ background-color: ${gl.color};
199
199
  }
200
200
 
201
201
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
202
- background-color: ${sl.backgroundColor};
202
+ background-color: ${ul.backgroundColor};
203
203
  }
204
204
 
205
205
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
206
- background-color: ${sl.color};
206
+ background-color: ${ul.color};
207
207
  }
208
208
 
209
209
  .ft-ripple .ft-ripple--background {
@@ -248,7 +248,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
248
248
  opacity: ${_.opacityContentOnSurfacePressed};
249
249
  transform: translate(-50%, -50%) scale(1);
250
250
  }
251
- `;var ul=u($()),rr=u(O()),Pe={color:rr.FtCssVariableFactory.extend("--ft-loader-color","",rr.designSystemVariables.colorPrimary),size:rr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},hl=ul.css`
251
+ `;var bl=m(I()),cr=m(E()),ze={color:cr.FtCssVariableFactory.extend("--ft-loader-color","",cr.designSystemVariables.colorPrimary),size:cr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},xl=bl.css`
252
252
  :host {
253
253
  line-height: 0;
254
254
  }
@@ -257,8 +257,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
257
257
  display: inline-block;
258
258
  position: relative;
259
259
 
260
- width: ${Pe.size};
261
- height: ${Pe.size};
260
+ width: ${ze.size};
261
+ height: ${ze.size};
262
262
  }
263
263
 
264
264
  .ft-loader div {
@@ -267,7 +267,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
267
267
  width: 25%;
268
268
  height: 25%;
269
269
  border-radius: 50%;
270
- background: ${Pe.color};
270
+ background: ${ze.color};
271
271
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
272
272
  }
273
273
 
@@ -314,10 +314,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
314
314
  transform: translate(0, 0);
315
315
  }
316
316
  100% {
317
- transform: translate(calc(0.35 * ${Pe.size}), 0);
317
+ transform: translate(calc(0.35 * ${ze.size}), 0);
318
318
  }
319
319
  }
320
- `;var ml=u($()),At=u(O()),ve={size:At.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:At.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",At.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:At.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",At.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:At.FtCssVariableFactory.extend("--ft-icon-material-font-family","",At.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:At.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},yl=ml.css`
320
+ `;var vl=m(I()),Pt=m(E()),Oe={size:Pt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Pt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Pt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Pt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Pt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Pt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Pt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Pt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Sl=vl.css`
321
321
  :host, i.ft-icon {
322
322
  display: inline-flex;
323
323
  align-items: center;
@@ -326,14 +326,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
326
326
  }
327
327
 
328
328
  :host {
329
- width: ${ve.size};
330
- height: ${ve.size};
329
+ width: ${Oe.size};
330
+ height: ${Oe.size};
331
331
  }
332
332
 
333
333
  i.ft-icon {
334
334
  width: 100%;
335
335
  height: 100%;
336
- font-size: ${ve.size};
336
+ font-size: ${Oe.size};
337
337
  line-height: 1;
338
338
  font-weight: normal;
339
339
  text-transform: none;
@@ -344,28 +344,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
344
344
  text-rendering: auto;
345
345
  -webkit-font-smoothing: antialiased;
346
346
  -moz-osx-font-smoothing: grayscale;
347
- vertical-align: ${ve.verticalAlign};
347
+ vertical-align: ${Oe.verticalAlign};
348
348
  }
349
349
 
350
350
  i.ft-icon.ft-icon--fluid-topics {
351
- font-family: ${ve.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
351
+ font-family: ${Oe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
352
352
 
353
353
  /* Ugly fix because font is broken */
354
- font-size: calc(0.75 * ${ve.size});
355
- line-height: ${ve.size};
354
+ font-size: calc(0.75 * ${Oe.size});
355
+ line-height: ${Oe.size};
356
356
  position: relative;
357
357
  top: -4%;
358
358
  justify-content: center;
359
359
  }
360
360
 
361
361
  .ft-icon--file-format {
362
- font-family: ${ve.fileFormatFontFamily}, ft-mime, sans-serif;
362
+ font-family: ${Oe.fileFormatFontFamily}, ft-mime, sans-serif;
363
363
  }
364
364
 
365
365
  .ft-icon--material {
366
- font-family: ${ve.materialFontFamily}, "Material Icons", sans-serif;
366
+ font-family: ${Oe.materialFontFamily}, "Material Icons", sans-serif;
367
367
  }
368
- `;var gl=I.FtCssVariableFactory.extend("--ft-button-color","",I.designSystemVariables.colorPrimary),M={backgroundColor:I.FtCssVariableFactory.extend("--ft-button-background-color","",I.designSystemVariables.colorSurface),borderRadius:I.FtCssVariableFactory.extend("--ft-button-border-radius","",I.designSystemVariables.borderRadiusL),color:gl,fontSize:I.FtCssVariableFactory.extend("--ft-button-font-size","",yt.fontSize),iconSize:I.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:I.FtCssVariableFactory.extend("--ft-button-ripple-color","",gl),verticalPadding:I.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:I.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:I.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:I.FtCssVariableFactory.external(I.designSystemVariables.colorOpacityDisabled,"Design system")},bl=I.FtCssVariableFactory.extend("--ft-button-primary-color","",I.FtCssVariableFactory.extend("--ft-button-color","",I.designSystemVariables.colorOnPrimary)),Di={backgroundColor:I.FtCssVariableFactory.extend("--ft-button-primary-background-color","",I.FtCssVariableFactory.extend("--ft-button-background-color","",I.designSystemVariables.colorPrimary)),color:bl,rippleColor:I.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",bl)},gt={borderRadius:I.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",I.FtCssVariableFactory.extend("--ft-button-border-radius","",I.designSystemVariables.borderRadiusM)),verticalPadding:I.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:I.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:I.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},xl=[vl.css`
368
+ `;var Ol=W.FtCssVariableFactory.extend("--ft-button-color","",W.designSystemVariables.colorPrimary),H={backgroundColor:W.FtCssVariableFactory.extend("--ft-button-background-color","",W.designSystemVariables.colorSurface),borderRadius:W.FtCssVariableFactory.extend("--ft-button-border-radius","",W.designSystemVariables.borderRadiusL),color:Ol,fontSize:W.FtCssVariableFactory.extend("--ft-button-font-size","",xt.fontSize),iconSize:W.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:W.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ol),verticalPadding:W.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:W.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:W.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:W.FtCssVariableFactory.external(W.designSystemVariables.colorOpacityDisabled,"Design system")},Cl=W.FtCssVariableFactory.extend("--ft-button-primary-color","",W.FtCssVariableFactory.extend("--ft-button-color","",W.designSystemVariables.colorOnPrimary)),Ta={backgroundColor:W.FtCssVariableFactory.extend("--ft-button-primary-background-color","",W.FtCssVariableFactory.extend("--ft-button-background-color","",W.designSystemVariables.colorPrimary)),color:Cl,rippleColor:W.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Cl)},vt={borderRadius:W.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",W.FtCssVariableFactory.extend("--ft-button-border-radius","",W.designSystemVariables.borderRadiusM)),verticalPadding:W.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:W.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:W.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},El=[wl.css`
369
369
  :host {
370
370
  display: inline-block;
371
371
  max-width: 100%;
@@ -376,7 +376,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
376
376
  box-shadow: 0px 0px 0px transparent;
377
377
  border: 0px solid transparent;
378
378
  text-shadow: 0px 0px 0px transparent;
379
- font-size: ${M.fontSize};
379
+ font-size: ${H.fontSize};
380
380
  }
381
381
 
382
382
  button:hover {
@@ -405,31 +405,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
405
405
  border: none;
406
406
  pointer-events: auto;
407
407
 
408
- --ft-button-internal-line-height: max(calc(${M.fontSize} + 2px), ${M.iconSize});
409
- --ft-button-internal-color: ${M.color};
410
- ${(0,I.setVariable)(ve.size,M.iconSize)};
411
- ${(0,I.setVariable)(_.color,M.rippleColor)};
408
+ --ft-button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
409
+ --ft-button-internal-color: ${H.color};
410
+ ${(0,W.setVariable)(Oe.size,H.iconSize)};
411
+ ${(0,W.setVariable)(_.color,H.rippleColor)};
412
412
 
413
- border-radius: ${M.borderRadius};
414
- padding: ${M.verticalPadding} ${M.horizontalPadding};
415
- background-color: ${M.backgroundColor};
413
+ border-radius: ${H.borderRadius};
414
+ padding: ${H.verticalPadding} ${H.horizontalPadding};
415
+ background-color: ${H.backgroundColor};
416
416
  color: var(--ft-button-internal-color);
417
417
  -webkit-mask-image: radial-gradient(white, black);
418
418
  }
419
419
 
420
420
  .ft-button.ft-button--outlined {
421
421
  border: 1px solid var(--ft-button-internal-color);
422
- padding: calc(${M.verticalPadding} - 1px) calc(${M.horizontalPadding} - 1px);
422
+ padding: calc(${H.verticalPadding} - 1px) calc(${H.horizontalPadding} - 1px);
423
423
  }
424
424
 
425
425
  .ft-button.ft-button--dense {
426
- padding: ${gt.verticalPadding} ${gt.horizontalPadding};
427
- border-radius: ${gt.borderRadius};
428
- gap: ${gt.iconPadding};
426
+ padding: ${vt.verticalPadding} ${vt.horizontalPadding};
427
+ border-radius: ${vt.borderRadius};
428
+ gap: ${vt.iconPadding};
429
429
  }
430
430
 
431
431
  .ft-button.ft-button--dense.ft-button--outlined {
432
- padding: calc(${gt.verticalPadding} - 1px) calc(${gt.horizontalPadding} - 1px);
432
+ padding: calc(${vt.verticalPadding} - 1px) calc(${vt.horizontalPadding} - 1px);
433
433
  }
434
434
 
435
435
  .ft-button:not([disabled]):hover {
@@ -437,22 +437,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
437
437
  }
438
438
 
439
439
  .ft-button--round {
440
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${M.verticalPadding});
440
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${H.verticalPadding});
441
441
  }
442
442
 
443
443
  .ft-button--round.ft-button--dense {
444
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${gt.verticalPadding});
444
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${vt.verticalPadding});
445
445
  }
446
446
 
447
447
  .ft-button[disabled] {
448
448
  filter: grayscale(1);
449
- opacity: ${M.opacityDisabled};
449
+ opacity: ${H.opacityDisabled};
450
450
  }
451
451
 
452
452
  .ft-button.ft-button--primary {
453
- background-color: ${Di.backgroundColor};
454
- --ft-button-internal-color: ${Di.color};
455
- ${(0,I.setVariable)(_.color,Di.rippleColor)};
453
+ background-color: ${Ta.backgroundColor};
454
+ --ft-button-internal-color: ${Ta.color};
455
+ ${(0,W.setVariable)(_.color,Ta.rippleColor)};
456
456
  }
457
457
 
458
458
  .ft-button:focus {
@@ -465,13 +465,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
465
465
  white-space: nowrap;
466
466
  text-overflow: ellipsis;
467
467
  display: block;
468
- margin: 0 ${M.iconPadding};
469
- ${(0,I.setVariable)(yt.fontSize,"1em")};
470
- ${(0,I.setVariable)(yt.lineHeight,"var(--ft-button-internal-line-height)")};
468
+ margin: 0 ${H.iconPadding};
469
+ ${(0,W.setVariable)(xt.fontSize,"1em")};
470
+ ${(0,W.setVariable)(xt.lineHeight,"var(--ft-button-internal-line-height)")};
471
471
  }
472
472
 
473
473
  .ft-button--dense .ft-button--label {
474
- margin: 0 ${gt.iconPadding};
474
+ margin: 0 ${vt.iconPadding};
475
475
  }
476
476
 
477
477
  .ft-button--label[hidden] {
@@ -484,13 +484,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
484
484
  }
485
485
 
486
486
  .ft-button--label[hidden] + [part="icon"] {
487
- margin: 0 calc(${M.horizontalPadding} * -1);
488
- padding: 0 ${M.verticalPadding};
487
+ margin: 0 calc(${H.horizontalPadding} * -1);
488
+ padding: 0 ${H.verticalPadding};
489
489
  }
490
490
 
491
491
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
492
- margin: 0 calc(${gt.horizontalPadding} * -1);
493
- padding: 0 ${gt.verticalPadding};
492
+ margin: 0 calc(${vt.horizontalPadding} * -1);
493
+ padding: 0 ${vt.verticalPadding};
494
494
  }
495
495
 
496
496
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -498,21 +498,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
498
498
  }
499
499
 
500
500
  ft-loader {
501
- ${(0,I.setVariable)(Pe.size,M.iconSize)};
502
- ${(0,I.setVariable)(Pe.color,"var(--ft-button-internal-color)")};
501
+ ${(0,W.setVariable)(ze.size,H.iconSize)};
502
+ ${(0,W.setVariable)(ze.color,"var(--ft-button-internal-color)")};
503
503
  }
504
- `,I.noTextSelect];var Wo=u(O());var Cl=u(O());var Ol=u($()),Oe=u(Z()),wl=u(st()),ir=u(O());var Ie=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},z=class extends ir.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 ir.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 ir.Debouncer(10),this.moveRipple=e=>{var o,i;let{x:n,y:a}=this.getCoordinates(e),l=(i=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-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 Ol.html`
504
+ `,W.noTextSelect];var Ko=m(E());var Ll=m(E());var Rl=m(I()),Ee=m(X()),kl=m(dt()),sr=m(E());var We=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},U=class extends sr.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 sr.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 sr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:i,y:l}=this.getCoordinates(e),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(l!=null?l-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Rl.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,wl.classMap)(e)}">
511
+ <div class="${(0,kl.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 o,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,o;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}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 o=(...s)=>d=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&o("keyup")(s)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",i,l),e.addEventListener("touchstart",n,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",i,l),e.removeEventListener("touchstart",n,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 o=e,i=e,n,a;return o.x!=null?{x:n,y:a}=o:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,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 o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};z.elementDefinitions={};z.styles=fl;Ie([(0,Oe.property)({type:Boolean})],z.prototype,"primary",void 0);Ie([(0,Oe.property)({type:Boolean})],z.prototype,"secondary",void 0);Ie([(0,Oe.property)({type:Boolean})],z.prototype,"unbounded",void 0);Ie([(0,Oe.property)({type:Boolean})],z.prototype,"activated",void 0);Ie([(0,Oe.property)({type:Boolean})],z.prototype,"selected",void 0);Ie([(0,Oe.property)({type:Boolean})],z.prototype,"disabled",void 0);Ie([(0,Oe.state)()],z.prototype,"hovered",void 0);Ie([(0,Oe.state)()],z.prototype,"focused",void 0);Ie([(0,Oe.state)()],z.prototype,"pressed",void 0);Ie([(0,Oe.state)()],z.prototype,"rippling",void 0);Ie([(0,Oe.state)()],z.prototype,"originX",void 0);Ie([(0,Oe.state)()],z.prototype,"originY",void 0);Ie([(0,Oe.query)(".ft-ripple")],z.prototype,"ripple",void 0);Ie([(0,Oe.query)(".ft-ripple--effect")],z.prototype,"rippleEffect",void 0);(0,Cl.customElement)("ft-ripple")(z);var Yl=u(O());var ql=u($()),me=u(Z()),pr=u(O());var El=u($()),Lt=u(O()),Vt={distance:Lt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Lt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Lt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Lt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Lt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Rl=El.css`
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 o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o: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 o=(...s)=>h=>{s.forEach(g=>window.addEventListener(g,this.endPress,{once:!0})),this.startPress(h)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),l=s=>{["Enter"," "].includes(s.key)&&o("keyup")(s)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",l,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",l,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,l;return o.x!=null?{x:i,y:l}=o:n.touches!=null&&(i=n.touches[0].clientX,l=n.touches[0].clientY),{x:i,y:l}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};U.elementDefinitions={};U.styles=yl;We([(0,Ee.property)({type:Boolean})],U.prototype,"primary",void 0);We([(0,Ee.property)({type:Boolean})],U.prototype,"secondary",void 0);We([(0,Ee.property)({type:Boolean})],U.prototype,"unbounded",void 0);We([(0,Ee.property)({type:Boolean})],U.prototype,"activated",void 0);We([(0,Ee.property)({type:Boolean})],U.prototype,"selected",void 0);We([(0,Ee.property)({type:Boolean})],U.prototype,"disabled",void 0);We([(0,Ee.state)()],U.prototype,"hovered",void 0);We([(0,Ee.state)()],U.prototype,"focused",void 0);We([(0,Ee.state)()],U.prototype,"pressed",void 0);We([(0,Ee.state)()],U.prototype,"rippling",void 0);We([(0,Ee.state)()],U.prototype,"originX",void 0);We([(0,Ee.state)()],U.prototype,"originY",void 0);We([(0,Ee.query)(".ft-ripple")],U.prototype,"ripple",void 0);We([(0,Ee.query)(".ft-ripple--effect")],U.prototype,"rippleEffect",void 0);(0,Ll.customElement)("ft-ripple")(U);var tc=m(E());var ec=m(I()),be=m(X()),gr=m(E());var Il=m(I()),Bt=m(E()),jt={distance:Bt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Bt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Bt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Bt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Bt.FtCssVariableFactory.external(Bt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Bt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Al=Il.css`
516
516
  .ft-tooltip--container {
517
517
  display: block;
518
518
  }
@@ -527,21 +527,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
527
527
  box-sizing: border-box;
528
528
  overflow: hidden;
529
529
  width: max-content;
530
- max-width: ${Vt.maxWidth};
530
+ max-width: ${jt.maxWidth};
531
531
  text-align: center;
532
- padding: ${Vt.distance};
533
- z-index: ${Vt.zIndex};
532
+ padding: ${jt.distance};
533
+ z-index: ${jt.zIndex};
534
534
  }
535
535
 
536
536
  .ft-tooltip--content {
537
537
  padding: 4px 8px;
538
- border-radius: ${Vt.borderRadiusS};
539
- background-color: ${Vt.backgroundColor};
540
- color: ${Vt.color};
538
+ border-radius: ${jt.borderRadiusS};
539
+ background-color: ${jt.backgroundColor};
540
+ color: ${jt.color};
541
541
  position: relative;
542
542
  word-break: break-word;
543
543
  }
544
- `;var Nl=["top","right","bottom","left"],$l=["start","end"],Ti=Nl.reduce((t,e)=>t.concat(e,e+"-"+$l[0],e+"-"+$l[1]),[]),nr=Math.min,jt=Math.max,ar=Math.round;var Pt=t=>({x:t,y:t}),Cp={left:"right",right:"left",bottom:"top",top:"bottom"},Ep={start:"end",end:"start"};function zi(t,e,o){return jt(t,nr(e,o))}function Dr(t,e){return typeof t=="function"?t(e):t}function To(t){return t.split("-")[0]}function Kt(t){return t.split("-")[1]}function Fi(t){return t==="x"?"y":"x"}function Mi(t){return t==="y"?"height":"width"}function _r(t){return["top","bottom"].includes(To(t))?"y":"x"}function Wi(t){return Fi(_r(t))}function kl(t,e,o){o===void 0&&(o=!1);let i=Kt(t),n=Wi(t),a=Mi(n),l=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=_i(l)),[l,_i(l)]}function Al(t){return t.replace(/start|end/g,e=>Ep[e])}function _i(t){return t.replace(/left|right|bottom|top/g,e=>Cp[e])}function Rp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ll(t){return typeof t!="number"?Rp(t):{top:t,right:t,bottom:t,left:t}}function uo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Pl(t,e,o){let{reference:i,floating:n}=t,a=_r(e),l=Wi(e),s=Mi(l),d=To(e),f=a==="y",h=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,y=i[s]/2-n[s]/2,b;switch(d){case"top":b={x:h,y:i.y-n.height};break;case"bottom":b={x:h,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:m};break;case"left":b={x:i.x-n.width,y:m};break;default:b={x:i.x,y:i.y}}switch(Kt(e)){case"start":b[l]-=y*(o&&f?-1:1);break;case"end":b[l]+=y*(o&&f?-1:1);break}return b}var Il=async(t,e,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=o,s=a.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:m}=Pl(f,i,d),y=i,b={},g=0;for(let v=0;v<s.length;v++){let{name:N,fn:E}=s[v],{x:R,y:P,data:H,reset:J}=await E({x:h,y:m,initialPlacement:i,placement:y,strategy:n,middlewareData:b,rects:f,platform:l,elements:{reference:t,floating:e}});if(h=R??h,m=P??m,b={...b,[N]:{...b[N],...H}},J&&g<=50){g++,typeof J=="object"&&(J.placement&&(y=J.placement),J.rects&&(f=J.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:n}):J.rects),{x:h,y:m}=Pl(f,y,d)),v=-1;continue}}return{x:h,y:m,placement:y,strategy:n,middlewareData:b}};async function Ui(t,e){var o;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:l,elements:s,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:y=!1,padding:b=0}=Dr(e,t),g=Ll(b),N=s[y?m==="floating"?"reference":"floating":m],E=uo(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:f,rootBoundary:h,strategy:d})),R=m==="floating"?{...l.floating,x:i,y:n}:l.reference,P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),H=await(a.isElement==null?void 0:a.isElement(P))?await(a.getScale==null?void 0:a.getScale(P))||{x:1,y:1}:{x:1,y:1},J=uo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:P,strategy:d}):R);return{top:(E.top-J.top+g.top)/H.y,bottom:(J.bottom-E.bottom+g.bottom)/H.y,left:(E.left-J.left+g.left)/H.x,right:(J.right-E.right+g.right)/H.x}}function $p(t,e,o){return(t?[...o.filter(n=>Kt(n)===t),...o.filter(n=>Kt(n)!==t)]:o.filter(n=>To(n)===n)).filter(n=>t?Kt(n)===t||(e?Al(n)!==n:!1):!0)}var Hi=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,n;let{rects:a,middlewareData:l,placement:s,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:y=Ti,autoAlignment:b=!0,...g}=Dr(t,e),v=m!==void 0||y===Ti?$p(m||null,b,y):y,N=await Ui(e,g),E=((o=l.autoPlacement)==null?void 0:o.index)||0,R=v[E];if(R==null)return{};let P=kl(R,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(s!==R)return{reset:{placement:v[0]}};let H=[N[To(R)],N[P[0]],N[P[1]]],J=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:R,overflows:H}],Qe=v[E+1];if(Qe)return{data:{index:E+1,overflows:J},reset:{placement:Qe}};let Ft=J.map(Me=>{let et=Kt(Me.placement);return[Me.placement,et&&h?Me.overflows.slice(0,2).reduce((We,no)=>We+no,0):Me.overflows[0],Me.overflows]}).sort((Me,et)=>Me[1]-et[1]),Mt=((n=Ft.filter(Me=>Me[2].slice(0,Kt(Me[0])?2:3).every(et=>et<=0))[0])==null?void 0:n[0])||Ft[0][0];return Mt!==s?{data:{index:E+1,overflows:J},reset:{placement:Mt}}:{}}}};var Vi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:N=>{let{x:E,y:R}=N;return{x:E,y:R}}},...d}=Dr(t,e),f={x:o,y:i},h=await Ui(e,d),m=_r(To(n)),y=Fi(m),b=f[y],g=f[m];if(a){let N=y==="y"?"top":"left",E=y==="y"?"bottom":"right",R=b+h[N],P=b-h[E];b=zi(R,b,P)}if(l){let N=m==="y"?"top":"left",E=m==="y"?"bottom":"right",R=g+h[N],P=g-h[E];g=zi(R,g,P)}let v=s.fn({...e,[y]:b,[m]:g});return{...v,data:{x:v.x-o,y:v.y-i}}}}};function It(t){return Dl(t)?(t.nodeName||"").toLowerCase():"#document"}function Be(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Bt(t){var e;return(e=(Dl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Dl(t){return t instanceof Node||t instanceof Be(t).Node}function bt(t){return t instanceof Element||t instanceof Be(t).Element}function ct(t){return t instanceof HTMLElement||t instanceof Be(t).HTMLElement}function Bl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Be(t).ShadowRoot}function zo(t){let{overflow:e,overflowX:o,overflowY:i,display:n}=He(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function _l(t){return["table","td","th"].includes(It(t))}function zr(t){let e=Fr(),o=He(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Tl(t){let e=ho(t);for(;ct(e)&&!lr(e);){if(zr(e))return e;e=ho(e)}return null}function Fr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function lr(t){return["html","body","#document"].includes(It(t))}function He(t){return Be(t).getComputedStyle(t)}function sr(t){return bt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ho(t){if(It(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Bl(t)&&t.host||Bt(t);return Bl(e)?e.host:e}function zl(t){let e=ho(t);return lr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ct(e)&&zo(e)?e:zl(e)}function Tr(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);let n=zl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),l=Be(n);return a?e.concat(l,l.visualViewport||[],zo(n)?n:[],l.frameElement&&o?Tr(l.frameElement):[]):e.concat(n,Tr(n,[],o))}function Wl(t){let e=He(t),o=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ct(t),a=n?t.offsetWidth:o,l=n?t.offsetHeight:i,s=ar(o)!==a||ar(i)!==l;return s&&(o=a,i=l),{width:o,height:i,$:s}}function Ul(t){return bt(t)?t:t.contextElement}function Fo(t){let e=Ul(t);if(!ct(e))return Pt(1);let o=e.getBoundingClientRect(),{width:i,height:n,$:a}=Wl(e),l=(a?ar(o.width):o.width)/i,s=(a?ar(o.height):o.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var Np=Pt(0);function Hl(t){let e=Be(t);return!Fr()||!e.visualViewport?Np:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function kp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Be(t)?!1:e}function cr(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);let n=t.getBoundingClientRect(),a=Ul(t),l=Pt(1);e&&(i?bt(i)&&(l=Fo(i)):l=Fo(t));let s=kp(a,o,i)?Hl(a):Pt(0),d=(n.left+s.x)/l.x,f=(n.top+s.y)/l.y,h=n.width/l.x,m=n.height/l.y;if(a){let y=Be(a),b=i&&bt(i)?Be(i):i,g=y.frameElement;for(;g&&i&&b!==y;){let v=Fo(g),N=g.getBoundingClientRect(),E=He(g),R=N.left+(g.clientLeft+parseFloat(E.paddingLeft))*v.x,P=N.top+(g.clientTop+parseFloat(E.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,m*=v.y,d+=R,f+=P,g=Be(g).frameElement}}return uo({width:h,height:m,x:d,y:f})}function Ap(t){let{rect:e,offsetParent:o,strategy:i}=t,n=ct(o),a=Bt(o);if(o===a)return e;let l={scrollLeft:0,scrollTop:0},s=Pt(1),d=Pt(0);if((n||!n&&i!=="fixed")&&((It(o)!=="body"||zo(a))&&(l=sr(o)),ct(o))){let f=cr(o);s=Fo(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-l.scrollLeft*s.x+d.x,y:e.y*s.y-l.scrollTop*s.y+d.y}}function Lp(t){return Array.from(t.getClientRects())}function Vl(t){return cr(Bt(t)).left+sr(t).scrollLeft}function Pp(t){let e=Bt(t),o=sr(t),i=t.ownerDocument.body,n=jt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=jt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),l=-o.scrollLeft+Vl(t),s=-o.scrollTop;return He(i).direction==="rtl"&&(l+=jt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:s}}function Ip(t,e){let o=Be(t),i=Bt(t),n=o.visualViewport,a=i.clientWidth,l=i.clientHeight,s=0,d=0;if(n){a=n.width,l=n.height;let f=Fr();(!f||f&&e==="fixed")&&(s=n.offsetLeft,d=n.offsetTop)}return{width:a,height:l,x:s,y:d}}function Bp(t,e){let o=cr(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=ct(t)?Fo(t):Pt(1),l=t.clientWidth*a.x,s=t.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:l,height:s,x:d,y:f}}function Fl(t,e,o){let i;if(e==="viewport")i=Ip(t,o);else if(e==="document")i=Pp(Bt(t));else if(bt(e))i=Bp(e,o);else{let n=Hl(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return uo(i)}function jl(t,e){let o=ho(t);return o===e||!bt(o)||lr(o)?!1:He(o).position==="fixed"||jl(o,e)}function Dp(t,e){let o=e.get(t);if(o)return o;let i=Tr(t,[],!1).filter(s=>bt(s)&&It(s)!=="body"),n=null,a=He(t).position==="fixed",l=a?ho(t):t;for(;bt(l)&&!lr(l);){let s=He(l),d=zr(l);!d&&s.position==="fixed"&&(n=null),(a?!d&&!n:!d&&s.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||zo(l)&&!d&&jl(t,l))?i=i.filter(h=>h!==l):n=s,l=ho(l)}return e.set(t,i),i}function _p(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t,l=[...o==="clippingAncestors"?Dp(e,this._c):[].concat(o),i],s=l[0],d=l.reduce((f,h)=>{let m=Fl(e,h,n);return f.top=jt(m.top,f.top),f.right=nr(m.right,f.right),f.bottom=nr(m.bottom,f.bottom),f.left=jt(m.left,f.left),f},Fl(e,s,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Tp(t){return Wl(t)}function zp(t,e,o){let i=ct(e),n=Bt(e),a=o==="fixed",l=cr(t,!0,a,e),s={scrollLeft:0,scrollTop:0},d=Pt(0);if(i||!i&&!a)if((It(e)!=="body"||zo(n))&&(s=sr(e)),i){let f=cr(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Vl(n));return{x:l.left+s.scrollLeft-d.x,y:l.top+s.scrollTop-d.y,width:l.width,height:l.height}}function Ml(t,e){return!ct(t)||He(t).position==="fixed"?null:e?e(t):t.offsetParent}function Kl(t,e){let o=Be(t);if(!ct(t))return o;let i=Ml(t,e);for(;i&&_l(i)&&He(i).position==="static";)i=Ml(i,e);return i&&(It(i)==="html"||It(i)==="body"&&He(i).position==="static"&&!zr(i))?o:i||Tl(t)||o}var Fp=async function(t){let{reference:e,floating:o,strategy:i}=t,n=this.getOffsetParent||Kl,a=this.getDimensions;return{reference:zp(e,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function Mp(t){return He(t).direction==="rtl"}var Mr={convertOffsetParentRelativeRectToViewportRelativeRect:Ap,getDocumentElement:Bt,getClippingRect:_p,getOffsetParent:Kl,getElementRects:Fp,getClientRects:Lp,getDimensions:Tp,getScale:Fo,isElement:bt,isRTL:Mp};var Gl=(t,e,o)=>{let i=new Map,n={platform:Mr,...o},a={...n.platform,_c:i};return Il(t,e,{...n,platform:a})};function Zl(t){return Wp(t)}function ji(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Wp(t){for(let e=t;e;e=ji(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ji(t);e;e=ji(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Wr(t,e,o){return Gl(t,e,{platform:{...Mr,getOffsetParent:i=>Mr.getOffsetParent(i,Zl)},middleware:[Vi({crossAxis:!0}),Hi({allowedPlacements:[o]})]})}var De=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ee=class extends pr.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 pr.Debouncer,this.revealDebouncer=new pr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ql.html`
544
+ `;var Pl=["top","right","bottom","left"],$l=["start","end"],Ma=Pl.reduce((t,e)=>t.concat(e,e+"-"+$l[0],e+"-"+$l[1]),[]),pr=Math.min,qt=Math.max,dr=Math.round;var zt=t=>({x:t,y:t}),Ap={left:"right",right:"left",bottom:"top",top:"bottom"},$p={start:"end",end:"start"};function Ha(t,e,o){return qt(t,pr(e,o))}function Tr(t,e){return typeof t=="function"?t(e):t}function Mo(t){return t.split("-")[0]}function Yt(t){return t.split("-")[1]}function Za(t){return t==="x"?"y":"x"}function Ga(t){return t==="y"?"height":"width"}function Ur(t){return["top","bottom"].includes(Mo(t))?"y":"x"}function Ka(t){return Za(Ur(t))}function Bl(t,e,o){o===void 0&&(o=!1);let n=Yt(t),i=Ka(t),l=Ga(i),c=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[l]>e.floating[l]&&(c=Ua(c)),[c,Ua(c)]}function zl(t){return t.replace(/start|end/g,e=>$p[e])}function Ua(t){return t.replace(/left|right|bottom|top/g,e=>Ap[e])}function Pp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Wl(t){return typeof t!="number"?Pp(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 Fl(t,e,o){let{reference:n,floating:i}=t,l=Ur(e),c=Ka(e),s=Ga(c),h=Mo(e),g=l==="y",y=n.x+n.width/2-i.width/2,b=n.y+n.height/2-i.height/2,x=n[s]/2-i[s]/2,S;switch(h){case"top":S={x:y,y:n.y-i.height};break;case"bottom":S={x:y,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:b};break;case"left":S={x:n.x-i.width,y:b};break;default:S={x:n.x,y:n.y}}switch(Yt(e)){case"start":S[c]-=x*(o&&g?-1:1);break;case"end":S[c]+=x*(o&&g?-1:1);break}return S}var Dl=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:l=[],platform:c}=o,s=l.filter(Boolean),h=await(c.isRTL==null?void 0:c.isRTL(e)),g=await c.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:b}=Fl(g,n,h),x=n,S={},v=0;for(let O=0;O<s.length;O++){let{name:A,fn:k}=s[O],{x:L,y:z,data:K,reset:te}=await k({x:y,y:b,initialPlacement:n,placement:x,strategy:i,middlewareData:S,rects:g,platform:c,elements:{reference:t,floating:e}});if(y=L??y,b=z??b,S={...S,[A]:{...S[A],...K}},te&&v<=50){v++,typeof te=="object"&&(te.placement&&(x=te.placement),te.rects&&(g=te.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:i}):te.rects),{x:y,y:b}=Fl(g,x,h)),O=-1;continue}}return{x:y,y:b,placement:x,strategy:i,middlewareData:S}};async function Va(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:l,rects:c,elements:s,strategy:h}=t,{boundary:g="clippingAncestors",rootBoundary:y="viewport",elementContext:b="floating",altBoundary:x=!1,padding:S=0}=Tr(e,t),v=Wl(S),A=s[x?b==="floating"?"reference":"floating":b],k=bo(await l.getClippingRect({element:(o=await(l.isElement==null?void 0:l.isElement(A)))==null||o?A:A.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(s.floating)),boundary:g,rootBoundary:y,strategy:h})),L=b==="floating"?{...c.floating,x:n,y:i}:c.reference,z=await(l.getOffsetParent==null?void 0:l.getOffsetParent(s.floating)),K=await(l.isElement==null?void 0:l.isElement(z))?await(l.getScale==null?void 0:l.getScale(z))||{x:1,y:1}:{x:1,y:1},te=bo(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:z,strategy:h}):L);return{top:(k.top-te.top+v.top)/K.y,bottom:(te.bottom-k.bottom+v.bottom)/K.y,left:(k.left-te.left+v.left)/K.x,right:(te.right-k.right+v.right)/K.x}}function Bp(t,e,o){return(t?[...o.filter(i=>Yt(i)===t),...o.filter(i=>Yt(i)!==t)]:o.filter(i=>Mo(i)===i)).filter(i=>t?Yt(i)===t||(e?zl(i)!==i:!1):!0)}var ja=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:l,middlewareData:c,placement:s,platform:h,elements:g}=e,{crossAxis:y=!1,alignment:b,allowedPlacements:x=Ma,autoAlignment:S=!0,...v}=Tr(t,e),O=b!==void 0||x===Ma?Bp(b||null,S,x):x,A=await Va(e,v),k=((o=c.autoPlacement)==null?void 0:o.index)||0,L=O[k];if(L==null)return{};let z=Bl(L,l,await(h.isRTL==null?void 0:h.isRTL(g.floating)));if(s!==L)return{reset:{placement:O[0]}};let K=[A[Mo(L)],A[z[0]],A[z[1]]],te=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:K}],ot=O[k+1];if(ot)return{data:{index:k+1,overflows:te},reset:{placement:ot}};let Ht=te.map(He=>{let rt=Yt(He.placement);return[He.placement,rt&&y?He.overflows.slice(0,2).reduce((Ze,po)=>Ze+po,0):He.overflows[0],He.overflows]}).sort((He,rt)=>He[1]-rt[1]),Zt=((i=Ht.filter(He=>He[2].slice(0,Yt(He[0])?2:3).every(rt=>rt<=0))[0])==null?void 0:i[0])||Ht[0][0];return Zt!==s?{data:{index:k+1,overflows:te},reset:{placement:Zt}}:{}}}};var qa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:l=!0,crossAxis:c=!1,limiter:s={fn:A=>{let{x:k,y:L}=A;return{x:k,y:L}}},...h}=Tr(t,e),g={x:o,y:n},y=await Va(e,h),b=Ur(Mo(i)),x=Za(b),S=g[x],v=g[b];if(l){let A=x==="y"?"top":"left",k=x==="y"?"bottom":"right",L=S+y[A],z=S-y[k];S=Ha(L,S,z)}if(c){let A=b==="y"?"top":"left",k=b==="y"?"bottom":"right",L=v+y[A],z=v-y[k];v=Ha(L,v,z)}let O=s.fn({...e,[x]:S,[b]:v});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function Wt(t){return Tl(t)?(t.nodeName||"").toLowerCase():"#document"}function Fe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ft(t){var e;return(e=(Tl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Tl(t){return t instanceof Node||t instanceof Fe(t).Node}function St(t){return t instanceof Element||t instanceof Fe(t).Element}function ft(t){return t instanceof HTMLElement||t instanceof Fe(t).HTMLElement}function _l(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Fe(t).ShadowRoot}function Ho(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Ke(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function Ul(t){return["table","td","th"].includes(Wt(t))}function Hr(t){let e=Zr(),o=Ke(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Ml(t){let e=xo(t);for(;ft(e)&&!fr(e);){if(Hr(e))return e;e=xo(e)}return null}function Zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fr(t){return["html","body","#document"].includes(Wt(t))}function Ke(t){return Fe(t).getComputedStyle(t)}function ur(t){return St(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xo(t){if(Wt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||_l(t)&&t.host||Ft(t);return _l(e)?e.host:e}function Hl(t){let e=xo(t);return fr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ft(e)&&Ho(e)?e:Hl(e)}function Mr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Hl(t),l=i===((n=t.ownerDocument)==null?void 0:n.body),c=Fe(i);return l?e.concat(c,c.visualViewport||[],Ho(i)?i:[],c.frameElement&&o?Mr(c.frameElement):[]):e.concat(i,Mr(i,[],o))}function Kl(t){let e=Ke(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ft(t),l=i?t.offsetWidth:o,c=i?t.offsetHeight:n,s=dr(o)!==l||dr(n)!==c;return s&&(o=l,n=c),{width:o,height:n,$:s}}function Vl(t){return St(t)?t:t.contextElement}function Zo(t){let e=Vl(t);if(!ft(e))return zt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:l}=Kl(e),c=(l?dr(o.width):o.width)/n,s=(l?dr(o.height):o.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var zp=zt(0);function jl(t){let e=Fe(t);return!Zr()||!e.visualViewport?zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Fe(t)?!1:e}function hr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),l=Vl(t),c=zt(1);e&&(n?St(n)&&(c=Zo(n)):c=Zo(t));let s=Wp(l,o,n)?jl(l):zt(0),h=(i.left+s.x)/c.x,g=(i.top+s.y)/c.y,y=i.width/c.x,b=i.height/c.y;if(l){let x=Fe(l),S=n&&St(n)?Fe(n):n,v=x.frameElement;for(;v&&n&&S!==x;){let O=Zo(v),A=v.getBoundingClientRect(),k=Ke(v),L=A.left+(v.clientLeft+parseFloat(k.paddingLeft))*O.x,z=A.top+(v.clientTop+parseFloat(k.paddingTop))*O.y;h*=O.x,g*=O.y,y*=O.x,b*=O.y,h+=L,g+=z,v=Fe(v).frameElement}}return bo({width:y,height:b,x:h,y:g})}function Fp(t){let{rect:e,offsetParent:o,strategy:n}=t,i=ft(o),l=Ft(o);if(o===l)return e;let c={scrollLeft:0,scrollTop:0},s=zt(1),h=zt(0);if((i||!i&&n!=="fixed")&&((Wt(o)!=="body"||Ho(l))&&(c=ur(o)),ft(o))){let g=hr(o);s=Zo(o),h.x=g.x+o.clientLeft,h.y=g.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-c.scrollLeft*s.x+h.x,y:e.y*s.y-c.scrollTop*s.y+h.y}}function Dp(t){return Array.from(t.getClientRects())}function ql(t){return hr(Ft(t)).left+ur(t).scrollLeft}function _p(t){let e=Ft(t),o=ur(t),n=t.ownerDocument.body,i=qt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=qt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+ql(t),s=-o.scrollTop;return Ke(n).direction==="rtl"&&(c+=qt(e.clientWidth,n.clientWidth)-i),{width:i,height:l,x:c,y:s}}function Tp(t,e){let o=Fe(t),n=Ft(t),i=o.visualViewport,l=n.clientWidth,c=n.clientHeight,s=0,h=0;if(i){l=i.width,c=i.height;let g=Zr();(!g||g&&e==="fixed")&&(s=i.offsetLeft,h=i.offsetTop)}return{width:l,height:c,x:s,y:h}}function Up(t,e){let o=hr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,l=ft(t)?Zo(t):zt(1),c=t.clientWidth*l.x,s=t.clientHeight*l.y,h=i*l.x,g=n*l.y;return{width:c,height:s,x:h,y:g}}function Zl(t,e,o){let n;if(e==="viewport")n=Tp(t,o);else if(e==="document")n=_p(Ft(t));else if(St(e))n=Up(e,o);else{let i=jl(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return bo(n)}function Yl(t,e){let o=xo(t);return o===e||!St(o)||fr(o)?!1:Ke(o).position==="fixed"||Yl(o,e)}function Mp(t,e){let o=e.get(t);if(o)return o;let n=Mr(t,[],!1).filter(s=>St(s)&&Wt(s)!=="body"),i=null,l=Ke(t).position==="fixed",c=l?xo(t):t;for(;St(c)&&!fr(c);){let s=Ke(c),h=Hr(c);!h&&s.position==="fixed"&&(i=null),(l?!h&&!i:!h&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ho(c)&&!h&&Yl(t,c))?n=n.filter(y=>y!==c):i=s,c=xo(c)}return e.set(t,n),n}function Hp(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,c=[...o==="clippingAncestors"?Mp(e,this._c):[].concat(o),n],s=c[0],h=c.reduce((g,y)=>{let b=Zl(e,y,i);return g.top=qt(b.top,g.top),g.right=pr(b.right,g.right),g.bottom=pr(b.bottom,g.bottom),g.left=qt(b.left,g.left),g},Zl(e,s,i));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Zp(t){return Kl(t)}function Gp(t,e,o){let n=ft(e),i=Ft(e),l=o==="fixed",c=hr(t,!0,l,e),s={scrollLeft:0,scrollTop:0},h=zt(0);if(n||!n&&!l)if((Wt(e)!=="body"||Ho(i))&&(s=ur(e)),n){let g=hr(e,!0,l,e);h.x=g.x+e.clientLeft,h.y=g.y+e.clientTop}else i&&(h.x=ql(i));return{x:c.left+s.scrollLeft-h.x,y:c.top+s.scrollTop-h.y,width:c.width,height:c.height}}function Gl(t,e){return!ft(t)||Ke(t).position==="fixed"?null:e?e(t):t.offsetParent}function Xl(t,e){let o=Fe(t);if(!ft(t))return o;let n=Gl(t,e);for(;n&&Ul(n)&&Ke(n).position==="static";)n=Gl(n,e);return n&&(Wt(n)==="html"||Wt(n)==="body"&&Ke(n).position==="static"&&!Hr(n))?o:n||Ml(t)||o}var Kp=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||Xl,l=this.getDimensions;return{reference:Gp(e,await i(o),n),floating:{x:0,y:0,...await l(o)}}};function Vp(t){return Ke(t).direction==="rtl"}var Gr={convertOffsetParentRelativeRectToViewportRelativeRect:Fp,getDocumentElement:Ft,getClippingRect:Hp,getOffsetParent:Xl,getElementRects:Kp,getClientRects:Dp,getDimensions:Zp,getScale:Zo,isElement:St,isRTL:Vp};var Jl=(t,e,o)=>{let n=new Map,i={platform:Gr,...o},l={...i.platform,_c:n};return Dl(t,e,{...i,platform:l})};function Ql(t){return jp(t)}function Ya(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function jp(t){for(let e=t;e;e=Ya(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ya(t);e;e=Ya(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Kr(t,e,o){return Jl(t,e,{platform:{...Gr,getOffsetParent:n=>Gr.getOffsetParent(n,Ql)},middleware:[qa({crossAxis:!0}),ja({allowedPlacements:[o]})]})}var De=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},re=class extends gr.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 gr.Debouncer,this.revealDebouncer=new gr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ec.html`
545
545
  <div part="container"
546
546
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
547
547
  @mouseenter=${this.onHover}
@@ -559,45 +559,46 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.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(o=>e.has(o))&&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(o=>o.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="",Wr(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",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,o){return Math.max(e,Math.min(0,-o))}};ee.elementDefinitions={"ft-typography":q};ee.styles=Rl;De([(0,me.property)()],ee.prototype,"text",void 0);De([(0,me.property)({type:Boolean})],ee.prototype,"manual",void 0);De([(0,me.property)({type:Boolean})],ee.prototype,"inline",void 0);De([(0,me.property)({type:Number})],ee.prototype,"delay",void 0);De([(0,me.property)()],ee.prototype,"position",void 0);De([(0,me.queryAssignedNodes)()],ee.prototype,"slotNodes",void 0);De([(0,me.query)(".ft-tooltip--container")],ee.prototype,"container",void 0);De([(0,me.query)(".ft-tooltip")],ee.prototype,"tooltip",void 0);De([(0,me.query)(".ft-tooltip--content")],ee.prototype,"tooltipContent",void 0);De([(0,me.state)()],ee.prototype,"visible",void 0);De([(0,me.eventOptions)({passive:!0})],ee.prototype,"onTouch",null);De([(0,me.eventOptions)({passive:!0})],ee.prototype,"onHover",null);De([(0,me.eventOptions)({passive:!0})],ee.prototype,"onOut",null);De([(0,me.eventOptions)({passive:!0})],ee.prototype,"onClick",null);(0,Yl.customElement)("ft-tooltip")(ee);var os=u(O());var dr=u($()),mo=u(Z()),es=u(O()),ts=u(Jl());var Gt;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Gt||(Gt={}));var x;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(x||(x={}));var Ki=new Map([...["abw"].map(t=>[t,x.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,x.AUDIO]),...["avi"].map(t=>[t,x.AVI]),...["chm","xhs"].map(t=>[t,x.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,x.CODE]),...["csv"].map(t=>[t,x.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,x.DITA]),...["epub"].map(t=>[t,x.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,x.EXCEL]),...["flac"].map(t=>[t,x.FLAC]),...["gif"].map(t=>[t,x.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,x.GZIP]),...["html","htm","xhtml"].map(t=>[t,x.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,x.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,x.JPEG]),...["json"].map(t=>[t,x.JSON]),...["m4a","m4p"].map(t=>[t,x.M4A]),...["mov","qt"].map(t=>[t,x.MOV]),...["mp3"].map(t=>[t,x.MP3]),...["mp4","m4v"].map(t=>[t,x.MP4]),...["ogg","oga"].map(t=>[t,x.OGG]),...["pdf","ps"].map(t=>[t,x.PDF]),...["png"].map(t=>[t,x.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,x.POWERPOINT]),...["rar"].map(t=>[t,x.RAR]),...["stp"].map(t=>[t,x.STP]),...["txt","rtf","md","mdown"].map(t=>[t,x.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,x.VIDEO]),...["wav"].map(t=>[t,x.WAV]),...["wma"].map(t=>[t,x.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,x.WORD]),...["xml","xsl","rdf"].map(t=>[t,x.XML]),...["yaml","yml","x-yaml"].map(t=>[t,x.YAML]),...["zip"].map(t=>[t,x.ZIP])]),Up=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 Ql(t,e){var o,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,s]=(((o=Up.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(a=(n=(i=Ki.get(s))!==null&&i!==void 0?i:Ki.get(e))!==null&&n!==void 0?n:Ki.get(l))!==null&&a!==void 0?a:x.UNKNOWN}var My={[x.ABW]:"#91ABC6",[x.AUDIO]:"#1795E3",[x.AVI]:"#E63324",[x.CHM]:"#71C3EB",[x.CODE]:"#71C3EB",[x.CSV]:"#1F7345",[x.DITA]:"#71C3EB",[x.EPUB]:"#85B926",[x.EXCEL]:"#1F7345",[x.FLAC]:"#1795E3",[x.GIF]:"#59B031",[x.GZIP]:"#F8AB36",[x.HTML]:"#71C3EB",[x.IMAGE]:"#59B031",[x.JPEG]:"#59B031",[x.JSON]:"#71C3EB",[x.M4A]:"#1795E3",[x.MOV]:"#E63324",[x.MP3]:"#1795E3",[x.MP4]:"#E63324",[x.OGG]:"#1795E3",[x.PDF]:"#E44948",[x.PNG]:"#59B031",[x.POWERPOINT]:"#B54A2B",[x.RAR]:"#F8AB36",[x.STP]:"#3764B1",[x.TEXT]:"#3162AB",[x.UNKNOWN]:"#999999",[x.VIDEO]:"#E63324",[x.WAV]:"#1795E3",[x.WMA]:"#1795E3",[x.WORD]:"#3162AB",[x.XML]:"#71C3EB",[x.YAML]:"#71C3EB",[x.ZIP]:"#F8AB36"};var pt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(pt||(pt={}));var Ur=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},le=class extends es.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=dr.nothing}render(){let e=this.variant&&Object.values(pt).includes(this.variant)?this.variant:pt.fluid_topics,o=e!==pt.material||!!this.value;return dr.html`
562
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&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(o=>o.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="",Kr(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",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,o){return Math.max(e,Math.min(0,-o))}};re.elementDefinitions={"ft-typography":J};re.styles=Al;De([(0,be.property)()],re.prototype,"text",void 0);De([(0,be.property)({type:Boolean})],re.prototype,"manual",void 0);De([(0,be.property)({type:Boolean})],re.prototype,"inline",void 0);De([(0,be.property)({type:Number})],re.prototype,"delay",void 0);De([(0,be.property)()],re.prototype,"position",void 0);De([(0,be.queryAssignedNodes)()],re.prototype,"slotNodes",void 0);De([(0,be.query)(".ft-tooltip--container")],re.prototype,"container",void 0);De([(0,be.query)(".ft-tooltip")],re.prototype,"tooltip",void 0);De([(0,be.query)(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0);De([(0,be.state)()],re.prototype,"visible",void 0);De([(0,be.eventOptions)({passive:!0})],re.prototype,"onTouch",null);De([(0,be.eventOptions)({passive:!0})],re.prototype,"onHover",null);De([(0,be.eventOptions)({passive:!0})],re.prototype,"onOut",null);De([(0,be.eventOptions)({passive:!0})],re.prototype,"onClick",null);(0,tc.customElement)("ft-tooltip")(re);var lc=m(E());var mr=m(I()),vo=m(X()),nc=m(E()),ic=m(rc());var Xt;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Xt||(Xt={}));var C;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(C||(C={}));var Xa=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])]),qp=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 ac(t,e){var o,n,i,l;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[c,s]=(((o=qp.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(l=(i=(n=Xa.get(s))!==null&&n!==void 0?n:Xa.get(e))!==null&&i!==void 0?i:Xa.get(c))!==null&&l!==void 0?l:C.UNKNOWN}var jm={[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 ut;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ut||(ut={}));var Vr=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},pe=class extends nc.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=mr.nothing}render(){let e=this.variant&&Object.values(ut).includes(this.variant)?this.variant:ut.fluid_topics,o=e!==ut.material||!!this.value;return mr.html`
563
563
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
564
- ${(0,ts.unsafeHTML)(this.resolvedIcon)}
564
+ ${(0,ic.unsafeHTML)(this.resolvedIcon)}
565
565
  <slot ?hidden=${o}></slot>
566
566
  </i>
567
- `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let i=this.value||this.textContent;switch(this.variant){case pt.file_format:this.resolvedIcon=(e=x[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case pt.material:this.resolvedIcon=this.value||dr.nothing;break;default:this.resolvedIcon=(o=Gt[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};le.elementDefinitions={};le.styles=yl;Ur([(0,mo.property)()],le.prototype,"variant",void 0);Ur([(0,mo.property)()],le.prototype,"value",void 0);Ur([(0,mo.state)()],le.prototype,"resolvedIcon",void 0);Ur([(0,mo.query)("slot")],le.prototype,"slottedContent",void 0);(0,os.customElement)("ft-icon")(le);var ns=u(O());var rs=u($()),is=u(O());var yo=class extends is.FtLitElement{render(){return rs.html`
567
+ `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case ut.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case ut.material:this.resolvedIcon=this.value||mr.nothing;break;default:this.resolvedIcon=(o=Xt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};pe.elementDefinitions={};pe.styles=Sl;Vr([(0,vo.property)()],pe.prototype,"variant",void 0);Vr([(0,vo.property)()],pe.prototype,"value",void 0);Vr([(0,vo.state)()],pe.prototype,"resolvedIcon",void 0);Vr([(0,vo.query)("slot")],pe.prototype,"slottedContent",void 0);(0,lc.customElement)("ft-icon")(pe);var pc=m(E());var cc=m(I()),sc=m(E());var So=class extends sc.FtLitElement{render(){return cc.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
- `}};yo.styles=hl;(0,ns.customElement)("ft-loader")(yo);var Mo=u($()),as=u(st()),Ee=u(Z()),Ve=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ue=class extends(0,Wo.toFtFormComponent)(Wo.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(Mo.html`
574
+ `}};So.styles=xl;(0,pc.customElement)("ft-loader")(So);var Go=m(I()),dc=m(dt()),ke=m(X()),Ve=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},me=class extends(0,Ko.toFtFormComponent)(Ko.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(Go.html`
575
575
  <button part="button"
576
- class="${(0,as.classMap)(this.buttonClasses)}"
576
+ class="${(0,dc.classMap)(this.buttonClasses)}"
577
577
  aria-label="${this.getLabel()}"
578
578
  ?disabled=${this.isDisabled()}>
579
579
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
580
580
  <ft-typography part="label"
581
581
  variant=${this.typographyVariant}
582
582
  element="span"
583
- class="ft-button--label ${Wo.isSafari?"ft-safari-ellipsis-fix":""}"
583
+ class="ft-button--label ${Ko.isSafari?"ft-safari-ellipsis-fix":""}"
584
584
  ?hidden=${!this.hasTextContent()}>
585
585
  <slot @slotchange=${this.onSlotchange}></slot>
586
586
  </ft-typography>
587
587
  ${this.resolveIcon()}
588
588
  </button>
589
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Mo.html`
589
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Go.html`
590
590
  <ft-tooltip part="tooltip"
591
591
  text="${this.getLabel()}"
592
592
  position="${this.tooltipPosition}">
593
593
  ${e}
594
594
  </ft-tooltip>
595
- `:e}resolveIcon(){return this.loading?Mo.html`
596
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Mo.html`
595
+ `:e}resolveIcon(){return this.loading?Go.html`
596
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Go.html`
597
597
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
598
- `:Mo.html`
598
+ `:Go.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 this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ue.elementDefinitions={"ft-ripple":z,"ft-tooltip":ee,"ft-typography":q,"ft-icon":le,"ft-loader":yo};Ve([(0,Ee.property)({type:String,reflect:!0})],ue.prototype,"role",void 0);Ve([(0,Ee.property)()],ue.prototype,"type",void 0);Ve([(0,Ee.property)({type:Boolean})],ue.prototype,"disabled",void 0);Ve([(0,Ee.property)()],ue.prototype,"label",void 0);Ve([(0,Ee.property)()],ue.prototype,"icon",void 0);Ve([(0,Ee.property)()],ue.prototype,"iconVariant",void 0);Ve([(0,Ee.property)({type:Boolean})],ue.prototype,"trailingIcon",void 0);Ve([(0,Ee.property)({type:Boolean})],ue.prototype,"loading",void 0);Ve([(0,Ee.property)()],ue.prototype,"tooltipPosition",void 0);Ve([(0,Ee.property)({type:Boolean})],ue.prototype,"hideTooltip",void 0);Ve([(0,Ee.property)({type:Boolean})],ue.prototype,"forceTooltip",void 0);Ve([(0,Ee.query)(".ft-button")],ue.prototype,"button",void 0);Ve([(0,Ee.query)(".ft-button--label slot")],ue.prototype,"slottedContent",void 0);var Hr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ye=class extends ue{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"}};ye.styles=[ls.safariEllipsisFix,xl];Hr([(0,fr.property)({type:Boolean})],ye.prototype,"primary",void 0);Hr([(0,fr.property)({type:Boolean})],ye.prototype,"outlined",void 0);Hr([(0,fr.property)({type:Boolean})],ye.prototype,"dense",void 0);Hr([(0,fr.property)({type:Boolean})],ye.prototype,"round",void 0);var Uo=u(Z());var ps=u(O());var ss=u($()),K=u(O());var cs=[ss.css`
600
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};me.elementDefinitions={"ft-ripple":U,"ft-tooltip":re,"ft-typography":J,"ft-icon":pe,"ft-loader":So};Ve([(0,ke.property)({type:String,reflect:!0})],me.prototype,"role",void 0);Ve([(0,ke.property)()],me.prototype,"type",void 0);Ve([(0,ke.property)({type:Boolean})],me.prototype,"disabled",void 0);Ve([(0,ke.property)()],me.prototype,"label",void 0);Ve([(0,ke.property)()],me.prototype,"icon",void 0);Ve([(0,ke.property)()],me.prototype,"iconVariant",void 0);Ve([(0,ke.property)({type:Boolean})],me.prototype,"trailingIcon",void 0);Ve([(0,ke.property)({type:Boolean})],me.prototype,"loading",void 0);Ve([(0,ke.property)()],me.prototype,"tooltipPosition",void 0);Ve([(0,ke.property)({type:Boolean})],me.prototype,"hideTooltip",void 0);Ve([(0,ke.property)({type:Boolean})],me.prototype,"forceTooltip",void 0);Ve([(0,ke.query)(".ft-button")],me.prototype,"button",void 0);Ve([(0,ke.query)(".ft-button--label slot")],me.prototype,"slottedContent",void 0);var jr=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},xe=class extends me{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=[fc.safariEllipsisFix,El];jr([(0,yr.property)({type:Boolean})],xe.prototype,"primary",void 0);jr([(0,yr.property)({type:Boolean})],xe.prototype,"outlined",void 0);jr([(0,yr.property)({type:Boolean})],xe.prototype,"dense",void 0);jr([(0,yr.property)({type:Boolean})],xe.prototype,"round",void 0);var Vo=m(X());var yc=m(E());var gc=m(I()),q=m(E());var Dt=m(I(),1),Jt=t=>typeof t=="string"?(0,Dt.unsafeCSS)(t):t,a=class{static create(e,o,n,i){let l=s=>Jt(s??i),c=Dt.css`var(${Jt(e)}, ${l(i)})`;return c.name=e,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>Dt.css`var(${Jt(e)}, ${l(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,o,n,i){let l=s=>n.get(s??i),c=Dt.css`var(${Jt(e)}, ${l(i)})`;return c.name=e,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>Dt.css`var(${Jt(e)}, ${l(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,o){let n=l=>e.fallbackVariable?e.fallbackVariable.get(l??e.defaultValue):Jt(l??e.lastResortDefaultValue()),i=Dt.css`var(${Jt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=l=>Dt.css`var(${Jt(e.name)}, ${n(l)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var p={colorWhite:a.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:a.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:a.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:a.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:a.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:a.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:a.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:a.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:a.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:a.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:a.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:a.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:a.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:a.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:a.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:a.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:a.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:a.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:a.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:a.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:a.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:a.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:a.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:a.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:a.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:a.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:a.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:a.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:a.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:a.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:a.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:a.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:a.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:a.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:a.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:a.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:a.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:a.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:a.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:a.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:a.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:a.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:a.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:a.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:a.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:a.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:a.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:a.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:a.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:a.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:a.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:a.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:a.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:a.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:a.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:a.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:a.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:a.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:a.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:a.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:a.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:a.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:a.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:a.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:a.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:a.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:a.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:a.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:a.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:a.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:a.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:a.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:a.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:a.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:a.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:a.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:a.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:a.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:a.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:a.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:a.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:a.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:a.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:a.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:a.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:a.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:a.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:a.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:a.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:a.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:a.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:a.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:a.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:a.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:a.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:a.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:a.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:a.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:a.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:a.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:a.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:a.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:a.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:a.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:a.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:a.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:a.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:a.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:a.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:a.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:a.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:a.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:a.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:a.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:a.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:a.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:a.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:a.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:a.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:a.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:a.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:a.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:a.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:a.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:a.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:a.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:a.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:a.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:a.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:a.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:a.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:a.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:a.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:a.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:a.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:a.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:a.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:a.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:a.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:a.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:a.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:a.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:a.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:a.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:a.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:a.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:a.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:a.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:a.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:a.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:a.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:a.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:a.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:a.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:a.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:a.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:a.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:a.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:a.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:a.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:a.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:a.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:a.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:a.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:a.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:a.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:a.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:a.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:a.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:a.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:a.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:a.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:a.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:a.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:a.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:a.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:a.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:a.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:a.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:a.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:a.create("--ft-opacity-0","","NUMBER","0"),opacity8:a.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:a.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:a.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:a.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:a.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:a.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:a.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:a.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:a.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:a.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:a.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:a.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:a.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:a.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)")},Ey={fontFamily:a.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:a.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ny={fontFamily:a.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:a.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ry={fontFamily:a.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:a.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ky={fontFamily:a.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:a.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:a.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ly={fontFamily:a.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Iy={fontFamily:a.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ay={fontFamily:a.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$y={fontFamily:a.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Py={fontFamily:a.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},By={fontFamily:a.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:a.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:a.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},zy={fontFamily:a.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Wy={fontFamily:a.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Fy={fontFamily:a.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Dy={fontFamily:a.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},_y={fontFamily:a.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ty={fontFamily:a.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Uy={fontFamily:a.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},My={fontFamily:a.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Hy={fontFamily:a.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Zy={fontFamily:a.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Gy={fontFamily:a.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ky={fontFamily:a.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Vy={fontFamily:a.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},jy={fontFamily:a.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},qy={fontFamily:a.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yy={fontFamily:a.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")};var u={backgroundActionPrimary:a.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:a.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:a.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:a.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:a.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:a.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:a.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:a.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:a.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:a.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:a.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:a.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:a.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:a.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:a.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:a.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:a.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:a.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:a.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
601
+ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:a.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:a.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:a.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:a.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:a.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:a.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:a.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:a.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:a.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:a.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:a.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:a.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:a.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:a.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var N={largeHeight:a.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:a.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:a.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:a.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:a.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:a.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:a.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:a.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:a.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:a.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:a.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:a.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:a.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:a.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:a.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:a.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:a.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:a.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:a.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:a.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:a.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:a.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:a.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:a.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:a.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:a.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:a.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:a.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:a.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:a.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:a.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:a.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:a.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:a.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:a.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:a.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:a.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:a.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:a.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:a.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:a.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:a.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:a.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:a.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:a.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:a.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:a.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:a.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:a.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:a.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:a.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:a.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:a.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:a.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:a.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:a.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:a.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:a.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:a.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:a.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:a.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:a.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var cb={largeMinHeight:a.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:a.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:a.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:a.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:a.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:a.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:a.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:a.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:a.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:a.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:a.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:a.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:a.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:a.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:a.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:a.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:a.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:a.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:a.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:a.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:a.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:a.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:a.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:a.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:a.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:a.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:a.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:a.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:a.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:a.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:a.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:a.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:a.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:a.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:a.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:a.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:a.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:a.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:a.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:a.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:a.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ub={focusOpacity:a.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:a.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:a.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:a.extend("--ft-link-info-color","",u.contentInfoPrimary)};var bb={iconSize:a.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:a.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:a.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:a.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:a.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:a.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:a.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:a.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:a.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:a.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:a.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:a.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:a.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Cb={horizontalPadding:a.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:a.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:a.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:a.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:a.extend("--ft-badge-background-color","",u.contentActionPrimary)};var kb={horizontalGap:a.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:a.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:a.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:a.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Pb={horizontalPadding:a.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:a.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:a.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:a.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:a.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:a.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:a.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:a.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:a.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:a.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Db={smallContainerWidth:a.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:a.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:a.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:a.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:a.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:a.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:a.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:a.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:a.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:a.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:a.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:a.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:a.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:a.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:a.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:a.extend("--ft-modal-border-radius","",p.borderRadiusM)};var Hb={overlayOpacity:a.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:a.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:a.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:a.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:a.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:a.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:a.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:a.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:a.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:a.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:a.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:a.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:a.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:a.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:a.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:a.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:a.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:a.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:a.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:a.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:a.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:a.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var jb={fieldHorizontalPadding:a.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:a.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:a.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:a.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:a.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:a.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Qb={backgroundColor:a.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:a.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:a.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:a.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:a.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:a.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:a.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var ax={height:a.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:a.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:a.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:a.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:a.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:a.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:a.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:a.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:a.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:a.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:a.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:a.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:a.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:a.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var sx={fieldHorizontalPadding:a.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:a.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:a.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:a.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:a.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:a.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:a.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:a.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var hx={backgroundColor:a.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:a.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:a.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:a.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:a.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:a.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:a.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:a.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:a.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:a.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:a.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:a.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:a.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var xx={backgroundColor:a.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:a.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:a.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:a.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:a.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:a.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:a.extend("--ft-popover-gap","",p.spacing3),borderRadius:a.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:a.extend("--ft-popover-shadow","",p.shadowElevation02)};var wx={topLeftBorderRadius:a.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:a.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:a.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:a.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:a.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:a.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:a.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:a.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:a.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:a.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:a.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:a.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:a.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:a.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:a.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:a.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:a.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Lx={hoverStateLayerOpacity:a.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:a.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:a.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:a.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:a.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:a.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:a.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:a.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:a.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:a.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:a.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:a.extend("--ft-collapsible-icon-size","",p.iconSize3)};var Bx={groupHorizontalPadding:a.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:a.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:a.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:a.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:a.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:a.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:a.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:a.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:a.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:a.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:a.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:a.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:a.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:a.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:a.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:a.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:a.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:a.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:a.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Dx={color1Light:a.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:a.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:a.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:a.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:a.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:a.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:a.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:a.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:a.extend("--ft-chart-5-light","",p.colorRed40),color5Base:a.extend("--ft-chart-5-base","",p.colorRed60),color6Light:a.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:a.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:a.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:a.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:a.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:a.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:a.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:a.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:a.extend("--ft-chart-10-light","",p.colorGray50),color10Base:a.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:a.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:a.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:a.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:a.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:a.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:a.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var Hx={borderWidth:a.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:a.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:a.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:a.extend("--ft-notice-gap","",p.spacing2),iconSize:a.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:a.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:a.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:a.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:a.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:a.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:a.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:a.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:a.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:a.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:a.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:a.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:a.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:a.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:a.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:a.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:a.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var jx={color:a.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:a.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:a.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:a.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:a.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:a.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:a.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:a.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:a.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:a.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:a.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:a.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:a.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:a.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:a.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-checkbox-gap","",p.spacing3)};var Qx={offHoverStateLayerOpacity:a.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:a.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:a.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:a.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:a.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:a.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:a.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:a.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:a.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:a.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:a.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:a.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:a.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:a.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:a.extend("--ft-toggle-gap","",p.spacing3)};var a0={color:a.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:a.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:a.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:a.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:a.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:a.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:a.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:a.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:a.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:a.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:a.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:a.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:a.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:a.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-radio-gap","",p.spacing3)};var s0={iconSize:a.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:a.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:a.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:a.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:a.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:a.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:a.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:a.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:a.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:a.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:a.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:a.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:a.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:a.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:a.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:a.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:a.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:a.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:a.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:a.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:a.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:a.extend("--ft-notification-trailing-gap","",p.spacing8)};var h0={horizontalPadding:a.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:a.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:a.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:a.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:a.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:a.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:a.create("--ft-tooltip-max-width","","SIZE","256px"),gap:a.extend("--ft-tooltip-gap","",p.spacing05)};var uc;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(uc||(uc={}));var hc;(function(t){t.large="large",t.medium="medium",t.small="small"})(hc||(hc={}));var mc=[gc.css`
601
602
  :host {
602
603
  display: inline-block;
603
604
  max-width: 100%;
@@ -647,7 +648,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
647
648
  }
648
649
 
649
650
  .ft-button:focus-visible {
650
- outline-color: ${w.focusFocusRingColor};
651
+ outline-color: ${N.focusFocusRingColor};
651
652
  outline-style: solid;
652
653
  }
653
654
 
@@ -676,154 +677,154 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
676
677
  /** Primary styles **/
677
678
 
678
679
  .ft-button--primary {
679
- ${(0,K.setVariable)(Pe.color,w.primaryIconColor)};
680
+ ${(0,q.setVariable)(ze.color,N.primaryIconColor)};
680
681
 
681
- ${(0,K.setVariable)(_.color,w.primaryStateLayerColor)};
682
- ${(0,K.setVariable)(_.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
683
- ${(0,K.setVariable)(_.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
684
- ${(0,K.setVariable)(_.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
685
- ${(0,K.setVariable)(_.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
682
+ ${(0,q.setVariable)(_.color,N.primaryStateLayerColor)};
683
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceHover,N.primaryHoverStateLayerOpacity)};
684
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceFocused,N.primaryFocusStateLayerOpacity)};
685
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceSelected,N.primaryActiveStateLayerOpacity)};
686
+ ${(0,q.setVariable)(_.opacityContentOnSurfacePressed,N.primaryActiveStateLayerOpacity)};
686
687
 
687
- background-color: ${w.primaryBackgroundColor};
688
- color: ${w.primaryColor};
688
+ background-color: ${N.primaryBackgroundColor};
689
+ color: ${N.primaryColor};
689
690
  border-style: none;
690
691
  }
691
692
 
692
693
  .ft-button--primary[disabled] {
693
- opacity: ${w.primaryDisabledComponentOpacity};
694
+ opacity: ${N.primaryDisabledComponentOpacity};
694
695
  }
695
696
 
696
697
  .ft-button--primary ft-icon {
697
- color: ${w.primaryIconColor};
698
+ color: ${N.primaryIconColor};
698
699
  }
699
700
 
700
701
  /** Secondary styles **/
701
702
 
702
703
  .ft-button--secondary {
703
- ${(0,K.setVariable)(Pe.color,w.secondaryIconColor)};
704
+ ${(0,q.setVariable)(ze.color,N.secondaryIconColor)};
704
705
 
705
- ${(0,K.setVariable)(_.color,w.secondaryStateLayerColor)};
706
- ${(0,K.setVariable)(_.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
707
- ${(0,K.setVariable)(_.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
708
- ${(0,K.setVariable)(_.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
709
- ${(0,K.setVariable)(_.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
706
+ ${(0,q.setVariable)(_.color,N.secondaryStateLayerColor)};
707
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceHover,N.secondaryHoverStateLayerOpacity)};
708
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceFocused,N.secondaryFocusStateLayerOpacity)};
709
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceSelected,N.secondaryActiveStateLayerOpacity)};
710
+ ${(0,q.setVariable)(_.opacityContentOnSurfacePressed,N.secondaryActiveStateLayerOpacity)};
710
711
 
711
- background-color: ${w.secondaryBackgroundColor};
712
- color: ${w.secondaryColor};
713
- border-color: ${w.secondaryBorderColor};
712
+ background-color: ${N.secondaryBackgroundColor};
713
+ color: ${N.secondaryColor};
714
+ border-color: ${N.secondaryBorderColor};
714
715
  border-style: solid;
715
716
  }
716
717
 
717
718
  .ft-button--secondary[disabled] {
718
- opacity: ${w.secondaryDisabledComponentOpacity};
719
+ opacity: ${N.secondaryDisabledComponentOpacity};
719
720
  }
720
721
 
721
722
  .ft-button--secondary ft-icon {
722
- color: ${w.secondaryIconColor};
723
+ color: ${N.secondaryIconColor};
723
724
  }
724
725
 
725
726
  /** Tertiary styles **/
726
727
 
727
728
  .ft-button--tertiary {
728
- ${(0,K.setVariable)(Pe.color,w.tertiaryIconColor)};
729
+ ${(0,q.setVariable)(ze.color,N.tertiaryIconColor)};
729
730
 
730
- ${(0,K.setVariable)(_.color,w.tertiaryStateLayerColor)};
731
- ${(0,K.setVariable)(_.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
732
- ${(0,K.setVariable)(_.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
733
- ${(0,K.setVariable)(_.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
734
- ${(0,K.setVariable)(_.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
731
+ ${(0,q.setVariable)(_.color,N.tertiaryStateLayerColor)};
732
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceHover,N.tertiaryHoverStateLayerOpacity)};
733
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceFocused,N.tertiaryFocusStateLayerOpacity)};
734
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceSelected,N.tertiaryActiveStateLayerOpacity)};
735
+ ${(0,q.setVariable)(_.opacityContentOnSurfacePressed,N.tertiaryActiveStateLayerOpacity)};
735
736
 
736
- background-color: ${w.tertiaryBackgroundColor};
737
- color: ${w.tertiaryColor};
737
+ background-color: ${N.tertiaryBackgroundColor};
738
+ color: ${N.tertiaryColor};
738
739
  border-style: none;
739
740
  }
740
741
 
741
742
  .ft-button--tertiary[disabled] {
742
- opacity: ${w.tertiaryDisabledComponentOpacity};
743
+ opacity: ${N.tertiaryDisabledComponentOpacity};
743
744
  }
744
745
 
745
746
  .ft-button--tertiary ft-icon {
746
- color: ${w.tertiaryIconColor};
747
+ color: ${N.tertiaryIconColor};
747
748
  }
748
749
 
749
750
  /** Neutral styles **/
750
751
 
751
752
  .ft-button--neutral {
752
- ${(0,K.setVariable)(Pe.color,w.neutralIconColor)};
753
+ ${(0,q.setVariable)(ze.color,N.neutralIconColor)};
753
754
 
754
- ${(0,K.setVariable)(_.backgroundColor,w.neutralStateLayerColor)};
755
- ${(0,K.setVariable)(_.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
756
- ${(0,K.setVariable)(_.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
757
- ${(0,K.setVariable)(_.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
758
- ${(0,K.setVariable)(_.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
755
+ ${(0,q.setVariable)(_.backgroundColor,N.neutralStateLayerColor)};
756
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceHover,N.neutralHoverStateLayerOpacity)};
757
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceFocused,N.neutralFocusStateLayerOpacity)};
758
+ ${(0,q.setVariable)(_.opacityContentOnSurfaceSelected,N.neutralActiveStateLayerOpacity)};
759
+ ${(0,q.setVariable)(_.opacityContentOnSurfacePressed,N.neutralActiveStateLayerOpacity)};
759
760
 
760
- background-color: ${w.neutralBackgroundColor};
761
- color: ${w.neutralColor};
761
+ background-color: ${N.neutralBackgroundColor};
762
+ color: ${N.neutralColor};
762
763
  border-style: none;
763
764
  }
764
765
 
765
766
  .ft-button--neutral[disabled] {
766
- opacity: ${w.neutralDisabledComponentOpacity};
767
+ opacity: ${N.neutralDisabledComponentOpacity};
767
768
  }
768
769
 
769
770
  .ft-button--neutral ft-icon {
770
- color: ${w.neutralIconColor};
771
+ color: ${N.neutralIconColor};
771
772
  }
772
773
 
773
774
  /** Large styles **/
774
775
 
775
776
  .ft-button--large {
776
- ${(0,K.setVariable)(ve.size,w.largeIconSize)};
777
- ${(0,K.setVariable)(Pe.size,w.largeIconSize)};
777
+ ${(0,q.setVariable)(Oe.size,N.largeIconSize)};
778
+ ${(0,q.setVariable)(ze.size,N.largeIconSize)};
778
779
 
779
- height: ${w.largeHeight};
780
- padding: 0 ${w.largeHorizontalPadding};
781
- gap: ${w.largeGap};
782
- border-radius: ${w.largeBorderRadius};
783
- border-width: ${w.largeBorderWidth};
780
+ height: ${N.largeHeight};
781
+ padding: 0 ${N.largeHorizontalPadding};
782
+ gap: ${N.largeGap};
783
+ border-radius: ${N.largeBorderRadius};
784
+ border-width: ${N.largeBorderWidth};
784
785
  }
785
786
 
786
787
  .ft-button--large:focus-visible {
787
- outline-width: ${w.largeFocusOutlineWidth};
788
- outline-offset: ${w.largeFocusOutlineOffset};
788
+ outline-width: ${N.largeFocusOutlineWidth};
789
+ outline-offset: ${N.largeFocusOutlineOffset};
789
790
  }
790
791
 
791
792
  .ft-button--large.ft-button--icon-only {
792
- width: ${w.largeIconOnlyWidth};
793
+ width: ${N.largeIconOnlyWidth};
793
794
  padding: unset;
794
795
  }
795
796
 
796
797
  /** Small styles **/
797
798
 
798
799
  .ft-button--small {
799
- ${(0,K.setVariable)(ve.size,w.smallIconSize)};
800
- ${(0,K.setVariable)(Pe.size,w.smallIconSize)};
800
+ ${(0,q.setVariable)(Oe.size,N.smallIconSize)};
801
+ ${(0,q.setVariable)(ze.size,N.smallIconSize)};
801
802
 
802
- height: ${w.smallHeight};
803
- padding: 0 ${w.smallHorizontalPadding};
804
- gap: ${w.smallGap};
805
- border-radius: ${w.smallBorderRadius};
806
- border-width: ${w.smallBorderWidth};
803
+ height: ${N.smallHeight};
804
+ padding: 0 ${N.smallHorizontalPadding};
805
+ gap: ${N.smallGap};
806
+ border-radius: ${N.smallBorderRadius};
807
+ border-width: ${N.smallBorderWidth};
807
808
  }
808
809
 
809
810
  .ft-button--small:focus-visible {
810
- outline-width: ${w.smallFocusOutlineWidth};
811
- outline-offset: ${w.smallFocusOutlineOffset};
811
+ outline-width: ${N.smallFocusOutlineWidth};
812
+ outline-offset: ${N.smallFocusOutlineOffset};
812
813
  }
813
814
 
814
815
  .ft-button--small.ft-button--icon-only {
815
- width: ${w.smallIconOnlyWidth};
816
+ width: ${N.smallIconOnlyWidth};
816
817
  padding: unset;
817
818
  }
818
- `,K.noTextSelect];var ur=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},vt=class extends ue{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?fo.caption1medium:fo.body2medium}};vt.styles=[ps.safariEllipsisFix,cs];ur([(0,Uo.property)({type:Boolean})],vt.prototype,"primary",void 0);ur([(0,Uo.property)({type:Boolean})],vt.prototype,"secondary",void 0);ur([(0,Uo.property)({type:Boolean})],vt.prototype,"tertiary",void 0);ur([(0,Uo.property)({type:Boolean})],vt.prototype,"neutral",void 0);ur([(0,Uo.property)({type:Boolean})],vt.prototype,"small",void 0);(0,Gi.customElement)("ft-button")(ye);(0,Gi.customElement)("ftds-button")(vt);var ys=u(O());var us=u($()),Zt=u(Z()),hs=u(O()),ms=u(st());var je=u(O()),ds=u($());var Dt={textColor:je.FtCssVariableFactory.extend("--ft-checkbox-text-color","",je.designSystemVariables.colorOnSurfaceHigh),fontSize:je.FtCssVariableFactory.extend("--ft-checkbox-font-size","",C.fontSize),colorPrimary:je.FtCssVariableFactory.external(je.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:je.FtCssVariableFactory.external(je.designSystemVariables.colorOnPrimary,"Design system"),borderColor:je.FtCssVariableFactory.extend("--ft-checkbox-border-color","",je.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:je.FtCssVariableFactory.external(je.designSystemVariables.colorOnSurfaceDisabled,"Design system")},fs=ds.css`
819
+ `,q.noTextSelect];var br=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},Ot=class extends me{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?yo.caption1medium:yo.body2medium}};Ot.styles=[yc.safariEllipsisFix,mc];br([(0,Vo.property)({type:Boolean})],Ot.prototype,"primary",void 0);br([(0,Vo.property)({type:Boolean})],Ot.prototype,"secondary",void 0);br([(0,Vo.property)({type:Boolean})],Ot.prototype,"tertiary",void 0);br([(0,Vo.property)({type:Boolean})],Ot.prototype,"neutral",void 0);br([(0,Vo.property)({type:Boolean})],Ot.prototype,"small",void 0);(0,Ja.customElement)("ft-button")(xe);(0,Ja.customElement)("ftds-button")(Ot);var Cc=m(E());var vc=m(I()),Qt=m(X()),Sc=m(E()),Oc=m(dt());var je=m(E()),bc=m(I());var _t={textColor:je.FtCssVariableFactory.extend("--ft-checkbox-text-color","",je.designSystemVariables.colorOnSurfaceHigh),fontSize:je.FtCssVariableFactory.extend("--ft-checkbox-font-size","",R.fontSize),colorPrimary:je.FtCssVariableFactory.external(je.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:je.FtCssVariableFactory.external(je.designSystemVariables.colorOnPrimary,"Design system"),borderColor:je.FtCssVariableFactory.extend("--ft-checkbox-border-color","",je.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:je.FtCssVariableFactory.external(je.designSystemVariables.colorOnSurfaceDisabled,"Design system")},xc=bc.css`
819
820
  * {
820
821
  box-sizing: border-box;
821
822
  }
822
823
 
823
824
  .ft-checkbox {
824
825
  box-sizing: border-box;
825
- color: ${Dt.textColor};
826
- font-size: ${Dt.fontSize};
826
+ color: ${_t.textColor};
827
+ font-size: ${_t.fontSize};
827
828
 
828
829
  display: inline-flex;
829
830
  align-items: center;
@@ -831,7 +832,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
831
832
  }
832
833
 
833
834
  .ft-checkbox--disabled {
834
- color: ${Dt.colorOnSurfaceDisabled};
835
+ color: ${_t.colorOnSurfaceDisabled};
835
836
  }
836
837
 
837
838
  input {
@@ -855,26 +856,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
855
856
 
856
857
  .ft-checkbox--box {
857
858
  display: flex;
858
- border: 2px solid ${Dt.borderColor};
859
+ border: 2px solid ${_t.borderColor};
859
860
  border-radius: 2px;
860
861
 
861
862
  width: 18px;
862
863
  height: 18px;
863
864
 
864
- color: ${Dt.colorOnPrimary};
865
+ color: ${_t.colorOnPrimary};
865
866
  }
866
867
 
867
868
 
868
869
  .ft-checkbox--checked .ft-checkbox--box,
869
870
  .ft-checkbox--indeterminate .ft-checkbox--box {
870
- border-color: ${Dt.colorPrimary};
871
- background-color: ${Dt.colorPrimary};
871
+ border-color: ${_t.colorPrimary};
872
+ background-color: ${_t.colorPrimary};
872
873
  }
873
874
 
874
875
  .ft-checkbox--disabled .ft-checkbox--box {
875
- border-color: ${Dt.colorOnSurfaceDisabled};
876
+ border-color: ${_t.colorOnSurfaceDisabled};
876
877
  background-color: transparent;
877
- color: ${Dt.colorOnSurfaceDisabled};
878
+ color: ${_t.colorOnSurfaceDisabled};
878
879
  }
879
880
 
880
881
  .ft-checkbox--checkmark {
@@ -893,8 +894,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
893
894
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
894
895
  opacity: 1;
895
896
  }
896
- `;var Ho=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},_e=class extends hs.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 us.html`
897
- <label class="${(0,ms.classMap)(e)}" for="checkbox-input">
897
+ `;var jo=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},_e=class extends Sc.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 vc.html`
898
+ <label class="${(0,Oc.classMap)(e)}" for="checkbox-input">
898
899
  <div class="ft-checkbox--box-container">
899
900
  <ft-ripple
900
901
  ?disabled=${this.disabled}
@@ -920,14 +921,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
920
921
  <slot></slot>
921
922
  </ft-typography>
922
923
  </label>
923
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}};_e.elementDefinitions={"ft-ripple":z,"ft-typography":q};_e.styles=fs;Ho([(0,Zt.property)()],_e.prototype,"name",void 0);Ho([(0,Zt.property)({type:Boolean,reflect:!0})],_e.prototype,"checked",void 0);Ho([(0,Zt.property)({type:Boolean})],_e.prototype,"indeterminate",void 0);Ho([(0,Zt.property)({type:Boolean})],_e.prototype,"disabled",void 0);Ho([(0,Zt.query)(".ft-checkbox")],_e.prototype,"container",void 0);Ho([(0,Zt.query)("ft-ripple")],_e.prototype,"ripple",void 0);(0,ys.customElement)("ft-checkbox")(_e);var Zi=u(O());var vs=u($()),dt=u(Z()),xs=u(O()),Ss=u(st());var gs=u($()),Ke=u(O()),go={textColor:Ke.FtCssVariableFactory.extend("--ft-radio-text-color","",Ke.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Ke.FtCssVariableFactory.external(Ke.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ke.FtCssVariableFactory.external(Ke.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ke.FtCssVariableFactory.extend("--ft-radio-border-color","",Ke.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ke.FtCssVariableFactory.external(Ke.designSystemVariables.colorOnSurfaceDisabled,"Design system")},bs=gs.css`
924
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}};_e.elementDefinitions={"ft-ripple":U,"ft-typography":J};_e.styles=xc;jo([(0,Qt.property)()],_e.prototype,"name",void 0);jo([(0,Qt.property)({type:Boolean,reflect:!0})],_e.prototype,"checked",void 0);jo([(0,Qt.property)({type:Boolean})],_e.prototype,"indeterminate",void 0);jo([(0,Qt.property)({type:Boolean})],_e.prototype,"disabled",void 0);jo([(0,Qt.query)(".ft-checkbox")],_e.prototype,"container",void 0);jo([(0,Qt.query)("ft-ripple")],_e.prototype,"ripple",void 0);(0,Cc.customElement)("ft-checkbox")(_e);var Qa=m(E());var Nc=m(I()),ht=m(X()),Rc=m(E()),kc=m(dt());var wc=m(I()),qe=m(E()),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")},Ec=wc.css`
924
925
  * {
925
926
  box-sizing: border-box;
926
927
  }
927
928
 
928
929
  .ft-radio {
929
930
  box-sizing: border-box;
930
- color: ${go.textColor};
931
+ color: ${Oo.textColor};
931
932
 
932
933
  display: inline-flex;
933
934
  align-items: center;
@@ -935,7 +936,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
935
936
  }
936
937
 
937
938
  .ft-radio--disabled {
938
- color: ${go.colorOnSurfaceDisabled};
939
+ color: ${Oo.colorOnSurfaceDisabled};
939
940
  }
940
941
 
941
942
  input {
@@ -958,7 +959,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
958
959
  }
959
960
 
960
961
  .ft-radio--box {
961
- border: 2px solid ${go.borderColor};
962
+ border: 2px solid ${Oo.borderColor};
962
963
  border-radius: 50%;
963
964
 
964
965
  display: flex;
@@ -971,7 +972,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
971
972
 
972
973
  .ft-radio--box:after {
973
974
  content: " ";
974
- background-color: ${go.colorPrimary};
975
+ background-color: ${Oo.colorPrimary};
975
976
 
976
977
  border-radius: 50%;
977
978
 
@@ -983,7 +984,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
983
984
  }
984
985
 
985
986
  .ft-radio--checked .ft-radio--box {
986
- border-color: ${go.colorPrimary};
987
+ border-color: ${Oo.colorPrimary};
987
988
  }
988
989
 
989
990
 
@@ -992,24 +993,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
992
993
  }
993
994
 
994
995
  .ft-radio--disabled .ft-radio--box {
995
- border-color: ${go.colorOnSurfaceDisabled};
996
+ border-color: ${Oo.colorOnSurfaceDisabled};
996
997
  background-color: transparent;
997
998
  }
998
999
 
999
1000
  .ft-radio--disabled .ft-radio--box:after {
1000
- background-color: ${go.colorOnSurfaceDisabled};
1001
+ background-color: ${Oo.colorOnSurfaceDisabled};
1001
1002
  }
1002
1003
 
1003
1004
  .ft-radio:has(:focus-visible) {
1004
- outline: 2px solid ${Ke.designSystemVariables.colorPrimary};
1005
+ outline: 2px solid ${qe.designSystemVariables.colorPrimary};
1005
1006
  outline-offset: -2px;
1006
1007
  }
1007
1008
 
1008
1009
  .ft-radio ft-typography {
1009
1010
  padding-right: 2px;
1010
1011
  }
1011
- `;var _t=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Vr=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},ge=class extends xs.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 vs.html`
1012
- <div class="${(0,Ss.classMap)(e)}">
1012
+ `;var Tt=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},qr=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},ve=class extends Rc.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 Nc.html`
1013
+ <div class="${(0,kc.classMap)(e)}">
1013
1014
  <div class="ft-radio--box-container">
1014
1015
  <ft-ripple
1015
1016
  ?disabled=${this.disabled}
@@ -1027,13 +1028,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1027
1028
  @change=${this.onChange}
1028
1029
  >
1029
1030
  </div>
1030
- <label for="radio-button" @click=${o=>{var i;o.stopPropagation(),o.preventDefault(),(i=this.input)===null||i===void 0||i.click()}}>
1031
+ <label for="radio-button" @click=${o=>{var n;o.stopPropagation(),o.preventDefault(),(n=this.input)===null||n===void 0||n.click()}}>
1031
1032
  <ft-typography variant="body2">
1032
1033
  <slot></slot>
1033
1034
  </ft-typography>
1034
1035
  </label>
1035
1036
  </div>
1036
- `}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 Vr(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Vr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};ge.elementDefinitions={"ft-ripple":z,"ft-typography":q};ge.styles=bs;_t([(0,dt.property)()],ge.prototype,"value",void 0);_t([(0,dt.property)()],ge.prototype,"name",void 0);_t([(0,dt.property)({type:Boolean,reflect:!0})],ge.prototype,"checked",void 0);_t([(0,dt.property)({attribute:"aria-checked",reflect:!0})],ge.prototype,"ariaChecked",void 0);_t([(0,dt.property)({type:Boolean})],ge.prototype,"disabled",void 0);_t([(0,dt.property)({reflect:!0,attribute:"role"})],ge.prototype,"role",void 0);_t([(0,dt.query)(".ft-radio")],ge.prototype,"container",void 0);_t([(0,dt.query)("ft-ripple")],ge.prototype,"ripple",void 0);_t([(0,dt.query)("input")],ge.prototype,"input",void 0);var Cs=u(O()),Tt=u(Z()),Es=u($());var Os=u($());var ws=Os.css`
1037
+ `}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 o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.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":U,"ft-typography":J};ve.styles=Ec;Tt([(0,ht.property)()],ve.prototype,"value",void 0);Tt([(0,ht.property)()],ve.prototype,"name",void 0);Tt([(0,ht.property)({type:Boolean,reflect:!0})],ve.prototype,"checked",void 0);Tt([(0,ht.property)({attribute:"aria-checked",reflect:!0})],ve.prototype,"ariaChecked",void 0);Tt([(0,ht.property)({type:Boolean})],ve.prototype,"disabled",void 0);Tt([(0,ht.property)({reflect:!0,attribute:"role"})],ve.prototype,"role",void 0);Tt([(0,ht.query)(".ft-radio")],ve.prototype,"container",void 0);Tt([(0,ht.query)("ft-ripple")],ve.prototype,"ripple",void 0);Tt([(0,ht.query)("input")],ve.prototype,"input",void 0);var Ac=m(E()),Ut=m(X()),$c=m(I());var Lc=m(I());var Ic=Lc.css`
1037
1038
  :host {
1038
1039
  display: block;
1039
1040
  }
@@ -1041,12 +1042,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1041
1042
  :host(:focus-visible) {
1042
1043
  outline: none;
1043
1044
  }
1044
- `;var Vo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Te=class extends Cs.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 Es.html`
1045
+ `;var qo=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},Te=class extends Ac.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 $c.html`
1045
1046
  <slot @slotchange=${this.onSlotChange}
1046
1047
  @change=${this.onChange}
1047
1048
  @keydown=${this.onKeyDown}
1048
1049
  ></slot>
1049
- `}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(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Te.elementDefinitions={};Te.styles=ws;Vo([(0,Tt.property)()],Te.prototype,"name",void 0);Vo([(0,Tt.property)({reflect:!0,attribute:"role"})],Te.prototype,"role",void 0);Vo([(0,Tt.property)({reflect:!0})],Te.prototype,"tabIndex",void 0);Vo([(0,Tt.property)({reflect:!0,attribute:"aria-labelledby"})],Te.prototype,"ariaLabelledBy",void 0);Vo([(0,Tt.queryAssignedElements)()],Te.prototype,"radioButtons",void 0);Vo([(0,Tt.state)()],Te.prototype,"currentSelectedIndex",void 0);(0,Zi.customElement)("ft-radio")(ge);(0,Zi.customElement)("ft-radio-group")(Te);var Rs=u($()),te=u(O());var jr={borderRadiusM:te.FtCssVariableFactory.external(te.designSystemVariables.borderRadiusM,"Design system"),colorOutline:te.FtCssVariableFactory.external(te.designSystemVariables.colorOutline,"Design system"),colorOnSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:te.FtCssVariableFactory.external(te.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:te.FtCssVariableFactory.external(Se.fontFamily,"Body2 typography"),fontSize:te.FtCssVariableFactory.external(Se.fontSize,"Body2 typography"),fontWeight:te.FtCssVariableFactory.external(Se.fontWeight,"Body2 typography"),letterSpacing:te.FtCssVariableFactory.external(Se.letterSpacing,"Body2 typography"),lineHeight:te.FtCssVariableFactory.external(Se.lineHeight,"Body2 typography"),textTransform:te.FtCssVariableFactory.external(Se.textTransform,"Body2 typography")},$s=Rs.css`
1050
+ `}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(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!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":{o=!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()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Te.elementDefinitions={};Te.styles=Ic;qo([(0,Ut.property)()],Te.prototype,"name",void 0);qo([(0,Ut.property)({reflect:!0,attribute:"role"})],Te.prototype,"role",void 0);qo([(0,Ut.property)({reflect:!0})],Te.prototype,"tabIndex",void 0);qo([(0,Ut.property)({reflect:!0,attribute:"aria-labelledby"})],Te.prototype,"ariaLabelledBy",void 0);qo([(0,Ut.queryAssignedElements)()],Te.prototype,"radioButtons",void 0);qo([(0,Ut.state)()],Te.prototype,"currentSelectedIndex",void 0);(0,Qa.customElement)("ft-radio")(ve);(0,Qa.customElement)("ft-radio-group")(Te);var Pc=m(I()),ae=m(E());var Yr={borderRadiusM:ae.FtCssVariableFactory.external(ae.designSystemVariables.borderRadiusM,"Design system"),colorOutline:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:ae.FtCssVariableFactory.external(we.fontFamily,"Body2 typography"),fontSize:ae.FtCssVariableFactory.external(we.fontSize,"Body2 typography"),fontWeight:ae.FtCssVariableFactory.external(we.fontWeight,"Body2 typography"),letterSpacing:ae.FtCssVariableFactory.external(we.letterSpacing,"Body2 typography"),lineHeight:ae.FtCssVariableFactory.external(we.lineHeight,"Body2 typography"),textTransform:ae.FtCssVariableFactory.external(we.textTransform,"Body2 typography")},Bc=Pc.css`
1050
1051
  .ft-filter-level--container {
1051
1052
  display: flex;
1052
1053
  flex-direction: column;
@@ -1060,14 +1061,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1060
1061
  flex-shrink: 0;
1061
1062
  text-decoration: none;
1062
1063
  position: relative;
1063
- border-radius: ${jr.borderRadiusM};
1064
+ border-radius: ${Yr.borderRadiusM};
1064
1065
  overflow: hidden;
1065
1066
  display: flex;
1066
1067
  align-items: center;
1067
1068
  padding: 4px 4px;
1068
1069
  gap: 4px;
1069
1070
  cursor: pointer;
1070
- color: ${jr.colorOnSurface};
1071
+ color: ${Yr.colorOnSurface};
1071
1072
  }
1072
1073
 
1073
1074
  .ft-filter-level--go-back:focus {
@@ -1096,7 +1097,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1096
1097
  }
1097
1098
 
1098
1099
  ft-button {
1099
- ${(0,te.setVariable)(M.color,jr.colorOnSurface)};
1100
+ ${(0,ae.setVariable)(H.color,Yr.colorOnSurface)};
1100
1101
  }
1101
1102
 
1102
1103
  ft-radio, ft-checkbox {
@@ -1110,11 +1111,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1110
1111
 
1111
1112
  .ft-filter-level--no-values {
1112
1113
  margin: 10px 0;
1113
- color: ${jr.colorOnSurfaceMedium};
1114
+ color: ${Yr.colorOnSurfaceMedium};
1114
1115
  }
1115
- `;var Re=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},se=class extends Kr.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,o;return(o=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&o!==void 0?o:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let o=e.slice(0,this.limit);return Ge.html`
1116
+ `;var Le=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},de=class extends Xr.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,o;return(o=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&o!==void 0?o: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 o=e.slice(0,this.limit);return Ye.html`
1116
1117
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1117
- ${this.parent==null?null:Ge.html`
1118
+ ${this.parent==null?null:Ye.html`
1118
1119
  <div tabindex="0"
1119
1120
  part="controls go-back"
1120
1121
  class="ft-filter-level--go-back"
@@ -1127,26 +1128,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1127
1128
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1128
1129
  </div>
1129
1130
  `}
1130
- ${this.options.length===0&&this.noValuesLabel?Ge.html`
1131
+ ${this.options.length===0&&this.noValuesLabel?Ye.html`
1131
1132
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1132
1133
  ${this.noValuesLabel}
1133
1134
  </ft-typography>
1134
- `:Ge.nothing}
1135
- ${(0,Ns.repeat)(o,i=>i.value,i=>{var n;return Ge.html`
1135
+ `:Ye.nothing}
1136
+ ${(0,zc.repeat)(o,n=>n.value,n=>{var i;return Ye.html`
1136
1137
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1137
- ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1138
- ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?Ge.nothing:Ge.html`
1138
+ ${this.multivalued?this.buildMultiValuedOption(n):this.buildMonoValuedOption(n)}
1139
+ ${this.preventNavigation||n.selected||((i=n.subOptions)!==null&&i!==void 0?i:[]).length===0?Ye.nothing:Ye.html`
1139
1140
  <ft-button icon="thin_arrow_right"
1140
1141
  part="controls navigate-hierarchy"
1141
1142
  aria-label="expand node"
1142
- label="${i.label}"
1143
+ label="${n.label}"
1143
1144
  ?disabled=${this.disabled}
1144
1145
  tooltipPosition="left"
1145
- @click=${()=>this.displayLevel(i)}></ft-button>
1146
+ @click=${()=>this.displayLevel(n)}></ft-button>
1146
1147
  `}
1147
1148
  </div>
1148
1149
  `})}
1149
- ${o.length<e.length?Ge.html`
1150
+ ${o.length<e.length?Ye.html`
1150
1151
  <ft-button
1151
1152
  class="ft-filter-level--display-more"
1152
1153
  icon="thin_arrow"
@@ -1155,19 +1156,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1155
1156
  @click=${this.displayMore}>
1156
1157
  ${this.moreValuesButtonLabel}
1157
1158
  </ft-button>
1158
- `:Ge.nothing}
1159
+ `:Ye.nothing}
1159
1160
  </div>
1160
- `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(e){var o;return Ge.html`
1161
+ `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(e){var o;return Ye.html`
1161
1162
  <ft-checkbox name="${this.filterId}"
1162
1163
  part="multivalued-option"
1163
1164
  data-value="${e.value}"
1164
1165
  .checked=${e.selected}
1165
1166
  .disabled=${this.disabled}
1166
- .indeterminate=${(0,Kr.flatDeep)((o=e.subOptions)!==null&&o!==void 0?o:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1167
- @change=${i=>this.optionsChanged(i,e)}>
1167
+ .indeterminate=${(0,Xr.flatDeep)((o=e.subOptions)!==null&&o!==void 0?o:[],n=>{var i;return(i=n.subOptions)!==null&&i!==void 0?i:[]}).some(n=>n.selected)}
1168
+ @change=${n=>this.optionsChanged(n,e)}>
1168
1169
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1169
1170
  </ft-checkbox>
1170
- `}buildMonoValuedOption(e){return Ge.html`
1171
+ `}buildMonoValuedOption(e){return Ye.html`
1171
1172
  <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1172
1173
  part="monovalued-option"
1173
1174
  data-value="${e.value}"
@@ -1178,7 +1179,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1178
1179
  @change=${o=>this.optionsChanged(o,e)}>
1179
1180
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1180
1181
  </ft-radio>
1181
- `}onRadioKeyDown(e,o){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,o))}optionsChanged(e,o){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};se.elementDefinitions={"ft-button":ye,"ft-ripple":z,"ft-typography":q,"ft-checkbox":_e,"ft-icon":le,"ft-radio":ge};se.styles=$s;Re([(0,xe.property)({type:String})],se.prototype,"filterId",void 0);Re([(0,xe.property)({type:Object})],se.prototype,"parent",void 0);Re([(0,xe.property)({type:Array})],se.prototype,"options",void 0);Re([(0,xe.property)({type:Boolean})],se.prototype,"multivalued",void 0);Re([(0,xe.property)({type:Boolean})],se.prototype,"disabled",void 0);Re([(0,xe.property)({type:Boolean})],se.prototype,"hideSelectedOptions",void 0);Re([(0,xe.property)({type:Boolean})],se.prototype,"displayCount",void 0);Re([(0,xe.property)({type:Boolean})],se.prototype,"preventNavigation",void 0);Re([(0,xe.property)({type:String})],se.prototype,"filter",void 0);Re([(0,xe.property)({type:String})],se.prototype,"moreValuesButtonLabel",void 0);Re([(0,xe.property)({type:String})],se.prototype,"noValuesLabel",void 0);Re([(0,xe.property)({type:Number})],se.prototype,"displayedValuesLimit",void 0);Re([(0,xe.query)(".ft-filter-level--container")],se.prototype,"container",void 0);Re([(0,xe.state)()],se.prototype,"radios",void 0);Re([(0,xe.state)()],se.prototype,"displayedPages",void 0);var Is=u(O());var Ls=u($()),Ze=u(Z()),bo=u(O());var Ps=u(st());var ks=u($()),ft=u(O());var $e={buttonsColor:ft.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",ft.designSystemVariables.colorPrimary),buttonsZIndex:ft.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:ft.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ft.FtCssVariableFactory.external(ft.designSystemVariables.colorSurface,"Design system")},As=ks.css`
1182
+ `}onRadioKeyDown(e,o){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,o))}optionsChanged(e,o){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};de.elementDefinitions={"ft-button":xe,"ft-ripple":U,"ft-typography":J,"ft-checkbox":_e,"ft-icon":pe,"ft-radio":ve};de.styles=Bc;Le([(0,Ce.property)({type:String})],de.prototype,"filterId",void 0);Le([(0,Ce.property)({type:Object})],de.prototype,"parent",void 0);Le([(0,Ce.property)({type:Array})],de.prototype,"options",void 0);Le([(0,Ce.property)({type:Boolean})],de.prototype,"multivalued",void 0);Le([(0,Ce.property)({type:Boolean})],de.prototype,"disabled",void 0);Le([(0,Ce.property)({type:Boolean})],de.prototype,"hideSelectedOptions",void 0);Le([(0,Ce.property)({type:Boolean})],de.prototype,"displayCount",void 0);Le([(0,Ce.property)({type:Boolean})],de.prototype,"preventNavigation",void 0);Le([(0,Ce.property)({type:String})],de.prototype,"filter",void 0);Le([(0,Ce.property)({type:String})],de.prototype,"moreValuesButtonLabel",void 0);Le([(0,Ce.property)({type:String})],de.prototype,"noValuesLabel",void 0);Le([(0,Ce.property)({type:Number})],de.prototype,"displayedValuesLimit",void 0);Le([(0,Ce.query)(".ft-filter-level--container")],de.prototype,"container",void 0);Le([(0,Ce.state)()],de.prototype,"radios",void 0);Le([(0,Ce.state)()],de.prototype,"displayedPages",void 0);var Tc=m(E());var Dc=m(I()),Xe=m(X()),Co=m(E());var _c=m(dt());var Wc=m(I()),gt=m(E());var Ie={buttonsColor:gt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",gt.designSystemVariables.colorPrimary),buttonsZIndex:gt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:gt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:gt.FtCssVariableFactory.external(gt.designSystemVariables.colorSurface,"Design system")},Fc=Wc.css`
1182
1183
  .ft-snap-scroll {
1183
1184
  box-sizing: border-box;
1184
1185
  position: relative;
@@ -1213,7 +1214,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1213
1214
  flex-wrap: nowrap;
1214
1215
  align-items: flex-start;
1215
1216
  justify-content: flex-start;
1216
- gap: ${$e.gap};
1217
+ gap: ${Ie.gap};
1217
1218
  }
1218
1219
 
1219
1220
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1256,11 +1257,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1256
1257
  .ft-snap-scroll--next {
1257
1258
  position: absolute;
1258
1259
  display: flex;
1259
- z-index: ${$e.buttonsZIndex};
1260
+ z-index: ${Ie.buttonsZIndex};
1260
1261
  opacity: 1;
1261
1262
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1262
- ${(0,ft.setVariable)(M.backgroundColor,"transparent")};
1263
- ${(0,ft.setVariable)(M.color,$e.buttonsColor)};
1263
+ ${(0,gt.setVariable)(H.backgroundColor,"transparent")};
1264
+ ${(0,gt.setVariable)(H.color,Ie.buttonsColor)};
1264
1265
  }
1265
1266
 
1266
1267
  .ft-snap-scroll--previous[hidden],
@@ -1273,37 +1274,37 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1273
1274
  top: 0;
1274
1275
  left: -1px;
1275
1276
  bottom: 0;
1276
- background: linear-gradient(to right, ${$e.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1277
+ background: linear-gradient(to right, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1277
1278
  }
1278
1279
 
1279
1280
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1280
1281
  top: -1px;
1281
1282
  left: 0;
1282
1283
  right: 0;
1283
- background: linear-gradient(to bottom, ${$e.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1284
+ background: linear-gradient(to bottom, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1284
1285
  }
1285
1286
 
1286
1287
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1287
1288
  top: 0;
1288
1289
  right: -1px;
1289
1290
  bottom: 0;
1290
- background: linear-gradient(to left, ${$e.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1291
+ background: linear-gradient(to left, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1291
1292
  }
1292
1293
 
1293
1294
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1294
1295
  left: 0;
1295
1296
  right: 0;
1296
1297
  bottom: -1px;
1297
- background: linear-gradient(to top, ${$e.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1298
+ background: linear-gradient(to top, ${Ie.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1298
1299
  }
1299
1300
 
1300
1301
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1301
1302
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1302
1303
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1303
1304
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1304
- background-color: ${$e.colorSurface};
1305
+ background-color: ${Ie.colorSurface};
1305
1306
  }
1306
- `;var xt=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},qi=class extends CustomEvent{constructor(e,o){super("current-element-change",{detail:{index:e,element:o}})}},he=class extends bo.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 bo.Debouncer(200),this.updateScrollDebouncer=new bo.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let o=this.elements[e];if(o){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<n||o[this.offsetAttribute]+o[this.sizeAttribute]>i)&&this.scrollToElement(o)}}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,Ps.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":bo.isSafari}),o=this.controls&&this.withScroll;return Ls.html`
1307
+ `;var Ct=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},en=class extends CustomEvent{constructor(e,o){super("current-element-change",{detail:{index:e,element:o}})}},ye=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 o=this.elements[e];if(o){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<i||o[this.offsetAttribute]+o[this.sizeAttribute]>n)&&this.scrollToElement(o)}}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,_c.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}),o=this.controls&&this.withScroll;return Dc.html`
1307
1308
  <div part="container" class="${e}">
1308
1309
  <ft-button
1309
1310
  class="ft-snap-scroll--previous"
@@ -1327,7 +1328,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1327
1328
  @click=${this.next}
1328
1329
  ></ft-button>
1329
1330
  </div>
1330
- `}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 qi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var o;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,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let o=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var o,i;e&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,o;this.elements=(o=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let o=0;o<this.elements.length;o++)(e<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[e]))&&(e=o);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 o=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-o)}};he.elementDefinitions={"ft-button":ye};he.styles=As;xt([(0,Ze.property)({type:Boolean})],he.prototype,"horizontal",void 0);xt([(0,Ze.property)({type:Boolean})],he.prototype,"hideScrollbar",void 0);xt([(0,Ze.property)({type:Boolean})],he.prototype,"controls",void 0);xt([(0,Ze.property)({type:Boolean})],he.prototype,"limitSize",void 0);xt([(0,Ze.state)()],he.prototype,"elements",void 0);xt([(0,Ze.state)()],he.prototype,"currentElement",void 0);xt([(0,Ze.state)()],he.prototype,"withScroll",void 0);xt([(0,Ze.state)()],he.prototype,"startReached",void 0);xt([(0,Ze.state)()],he.prototype,"endReached",void 0);xt([(0,Ze.query)(".ft-snap-scroll--content")],he.prototype,"contentSlot",void 0);(0,Is.customElement)("ft-snap-scroll")(he);var Bs=u($()),ne=u(O());var ze={colorOutline:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorPrimary,"Design system"),colorSurface:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorSurface,"Design system"),transitionDuration:ne.FtCssVariableFactory.external(ne.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ne.FtCssVariableFactory.external(ne.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ne.FtCssVariableFactory.extend("--ft-filter-label-color","",ne.designSystemVariables.colorOnSurface),labelFontSize:ne.FtCssVariableFactory.extend("--ft-filter-label-font-size","",C.fontSize,"16px")},Ds=[Ht,Bs.css`
1331
+ `}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 en(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var o;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,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let o=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var o,n;e&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.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,o;this.elements=(o=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let o=0;o<this.elements.length;o++)(e<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[e]))&&(e=o);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 o=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-o)}};ye.elementDefinitions={"ft-button":xe};ye.styles=Fc;Ct([(0,Xe.property)({type:Boolean})],ye.prototype,"horizontal",void 0);Ct([(0,Xe.property)({type:Boolean})],ye.prototype,"hideScrollbar",void 0);Ct([(0,Xe.property)({type:Boolean})],ye.prototype,"controls",void 0);Ct([(0,Xe.property)({type:Boolean})],ye.prototype,"limitSize",void 0);Ct([(0,Xe.state)()],ye.prototype,"elements",void 0);Ct([(0,Xe.state)()],ye.prototype,"currentElement",void 0);Ct([(0,Xe.state)()],ye.prototype,"withScroll",void 0);Ct([(0,Xe.state)()],ye.prototype,"startReached",void 0);Ct([(0,Xe.state)()],ye.prototype,"endReached",void 0);Ct([(0,Xe.query)(".ft-snap-scroll--content")],ye.prototype,"contentSlot",void 0);(0,Tc.customElement)("ft-snap-scroll")(ye);var Uc=m(I()),ce=m(E());var Ue={colorOutline:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorPrimary,"Design system"),colorSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorSurface,"Design system"),transitionDuration:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ce.FtCssVariableFactory.extend("--ft-filter-label-color","",ce.designSystemVariables.colorOnSurface),labelFontSize:ce.FtCssVariableFactory.extend("--ft-filter-label-font-size","",R.fontSize,"16px")},Mc=[Vt,Uc.css`
1331
1332
  :host {
1332
1333
  display: flex;
1333
1334
  max-height: 100%;
@@ -1354,7 +1355,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1354
1355
  .ft-filter--header ft-button {
1355
1356
  flex-shrink: 0;
1356
1357
  margin-left: auto;
1357
- ${(0,ne.setVariable)(M.iconSize,"18px")};
1358
+ ${(0,ce.setVariable)(H.iconSize,"18px")};
1358
1359
  }
1359
1360
  .filter-label {
1360
1361
  display: contents;
@@ -1365,10 +1366,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1365
1366
  flex-shrink: 1;
1366
1367
  flex-grow: 1;
1367
1368
  word-break: break-word;
1368
- color: ${ze.labelColor};
1369
- font-size: ${ze.labelFontSize};
1370
- ${(0,ne.setVariable)(C.lineHeight,"22px")};
1371
- ${(0,ne.setVariable)(C.fontWeight,"bold")};
1369
+ color: ${Ue.labelColor};
1370
+ font-size: ${Ue.labelFontSize};
1371
+ ${(0,ce.setVariable)(R.lineHeight,"22px")};
1372
+ ${(0,ce.setVariable)(R.fontWeight,"bold")};
1372
1373
  }
1373
1374
 
1374
1375
  .ft-filter--filter {
@@ -1379,8 +1380,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1379
1380
  padding: 0 10px;
1380
1381
  overflow: hidden;
1381
1382
  height: 32px;
1382
- transition: height ${ze.transitionDuration} ${ze.transitionTimingFunction},
1383
- margin ${ze.transitionDuration} ${ze.transitionTimingFunction};
1383
+ transition: height ${Ue.transitionDuration} ${Ue.transitionTimingFunction},
1384
+ margin ${Ue.transitionDuration} ${Ue.transitionTimingFunction};
1384
1385
  transition-delay: 500ms;
1385
1386
  }
1386
1387
 
@@ -1393,15 +1394,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1393
1394
  display: block;
1394
1395
  width: 100%;
1395
1396
  border-radius: 4px;
1396
- border: 1px solid ${ze.colorOutline};
1397
+ border: 1px solid ${Ue.colorOutline};
1397
1398
  padding: 4px;
1398
- background-color: ${ze.colorSurface};
1399
- color: ${ze.colorOnSurface};
1400
- outline-color: ${ze.colorPrimary};
1399
+ background-color: ${Ue.colorSurface};
1400
+ color: ${Ue.colorOnSurface};
1401
+ outline-color: ${Ue.colorPrimary};
1401
1402
  }
1402
1403
 
1403
1404
  input::placeholder {
1404
- color: ${ze.colorOnSurfaceMedium};
1405
+ color: ${Ue.colorOnSurfaceMedium};
1405
1406
  }
1406
1407
 
1407
1408
  input:placeholder-shown {
@@ -1417,7 +1418,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1417
1418
  }
1418
1419
 
1419
1420
  .ft-filter--separator {
1420
- border-top: 1px solid ${ze.colorOutline};
1421
+ border-top: 1px solid ${Ue.colorOutline};
1421
1422
  margin: 4px 10px;
1422
1423
  }
1423
1424
 
@@ -1442,10 +1443,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1442
1443
  slot:not([name]) {
1443
1444
  display: none;
1444
1445
  }
1445
- `];var oe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Yi=class extends CustomEvent{constructor(e){super("change",{detail:e})}},j=class extends rt.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 rt.Debouncer(300),this.changeDebouncer=new rt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,rt.flatDeep)(this.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return(0,rt.flatDeep)(this.options,e=>{var o;return e.selected?[]:(o=e.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return vo.html`
1446
+ `];var ne=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},tn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},j=class extends it.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 it.Debouncer(300),this.changeDebouncer=new it.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,it.flatDeep)(this.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return(0,it.flatDeep)(this.options,e=>{var o;return e.selected?[]:(o=e.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return wo.html`
1446
1447
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1447
1448
  part="container">
1448
- ${!this.label&&!e?null:vo.html`
1449
+ ${!this.label&&!e?null:wo.html`
1449
1450
 
1450
1451
  <div class="ft-filter--header" part="header">
1451
1452
  <div class="filter-label" id="id-group-${this.id}">
@@ -1454,7 +1455,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1454
1455
  </ft-typography>
1455
1456
  <slot name="label"></slot>
1456
1457
  </div>
1457
- ${e&&!this.hideClearButton?vo.html`
1458
+ ${e&&!this.hideClearButton?wo.html`
1458
1459
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1459
1460
  ${this.clearButtonLabel}
1460
1461
  </ft-button>
@@ -1466,8 +1467,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1466
1467
  part="input"
1467
1468
  class="ft-typography--caption"
1468
1469
  ?disabled=${!o}
1469
- placeholder="${i}"
1470
- size="${o?i.length:0}"
1470
+ placeholder="${n}"
1471
+ size="${o?n.length:0}"
1471
1472
  @search=${this.onFilterChange}
1472
1473
  @keyup=${this.onFilterChange}>
1473
1474
  </div>
@@ -1478,8 +1479,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1478
1479
  @slotchange=${this.updateOptionsFromSlot}
1479
1480
  @option-change=${this.optionsChanged}></slot>
1480
1481
  </div>
1481
- `}update(e){if(super.update(e),e.has("options")){let o=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>o.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var o,i,n,a,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(o=this.levelsContainer)===null||o===void 0||o.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var s;(s=this.levelsContainer)===null||s===void 0||s.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.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,o=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return vo.html`
1482
- ${this.raiseSelectedOptions&&o.length>0?vo.html`
1482
+ `}update(e){if(super.update(e),e.has("options")){let o=new Set(this.flatOptions.map(n=>n.value));this.displayedLevels=this.displayedLevels.filter(n=>o.has(n)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var o,n,i,l,c;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(o=this.levelsContainer)===null||o===void 0||o.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var s;(s=this.levelsContainer)===null||s===void 0||s.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=(c=(l=(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||l===void 0?void 0:l.hasHiddenValues)!==null&&c!==void 0?c:!1}renderLevels(){let e=this.flatOptions,o=e.filter(l=>l.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`
1483
+ ${this.raiseSelectedOptions&&o.length>0?wo.html`
1483
1484
  <ft-filter-level
1484
1485
  filterId="${this.id}"
1485
1486
  ?multivalued=${this.multivalued}
@@ -1495,11 +1496,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1495
1496
  `:null}
1496
1497
  <ft-snap-scroll horizontal hideScrollbar
1497
1498
  class="ft-filter--levels"
1498
- @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1499
- ${this.renderLevel(n,this.options)}
1500
- ${this.displayedLevels.map(a=>e.find(l=>l.value===a)).map((a,l)=>{var s;let d=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":l===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(s=a?.subOptions)!==null&&s!==void 0?s:[],a)})}
1499
+ @current-element-change=${l=>this.levelsScrollDebouncer.run(()=>{for(;l.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1500
+ ${this.renderLevel(i,this.options)}
1501
+ ${this.displayedLevels.map(l=>e.find(c=>c.value===l)).map((l,c)=>{var s;let h=l?.value===this.slideIn||l?.value===this.slideOut?"ft-filter--level-right":c===n?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(h,(s=l?.subOptions)!==null&&s!==void 0?s:[],l)})}
1501
1502
  </ft-snap-scroll>
1502
- `}renderLevel(e,o,i){return vo.html`
1503
+ `}renderLevel(e,o,n){return wo.html`
1503
1504
  <ft-filter-level
1504
1505
  class="${e}"
1505
1506
  filterId="${this.id}"
@@ -1509,7 +1510,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1509
1510
  ?disabled=${this.disabled||e!=="ft-filter--level-center"}
1510
1511
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1511
1512
  ?displayCount="${this.displayCount}"
1512
- .parent=${i}
1513
+ .parent=${n}
1513
1514
  .options=${o}
1514
1515
  .displayedValuesLimit=${this.displayedValuesLimit}
1515
1516
  @change=${this.onChange}
@@ -1519,21 +1520,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1519
1520
  .exportpartsPrefixes=${["values","available-values"]}
1520
1521
  noValuesLabel="${this.noValuesLabel}"
1521
1522
  ></ft-filter-level>
1522
- `}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 o;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var l;a!==i&&(a.selected=!1),(l=a.subOptions)===null||l===void 0||l.forEach(n)};this.multivalued?(o=i.subOptions)===null||o===void 0||o.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,rt.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Yi(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var e,o;this.filter=(o=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};j.elementDefinitions={"ft-button":ye,"ft-filter-level":se,"ft-snap-scroll":he,"ft-typography":q};j.styles=Ds;oe([(0,Y.property)({type:String})],j.prototype,"id",void 0);oe([(0,Y.property)({type:String})],j.prototype,"label",void 0);oe([(0,Y.property)({type:String})],j.prototype,"filterPlaceHolder",void 0);oe([(0,Y.property)({type:String})],j.prototype,"clearButtonLabel",void 0);oe([(0,Y.property)({type:String})],j.prototype,"moreValuesButtonLabel",void 0);oe([(0,Y.property)({type:String})],j.prototype,"noValuesLabel",void 0);oe([(0,rt.jsonProperty)([])],j.prototype,"options",void 0);oe([(0,Y.property)({type:Boolean})],j.prototype,"multivalued",void 0);oe([(0,Y.property)({type:Boolean})],j.prototype,"disabled",void 0);oe([(0,Y.property)({type:Boolean})],j.prototype,"raiseSelectedOptions",void 0);oe([(0,Y.property)({type:Boolean})],j.prototype,"displayCount",void 0);oe([(0,Y.property)({type:Number})],j.prototype,"displayedValuesLimit",void 0);oe([(0,Y.property)({type:Boolean})],j.prototype,"hideClearButton",void 0);oe([(0,Y.query)(".ft-filter--slot")],j.prototype,"slotElement",void 0);oe([(0,Y.query)(".ft-filter--container")],j.prototype,"container",void 0);oe([(0,Y.query)(".ft-filter--values")],j.prototype,"valuesContainer",void 0);oe([(0,Y.query)(".ft-filter--levels")],j.prototype,"levelsContainer",void 0);oe([(0,Y.state)()],j.prototype,"lastLevelHasHiddenvalues",void 0);oe([(0,Y.query)(".ft-filter--filter input")],j.prototype,"filterInput",void 0);oe([(0,Y.queryAll)(".ft-filter--levels ft-filter-level")],j.prototype,"levels",void 0);oe([(0,Y.state)()],j.prototype,"withScroll",void 0);oe([(0,Y.state)()],j.prototype,"filter",void 0);oe([(0,Y.state)()],j.prototype,"slideIn",void 0);oe([(0,Y.state)()],j.prototype,"slideOut",void 0);var Gr=u(O()),xo=u(Z()),_s=u($()),jo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},qe=class extends Gr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _s.html`
1523
+ `}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 o;e.stopPropagation();let n=this.flatOptions.find(l=>l.value===e.detail.value);n.selected=!n.selected;let i=l=>{var c;l!==n&&(l.selected=!1),(c=l.subOptions)===null||c===void 0||c.forEach(i)};this.multivalued?(o=n.subOptions)===null||o===void 0||o.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(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,it.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new tn(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var e,o;this.filter=(o=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};j.elementDefinitions={"ft-button":xe,"ft-filter-level":de,"ft-snap-scroll":ye,"ft-typography":J};j.styles=Mc;ne([(0,Q.property)({type:String})],j.prototype,"id",void 0);ne([(0,Q.property)({type:String})],j.prototype,"label",void 0);ne([(0,Q.property)({type:String})],j.prototype,"filterPlaceHolder",void 0);ne([(0,Q.property)({type:String})],j.prototype,"clearButtonLabel",void 0);ne([(0,Q.property)({type:String})],j.prototype,"moreValuesButtonLabel",void 0);ne([(0,Q.property)({type:String})],j.prototype,"noValuesLabel",void 0);ne([(0,it.jsonProperty)([])],j.prototype,"options",void 0);ne([(0,Q.property)({type:Boolean})],j.prototype,"multivalued",void 0);ne([(0,Q.property)({type:Boolean})],j.prototype,"disabled",void 0);ne([(0,Q.property)({type:Boolean})],j.prototype,"raiseSelectedOptions",void 0);ne([(0,Q.property)({type:Boolean})],j.prototype,"displayCount",void 0);ne([(0,Q.property)({type:Number})],j.prototype,"displayedValuesLimit",void 0);ne([(0,Q.property)({type:Boolean})],j.prototype,"hideClearButton",void 0);ne([(0,Q.query)(".ft-filter--slot")],j.prototype,"slotElement",void 0);ne([(0,Q.query)(".ft-filter--container")],j.prototype,"container",void 0);ne([(0,Q.query)(".ft-filter--values")],j.prototype,"valuesContainer",void 0);ne([(0,Q.query)(".ft-filter--levels")],j.prototype,"levelsContainer",void 0);ne([(0,Q.state)()],j.prototype,"lastLevelHasHiddenvalues",void 0);ne([(0,Q.query)(".ft-filter--filter input")],j.prototype,"filterInput",void 0);ne([(0,Q.queryAll)(".ft-filter--levels ft-filter-level")],j.prototype,"levels",void 0);ne([(0,Q.state)()],j.prototype,"withScroll",void 0);ne([(0,Q.state)()],j.prototype,"filter",void 0);ne([(0,Q.state)()],j.prototype,"slideIn",void 0);ne([(0,Q.state)()],j.prototype,"slideOut",void 0);var Jr=m(E()),Eo=m(X()),Hc=m(I()),Yo=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},Je=class extends Jr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Hc.html`
1523
1524
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1524
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};qe.elementDefinitions={};jo([(0,xo.property)({type:String})],qe.prototype,"label",void 0);jo([(0,xo.property)({type:Object,converter:t=>t})],qe.prototype,"value",void 0);jo([(0,xo.property)({type:Boolean,reflect:!0})],qe.prototype,"selected",void 0);jo([(0,xo.property)({type:Object})],qe.prototype,"subOptions",void 0);jo([(0,Gr.jsonProperty)({})],qe.prototype,"renderOption",void 0);jo([(0,xo.query)(".ft-filter-option--slot")],qe.prototype,"slotElement",void 0);(0,Xi.customElement)("ft-filter")(j);(0,Xi.customElement)("ft-filter-option")(qe);var Ji=u(O());var Ms=u($()),Zr=u(Z()),Ws=u(O());var Ts=u($());var zs=Ts.css`
1525
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};Yo([(0,Eo.property)({type:String})],Je.prototype,"label",void 0);Yo([(0,Eo.property)({type:Object,converter:t=>t})],Je.prototype,"value",void 0);Yo([(0,Eo.property)({type:Boolean,reflect:!0})],Je.prototype,"selected",void 0);Yo([(0,Eo.property)({type:Object})],Je.prototype,"subOptions",void 0);Yo([(0,Jr.jsonProperty)({})],Je.prototype,"renderOption",void 0);Yo([(0,Eo.query)(".ft-filter-option--slot")],Je.prototype,"slotElement",void 0);(0,on.customElement)("ft-filter")(j);(0,on.customElement)("ft-filter-option")(Je);var rn=m(E());var Vc=m(I()),Qr=m(X()),jc=m(E());var Zc=m(I());var Gc=Zc.css`
1525
1526
  .ft-accordion {
1526
1527
  box-sizing: border-box;
1527
1528
  }
1528
- `;var Fs=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},St=class extends Ws.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Ms.html`
1529
+ `;var Kc=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},wt=class extends jc.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Vc.html`
1529
1530
  <div class="ft-accordion">
1530
1531
  <slot @activated=${this.onChange}></slot>
1531
1532
  </div>
1532
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(o=>o.active=o===e.target)}};St.elementDefinitions={};St.styles=zs;Fs([(0,Zr.property)({type:Boolean})],St.prototype,"multi",void 0);Fs([(0,Zr.query)("slot")],St.prototype,"content",void 0);var hr=u($()),mr=u(Z()),Vs=u(O());var Us=u($()),Oo=u(O()),So={horizontalSpacing:Oo.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:Oo.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:Oo.FtCssVariableFactory.external(Oo.designSystemVariables.colorOutline,"Design system"),backgroundColor:Oo.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Hs=Us.css`
1533
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(o=>o.active=o===e.target)}};wt.elementDefinitions={};wt.styles=Gc;Kc([(0,Qr.property)({type:Boolean})],wt.prototype,"multi",void 0);Kc([(0,Qr.query)("slot")],wt.prototype,"content",void 0);var xr=m(I()),vr=m(X()),Xc=m(E());var qc=m(I()),Ro=m(E()),No={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")},Yc=qc.css`
1533
1534
  .ft-accordion-item {
1534
1535
  display: flex;
1535
1536
  flex-direction: column;
1536
- background-color: ${So.backgroundColor};
1537
+ background-color: ${No.backgroundColor};
1537
1538
  }
1538
1539
 
1539
1540
  .ft-accordion-item--toggle {
@@ -1543,8 +1544,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1543
1544
  display: flex;
1544
1545
  align-items: center;
1545
1546
  cursor: pointer;
1546
- padding: ${So.verticalSpacing} ${So.horizontalSpacing};
1547
- gap: calc(${So.horizontalSpacing} / 2);
1547
+ padding: ${No.verticalSpacing} ${No.horizontalSpacing};
1548
+ gap: calc(${No.horizontalSpacing} / 2);
1548
1549
  outline: none;
1549
1550
  }
1550
1551
 
@@ -1569,13 +1570,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1569
1570
  .ft-accordion-item--active .ft-accordion-item--content {
1570
1571
  height: initial;
1571
1572
  overflow: visible;
1572
- padding: ${So.verticalSpacing} ${So.horizontalSpacing};
1573
+ padding: ${No.verticalSpacing} ${No.horizontalSpacing};
1573
1574
  }
1574
1575
 
1575
1576
  .ft-accordion-item--separator {
1576
- border-bottom: 1px solid ${So.colorOutline};
1577
+ border-bottom: 1px solid ${No.colorOutline};
1577
1578
  }
1578
- `;var qr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},it=class extends Vs.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return hr.html`
1579
+ `;var ea=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},lt=class extends Xc.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return xr.html`
1579
1580
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1580
1581
  <div class="ft-accordion-item--toggle"
1581
1582
  part="toggle"
@@ -1586,13 +1587,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1586
1587
  aria-controls="ft-accordion-item-content"
1587
1588
  aria-expanded="${this.active}">
1588
1589
  <ft-ripple part="toggle-ripple"></ft-ripple>
1589
- ${this.icon?hr.html`
1590
+ ${this.icon?xr.html`
1590
1591
  <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
1591
1592
  `:null}
1592
- ${this.label?hr.html`
1593
+ ${this.label?xr.html`
1593
1594
  <ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
1594
1595
  </ft-typography>
1595
- `:hr.html`
1596
+ `:xr.html`
1596
1597
  <slot class="ft-accordion-item--label" name="toggle" part="label"></slot>
1597
1598
  `}
1598
1599
  <ft-icon variant="material">${this.active?"expand_less":"expand_more"}</ft-icon>
@@ -1605,7 +1606,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1605
1606
  </div>
1606
1607
  <div class="ft-accordion-item--separator" part="separator"></div>
1607
1608
  </div>
1608
- `}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)}};it.elementDefinitions={"ft-ripple":z,"ft-typography":q,"ft-icon":le};it.styles=Hs;qr([(0,mr.property)()],it.prototype,"icon",void 0);qr([(0,mr.property)()],it.prototype,"iconVariant",void 0);qr([(0,mr.property)()],it.prototype,"label",void 0);qr([(0,mr.property)({type:Boolean,reflect:!0})],it.prototype,"active",void 0);(0,Ji.customElement)("ft-accordion")(St);(0,Ji.customElement)("ft-accordion-item")(it);var Ys=u(O());var Xr=u($()),ke=u(Z()),qs=u(st()),Qr=u(O());var Yr=u($()),F=u(O());var js=F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnSurface),Ne={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorSurface),color:js,fontSize:F.FtCssVariableFactory.extend("--ft-chip-font-size","",Se.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:F.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:F.FtCssVariableFactory.extend("--ft-chip-ripple-color","",js),horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},Ks=F.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnPrimary)),Qi={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorPrimary)),color:Ks,rippleColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Ks)},Gs={horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Zs=[F.noTextSelect,Yr.css`
1609
+ `}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)}};lt.elementDefinitions={"ft-ripple":U,"ft-typography":J,"ft-icon":pe};lt.styles=Yc;ea([(0,vr.property)()],lt.prototype,"icon",void 0);ea([(0,vr.property)()],lt.prototype,"iconVariant",void 0);ea([(0,vr.property)()],lt.prototype,"label",void 0);ea([(0,vr.property)({type:Boolean,reflect:!0})],lt.prototype,"active",void 0);(0,rn.customElement)("ft-accordion")(wt);(0,rn.customElement)("ft-accordion-item")(lt);var rs=m(E());var oa=m(I()),$e=m(X()),os=m(dt()),aa=m(E());var ta=m(I()),M=m(E());var Jc=M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnSurface),Ae={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorSurface),color:Jc,fontSize:M.FtCssVariableFactory.extend("--ft-chip-font-size","",we.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","",Jc),horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:M.FtCssVariableFactory.external(M.designSystemVariables.colorOutline,"Design system"),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},Qc=M.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnPrimary)),an={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorPrimary)),color:Qc,rippleColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Qc)},es={horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ts=[M.noTextSelect,ta.css`
1609
1610
  :host {
1610
1611
  display: inline-block;
1611
1612
  max-width: 100%;
@@ -1621,20 +1622,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1621
1622
  box-sizing: border-box;
1622
1623
  pointer-events: auto;
1623
1624
 
1624
- --ft-chip-internal-font-size: ${Ne.fontSize};
1625
+ --ft-chip-internal-font-size: ${Ae.fontSize};
1625
1626
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1626
- ${(0,F.setVariable)(ve.size,Ne.iconSize)};
1627
- --ft-chip-internal-vertical-padding: ${Ne.verticalPadding};
1628
- --ft-chip-internal-horizontal-padding: ${Ne.horizontalPadding};
1627
+ ${(0,M.setVariable)(Oe.size,Ae.iconSize)};
1628
+ --ft-chip-internal-vertical-padding: ${Ae.verticalPadding};
1629
+ --ft-chip-internal-horizontal-padding: ${Ae.horizontalPadding};
1629
1630
  --ft-chip-internal-icon-padding: 3px;
1630
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ne.iconSize});
1631
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ae.iconSize});
1631
1632
 
1632
- border: 1px solid ${Ne.colorOutline};
1633
- color: ${Ne.color};
1634
- ${(0,F.setVariable)(_.color,Ne.rippleColor)};
1635
- border-radius: var(${(0,Yr.unsafeCSS)(Ne.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1633
+ border: 1px solid ${Ae.colorOutline};
1634
+ color: ${Ae.color};
1635
+ ${(0,M.setVariable)(_.color,Ae.rippleColor)};
1636
+ border-radius: var(${(0,ta.unsafeCSS)(Ae.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1636
1637
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1637
- background-color: ${Ne.backgroundColor};
1638
+ background-color: ${Ae.backgroundColor};
1638
1639
  line-height: var(--ft-chip-internal-content-height);
1639
1640
  }
1640
1641
 
@@ -1644,8 +1645,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1644
1645
 
1645
1646
  .ft-chip--dense {
1646
1647
  --ft-chip-internal-icon-padding: 3px;
1647
- --ft-chip-internal-vertical-padding: ${Gs.verticalPadding};
1648
- --ft-chip-internal-horizontal-padding: ${Gs.horizontalPadding};
1648
+ --ft-chip-internal-vertical-padding: ${es.verticalPadding};
1649
+ --ft-chip-internal-horizontal-padding: ${es.horizontalPadding};
1649
1650
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1650
1651
  }
1651
1652
 
@@ -1657,15 +1658,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1657
1658
  cursor: default;
1658
1659
  pointer-events: none;
1659
1660
  filter: grayscale(1);
1660
- opacity: ${Ne.opacityDisabled};
1661
+ opacity: ${Ae.opacityDisabled};
1661
1662
  }
1662
1663
 
1663
1664
  .ft-chip--highlighted {
1664
1665
  border: none;
1665
1666
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1666
- background-color: ${Qi.backgroundColor};
1667
- ${(0,F.setVariable)(_.color,Qi.rippleColor)};
1668
- color: ${Qi.color};
1667
+ background-color: ${an.backgroundColor};
1668
+ ${(0,M.setVariable)(_.color,an.rippleColor)};
1669
+ color: ${an.color};
1669
1670
  }
1670
1671
 
1671
1672
  .ft-chip--clickable {
@@ -1695,9 +1696,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1695
1696
  }
1696
1697
 
1697
1698
  .ft-chip--icon-button {
1698
- ${(0,F.setVariable)(M.iconSize,Ne.iconSize)};
1699
- ${(0,F.setVariable)(M.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1700
- ${(0,F.setVariable)(M.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1699
+ ${(0,M.setVariable)(H.iconSize,Ae.iconSize)};
1700
+ ${(0,M.setVariable)(H.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1701
+ ${(0,M.setVariable)(H.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1701
1702
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1702
1703
  }
1703
1704
 
@@ -1705,8 +1706,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1705
1706
  vertical-align: bottom;
1706
1707
  display: block;
1707
1708
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1708
- ${(0,F.setVariable)(Se.fontSize,"var(--ft-chip-internal-font-size)")};
1709
- ${(0,F.setVariable)(Se.lineHeight,"var(--ft-chip-internal-content-height)")};
1709
+ ${(0,M.setVariable)(we.fontSize,"var(--ft-chip-internal-font-size)")};
1710
+ ${(0,M.setVariable)(we.lineHeight,"var(--ft-chip-internal-content-height)")};
1710
1711
  }
1711
1712
 
1712
1713
  .ft-chip--safari-fix .ft-chip--label {
@@ -1742,8 +1743,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1742
1743
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1743
1744
  order: -1;
1744
1745
  }
1745
- `];var Ye=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Jr=class extends CustomEvent{constructor(){super("icon-click")}},ce=class extends Qr.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":Qr.isSafari};return Xr.html`
1746
- <div class="${(0,qs.classMap)(e)}"
1746
+ `];var Qe=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},ra=class extends CustomEvent{constructor(){super("icon-click")}},fe=class extends aa.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":aa.isSafari};return oa.html`
1747
+ <div class="${(0,os.classMap)(e)}"
1747
1748
  aria-label="${this.getLabel()}"
1748
1749
  tabindex="${this.interactionsOnChip?0:-1}"
1749
1750
  @keyup=${this.onKeyUp}
@@ -1754,7 +1755,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1754
1755
  </ft-typography>
1755
1756
  ${this.internalIcon?this.renderIcon():null}
1756
1757
  </div>
1757
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Xr.html`
1758
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?oa.html`
1758
1759
  <ft-button round
1759
1760
  class="ft-chip--icon-button"
1760
1761
  @click=${this.onIconClick}
@@ -1763,11 +1764,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1763
1764
  label="${this.iconLabel}"
1764
1765
  part="icon-button"
1765
1766
  ></ft-button>
1766
- `:Xr.html`
1767
+ `:oa.html`
1767
1768
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1768
1769
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1769
1770
  </div>
1770
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Jr))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Jr))}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};ce.elementDefinitions={"ft-ripple":z,"ft-typography":q,"ft-icon":le,"ft-button":ye};ce.styles=Zs;Ye([(0,ke.property)({type:Boolean})],ce.prototype,"highlighted",void 0);Ye([(0,ke.property)({type:Boolean})],ce.prototype,"removable",void 0);Ye([(0,ke.property)({type:Boolean})],ce.prototype,"disabled",void 0);Ye([(0,ke.property)({type:Boolean})],ce.prototype,"clickable",void 0);Ye([(0,ke.property)({type:Boolean})],ce.prototype,"iconClickable",void 0);Ye([(0,ke.property)({type:Boolean})],ce.prototype,"dense",void 0);Ye([(0,ke.property)({type:Boolean})],ce.prototype,"multiLine",void 0);Ye([(0,ke.property)()],ce.prototype,"label",void 0);Ye([(0,ke.property)()],ce.prototype,"iconLabel",void 0);Ye([(0,ke.property)()],ce.prototype,"icon",void 0);Ye([(0,ke.property)()],ce.prototype,"iconVariant",void 0);Ye([(0,ke.property)({type:Boolean})],ce.prototype,"trailingIcon",void 0);Ye([(0,ke.query)("ft-typography slot")],ce.prototype,"slottedContent",void 0);(0,Ys.customElement)("ft-chip")(ce);var on=u(O());var gr=u($()),re=u(Z()),tn=u(st()),ic=u(ao()),br=u(O());var tc=u(O());var en=u($()),Ko=u(Z()),Qs=u(st()),ec=u(O());var Xs=u($()),Q=u(O());var T={fontSize:Q.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Q.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Q.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Q.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Q.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Q.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Q.FtCssVariableFactory.extend("--ft-input-label-border-color","",Q.designSystemVariables.colorOutline),textColor:Q.FtCssVariableFactory.extend("--ft-input-label-text-color","",Q.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Q.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Q.designSystemVariables.colorOnSurfaceDisabled),colorSurface:Q.FtCssVariableFactory.external(Q.designSystemVariables.colorSurface,"Design system"),borderRadiusS:Q.FtCssVariableFactory.external(Q.designSystemVariables.borderRadiusS,"Design system"),colorError:Q.FtCssVariableFactory.external(Q.designSystemVariables.colorError,"Design system")},Js=Xs.css`
1771
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ra))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ra))}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};fe.elementDefinitions={"ft-ripple":U,"ft-typography":J,"ft-icon":pe,"ft-button":xe};fe.styles=ts;Qe([(0,$e.property)({type:Boolean})],fe.prototype,"highlighted",void 0);Qe([(0,$e.property)({type:Boolean})],fe.prototype,"removable",void 0);Qe([(0,$e.property)({type:Boolean})],fe.prototype,"disabled",void 0);Qe([(0,$e.property)({type:Boolean})],fe.prototype,"clickable",void 0);Qe([(0,$e.property)({type:Boolean})],fe.prototype,"iconClickable",void 0);Qe([(0,$e.property)({type:Boolean})],fe.prototype,"dense",void 0);Qe([(0,$e.property)({type:Boolean})],fe.prototype,"multiLine",void 0);Qe([(0,$e.property)()],fe.prototype,"label",void 0);Qe([(0,$e.property)()],fe.prototype,"iconLabel",void 0);Qe([(0,$e.property)()],fe.prototype,"icon",void 0);Qe([(0,$e.property)()],fe.prototype,"iconVariant",void 0);Qe([(0,$e.property)({type:Boolean})],fe.prototype,"trailingIcon",void 0);Qe([(0,$e.query)("ft-typography slot")],fe.prototype,"slottedContent",void 0);(0,rs.customElement)("ft-chip")(fe);var cn=m(E());var Or=m(I()),ie=m(X()),ln=m(dt()),ds=m(fo()),Cr=m(E());var cs=m(E());var nn=m(I()),Xo=m(X()),is=m(dt()),ls=m(E());var as=m(I()),oe=m(E());var T={fontSize:oe.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:oe.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:oe.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:oe.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:oe.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:oe.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:oe.FtCssVariableFactory.extend("--ft-input-label-border-color","",oe.designSystemVariables.colorOutline),textColor:oe.FtCssVariableFactory.extend("--ft-input-label-text-color","",oe.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:oe.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",oe.designSystemVariables.colorOnSurfaceDisabled),colorSurface:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorSurface,"Design system"),borderRadiusS:oe.FtCssVariableFactory.external(oe.designSystemVariables.borderRadiusS,"Design system"),colorError:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorError,"Design system")},ns=as.css`
1771
1772
  .ft-input-label {
1772
1773
  position: absolute;
1773
1774
  inset: 0;
@@ -1818,8 +1819,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1818
1819
  transition: font-size 250ms, line-height 250ms, color 250ms;
1819
1820
  max-width: calc(${T.labelMaxWidth} - 2 * (${T.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1820
1821
  text-overflow: ellipsis;
1821
- ${(0,Q.setVariable)(lt.fontSize,T.fontSize)};
1822
- ${(0,Q.setVariable)(lt.lineHeight,T.fontSize)};
1822
+ ${(0,oe.setVariable)(pt.fontSize,T.fontSize)};
1823
+ ${(0,oe.setVariable)(pt.lineHeight,T.fontSize)};
1823
1824
  }
1824
1825
 
1825
1826
  .ft-input-label--in-error .ft-input-label--text {
@@ -1851,8 +1852,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1851
1852
  }
1852
1853
 
1853
1854
  .ft-input-label--raised .ft-input-label--text {
1854
- ${(0,Q.setVariable)(lt.fontSize,T.raisedFontSize)};
1855
- ${(0,Q.setVariable)(lt.lineHeight,T.raisedFontSize)};
1855
+ ${(0,oe.setVariable)(pt.fontSize,T.raisedFontSize)};
1856
+ ${(0,oe.setVariable)(pt.lineHeight,T.raisedFontSize)};
1856
1857
  }
1857
1858
 
1858
1859
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -1889,16 +1890,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1889
1890
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
1890
1891
  border-top: none;
1891
1892
  }
1892
- `;var yr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Xe=class extends ec.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 en.html`
1893
- <div class="${(0,Qs.classMap)(e)}">
1894
- ${this.text?en.html`
1893
+ `;var Sr=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},et=class extends ls.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 nn.html`
1894
+ <div class="${(0,is.classMap)(e)}">
1895
+ ${this.text?nn.html`
1895
1896
  <div class="ft-input-label--text ft-typography--caption">
1896
1897
  <span class="ft-input-label--floating-text">${this.text}</span>
1897
1898
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
1898
1899
  </div>
1899
1900
  `:null}
1900
1901
  </div>
1901
- `}};Xe.elementDefinitions={};Xe.styles=[Ht,Js];yr([(0,Ko.property)({type:String})],Xe.prototype,"text",void 0);yr([(0,Ko.property)({type:Boolean})],Xe.prototype,"raised",void 0);yr([(0,Ko.property)({type:Boolean})],Xe.prototype,"outlined",void 0);yr([(0,Ko.property)({type:Boolean})],Xe.prototype,"disabled",void 0);yr([(0,Ko.property)({type:Boolean})],Xe.prototype,"error",void 0);(0,tc.customElement)("ft-input-label")(Xe);var oc=u($()),B=u(O());var W={labelSize:B.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:B.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:B.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:B.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:B.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:B.FtCssVariableFactory.extend("--ft-select-selected-option-color","",B.designSystemVariables.colorOnSurface),helperColor:B.FtCssVariableFactory.extend("--ft-select-helper-color","",B.designSystemVariables.colorOnSurfaceMedium),optionsColor:B.FtCssVariableFactory.extend("--ft-select-options-color","",B.designSystemVariables.colorOnSurface),optionsZIndex:B.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:B.FtCssVariableFactory.external(B.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:B.FtCssVariableFactory.external(B.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:B.FtCssVariableFactory.external(B.designSystemVariables.borderRadiusS,"Design system"),elevation02:B.FtCssVariableFactory.external(B.designSystemVariables.elevation02,"Design system"),colorError:B.FtCssVariableFactory.external(B.designSystemVariables.colorError,"Design system")},rc=oc.css`
1902
+ `}};et.elementDefinitions={};et.styles=[Vt,ns];Sr([(0,Xo.property)({type:String})],et.prototype,"text",void 0);Sr([(0,Xo.property)({type:Boolean})],et.prototype,"raised",void 0);Sr([(0,Xo.property)({type:Boolean})],et.prototype,"outlined",void 0);Sr([(0,Xo.property)({type:Boolean})],et.prototype,"disabled",void 0);Sr([(0,Xo.property)({type:Boolean})],et.prototype,"error",void 0);(0,cs.customElement)("ft-input-label")(et);var ss=m(I()),F=m(E());var Z={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")},ps=ss.css`
1902
1903
  *:focus {
1903
1904
  outline: none;
1904
1905
  }
@@ -1912,7 +1913,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1912
1913
  .ft-select--main-panel {
1913
1914
  position: relative;
1914
1915
  display: flex;
1915
- height: calc(4 * ${W.verticalSpacing} + ${W.labelSize} + ${W.selectedOptionSize});
1916
+ height: calc(4 * ${Z.verticalSpacing} + ${Z.labelSize} + ${Z.selectedOptionSize});
1916
1917
  }
1917
1918
 
1918
1919
  .ft-select--input-panel {
@@ -1921,17 +1922,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1921
1922
  display: flex;
1922
1923
  align-items: center;
1923
1924
  overflow: hidden;
1924
- padding-left: ${W.horizontalSpacing};
1925
- padding-right: ${W.horizontalSpacing};
1925
+ padding-left: ${Z.horizontalSpacing};
1926
+ padding-right: ${Z.horizontalSpacing};
1926
1927
  gap: 8px;
1927
- color: ${W.selectedOptionColor};
1928
- ${(0,B.setVariable)(_.color,W.selectedOptionColor)};
1928
+ color: ${Z.selectedOptionColor};
1929
+ ${(0,F.setVariable)(_.color,Z.selectedOptionColor)};
1929
1930
  }
1930
1931
 
1931
1932
  .ft-select--input-panel,
1932
1933
  .ft-select--option {
1933
- ${(0,B.setVariable)(_.opacityContentOnSurfaceHover,"0.08")};
1934
- ${(0,B.setVariable)(_.opacityContentOnSurfacePressed,"0.04")};
1934
+ ${(0,F.setVariable)(_.opacityContentOnSurfaceHover,"0.08")};
1935
+ ${(0,F.setVariable)(_.opacityContentOnSurfacePressed,"0.04")};
1935
1936
  }
1936
1937
 
1937
1938
  .ft-select--input-panel > *:not(ft-ripple),
@@ -1941,7 +1942,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1941
1942
 
1942
1943
  .ft-select--disabled .ft-select--input-panel,
1943
1944
  .ft-select--disabled .ft-select--option {
1944
- color: ${W.colorOnSurfaceDisabled};
1945
+ color: ${Z.colorOnSurfaceDisabled};
1945
1946
  }
1946
1947
 
1947
1948
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -1950,20 +1951,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1950
1951
  }
1951
1952
 
1952
1953
  ft-input-label {
1953
- ${(0,B.setVariable)(T.fontSize,W.selectedOptionSize)};
1954
- ${(0,B.setVariable)(T.raisedFontSize,W.labelSize)};
1955
- ${(0,B.setVariable)(T.verticalSpacing,W.verticalSpacing)};
1956
- ${(0,B.setVariable)(T.horizontalSpacing,W.horizontalSpacing)};
1957
- ${(0,B.setVariable)(T.labelMaxWidth,`calc(100% - ${ve.size} - 8px)`)};
1954
+ ${(0,F.setVariable)(T.fontSize,Z.selectedOptionSize)};
1955
+ ${(0,F.setVariable)(T.raisedFontSize,Z.labelSize)};
1956
+ ${(0,F.setVariable)(T.verticalSpacing,Z.verticalSpacing)};
1957
+ ${(0,F.setVariable)(T.horizontalSpacing,Z.horizontalSpacing)};
1958
+ ${(0,F.setVariable)(T.labelMaxWidth,`calc(100% - ${Oe.size} - 8px)`)};
1958
1959
  }
1959
1960
 
1960
1961
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
1961
- color: ${W.colorPrimary};
1962
+ color: ${Z.colorPrimary};
1962
1963
  }
1963
1964
 
1964
1965
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
1965
- ${(0,B.setVariable)(T.borderColor,W.colorPrimary)};
1966
- ${(0,B.setVariable)(T.textColor,W.colorPrimary)};
1966
+ ${(0,F.setVariable)(T.borderColor,Z.colorPrimary)};
1967
+ ${(0,F.setVariable)(T.textColor,Z.colorPrimary)};
1967
1968
  }
1968
1969
 
1969
1970
  .ft-select--selected-option {
@@ -1973,12 +1974,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1973
1974
  overflow: hidden;
1974
1975
  white-space: nowrap;
1975
1976
  text-overflow: ellipsis;
1976
- ${(0,B.setVariable)(Nt.fontSize,W.selectedOptionSize)};
1977
- ${(0,B.setVariable)(Nt.lineHeight,W.selectedOptionSize)};
1977
+ ${(0,F.setVariable)(At.fontSize,Z.selectedOptionSize)};
1978
+ ${(0,F.setVariable)(At.lineHeight,Z.selectedOptionSize)};
1978
1979
  }
1979
1980
 
1980
1981
  .ft-select--in-error .ft-select--selected-option {
1981
- color: ${W.colorError};
1982
+ color: ${Z.colorError};
1982
1983
  }
1983
1984
 
1984
1985
  ft-icon {
@@ -1990,26 +1991,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1990
1991
  }
1991
1992
 
1992
1993
  .ft-select--filled .ft-select--input-panel {
1993
- border-radius: ${W.borderRadiusS} ${W.borderRadiusS} 0 0;
1994
+ border-radius: ${Z.borderRadiusS} ${Z.borderRadiusS} 0 0;
1994
1995
  }
1995
1996
 
1996
1997
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
1997
1998
  align-self: stretch;
1998
- padding-top: calc(${W.labelSize} + 2 * ${W.verticalSpacing});
1999
+ padding-top: calc(${Z.labelSize} + 2 * ${Z.verticalSpacing});
1999
2000
  }
2000
2001
 
2001
2002
  .ft-select--outlined .ft-select--input-panel {
2002
- border-radius: ${W.borderRadiusS};
2003
+ border-radius: ${Z.borderRadiusS};
2003
2004
  }
2004
2005
 
2005
2006
  .ft-select--options {
2006
2007
  display: none;
2007
2008
  position: absolute;
2008
2009
  top: 100%;
2009
- color: ${W.optionsColor};
2010
- background: ${W.colorSurface};
2011
- z-index: ${W.optionsZIndex};
2012
- box-shadow: ${W.elevation02};
2010
+ color: ${Z.optionsColor};
2011
+ background: ${Z.colorSurface};
2012
+ z-index: ${Z.optionsZIndex};
2013
+ box-shadow: ${Z.elevation02};
2013
2014
  }
2014
2015
 
2015
2016
  .ft-select--fixed .ft-select--options {
@@ -2018,13 +2019,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2018
2019
 
2019
2020
  .ft-select--options-displayed .ft-select--options {
2020
2021
  display: block;
2021
- max-height: ${W.optionsHeight};
2022
+ max-height: ${Z.optionsHeight};
2022
2023
  overflow-y: auto;
2023
2024
  }
2024
2025
 
2025
2026
  .ft-select--option {
2026
2027
  position: relative;
2027
- padding: 4px ${W.horizontalSpacing};
2028
+ padding: 4px ${Z.horizontalSpacing};
2028
2029
  min-height: 32px;
2029
2030
  display: flex;
2030
2031
  align-items: center;
@@ -2036,21 +2037,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2036
2037
  }
2037
2038
 
2038
2039
  .ft-select--helper-text {
2039
- padding: 0 ${W.horizontalSpacing};
2040
- color: ${W.helperColor};
2040
+ padding: 0 ${Z.horizontalSpacing};
2041
+ color: ${Z.helperColor};
2041
2042
  }
2042
2043
 
2043
2044
  .ft-select--in-error .ft-select--helper-text {
2044
- color: ${W.colorError};
2045
+ color: ${Z.colorError};
2045
2046
  }
2046
- `;var pe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Ot=class extends br.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return gr.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ot.elementDefinitions={};pe([(0,re.property)({type:String})],Ot.prototype,"label",void 0);pe([(0,re.property)({type:Object,converter:t=>t})],Ot.prototype,"value",void 0);pe([(0,re.property)({type:Boolean,reflect:!0})],Ot.prototype,"selected",void 0);var X=class extends br.FtLitElement{constructor(){super(...arguments),this.label="",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,o,i,n,a;let l=this.hasOptionsMenuOpen,s=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":s,"ft-select--options-displayed":l,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return gr.html`
2047
- <div class="${(0,tn.classMap)(f)}" part="container">
2047
+ `;var ue=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},Et=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Or.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Et.elementDefinitions={};ue([(0,ie.property)({type:String})],Et.prototype,"label",void 0);ue([(0,ie.property)({type:Object,converter:t=>t})],Et.prototype,"value",void 0);ue([(0,ie.property)({type:Boolean,reflect:!0})],Et.prototype,"selected",void 0);var ee=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",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,o,n,i,l;let c=this.hasOptionsMenuOpen,s=this.disabled||!this.hasOptions,h=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:"").length>0,g={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":s,"ft-select--options-displayed":c,"ft-select--has-option-selected":h,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Or.html`
2048
+ <div class="${(0,ln.classMap)(g)}" part="container">
2048
2049
  <div class="ft-select--main-panel" part="main-panel">
2049
2050
  <ft-input-label text="${this.label}"
2050
2051
  part="label"
2051
2052
  ?disabled=${s}
2052
2053
  ?outlined=${this.outlined}
2053
- ?raised=${d||l}
2054
+ ?raised=${h||c}
2054
2055
  ?error=${this.error}
2055
2056
  ></ft-input-label>
2056
2057
  <div class="ft-select--input-panel"
@@ -2060,65 +2061,65 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2060
2061
  @keydown=${this.onMainPanelKeyDown}
2061
2062
  aria-label="${this.label}"
2062
2063
  aria-haspopup="listbox"
2063
- aria-expanded="${l}">
2064
+ aria-expanded="${c}">
2064
2065
  <ft-ripple ?disabled=${s} ?activated=${!this.outlined}></ft-ripple>
2065
2066
  <ft-typography variant="body1" class="ft-select--selected-option">
2066
- ${(a=(n=this.selectedOption)===null||n===void 0?void 0:n.label)!==null&&a!==void 0?a:""}
2067
+ ${(l=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&l!==void 0?l:""}
2067
2068
  </ft-typography>
2068
- <ft-icon>${l?"thin_arrow_up":"thin_arrow"}</ft-icon>
2069
+ <ft-icon>${c?"thin_arrow_up":"thin_arrow"}</ft-icon>
2069
2070
  </div>
2070
2071
  <div class="ft-select--options"
2071
2072
  part="options"
2072
2073
  @keydown=${this.onOptionsKeyDown}
2073
2074
  innerrole="listbox">
2074
- ${(0,ic.repeat)(this.options,h=>h.value,h=>this.renderOption(h))}
2075
+ ${(0,ds.repeat)(this.options,y=>y.value,y=>this.renderOption(y))}
2075
2076
  </div>
2076
2077
  </div>
2077
- ${this.helper?gr.html`
2078
+ ${this.helper?Or.html`
2078
2079
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
2079
2080
  </ft-typography>`:void 0}
2080
2081
  </div>
2081
2082
  <slot @slotchange=${this.updateOptionsFromSlot}
2082
2083
  @option-change=${this.updateOptionsFromSlot}
2083
2084
  ></slot>
2084
- `}renderOption(e){let o=this.selectedOption===e;return gr.html`
2085
- <div class="${(0,tn.classMap)({"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0})}"
2085
+ `}renderOption(e){let o=this.selectedOption===e;return Or.html`
2086
+ <div class="${(0,ln.classMap)({"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0})}"
2086
2087
  part="option"
2087
2088
  tabindex="0"
2088
2089
  data-value="${e.value}"
2089
- @keydown=${n=>this.onOptionKeyDown(n,e)}
2090
+ @keydown=${i=>this.onOptionKeyDown(i,e)}
2090
2091
  @click=${()=>this.selectOption(e)}>
2091
2092
  <ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
2092
2093
  <span>${e.label}</span>
2093
2094
  </div>
2094
- `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,i;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Wr(this.mainPanel,this.optionsMenu,"bottom").then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}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 o;e.stopPropagation();let i=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}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 o,i,n,a,l;let s;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),s=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),s=(l=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&l!==void 0?l:this.firstOption;break}s?.focus()}onOptionKeyDown(e,o){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var o,i;if(!(0,br.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};X.elementDefinitions={"ft-input-label":Xe,"ft-typography":q,"ft-ripple":z,"ft-icon":le};X.styles=[_o,Ht,rc];pe([(0,re.property)({type:String})],X.prototype,"label",void 0);pe([(0,re.property)({type:String})],X.prototype,"helper",void 0);pe([(0,re.property)({type:Boolean})],X.prototype,"outlined",void 0);pe([(0,re.property)({type:Boolean})],X.prototype,"disabled",void 0);pe([(0,re.property)({type:Boolean})],X.prototype,"error",void 0);pe([(0,re.property)({type:Boolean})],X.prototype,"fixedMenuPosition",void 0);pe([(0,re.property)({type:Array})],X.prototype,"options",void 0);pe([(0,re.state)()],X.prototype,"selectedOption",void 0);pe([(0,re.state)()],X.prototype,"optionsDisplayed",void 0);pe([(0,re.state)()],X.prototype,"focusOptions",void 0);pe([(0,re.query)(".ft-select")],X.prototype,"container",void 0);pe([(0,re.query)(".ft-select--options")],X.prototype,"optionsMenu",void 0);pe([(0,re.query)(".ft-select--input-panel")],X.prototype,"mainPanel",void 0);pe([(0,re.query)(".ft-select--option:first-child")],X.prototype,"firstOption",void 0);pe([(0,re.query)(".ft-select--option:focus")],X.prototype,"focusedOption",void 0);pe([(0,re.query)(".ft-select--option.ft-select--option-selected")],X.prototype,"selectedOptionElement",void 0);pe([(0,re.query)(".ft-select--option:last-child")],X.prototype,"lastOption",void 0);pe([(0,re.query)("slot")],X.prototype,"optionsSlot",void 0);(0,on.customElement)("ft-select")(X);(0,on.customElement)("ft-select-option")(Ot);var A=u(O()),rn=u($());var nc=u($()),ut=u(O()),we={display:ut.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ut.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ut.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ut.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ut.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ut.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ut.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ut.FtCssVariableFactory.external(ut.designSystemVariables.borderRadiusM,"Design system")},ac=nc.css`
2095
+ `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,n;super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o: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",Kr(this.mainPanel,this.optionsMenu,"bottom").then(({x:i,y:l})=>{this.optionsMenu.style.left=`${i}px`,this.optionsMenu.style.top=`${l}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var o;e.stopPropagation();let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.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 o,n,i,l,c;let s;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),s=(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(),s=(c=(l=this.focusedOption)===null||l===void 0?void 0:l.nextElementSibling)!==null&&c!==void 0?c:this.firstOption;break}s?.focus()}onOptionKeyDown(e,o){var n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(e){var o,n;if(!(0,Cr.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.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)}};ee.elementDefinitions={"ft-input-label":et,"ft-typography":J,"ft-ripple":U,"ft-icon":pe};ee.styles=[Uo,Vt,ps];ue([(0,ie.property)({type:String})],ee.prototype,"label",void 0);ue([(0,ie.property)({type:String})],ee.prototype,"helper",void 0);ue([(0,ie.property)({type:Boolean})],ee.prototype,"outlined",void 0);ue([(0,ie.property)({type:Boolean})],ee.prototype,"disabled",void 0);ue([(0,ie.property)({type:Boolean})],ee.prototype,"error",void 0);ue([(0,ie.property)({type:Boolean})],ee.prototype,"fixedMenuPosition",void 0);ue([(0,ie.property)({type:Array})],ee.prototype,"options",void 0);ue([(0,ie.state)()],ee.prototype,"selectedOption",void 0);ue([(0,ie.state)()],ee.prototype,"optionsDisplayed",void 0);ue([(0,ie.state)()],ee.prototype,"focusOptions",void 0);ue([(0,ie.query)(".ft-select")],ee.prototype,"container",void 0);ue([(0,ie.query)(".ft-select--options")],ee.prototype,"optionsMenu",void 0);ue([(0,ie.query)(".ft-select--input-panel")],ee.prototype,"mainPanel",void 0);ue([(0,ie.query)(".ft-select--option:first-child")],ee.prototype,"firstOption",void 0);ue([(0,ie.query)(".ft-select--option:focus")],ee.prototype,"focusedOption",void 0);ue([(0,ie.query)(".ft-select--option.ft-select--option-selected")],ee.prototype,"selectedOptionElement",void 0);ue([(0,ie.query)(".ft-select--option:last-child")],ee.prototype,"lastOption",void 0);ue([(0,ie.query)("slot")],ee.prototype,"optionsSlot",void 0);(0,cn.customElement)("ft-select")(ee);(0,cn.customElement)("ft-select-option")(Et);var P=m(E()),sn=m(I());var fs=m(I()),mt=m(E()),Ne={display:mt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:mt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:mt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:mt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:mt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:mt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:mt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:mt.FtCssVariableFactory.external(mt.designSystemVariables.borderRadiusM,"Design system")},us=fs.css`
2095
2096
  :host {
2096
- width: ${we.width};
2097
- height: ${we.height};
2098
- display: ${we.display};
2097
+ width: ${Ne.width};
2098
+ height: ${Ne.height};
2099
+ display: ${Ne.display};
2099
2100
  overflow: hidden;
2100
- border-radius: ${we.borderRadiusM};
2101
+ border-radius: ${Ne.borderRadiusM};
2101
2102
  background: linear-gradient(
2102
2103
  90deg,
2103
2104
  transparent,
2104
- ${we.glareColor} calc(0.45 * ${we.glareWidth}),
2105
- ${we.glareColor} calc(0.55 * ${we.glareWidth}),
2106
- transparent ${we.glareWidth}
2107
- ), ${we.backgroundColor};
2105
+ ${Ne.glareColor} calc(0.45 * ${Ne.glareWidth}),
2106
+ ${Ne.glareColor} calc(0.55 * ${Ne.glareWidth}),
2107
+ transparent ${Ne.glareWidth}
2108
+ ), ${Ne.backgroundColor};
2108
2109
  background-repeat: repeat-y;
2109
2110
  background-size: 100vw 100vh;
2110
2111
  background-attachment: fixed;
2111
- background-position: calc(${we.glareWidth} * -1) 0;
2112
- animation: shine ${we.animationDuration} infinite;
2112
+ background-position: calc(${Ne.glareWidth} * -1) 0;
2113
+ animation: shine ${Ne.animationDuration} infinite;
2113
2114
  animation-timing-function: linear;
2114
2115
  }
2115
2116
 
2116
2117
  @keyframes shine {
2117
2118
  to {
2118
- background-position: calc(100vw + ${we.glareWidth}) 0, calc(${we.glareWidth} * -1) 0;
2119
+ background-position: calc(100vw + ${Ne.glareWidth}) 0, calc(${Ne.glareWidth} * -1) 0;
2119
2120
  }
2120
2121
  }
2121
- `;var k={height:A.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:A.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",A.designSystemVariables.borderRadiusS),mobileOpenPosition:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:A.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:A.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:A.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:A.FtCssVariableFactory.external(A.designSystemVariables.colorSurface,"Design system"),colorOnSurface:A.FtCssVariableFactory.external(A.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:A.FtCssVariableFactory.external(A.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:A.FtCssVariableFactory.external(A.designSystemVariables.colorOutline,"Design system"),colorPrimary:A.FtCssVariableFactory.external(A.designSystemVariables.colorPrimary,"Design system"),elevation02:A.FtCssVariableFactory.external(A.designSystemVariables.elevation02,"Design system"),buttonColor:A.FtCssVariableFactory.external(M.color,"Button"),buttonRippleColor:A.FtCssVariableFactory.external(M.rippleColor,"Button")},lc=rn.css`
2122
+ `;var $={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(H.color,"Button"),buttonRippleColor:P.FtCssVariableFactory.external(H.rippleColor,"Button")},hs=sn.css`
2122
2123
  * {
2123
2124
  box-sizing: border-box;
2124
2125
  }
@@ -2127,7 +2128,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2127
2128
  display: flex;
2128
2129
  flex-direction: column;
2129
2130
  gap: 8px;
2130
- color: ${k.colorOnSurface};
2131
+ color: ${$.colorOnSurface};
2131
2132
  outline: none;
2132
2133
  }
2133
2134
 
@@ -2136,21 +2137,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2136
2137
  }
2137
2138
 
2138
2139
  .ft-search-bar--mobile-menu-open {
2139
- position: ${k.mobileOpenPosition};
2140
- top: ${k.mobileOpenTop};
2141
- bottom: ${k.mobileOpenBottom};
2142
- left: ${k.mobileOpenLeft};
2143
- right: ${k.mobileOpenRight};
2144
- z-index: ${k.floatingZIndex};
2140
+ position: ${$.mobileOpenPosition};
2141
+ top: ${$.mobileOpenTop};
2142
+ bottom: ${$.mobileOpenBottom};
2143
+ left: ${$.mobileOpenLeft};
2144
+ right: ${$.mobileOpenRight};
2145
+ z-index: ${$.floatingZIndex};
2145
2146
  padding: 16px;
2146
2147
  }
2147
2148
 
2148
2149
  .ft-search-bar--mobile-menu-open:not(.ft-search-bar--forced-open) {
2149
- background: ${k.colorSurface};
2150
+ background: ${$.colorSurface};
2150
2151
  }
2151
2152
 
2152
2153
  .ft-search-bar--mobile-menu-open.ft-search-bar--forced-open {
2153
- position: ${k.mobileOpenPosition.get("static")};
2154
+ position: ${$.mobileOpenPosition.get("static")};
2154
2155
  }
2155
2156
 
2156
2157
  .ft-search-bar {
@@ -2158,20 +2159,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2158
2159
  display: flex;
2159
2160
  flex-direction: row;
2160
2161
  align-items: center;
2161
- height: ${k.height};
2162
+ height: ${$.height};
2162
2163
 
2163
- background: ${k.colorSurface};
2164
- border: 1px solid ${k.colorOutline};
2165
- border-radius: ${k.borderRadius};
2164
+ background: ${$.colorSurface};
2165
+ border: 1px solid ${$.colorOutline};
2166
+ border-radius: ${$.borderRadius};
2166
2167
  }
2167
2168
 
2168
2169
  .ft-search-bar--skeleton {
2169
- ${(0,A.setVariable)(we.height,k.height)};
2170
- ${(0,A.setVariable)(we.borderRadiusM,k.borderRadius)};
2170
+ ${(0,P.setVariable)(Ne.height,$.height)};
2171
+ ${(0,P.setVariable)(Ne.borderRadiusM,$.borderRadius)};
2171
2172
  }
2172
2173
 
2173
2174
  .ft-search-bar--floating-panel-open .ft-search-bar {
2174
- border-radius: ${k.borderRadius} ${k.borderRadius} 0 0;
2175
+ border-radius: ${$.borderRadius} ${$.borderRadius} 0 0;
2175
2176
  }
2176
2177
 
2177
2178
  .ft-search-bar--input-container {
@@ -2189,7 +2190,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2189
2190
  align-self: stretch;
2190
2191
  display: grid;
2191
2192
  padding: 0 8px;
2192
- border-radius: ${k.borderRadius};
2193
+ border-radius: ${$.borderRadius};
2193
2194
  }
2194
2195
 
2195
2196
  .ft-search-bar--dense .ft-search-bar--input-outline {
@@ -2198,7 +2199,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2198
2199
  }
2199
2200
 
2200
2201
  .ft-search-bar--input-container:focus-within .ft-search-bar--input-outline {
2201
- outline: 2px solid ${k.colorPrimary};
2202
+ outline: 2px solid ${$.colorPrimary};
2202
2203
  }
2203
2204
 
2204
2205
  .ft-search-bar--input {
@@ -2206,12 +2207,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2206
2207
  flex-grow: 1;
2207
2208
  border: none;
2208
2209
  background-color: transparent;
2209
- color: ${k.colorOnSurface};
2210
+ color: ${$.colorOnSurface};
2210
2211
  outline: none;
2211
2212
  }
2212
2213
 
2213
2214
  .ft-search-bar--input::placeholder {
2214
- color: ${k.colorOnSurfaceMedium};
2215
+ color: ${$.colorOnSurfaceMedium};
2215
2216
  }
2216
2217
 
2217
2218
  .ft-search-bar--actions {
@@ -2221,18 +2222,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2221
2222
  align-items: center;
2222
2223
  height: 100%;
2223
2224
 
2224
- ${(0,A.setVariable)(Vt.zIndex,`calc(${k.floatingZIndex} + 1)`)};
2225
+ ${(0,P.setVariable)(jt.zIndex,`calc(${$.floatingZIndex} + 1)`)};
2225
2226
  }
2226
2227
 
2227
2228
  .ft-search-bar > ft-button,
2228
2229
  .ft-search-bar--actions ft-button {
2229
2230
  flex-shrink: 0;
2230
- ${(0,A.setVariable)(M.backgroundColor,"transparent")};
2231
+ ${(0,P.setVariable)(H.backgroundColor,"transparent")};
2231
2232
  }
2232
2233
 
2233
2234
  .ft-search-bar--left-action {
2234
- ${(0,A.setVariable)(M.borderRadius,`calc(${k.borderRadius} - 1px) 0 0 calc(${k.borderRadius} - 1px)`)};
2235
- border-right: 1px solid ${k.colorOutline};
2235
+ ${(0,P.setVariable)(H.borderRadius,`calc(${$.borderRadius} - 1px) 0 0 calc(${$.borderRadius} - 1px)`)};
2236
+ border-right: 1px solid ${$.colorOutline};
2236
2237
  height: 100%;
2237
2238
  }
2238
2239
 
@@ -2241,7 +2242,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2241
2242
  }
2242
2243
 
2243
2244
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2244
- ${(0,A.setVariable)(M.borderRadius,`calc(${k.borderRadius} - 1px) 0 0 0`)};
2245
+ ${(0,P.setVariable)(H.borderRadius,`calc(${$.borderRadius} - 1px) 0 0 0`)};
2245
2246
  }
2246
2247
 
2247
2248
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2251,13 +2252,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2251
2252
 
2252
2253
  .ft-search-bar--separator {
2253
2254
  height: 20px;
2254
- border-right: 1px solid ${k.colorOutline};
2255
+ border-right: 1px solid ${$.colorOutline};
2255
2256
  }
2256
2257
 
2257
2258
  .ft-search-bar--left-action.ft-search-bar--content-locale {
2258
- ${(0,A.setVariable)(T.borderColor,"transparent")};
2259
- ${(0,A.setVariable)(T.borderRadiusS,`calc(${k.borderRadius} - 1px)`)};
2260
- ${(0,A.setVariable)(W.selectedOptionColor,k.buttonColor)};
2259
+ ${(0,P.setVariable)(T.borderColor,"transparent")};
2260
+ ${(0,P.setVariable)(T.borderRadiusS,`calc(${$.borderRadius} - 1px)`)};
2261
+ ${(0,P.setVariable)(Z.selectedOptionColor,$.buttonColor)};
2261
2262
  }
2262
2263
 
2263
2264
  .ft-search-bar--left-action.ft-search-bar--content-locale,
@@ -2274,7 +2275,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2274
2275
  }
2275
2276
 
2276
2277
  .ft-search-bar--left-action.ft-search-bar--content-locale::part(selected-value) {
2277
- border-radius: calc(${k.borderRadius} - 1px) 0 0 calc(${k.borderRadius} - 1px);
2278
+ border-radius: calc(${$.borderRadius} - 1px) 0 0 calc(${$.borderRadius} - 1px);
2278
2279
  }
2279
2280
 
2280
2281
  [part="content-locale-selector"] {
@@ -2283,7 +2284,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2283
2284
  flex-direction: column;
2284
2285
  max-height: 100%;
2285
2286
  max-width: 100%;
2286
- color: ${ze.colorOnSurface};
2287
+ color: ${Ue.colorOnSurface};
2287
2288
  }
2288
2289
 
2289
2290
  [part="content-locale-selector"] > ft-radio-group {
@@ -2301,7 +2302,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2301
2302
  flex-shrink: 0;
2302
2303
  padding: 0 10px;
2303
2304
  margin-bottom: 8px;
2304
- ${(0,A.setVariable)(C.fontSize,"14px")};
2305
+ ${(0,P.setVariable)(R.fontSize,"14px")};
2305
2306
  }
2306
2307
 
2307
2308
  [part="content-locale-selector-label"] {
@@ -2309,18 +2310,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2309
2310
  flex-shrink: 1;
2310
2311
  flex-grow: 1;
2311
2312
  word-break: break-word;
2312
- ${(0,A.setVariable)(C.lineHeight,"22px")};
2313
- ${(0,A.setVariable)(C.fontWeight,"bold")};
2313
+ ${(0,P.setVariable)(R.lineHeight,"22px")};
2314
+ ${(0,P.setVariable)(R.fontWeight,"bold")};
2314
2315
  }
2315
2316
 
2316
- `,sc=rn.css`
2317
+ `,gs=sn.css`
2317
2318
  .ft-search-bar--presets {
2318
2319
  min-width: 200px;
2319
2320
  }
2320
2321
 
2321
2322
  .ft-search-bar--desktop-menu .ft-search-bar--presets {
2322
2323
  margin-right: auto;
2323
- ${(0,A.setVariable)(W.optionsZIndex,"2")};
2324
+ ${(0,P.setVariable)(Z.optionsZIndex,"2")};
2324
2325
  }
2325
2326
 
2326
2327
  .ft-search-bar--desktop-menu {
@@ -2373,8 +2374,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2373
2374
 
2374
2375
  .ft-search-bar--desktop-menu .ft-search-bar--filters-container {
2375
2376
  display: block;
2376
- height: ${k.desktopFiltersHeight};
2377
- ${(0,A.setVariable)($e.gap,"16px")};
2377
+ height: ${$.desktopFiltersHeight};
2378
+ ${(0,P.setVariable)(Ie.gap,"16px")};
2378
2379
  }
2379
2380
 
2380
2381
  .ft-search-bar--desktop-menu ft-filter {
@@ -2389,15 +2390,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2389
2390
  }
2390
2391
 
2391
2392
  .ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
2392
- max-width: calc(50% - ${$e.gap} / 2);
2393
+ max-width: calc(50% - ${Ie.gap} / 2);
2393
2394
  }
2394
2395
 
2395
2396
  .ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
2396
- max-width: max(250px, calc(33% - 2 * ${$e.gap} / 3));
2397
+ max-width: max(250px, calc(33% - 2 * ${Ie.gap} / 3));
2397
2398
  }
2398
2399
 
2399
2400
  .ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
2400
- max-width: max(250px, calc(25% - 3 * ${$e.gap} / 4));
2401
+ max-width: max(250px, calc(25% - 3 * ${Ie.gap} / 4));
2401
2402
  }
2402
2403
 
2403
2404
  .ft-search-bar--hierarchical-filter {
@@ -2454,7 +2455,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2454
2455
  .ft-search-bar--filter-label-values {
2455
2456
  flex-grow: 0;
2456
2457
  flex-shrink: 1;
2457
- color: ${k.colorOnSurfaceMedium};
2458
+ color: ${$.colorOnSurfaceMedium};
2458
2459
  }
2459
2460
 
2460
2461
  ft-accordion-item::part(toggle) {
@@ -2474,44 +2475,44 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2474
2475
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2475
2476
  margin: 0;
2476
2477
  }
2477
- `;var dc=u(O());var cc=u($()),pc=u(O());var qt=class extends pc.FtLitElement{render(){return cc.html`
2478
- `}};qt.elementDefinitions={};qt.styles=ac;(0,dc.customElement)("ft-skeleton")(qt);var wo=u($()),nn=u(ao());var ei=u(O());var wt=class{constructor(e,o=300){this.searchBar=e,this.updateDebouncer=new ei.Debouncer(o)}render(){let e=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),o=this.searchBar.suggestions.length>0||e.length>0;return wo.html`
2478
+ `;var bs=m(E());var ms=m(I()),ys=m(E());var eo=class extends ys.FtLitElement{render(){return ms.html`
2479
+ `}};eo.elementDefinitions={};eo.styles=us;(0,bs.customElement)("ft-skeleton")(eo);var ko=m(I()),pn=m(fo());var na=m(E());var Nt=class{constructor(e,o=300){this.searchBar=e,this.updateDebouncer=new na.Debouncer(o)}render(){let e=this.searchBar.recentSearches.filter(n=>n.toLowerCase().includes(this.searchBar.query.toLowerCase())),o=this.searchBar.suggestions.length>0||e.length>0;return ko.html`
2479
2480
  <div class="ft-search-bar--suggestions ft-word-wrap ${o?"ft-search-bar--suggestions-not-empty":""}"
2480
2481
  part="suggestions-container"
2481
- @keydown=${i=>this.onSuggestKeyDown(i)}>
2482
- ${(0,nn.repeat)(e.slice(0,5),i=>i,i=>wo.html`
2483
- <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:i})}"
2482
+ @keydown=${n=>this.onSuggestKeyDown(n)}>
2483
+ ${(0,pn.repeat)(e.slice(0,5),n=>n,n=>ko.html`
2484
+ <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:n})}"
2484
2485
  part="suggestions"
2485
2486
  class="ft-search-bar--suggestion ft-search-bar--recent-search"
2486
- @keyup=${n=>this.onSuggestKeyUp(n,i)}
2487
- @click=${n=>this.onSuggestClick(n,i)}>
2487
+ @keyup=${i=>this.onSuggestKeyUp(i,n)}
2488
+ @click=${i=>this.onSuggestClick(i,n)}>
2488
2489
  <ft-ripple></ft-ripple>
2489
2490
  <ft-icon variant="material" value="history" part="suggestion-icon"></ft-icon>
2490
- <ft-typography variant="body1">${i}</ft-typography>
2491
+ <ft-typography variant="body1">${n}</ft-typography>
2491
2492
  <ft-button icon="close"
2492
2493
  round
2493
2494
  part="remove-suggestion"
2494
2495
  ?dense=${!this.searchBar.isMobile}
2495
2496
  label="${this.searchBar.labelResolver.resolve("removeRecentSearch")}"
2496
2497
  tooltipPosition="left"
2497
- @click=${n=>this.removeRecentSearch(n,i)}></ft-button>
2498
+ @click=${i=>this.removeRecentSearch(i,n)}></ft-button>
2498
2499
  </a>
2499
2500
  `)}
2500
- ${(0,nn.repeat)(this.searchBar.suggestions,i=>i.value,i=>wo.html`
2501
- <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:i.value})}"
2501
+ ${(0,pn.repeat)(this.searchBar.suggestions,n=>n.value,n=>ko.html`
2502
+ <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:n.value})}"
2502
2503
  part="suggestions"
2503
2504
  class="ft-search-bar--suggestion"
2504
- @keyup=${n=>this.onSuggestKeyUp(n,i.value)}
2505
- @click=${n=>this.onSuggestClick(n,i.value)}>
2505
+ @keyup=${i=>this.onSuggestKeyUp(i,n.value)}
2506
+ @click=${i=>this.onSuggestClick(i,n.value)}>
2506
2507
  <ft-ripple></ft-ripple>
2507
- ${this.getIcon(i)}
2508
- <ft-typography variant="body1">${i.value}</ft-typography>
2508
+ ${this.getIcon(n)}
2509
+ <ft-typography variant="body1">${n.value}</ft-typography>
2509
2510
  </a>
2510
2511
  `)}
2511
2512
  </div>
2512
- `}update(){return new Promise((e,o)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestKeyDown(e){var o,i,n,a,l,s;switch(e.key){case"ArrowUp":(n=(i=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&i!==void 0?i:this.getLastSuggestionElement())===null||n===void 0||n.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(s=(l=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&l!==void 0?l:this.getFirstSuggestionElement())===null||s===void 0||s.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestClick(e,o){!e.ctrlKey&&!e.metaKey&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),e.stopPropagation(),this.searchBar.setQuery(o),this.searchBar.launchSearch()}removeRecentSearch(e,o){var i,n;e.preventDefault(),e.stopPropagation();let a=e.target.closest(".ft-search-bar--suggestion"),l=(n=(i=a?.previousElementSibling)!==null&&i!==void 0?i:a?.nextElementSibling)!==null&&n!==void 0?n:this.searchBar.input;l?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(s=>s.toLowerCase()!==o.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let o=e.type==="DOCUMENT"?pt.file_format:pt.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?Gt.BOOK:Gt.ARTICLE;break;case"DOCUMENT":i=Ql(e.mimeType,e.filenameExtension);break;case"TOPIC":i=Gt.TOPICS;break}return wo.html`
2513
- <ft-icon .variant="${o}" .value="${i}" part="suggestion-icon"></ft-icon>
2514
- `}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()}};wt.styles=[ei.wordWrap,wo.css`
2513
+ `}update(){return new Promise((e,o)=>{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 o,n,i,l,c,s;switch(e.key){case"ArrowUp":(i=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(s=(c=(l=this.getFocusedSuggestionElement())===null||l===void 0?void 0:l.nextElementSibling)!==null&&c!==void 0?c:this.getFirstSuggestionElement())===null||s===void 0||s.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestClick(e,o){!e.ctrlKey&&!e.metaKey&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),e.stopPropagation(),this.searchBar.setQuery(o),this.searchBar.launchSearch()}removeRecentSearch(e,o){var n,i;e.preventDefault(),e.stopPropagation();let l=e.target.closest(".ft-search-bar--suggestion"),c=(i=(n=l?.previousElementSibling)!==null&&n!==void 0?n:l?.nextElementSibling)!==null&&i!==void 0?i:this.searchBar.input;c?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(s=>s.toLowerCase()!==o.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let o=e.type==="DOCUMENT"?ut.file_format:ut.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Xt.BOOK:Xt.ARTICLE;break;case"DOCUMENT":n=ac(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Xt.TOPICS;break}return ko.html`
2514
+ <ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
2515
+ `}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()}};Nt.styles=[na.wordWrap,ko.css`
2515
2516
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2516
2517
  flex-grow: 1;
2517
2518
  flex-shrink: 1;
@@ -2520,7 +2521,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2520
2521
  }
2521
2522
 
2522
2523
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
2523
- border-top: 1px solid ${k.colorOutline};
2524
+ border-top: 1px solid ${$.colorOutline};
2524
2525
  }
2525
2526
 
2526
2527
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
@@ -2530,15 +2531,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2530
2531
  .ft-search-bar--floating-panel,
2531
2532
  .ft-search-bar--desktop .ft-search-bar--suggestions {
2532
2533
  position: absolute;
2533
- z-index: ${k.floatingZIndex};
2534
+ z-index: ${$.floatingZIndex};
2534
2535
  top: 100%;
2535
2536
  left: -1px;
2536
2537
  right: -1px;
2537
2538
  display: none;
2538
- background: ${k.colorSurface};
2539
- border: 1px solid ${k.colorOutline};
2540
- border-radius: 0 0 ${k.borderRadius} ${k.borderRadius};
2541
- box-shadow: ${k.elevation02};
2539
+ background: ${$.colorSurface};
2540
+ border: 1px solid ${$.colorOutline};
2541
+ border-radius: 0 0 ${$.borderRadius} ${$.borderRadius};
2542
+ box-shadow: ${$.elevation02};
2542
2543
  outline: none;
2543
2544
  }
2544
2545
 
@@ -2558,7 +2559,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2558
2559
  padding: 8px;
2559
2560
  gap: 8px;
2560
2561
  cursor: pointer;
2561
- color: ${k.colorOnSurface};
2562
+ color: ${$.colorOnSurface};
2562
2563
  min-height: 52px;
2563
2564
  }
2564
2565
 
@@ -2575,7 +2576,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2575
2576
  }
2576
2577
 
2577
2578
  .ft-search-bar--recent-search + .ft-search-bar--suggestion:not(.ft-search-bar--recent-search) {
2578
- border-top: 1px solid ${k.colorOutline};
2579
+ border-top: 1px solid ${$.colorOutline};
2579
2580
  }
2580
2581
 
2581
2582
  .ft-search-bar--suggestion ft-typography {
@@ -2583,8 +2584,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2583
2584
  flex-grow: 1;
2584
2585
  flex-shrink: 1;
2585
2586
  }
2586
- `];var Ae=u($()),an=u(ao());var ti=u(O());var Ct=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return Ae.html``;let e=this.searchBar.isMobile(),o=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=Ae.html`
2587
- ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?Ae.html`
2587
+ `];var Pe=m(I()),dn=m(fo());var ia=m(E());var Rt=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return Pe.html``;let e=this.searchBar.isMobile(),o=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),n=Pe.html`
2588
+ ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?Pe.html`
2588
2589
  <ft-chip part="selected-filters selected-filter-ft-locale"
2589
2590
  ?dense=${this.searchBar.dense&&!e}
2590
2591
  ?clickable=${e}
@@ -2594,46 +2595,46 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2594
2595
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
2595
2596
  </ft-chip>
2596
2597
  `:null}
2597
- ${(0,an.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=nl(n);return(0,an.repeat)(a,l=>{let s=n.label+": "+ol(l),d=n.key.replace(":","-"),f=Ae.html`
2598
+ ${(0,dn.repeat)(this.searchBar.facets,i=>i.key,i=>{let l=pl(i);return(0,dn.repeat)(l,c=>{let s=i.label+": "+ll(c),h=i.key.replace(":","-"),g=Pe.html`
2598
2599
  <ft-chip
2599
- part="selected-filters selected-filter-${d}"
2600
+ part="selected-filters selected-filter-${h}"
2600
2601
  ?dense=${this.searchBar.dense&&!e}
2601
2602
  ?clickable=${e}
2602
2603
  ?removable=${!e}
2603
- icon=${e?Ae.nothing:"close"}
2604
+ icon=${e?Pe.nothing:"close"}
2604
2605
  label="${s}"
2605
- title=${o?s:Ae.nothing}
2606
- @click=${()=>this.openMobileFilters(n.key)}
2607
- @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(h=>h!==l))}
2608
- data-key="${n.key}"
2609
- data-value="${l}">
2610
- ${tl(l)}
2606
+ title=${o?s:Pe.nothing}
2607
+ @click=${()=>this.openMobileFilters(i.key)}
2608
+ @icon-click=${()=>this.searchBar.setFilter(i.key,l.filter(y=>y!==c))}
2609
+ data-key="${i.key}"
2610
+ data-value="${c}">
2611
+ ${il(c)}
2611
2612
  </ft-chip>
2612
- `;return o?f:Ae.html`
2613
+ `;return o?g:Pe.html`
2613
2614
  <ft-tooltip inline text="${s}">
2614
- ${f}
2615
+ ${g}
2615
2616
  </ft-tooltip>
2616
2617
  `})})}
2617
- ${e?Ae.html`
2618
+ ${e?Pe.html`
2618
2619
  <ft-chip part="selected-filters mobile-filters-opener"
2619
2620
  icon="plus"
2620
2621
  clickable
2621
2622
  @click=${()=>{this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0}}>
2622
2623
  ${this.searchBar.labelResolver.resolve("filtersButton")}
2623
2624
  </ft-chip>
2624
- `:Ae.nothing}
2625
- `;return o?Ae.html`
2625
+ `:Pe.nothing}
2626
+ `;return o?Pe.html`
2626
2627
  <ft-snap-scroll horizontal controls hideScrollbar limitSize
2627
2628
  class="ft-search-bar--selected-filters"
2628
2629
  part="selected-filters-container"
2629
2630
  exportpartsPrefix="selected-filters-container">
2630
- ${i}
2631
+ ${n}
2631
2632
  </ft-snap-scroll>
2632
- `:Ae.html`
2633
+ `:Pe.html`
2633
2634
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
2634
- ${i}
2635
+ ${n}
2635
2636
  </div>
2636
- `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var o;return(o=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&o!==void 0?o:e}};Ct.styles=Ae.css`
2637
+ `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var o;return(o=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&&o!==void 0?o:e}};Rt.styles=Pe.css`
2637
2638
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
2638
2639
  flex-shrink: 0;
2639
2640
  display: flex;
@@ -2644,7 +2645,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2644
2645
 
2645
2646
  ft-snap-scroll.ft-search-bar--selected-filters {
2646
2647
  overflow: hidden;
2647
- ${(0,ti.setVariable)($e.gap,"4px")};
2648
+ ${(0,ia.setVariable)(Ie.gap,"4px")};
2648
2649
  }
2649
2650
 
2650
2651
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -2652,8 +2653,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2652
2653
  }
2653
2654
 
2654
2655
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
2655
- ${(0,ti.setVariable)(Ne.iconSize,"17px")};
2656
- ${(0,ti.setVariable)(Ne.fontSize,"12px")};
2656
+ ${(0,ia.setVariable)(Ae.iconSize,"17px")};
2657
+ ${(0,ia.setVariable)(Ae.fontSize,"12px")};
2657
2658
  }
2658
2659
 
2659
2660
  .ft-search-bar--selected-filters * {
@@ -2663,8 +2664,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2663
2664
  .ft-search-bar--selected-filters ft-chip {
2664
2665
  flex-grow: 0;
2665
2666
  }
2666
- `;var Et=u($());var fc=u(st()),vr=class{constructor(e,o,i){this.searchBar=e,this.selectedFacetsManager=o??new Ct(e),this.suggestManager=i??new wt(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 Et.html`
2667
- <div class="${(0,fc.classMap)(e)}" part="container" tabindex="-1">
2667
+ `;var kt=m(I());var xs=m(dt()),wr=class{constructor(e,o,n){this.searchBar=e,this.selectedFacetsManager=o??new Rt(e),this.suggestManager=n??new Nt(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 kt.html`
2668
+ <div class="${(0,xs.classMap)(e)}" part="container" tabindex="-1">
2668
2669
  <div class="ft-search-bar">
2669
2670
  <div class="ft-search-bar--input-container" part="input-container">
2670
2671
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -2682,18 +2683,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2682
2683
  </div>
2683
2684
  ${this.searchBar.displayFacets?this.searchBar.renderFacetsActions():this.selectedFacetsManager.render()}
2684
2685
  ${this.searchBar.displayFacets?this.searchBar.renderMobileFacets():this.suggestManager.render()}
2685
- ${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?Et.html`
2686
+ ${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?kt.html`
2686
2687
  <ft-button class="ft-search-bar--launch-search"
2687
2688
  part="launch-search-in-panel"
2688
2689
  icon="search"
2689
2690
  @click=${this.searchBar.launchSearch}>
2690
2691
  ${this.searchBar.labelResolver.resolve("searchButton")}
2691
2692
  </ft-button>
2692
- `:Et.nothing}
2693
+ `:kt.nothing}
2693
2694
  </div>
2694
- `}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return Et.html`
2695
+ `}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return kt.html`
2695
2696
  <div class="ft-search-bar--actions" part="search-bar-actions">
2696
- ${e?Et.html`
2697
+ ${e?kt.html`
2697
2698
  <ft-button class="ft-search-bar--clear-query"
2698
2699
  part="clear-query"
2699
2700
  icon="close"
@@ -2703,7 +2704,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2703
2704
  @click=${()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1}}
2704
2705
  ></ft-button>
2705
2706
  <div class="ft-search-bar--separator"></div>
2706
- `:Et.nothing}
2707
+ `:kt.nothing}
2707
2708
  <ft-button class="ft-search-bar--launch-search"
2708
2709
  part="launch-search-in-bar"
2709
2710
  icon="search"
@@ -2713,15 +2714,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2713
2714
  @click=${()=>{var o;return this.searchBar.isMobileMenuOpen()?this.searchBar.launchSearch():(o=this.searchBar.input)===null||o===void 0?void 0:o.focus()}}
2714
2715
  ></ft-button>
2715
2716
  </div>
2716
- `}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};vr.styles=Et.css`
2717
+ `}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};wr.styles=kt.css`
2717
2718
 
2718
- `;var Fe=u($()),uc=u(ao());var hc=u(st()),xr=class{constructor(e,o,i){this.searchBar=e,this.selectedFacetsManager=o??new Ct(e),this.suggestManager=i??new wt(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 Fe.html`
2719
- <div class="${(0,hc.classMap)(e)}" part="container" tabindex="-1">
2719
+ `;var Me=m(I()),vs=m(fo());var Ss=m(dt()),Er=class{constructor(e,o,n){this.searchBar=e,this.selectedFacetsManager=o??new Rt(e),this.suggestManager=n??new Nt(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 Me.html`
2720
+ <div class="${(0,Ss.classMap)(e)}" part="container" tabindex="-1">
2720
2721
  <div class="ft-search-bar" part="search-bar">
2721
2722
  ${this.renderSearchBarLeftAction()}
2722
2723
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
2723
2724
  <div class="ft-search-bar--input-outline" part="input-outline">
2724
- ${this.searchBar.dense?this.selectedFacetsManager.render():Fe.nothing}
2725
+ ${this.searchBar.dense?this.selectedFacetsManager.render():Me.nothing}
2725
2726
  <input class="ft-search-bar--input ft-typography--body2"
2726
2727
  part="input"
2727
2728
  type="search"
@@ -2736,9 +2737,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2736
2737
  ${this.renderDesktopSearchBarButtons()}
2737
2738
  ${this.searchBar.renderDesktopFloatingMenu()}
2738
2739
  </div>
2739
- ${this.searchBar.dense?Fe.nothing:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
2740
+ ${this.searchBar.dense?Me.nothing:this.searchBar.forceMenuOpen?this.searchBar.renderDesktopMenu():this.selectedFacetsManager.render()}
2740
2741
  </div>
2741
- `}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?Fe.nothing:Fe.html`
2742
+ `}renderSearchBarLeftAction(){return this.searchBar.hasFacets()?this.searchBar.forceMenuOpen?Me.nothing:Me.html`
2742
2743
  <ft-button class="ft-search-bar--filters-opener ft-search-bar--left-action"
2743
2744
  part="filters-opener"
2744
2745
  trailingIcon
@@ -2749,23 +2750,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2749
2750
  aria-expanded="${this.searchBar.displayFacets}">
2750
2751
  ${this.searchBar.labelResolver.resolve("filtersButton")}
2751
2752
  </ft-button>
2752
- `:this.searchBar.hasLocaleSelector()?Fe.html`
2753
+ `:this.searchBar.hasLocaleSelector()?Me.html`
2753
2754
  <ft-select outlined
2754
2755
  class="ft-search-bar--content-locale ft-search-bar--left-action"
2755
2756
  part="content-locale select-ft-locale"
2756
2757
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
2757
2758
  @change=${e=>this.searchBar.contentLocale=e.detail==null?void 0:e.detail}>
2758
- ${(0,uc.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>Fe.html`
2759
+ ${(0,vs.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>Me.html`
2759
2760
  <ft-select-option .value=${e.lang}
2760
2761
  label="${e.label}"
2761
2762
  ?selected=${e.lang===this.searchBar.contentLocale}>
2762
2763
  </ft-select-option>
2763
2764
  `)}
2764
2765
  </ft-select>
2765
- `:Fe.nothing}renderDesktopSearchBarButtons(){return Fe.html`
2766
+ `:Me.nothing}renderDesktopSearchBarButtons(){return Me.html`
2766
2767
  <div class="ft-search-bar--actions"
2767
2768
  part="search-bar-actions">
2768
- ${this.searchBar.query?Fe.html`
2769
+ ${this.searchBar.query?Me.html`
2769
2770
  <ft-button class="ft-search-bar--clear-query"
2770
2771
  part="clear-query"
2771
2772
  icon="close"
@@ -2783,79 +2784,79 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2783
2784
  @click=${()=>this.searchBar.launchSearch()}
2784
2785
  ></ft-button>
2785
2786
  </div>
2786
- `}onSearchBarKeyDown(e){var o;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(o=this.searchBar.input)===null||o===void 0||o.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};xr.styles=Fe.css`
2787
+ `}onSearchBarKeyDown(e){var o;switch(e.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(o=this.searchBar.input)===null||o===void 0||o.blur();break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(e){e.key==="Enter"&&this.searchBar.launchSearch()}onInput(e){let o=e.composedPath()[0];this.searchBar.query=o.value}};Er.styles=Me.css`
2787
2788
 
2788
- `;var cp=u(O());var vc=u($()),nt=u(Z()),ht=u(O());var mc=u($());var yc=mc.css`
2789
- `;var oi=u(O()),Hp="ft-app-info",ln=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Vp={session:(t,e)=>{(0,oi.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new ln(e.payload)),0))}},D=oi.FtReduxStore.get({name:Hp,reducers:Vp,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 Xt=u(O());var sn=u(O());var Co=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:i}=D.getState(),n=e??i;if(o&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,n,!0)}static await(e){return new Promise(o=>{let i=t.get(e);if(i)o(i);else{let n=D.subscribe(()=>{i=t.get(e),i&&(n(),o(i))})}})}};var Yt=class{constructor(e=!0,o){var i;this.overrideApi=o;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new sn.CacheRegistry,this.cache=e?n.commonCache:new sn.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Co.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Co.await()}clearCache(){this.cache.clearAll()}};var gc,jp=Symbol("clearAfterUnitTest"),ri=class extends Yt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[gc]=()=>{this.defaultMessages={},this.cache=new Xt.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var i;if(e=e.toLowerCase(),Object.keys(o).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...o};(0,Xt.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,o,...i){var n,a,l;e=e.toLowerCase(),this.fetchContext(e);let s=(a=(n=this.cache.getNow(e))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new Xt.ParametrizedLabelResolver((l=this.defaultMessages[e])!==null&&l!==void 0?l:{},s).resolve(o,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(o),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(o)}}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(o=>(0,Xt.delay)(0).then(()=>o()).catch(()=>null)))}};gc=jp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ri{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ri{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var bc=window.FluidTopicsI18nService,Fx=window.FluidTopicsCustomI18nService;var Le=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},de=class extends ht.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=()=>Co.get(),this.messageContexts=[],this.cache=new ht.CacheRegistry,this.cleanSessionDebouncer=new ht.Debouncer}render(){return vc.html`
2789
+ `;var mp=m(E());var Ns=m(I()),ct=m(X()),yt=m(E());var Os=m(I());var Cs=Os.css`
2790
+ `;var la=m(E()),Yp="ft-app-info",fn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Xp={session:(t,e)=>{(0,la.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new fn(e.payload)),0))}},D=la.FtReduxStore.get({name:Yp,reducers:Xp,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=m(E());var un=m(E());var Lo=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=D.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=D.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var to=class{constructor(e=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new un.CacheRegistry,this.cache=e?i.commonCache:new un.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Lo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Lo.await()}clearCache(){this.cache.clearAll()}};var ws,Jp=Symbol("clearAfterUnitTest"),ca=class extends to{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ws]=()=>{this.defaultMessages={},this.cache=new oo.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,oo.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,o,...n){var i,l,c;e=e.toLowerCase(),this.fetchContext(e);let s=(l=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&l!==void 0?l:{};return new oo.ParametrizedLabelResolver((c=this.defaultMessages[e])!==null&&c!==void 0?c:{},s).resolve(o,...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(o){console.error(o)}}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}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(o=>(0,oo.delay)(0).then(()=>o()).catch(()=>null)))}};ws=Jp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ca{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ca{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Es=window.FluidTopicsI18nService,xC=window.FluidTopicsCustomI18nService;var Be=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},he=class extends yt.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=()=>Lo.get(),this.messageContexts=[],this.cache=new yt.CacheRegistry,this.cleanSessionDebouncer=new yt.Debouncer}render(){return Ns.html`
2790
2791
  <slot></slot>
2791
- `}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>bc.addContext(o)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.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())}};de.elementDefinitions={};de.styles=yc;Le([(0,nt.property)()],de.prototype,"baseUrl",void 0);Le([(0,nt.property)()],de.prototype,"apiIntegrationIdentifier",void 0);Le([(0,nt.property)()],de.prototype,"uiLocale",void 0);Le([(0,ht.jsonProperty)(null)],de.prototype,"availableUiLocales",void 0);Le([(0,ht.jsonProperty)(null)],de.prototype,"metadataConfiguration",void 0);Le([(0,nt.property)({type:Boolean})],de.prototype,"editorMode",void 0);Le([(0,nt.property)({type:Boolean})],de.prototype,"noCustom",void 0);Le([(0,nt.property)({type:Boolean})],de.prototype,"openExternalDocumentInNewTab",void 0);Le([(0,nt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],de.prototype,"noCustomComponent",void 0);Le([(0,nt.property)({type:Boolean})],de.prototype,"withManualResources",void 0);Le([(0,nt.property)({type:Boolean})],de.prototype,"navigatorOnline",void 0);Le([(0,nt.property)({type:Boolean})],de.prototype,"forcedOffline",void 0);Le([(0,nt.property)({type:Object})],de.prototype,"apiProvider",void 0);Le([(0,ht.jsonProperty)([])],de.prototype,"messageContexts",void 0);Le([(0,ht.jsonProperty)(void 0)],de.prototype,"session",void 0);var Ld=u(Z());function Kp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,i,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(i=o;i--!==0;)if(!ii(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(!ii(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),o=n.length,o!==Object.keys(e).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!ii(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ii(t,e){try{return Kp(t,e)}catch{return!1}}function cn(t,e){return!ii(t,e)}var Gp=u(Z(),1);var ni=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(i=>i.type===e);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var Sr=u(Z(),1);var xc=u(Z(),1);function Sc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,xc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return o();try{return JSON.parse(i)}catch{return o()}},toAttribute:i=>JSON.stringify(i)},hasChanged:cn,...e??{}})}var ai=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of i)try{await l()}catch(s){n(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var wc=u($(),1);var li=window,Zp=li.ShadowRoot&&(li.ShadyCSS===void 0||li.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,t0=Symbol();var Oc=(t,e)=>{Zp?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let i=document.createElement("style"),n=li.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,t.appendChild(i)})};var si=class extends wc.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 o={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return Oc(i,e.elementStyles),i}};var ci=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Rc,Cc=Symbol("constructorPrototype"),Ec=Symbol("constructorName"),$c=Symbol("exportpartsDebouncer"),Jt=class extends si{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rc]=new ai(5),this[Ec]=this.constructor.name,this[Cc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ec]&&Object.setPrototypeOf(this,this[Cc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,i,n;if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.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,o,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[$c].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 o,i,n,a,l,s;let d=y=>y!=null&&y.trim().length>0,f=e.filter(d).map(y=>y.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(a=(n=y.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],g=(s=(l=y.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...b,...g).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(y=>f.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Rc=$c;ci([(0,Sr.property)()],Jt.prototype,"exportpartsPrefix",void 0);ci([Sc([])],Jt.prototype,"exportpartsPrefixes",void 0);ci([(0,Sr.property)()],Jt.prototype,"customStylesheet",void 0);ci([(0,Sr.state)()],Jt.prototype,"useAdoptedStyleSheets",void 0);function Or(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Nc,kc,Ac,pi=Symbol("internalReduxEventsUnsubscribers"),Qt=Symbol("internalStoresUnsubscribers"),Eo=Symbol("internalStores"),wr=class extends Jt{constructor(){super(...arguments),this[Nc]=new Map,this[kc]=new Map,this[Ac]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Eo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Eo].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Eo].get(e)}addStore(e,o){var i;o=(i=o??(Or(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Eo].delete(o)}setupStore(e,o){this[Eo].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Eo].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(e.store);n&&(e.store?this[Qt].has(e.store):this[Qt].size>0)&&(this[o]=e.selector(n.getState(),this))}})}subscribeToStore(e,o){var i;this[Qt].set(e,o.subscribe(()=>this.updateFromStores())),Or(o)&&o.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||o.name===n.store)){let l=s=>this[a](s);o.eventBus.addEventListener(n.eventName,l),this[pi].push(()=>o.eventBus.removeEventListener(n.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Qt].forEach((e,o)=>this.unsubscribeFromStore(o)),this[pi].forEach(e=>e()),this[pi]=[]}unsubscribeFromStore(e){this[Qt].has(e)&&this[Qt].get(e)(),this[Qt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Nc=Qt,kc=Eo,Ac=pi;wr.reduxProperties=new Map;wr.reduxReactiveProperties=new Set;wr.reduxEventListeners=new Map;function at(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zt(t){return!!t&&!!t[ie]}function mt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var i=Object.getPrototypeOf(o);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===od}(t)||Array.isArray(t)||!!t[Tc]||!!(!((e=t.constructor)===null||e===void 0)&&e[Tc])||bn(t)||vn(t))}function Ro(t,e,o){o===void 0&&(o=!1),qo(t)===0?(o?Object.keys:Zo)(t).forEach(function(i){o&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function qo(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:bn(t)?2:vn(t)?3:0}function Go(t,e){return qo(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function qp(t,e){return qo(t)===2?t.get(e):t[e]}function zc(t,e,o){var i=qo(t);i===2?t.set(e,o):i===3?t.add(o):t[e]=o}function Fc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function bn(t){return ed&&t instanceof Map}function vn(t){return td&&t instanceof Set}function eo(t){return t.o||t.t}function xn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Uc(t);delete e[ie];for(var o=Zo(e),i=0;i<o.length;i++){var n=o[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 Sn(t,e){return e===void 0&&(e=!1),On(t)||zt(t)||!mt(t)||(qo(t)>1&&(t.set=t.add=t.clear=t.delete=Yp),Object.freeze(t),e&&Ro(t,function(o,i){return Sn(i,!0)},!0)),t}function Yp(){at(2)}function On(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Rt(t){var e=gn[t];return e||at(18,t),e}function Xp(t,e){gn[t]||(gn[t]=e)}function hn(){return Er}function pn(t,e){e&&(Rt("Patches"),t.u=[],t.s=[],t.v=e)}function di(t){mn(t),t.p.forEach(Jp),t.p=null}function mn(t){t===Er&&(Er=t.l)}function Lc(t){return Er={p:[],l:Er,h:t,m:!0,_:0}}function Jp(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function dn(t,e){e._=e.p.length;var o=e.p[0],i=t!==void 0&&t!==o;return e.h.O||Rt("ES5").S(e,t,i),i?(o[ie].P&&(di(e),at(4)),mt(t)&&(t=fi(e,t),e.l||ui(e,t)),e.u&&Rt("Patches").M(o[ie].t,t,e.u,e.s)):t=fi(e,o,[]),di(e),e.u&&e.v(e.u,e.s),t!==Wc?t:void 0}function fi(t,e,o){if(On(e))return e;var i=e[ie];if(!i)return Ro(e,function(s,d){return Pc(t,i,e,s,d,o)},!0),e;if(i.A!==t)return e;if(!i.P)return ui(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=xn(i.k):i.o,a=n,l=!1;i.i===3&&(a=new Set(n),n.clear(),l=!0),Ro(a,function(s,d){return Pc(t,i,n,s,d,o,l)}),ui(t,n,!1),o&&t.u&&Rt("Patches").N(i,o,t.u,t.s)}return i.o}function Pc(t,e,o,i,n,a,l){if(zt(n)){var s=fi(t,n,a&&e&&e.i!==3&&!Go(e.R,i)?a.concat(i):void 0);if(zc(o,i,s),!zt(s))return;t.m=!1}else l&&o.add(n);if(mt(n)&&!On(n)){if(!t.h.D&&t._<1)return;fi(t,n),e&&e.A.l||ui(t,n)}}function ui(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Sn(e,o)}function fn(t,e){var o=t[ie];return(o?eo(o):t)[e]}function Ic(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function to(t){t.P||(t.P=!0,t.l&&to(t.l))}function un(t){t.o||(t.o=xn(t.t))}function yn(t,e,o){var i=bn(e)?Rt("MapSet").F(e,o):vn(e)?Rt("MapSet").T(e,o):t.O?function(n,a){var l=Array.isArray(n),s={i:l?1:0,A:a?a.A:hn(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=s,f=Rr;l&&(d=[s],f=Cr);var h=Proxy.revocable(d,f),m=h.revoke,y=h.proxy;return s.k=y,s.j=m,y}(e,o):Rt("ES5").J(e,o);return(o?o.A:hn()).p.push(i),i}function Qp(t){return zt(t)||at(22,t),function e(o){if(!mt(o))return o;var i,n=o[ie],a=qo(o);if(n){if(!n.P&&(n.i<4||!Rt("ES5").K(n)))return n.t;n.I=!0,i=Bc(o,a),n.I=!1}else i=Bc(o,a);return Ro(i,function(l,s){n&&qp(n.t,l)===s||zc(i,l,e(s))}),a===3?new Set(i):i}(t)}function Bc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return xn(t)}function Mc(){function t(l,s){var d=a[l];return d?d.enumerable=s:a[l]=d={configurable:!0,enumerable:s,get:function(){var f=this[ie];return Rr.get(f,l)},set:function(f){var h=this[ie];Rr.set(h,l,f)}},d}function e(l){for(var s=l.length-1;s>=0;s--){var d=l[s][ie];if(!d.P)switch(d.i){case 5:i(d)&&to(d);break;case 4:o(d)&&to(d)}}}function o(l){for(var s=l.t,d=l.k,f=Zo(d),h=f.length-1;h>=0;h--){var m=f[h];if(m!==ie){var y=s[m];if(y===void 0&&!Go(s,m))return!0;var b=d[m],g=b&&b[ie];if(g?g.t!==y:!Fc(b,y))return!0}}var v=!!s[ie];return f.length!==Zo(s).length+(v?0:1)}function i(l){var s=l.k;if(s.length!==l.t.length)return!0;var d=Object.getOwnPropertyDescriptor(s,s.length-1);if(d&&!d.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function n(l){l.g&&at(3,JSON.stringify(eo(l)))}var a={};Xp("ES5",{J:function(l,s){var d=Array.isArray(l),f=function(m,y){if(m){for(var b=Array(y.length),g=0;g<y.length;g++)Object.defineProperty(b,""+g,t(g,!0));return b}var v=Uc(y);delete v[ie];for(var N=Zo(v),E=0;E<N.length;E++){var R=N[E];v[R]=t(R,m||!!v[R].enumerable)}return Object.create(Object.getPrototypeOf(y),v)}(d,l),h={i:d?5:4,A:s?s.A:hn(),P:!1,I:!1,R:{},l:s,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ie,{value:h,writable:!0}),f},S:function(l,s,d){d?zt(s)&&s[ie].A===l&&e(l.p):(l.u&&function f(h){if(h&&typeof h=="object"){var m=h[ie];if(m){var y=m.t,b=m.k,g=m.R,v=m.i;if(v===4)Ro(b,function(H){H!==ie&&(y[H]!==void 0||Go(y,H)?g[H]||f(b[H]):(g[H]=!0,to(m)))}),Ro(y,function(H){b[H]!==void 0||Go(b,H)||(g[H]=!1,to(m))});else if(v===5){if(i(m)&&(to(m),g.length=!0),b.length<y.length)for(var N=b.length;N<y.length;N++)g[N]=!1;else for(var E=y.length;E<b.length;E++)g[E]=!0;for(var R=Math.min(b.length,y.length),P=0;P<R;P++)b.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&f(b[P])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?o(l):i(l)}})}var Dc,Er,wn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ed=typeof Map<"u",td=typeof Set<"u",_c=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Wc=wn?Symbol.for("immer-nothing"):((Dc={})["immer-nothing"]=!0,Dc),Tc=wn?Symbol.for("immer-draftable"):"__$immer_draftable",ie=wn?Symbol.for("immer-state"):"__$immer_state";var od=""+Object.prototype.constructor,Zo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Uc=Object.getOwnPropertyDescriptors||function(t){var e={};return Zo(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},gn={},Rr={get:function(t,e){if(e===ie)return t;var o=eo(t);if(!Go(o,e))return function(n,a,l){var s,d=Ic(a,l);return d?"value"in d?d.value:(s=d.get)===null||s===void 0?void 0:s.call(n.k):void 0}(t,o,e);var i=o[e];return t.I||!mt(i)?i:i===fn(t.t,e)?(un(t),t.o[e]=yn(t.A.h,i,t)):i},has:function(t,e){return e in eo(t)},ownKeys:function(t){return Reflect.ownKeys(eo(t))},set:function(t,e,o){var i=Ic(eo(t),e);if(i?.set)return i.set.call(t.k,o),!0;if(!t.P){var n=fn(eo(t),e),a=n?.[ie];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Fc(o,n)&&(o!==void 0||Go(t.t,e)))return!0;un(t),to(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return fn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,un(t),to(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=eo(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:o[e]}},defineProperty:function(){at(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){at(12)}},Cr={};Ro(Rr,function(t,e){Cr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Cr.deleteProperty=function(t,e){return Cr.set.call(this,t,e,void 0)},Cr.set=function(t,e,o){return Rr.set.call(this,t[0],e,o,t[0])};var rd=function(){function t(o){var i=this;this.O=_c,this.D=!0,this.produce=function(n,a,l){if(typeof n=="function"&&typeof a!="function"){var s=a;a=n;var d=i;return function(v){var N=this;v===void 0&&(v=s);for(var E=arguments.length,R=Array(E>1?E-1:0),P=1;P<E;P++)R[P-1]=arguments[P];return d.produce(v,function(H){var J;return(J=a).call.apply(J,[N,H].concat(R))})}}var f;if(typeof a!="function"&&at(6),l!==void 0&&typeof l!="function"&&at(7),mt(n)){var h=Lc(i),m=yn(i,n,void 0),y=!0;try{f=a(m),y=!1}finally{y?di(h):mn(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return pn(h,l),dn(v,h)},function(v){throw di(h),v}):(pn(h,l),dn(f,h))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Wc&&(f=void 0),i.D&&Sn(f,!0),l){var b=[],g=[];Rt("Patches").M(n,f,b,g),l(b,g)}return f}at(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var h=arguments.length,m=Array(h>1?h-1:0),y=1;y<h;y++)m[y-1]=arguments[y];return i.produceWithPatches(f,function(b){return n.apply(void 0,[b].concat(m))})};var l,s,d=i.produce(n,a,function(f,h){l=f,s=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,l,s]}):[d,l,s]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){mt(o)||at(8),zt(o)&&(o=Qp(o));var i=Lc(this),n=yn(this,o,void 0);return n[ie].C=!0,mn(i),n},e.finishDraft=function(o,i){var n=o&&o[ie],a=n.A;return pn(a,i),dn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!_c&&at(20),this.O=o},e.applyPatches=function(o,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}n>-1&&(i=i.slice(n+1));var l=Rt("Patches").$;return zt(o)?l(o,i):this.produce(o,function(s){return l(s,i)})},t}(),Je=new rd,id=Je.produce,u0=Je.produceWithPatches.bind(Je),h0=Je.setAutoFreeze.bind(Je),m0=Je.setUseProxies.bind(Je),y0=Je.applyPatches.bind(Je),g0=Je.createDraft.bind(Je),b0=Je.finishDraft.bind(Je),hi=id;function oo(t){"@babel/helpers - typeof";return oo=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},oo(t)}function Cn(t,e){if(oo(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var i=o.call(t,e||"default");if(oo(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function En(t){var e=Cn(t,"string");return oo(e)==="symbol"?e:String(e)}function Rn(t,e,o){return e=En(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Hc(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function mi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Hc(Object(o),!0).forEach(function(i){Rn(t,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Hc(Object(o)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(o,i))})}return t}function Ce(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 Vc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),$n=function(){return Math.random().toString(36).substring(7).split("").join(".")},yi={INIT:"@@redux/INIT"+$n(),REPLACE:"@@redux/REPLACE"+$n(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$n()}};function nd(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 Nn(t,e,o){var i;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Ce(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Ce(1));return o(Nn)(t,e)}if(typeof t!="function")throw new Error(Ce(2));var n=t,a=e,l=[],s=l,d=!1;function f(){s===l&&(s=l.slice())}function h(){if(d)throw new Error(Ce(3));return a}function m(v){if(typeof v!="function")throw new Error(Ce(4));if(d)throw new Error(Ce(5));var N=!0;return f(),s.push(v),function(){if(N){if(d)throw new Error(Ce(6));N=!1,f();var R=s.indexOf(v);s.splice(R,1),l=null}}}function y(v){if(!nd(v))throw new Error(Ce(7));if(typeof v.type>"u")throw new Error(Ce(8));if(d)throw new Error(Ce(9));try{d=!0,a=n(a,v)}finally{d=!1}for(var N=l=s,E=0;E<N.length;E++){var R=N[E];R()}return v}function b(v){if(typeof v!="function")throw new Error(Ce(10));n=v,y({type:yi.REPLACE})}function g(){var v,N=m;return v={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(Ce(11));function P(){R.next&&R.next(h())}P();var H=N(P);return{unsubscribe:H}}},v[Vc]=function(){return this},v}return y({type:yi.INIT}),i={dispatch:y,subscribe:m,getState:h,replaceReducer:b},i[Vc]=g,i}function ad(t){Object.keys(t).forEach(function(e){var o=t[e],i=o(void 0,{type:yi.INIT});if(typeof i>"u")throw new Error(Ce(12));if(typeof o(void 0,{type:yi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ce(13))})}function jc(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(o[n]=t[n])}var a=Object.keys(o),l,s;try{ad(o)}catch(d){s=d}return function(f,h){if(f===void 0&&(f={}),s)throw s;if(0)var m;for(var y=!1,b={},g=0;g<a.length;g++){var v=a[g],N=o[v],E=f[v],R=N(E,h);if(typeof R>"u"){var P=h&&h.type;throw new Error(Ce(14))}b[v]=R,y=y||R!==E}return y=y||a.length!==Object.keys(f).length,y?b:f}}function Yo(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];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 Kc(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Ce(15))},l={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(d){return d(l)});return a=Yo.apply(void 0,s)(n.dispatch),mi(mi({},n),{},{dispatch:a})}}}function Gc(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(l){return function(s){return typeof s=="function"?s(n,a,t):l(s)}}};return e}var Zc=Gc();Zc.withExtraArgument=Gc;var kn=Zc;var Qc=function(){var t=function(e,o){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,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function i(){this.constructor=e}e.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),ld=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(f){return function(h){return d([f,h])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:f[1],done:!1};case 5:o.label++,n=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(h){f=[6,h],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Xo=function(t,e){for(var o=0,i=e.length,n=t.length;o<i;o++,n++)t[n]=e[o];return t},sd=Object.defineProperty,cd=Object.defineProperties,pd=Object.getOwnPropertyDescriptors,qc=Object.getOwnPropertySymbols,dd=Object.prototype.hasOwnProperty,fd=Object.prototype.propertyIsEnumerable,Yc=function(t,e,o){return e in t?sd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},ro=function(t,e){for(var o in e||(e={}))dd.call(e,o)&&Yc(t,o,e[o]);if(qc)for(var i=0,n=qc(e);i<n.length;i++){var o=n[i];fd.call(e,o)&&Yc(t,o,e[o])}return t},An=function(t,e){return cd(t,pd(e))},ud=function(t,e,o){return new Promise(function(i,n){var a=function(d){try{s(o.next(d))}catch(f){n(f)}},l=function(d){try{s(o.throw(d))}catch(f){n(f)}},s=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,l)};s((o=o.apply(t,e)).next())})};var hd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Yo:Yo.apply(null,arguments)},_0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function md(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var yd=function(t){Qc(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||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 o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Xo([void 0],o[0].concat(this)))):new(e.bind.apply(e,Xo([void 0],o.concat(this))))},e}(Array),gd=function(t){Qc(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||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 o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Xo([void 0],o[0].concat(this)))):new(e.bind.apply(e,Xo([void 0],o.concat(this))))},e}(Array);function In(t){return mt(t)?hi(t,function(){}):t}function bd(t){return typeof t=="boolean"}function vd(){return function(e){return xd(e)}}function xd(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,l=a===void 0?!0:a,s=new yd;if(o&&(bd(o)?s.push(kn):s.push(kn.withExtraArgument(o.extraArgument))),0){if(n)var d;if(l)var f}return s}var Ln=!0;function ep(t){var e=vd(),o=t||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,l=a===void 0?e():a,s=o.devTools,d=s===void 0?!0:s,f=o.preloadedState,h=f===void 0?void 0:f,m=o.enhancers,y=m===void 0?void 0:m,b;if(typeof n=="function")b=n;else if(md(n))b=jc(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),!Ln&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ln&&g.some(function(H){return typeof H!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Kc.apply(void 0,g),N=Yo;d&&(N=hd(ro({trace:!Ln},typeof d=="object"&&d)));var E=new gd(v),R=E;Array.isArray(y)?R=Xo([v],y):typeof y=="function"&&(R=y(E));var P=N.apply(void 0,R);return Nn(b,h,P)}function io(t,e){function o(){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 ro(ro({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(i){return i.type===t},o}function tp(t){var e={},o=[],i,n={addCase:function(a,l){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=l,n},addMatcher:function(a,l){return o.push({matcher:a,reducer:l}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,o,i]}function Sd(t){return typeof t=="function"}function Od(t,e,o,i){o===void 0&&(o=[]);var n=typeof e=="function"?tp(e):[e,o,i],a=n[0],l=n[1],s=n[2],d;if(Sd(t))d=function(){return In(t())};else{var f=In(t);d=function(){return f}}function h(m,y){m===void 0&&(m=d());var b=Xo([a[y.type]],l.filter(function(g){var v=g.matcher;return v(y)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[s]),b.reduce(function(g,v){if(v)if(zt(g)){var N=g,E=v(N,y);return E===void 0?g:E}else{if(mt(g))return hi(g,function(R){return v(R,y)});var E=v(g,y);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},m)}return h.getInitialState=d,h}function wd(t,e){return t+"/"+e}function op(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:In(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};n.forEach(function(h){var m=i[h],y=wd(e,h),b,g;"reducer"in m?(b=m.reducer,g=m.prepare):b=m,a[h]=b,l[y]=b,s[h]=g?io(y,g):io(y)});function d(){var h=typeof t.extraReducers=="function"?tp(t.extraReducers):[t.extraReducers],m=h[0],y=m===void 0?{}:m,b=h[1],g=b===void 0?[]:b,v=h[2],N=v===void 0?void 0:v,E=ro(ro({},y),l);return Od(o,function(R){for(var P in E)R.addCase(P,E[P]);for(var H=0,J=g;H<J.length;H++){var Qe=J[H];R.addMatcher(Qe.matcher,Qe.reducer)}N&&R.addDefaultCase(N)})}var f;return{name:e,reducer:function(h,m){return f||(f=d()),f(h,m)},actions:s,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Cd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ed=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Cd[Math.random()*64|0];return e},Rd=["name","message","stack","code"],Pn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Xc=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),$d=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,i=Rd;o<i.length;o++){var n=i[o];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},M0=function(){function t(e,o,i){var n=io(e+"/fulfilled",function(h,m,y,b){return{payload:h,meta:An(ro({},b||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=io(e+"/pending",function(h,m,y){return{payload:void 0,meta:An(ro({},y||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),l=io(e+"/rejected",function(h,m,y,b,g){return{payload:b,error:(i&&i.serializeError||$d)(h||"Rejected"),meta:An(ro({},g||{}),{arg:y,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(m,y,b){var g=i?.idGenerator?i.idGenerator(h):Ed(),v=new d,N,E=!1;function R(H){N=H,v.abort()}var P=function(){return ud(this,null,function(){var H,J,Qe,Ft,Si,Mt,Me;return ld(this,function(et){switch(et.label){case 0:return et.trys.push([0,4,,5]),Ft=(H=i?.condition)==null?void 0:H.call(i,h,{getState:y,extra:b}),kd(Ft)?[4,Ft]:[3,2];case 1:Ft=et.sent(),et.label=2;case 2:if(Ft===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Si=new Promise(function(We,no){return v.signal.addEventListener("abort",function(){return no({name:"AbortError",message:N||"Aborted"})})}),m(a(g,h,(J=i?.getPendingMeta)==null?void 0:J.call(i,{requestId:g,arg:h},{getState:y,extra:b}))),[4,Promise.race([Si,Promise.resolve(o(h,{dispatch:m,getState:y,extra:b,requestId:g,signal:v.signal,abort:R,rejectWithValue:function(We,no){return new Pn(We,no)},fulfillWithValue:function(We,no){return new Xc(We,no)}})).then(function(We){if(We instanceof Pn)throw We;return We instanceof Xc?n(We.payload,g,h,We.meta):n(We,g,h)})])];case 3:return Qe=et.sent(),[3,5];case 4:return Mt=et.sent(),Qe=Mt instanceof Pn?l(null,g,h,Mt.payload,Mt.meta):l(Mt,g,h),[3,5];case 5:return Me=i&&!i.dispatchConditionRejection&&l.match(Qe)&&Qe.meta.condition,Me||m(Qe),[2,Qe]}})})}();return Object.assign(P,{abort:R,requestId:g,arg:h,unwrap:function(){return P.then(Nd)}})}}return Object.assign(f,{pending:a,rejected:l,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Nd(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function kd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var rp="listener",ip="completed",np="cancelled",W0="task-"+np,U0="task-"+ip,H0=rp+"-"+np,V0=rp+"-"+ip;var Bn="listenerMiddleware";var j0=io(Bn+"/add"),K0=io(Bn+"/removeAll"),G0=io(Bn+"/remove");var Jc,Z0=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Jc||(Jc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ad=function(t){return function(e){setTimeout(e,t)}},q0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ad(10);Mc();window.ftReduxStores||(window.ftReduxStores={});var ap=class t{static get(e){var o;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Or(a))return a;if(n==null)return;let l=op({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),s=ep({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:l.reducer(d,f)});return window.ftReduxStores[n.name]=new t(l,s)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ni,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let l=n,s=i[l];return s?(...d)=>{let f=s(...d);return this.reduxStore.dispatch(f),f}:d=>{this.setState({[l]:d})}}})}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 xi=u(O());var gi=class extends Yt{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var bi=class extends Yt{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Pd="ft-user-assets",vi=xi.FtReduxStore.get({name:Pd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Dn=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new bi,this.savedSearchesService=new gi,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,xi.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),vi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),vi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();vi.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 o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;vi.actions.bookmarks(o)}}},CS=new Dn;var _n=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new _n;var lp=u(O()),Tn=class{highlightHtml(e,o){(0,lp.highlightHtml)(e,o)}};window.FluidTopicsHighlightHtmlService=new Tn;var sp=u(O());var zn=class{isDate(e){var o,i,n,a;return(a=(n=((i=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(s=>s.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,o){var i,n,a;return sp.DateFormatter.format(e,(i=o?.locale)!==null&&i!==void 0?i:D.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new zn;(0,cp.customElement)("ft-app-context")(de);var U=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(a=(n<3?l(a):n>3?l(e,o,a):l(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,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 pp={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",back:"Back"},Fn=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Mn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Id=()=>{},L=class extends ae.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 ae.ParametrizedLabelResolver(pp,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>(0,ae.serializeRequest)(this.baseUrl,e),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=tt.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 wt(this),this.selectedFacetsManager=new Ct(this),this.desktopSearchBarManager=new xr(this),this.mobileSearchBarManager=new vr(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ae.Debouncer(10),this.updateLocalesDebouncer=new ae.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(o=>o.contentLocales).catch(()=>[]).then(o=>{this.availableContentLocales=o,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 ae.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(o=>o===this.floatingContainer))},this.compareFilters=(e,o)=>e.key===o.key&&e.negative==o.negative&&e.values.length===o.values.length&&e.values.every(i=>o.values.includes(i)),this.compareRequests=(e,o)=>(e.contentLocale==null||o.contentLocale==null||e.contentLocale===o.contentLocale)&&e.filters.length===o.filters.length&&e.filters.every(i=>o.filters.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,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.searchFilters.filter(o=>o.values.length>0&&!this.displayedFilters.includes(o.key)).map(o=>({id:o.key}));return[...this.displayedFilters.map(o=>({id:o})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===tt.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,ae.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return G.html`
2792
+ `}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Es.addContext(o)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.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())}};he.elementDefinitions={};he.styles=Cs;Be([(0,ct.property)()],he.prototype,"baseUrl",void 0);Be([(0,ct.property)()],he.prototype,"apiIntegrationIdentifier",void 0);Be([(0,ct.property)()],he.prototype,"uiLocale",void 0);Be([(0,yt.jsonProperty)(null)],he.prototype,"availableUiLocales",void 0);Be([(0,yt.jsonProperty)(null)],he.prototype,"metadataConfiguration",void 0);Be([(0,ct.property)({type:Boolean})],he.prototype,"editorMode",void 0);Be([(0,ct.property)({type:Boolean})],he.prototype,"noCustom",void 0);Be([(0,ct.property)({type:Boolean})],he.prototype,"openExternalDocumentInNewTab",void 0);Be([(0,ct.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],he.prototype,"noCustomComponent",void 0);Be([(0,ct.property)({type:Boolean})],he.prototype,"withManualResources",void 0);Be([(0,ct.property)({type:Boolean})],he.prototype,"navigatorOnline",void 0);Be([(0,ct.property)({type:Boolean})],he.prototype,"forcedOffline",void 0);Be([(0,ct.property)({type:Object})],he.prototype,"apiProvider",void 0);Be([(0,yt.jsonProperty)([])],he.prototype,"messageContexts",void 0);Be([(0,yt.jsonProperty)(void 0)],he.prototype,"session",void 0);var Dd=m(X());function Qp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!sa(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(!sa(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),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var l=i[n];if(!sa(t[l],e[l]))return!1}return!0}return t!==t&&e!==e}function sa(t,e){try{return Qp(t,e)}catch{return!1}}function hn(t,e){return!sa(t,e)}var ed=m(X(),1);var pa=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};var Nr=m(X(),1);var Rs=m(X(),1);function ks(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Rs.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:hn,...e??{}})}var da=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,l=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);return}l(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Is=m(I(),1);var fa=window,td=fa.ShadowRoot&&(fa.ShadyCSS===void 0||fa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zC=Symbol();var Ls=(t,e)=>{td?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=fa.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)})};var ua=class extends Is.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,l])=>e.registry.define(i,l)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ls(n,e.elementStyles),n}};var ha=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l},Ps,As=Symbol("constructorPrototype"),$s=Symbol("constructorName"),Bs=Symbol("exportpartsDebouncer"),ro=class extends ua{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ps]=new da(5),this[$s]=this.constructor.name,this[As]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$s]&&Object.setPrototypeOf(this,this[As])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(l=>l.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(l){console.error(l,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let l=document.createElement("style");l.classList.add("ft-lit-element--custom-stylesheet"),l.innerHTML=this.customStylesheet,this.shadowRoot.append(l)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Bs].run(()=>{var i,l;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((l=this.exportpartsPrefixes)===null||l===void 0?void 0:l.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,l,c,s;let h=x=>x!=null&&x.trim().length>0,g=e.filter(h).map(x=>x.trim());if(g.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let x of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(l=(i=x.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&l!==void 0?l:[],v=(s=(c=x.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(O=>O.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...S,...v).filter(h).map(O=>O.trim()).forEach(O=>y.add(O))}if(y.size===0){this.removeAttribute("exportparts");return}let b=[...y.values()].flatMap(x=>g.map(S=>`${x}:${S}--${x}`));this.setAttribute("exportparts",[...this.part,...b].join(", "))}};Ps=Bs;ha([(0,Nr.property)()],ro.prototype,"exportpartsPrefix",void 0);ha([ks([])],ro.prototype,"exportpartsPrefixes",void 0);ha([(0,Nr.property)()],ro.prototype,"customStylesheet",void 0);ha([(0,Nr.state)()],ro.prototype,"useAdoptedStyleSheets",void 0);function Rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var zs,Ws,Fs,ga=Symbol("internalReduxEventsUnsubscribers"),ao=Symbol("internalStoresUnsubscribers"),Io=Symbol("internalStores"),kr=class extends ro{constructor(){super(...arguments),this[zs]=new Map,this[Ws]=new Map,this[Fs]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Io].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Io].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Io].get(e)}addStore(e,o){var n;o=(n=o??(Rr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Io].delete(o)}setupStore(e,o){this[Io].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Io].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[ao].has(e.store):this[ao].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[ao].set(e,o.subscribe(()=>this.updateFromStores())),Rr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,l)=>{if(typeof this[l]=="function"&&(!i.store||o.name===i.store)){let c=s=>this[l](s);o.eventBus.addEventListener(i.eventName,c),this[ga].push(()=>o.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ao].forEach((e,o)=>this.unsubscribeFromStore(o)),this[ga].forEach(e=>e()),this[ga]=[]}unsubscribeFromStore(e){this[ao].has(e)&&this[ao].get(e)(),this[ao].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};zs=ao,Ws=Io,Fs=ga;kr.reduxProperties=new Map;kr.reduxReactiveProperties=new Set;kr.reduxEventListeners=new Map;function st(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,l;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Mt(t){return!!t&&!!t[le]}function bt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===sd}(t)||Array.isArray(t)||!!t[Zs]||!!(!((e=t.constructor)===null||e===void 0)&&e[Zs])||Cn(t)||wn(t))}function Ao(t,e,o){o===void 0&&(o=!1),er(t)===0?(o?Object.keys:Qo)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function er(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Cn(t)?2:wn(t)?3:0}function Jo(t,e){return er(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function od(t,e){return er(t)===2?t.get(e):t[e]}function Gs(t,e,o){var n=er(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Ks(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Cn(t){return ld&&t instanceof Map}function wn(t){return cd&&t instanceof Set}function no(t){return t.o||t.t}function En(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=qs(t);delete e[le];for(var o=Qo(e),n=0;n<o.length;n++){var i=o[n],l=e[i];l.writable===!1&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(e[i]={configurable:!0,writable:!0,enumerable:l.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Nn(t,e){return e===void 0&&(e=!1),Rn(t)||Mt(t)||!bt(t)||(er(t)>1&&(t.set=t.add=t.clear=t.delete=rd),Object.freeze(t),e&&Ao(t,function(o,n){return Nn(n,!0)},!0)),t}function rd(){st(2)}function Rn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Lt(t){var e=On[t];return e||st(18,t),e}function ad(t,e){On[t]||(On[t]=e)}function xn(){return Ir}function gn(t,e){e&&(Lt("Patches"),t.u=[],t.s=[],t.v=e)}function ma(t){vn(t),t.p.forEach(nd),t.p=null}function vn(t){t===Ir&&(Ir=t.l)}function Ds(t){return Ir={p:[],l:Ir,h:t,m:!0,_:0}}function nd(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function mn(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Lt("ES5").S(e,t,n),n?(o[le].P&&(ma(e),st(4)),bt(t)&&(t=ya(e,t),e.l||ba(e,t)),e.u&&Lt("Patches").M(o[le].t,t,e.u,e.s)):t=ya(e,o,[]),ma(e),e.u&&e.v(e.u,e.s),t!==js?t:void 0}function ya(t,e,o){if(Rn(e))return e;var n=e[le];if(!n)return Ao(e,function(s,h){return _s(t,n,e,s,h,o)},!0),e;if(n.A!==t)return e;if(!n.P)return ba(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=En(n.k):n.o,l=i,c=!1;n.i===3&&(l=new Set(i),i.clear(),c=!0),Ao(l,function(s,h){return _s(t,n,i,s,h,o,c)}),ba(t,i,!1),o&&t.u&&Lt("Patches").N(n,o,t.u,t.s)}return n.o}function _s(t,e,o,n,i,l,c){if(Mt(i)){var s=ya(t,i,l&&e&&e.i!==3&&!Jo(e.R,n)?l.concat(n):void 0);if(Gs(o,n,s),!Mt(s))return;t.m=!1}else c&&o.add(i);if(bt(i)&&!Rn(i)){if(!t.h.D&&t._<1)return;ya(t,i),e&&e.A.l||ba(t,i)}}function ba(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Nn(e,o)}function yn(t,e){var o=t[le];return(o?no(o):t)[e]}function Ts(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function io(t){t.P||(t.P=!0,t.l&&io(t.l))}function bn(t){t.o||(t.o=En(t.t))}function Sn(t,e,o){var n=Cn(e)?Lt("MapSet").F(e,o):wn(e)?Lt("MapSet").T(e,o):t.O?function(i,l){var c=Array.isArray(i),s={i:c?1:0,A:l?l.A:xn(),P:!1,I:!1,R:{},l,t:i,k:null,o:null,j:null,C:!1},h=s,g=Ar;c&&(h=[s],g=Lr);var y=Proxy.revocable(h,g),b=y.revoke,x=y.proxy;return s.k=x,s.j=b,x}(e,o):Lt("ES5").J(e,o);return(o?o.A:xn()).p.push(n),n}function id(t){return Mt(t)||st(22,t),function e(o){if(!bt(o))return o;var n,i=o[le],l=er(o);if(i){if(!i.P&&(i.i<4||!Lt("ES5").K(i)))return i.t;i.I=!0,n=Us(o,l),i.I=!1}else n=Us(o,l);return Ao(n,function(c,s){i&&od(i.t,c)===s||Gs(n,c,e(s))}),l===3?new Set(n):n}(t)}function Us(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return En(t)}function Vs(){function t(c,s){var h=l[c];return h?h.enumerable=s:l[c]=h={configurable:!0,enumerable:s,get:function(){var g=this[le];return Ar.get(g,c)},set:function(g){var y=this[le];Ar.set(y,c,g)}},h}function e(c){for(var s=c.length-1;s>=0;s--){var h=c[s][le];if(!h.P)switch(h.i){case 5:n(h)&&io(h);break;case 4:o(h)&&io(h)}}}function o(c){for(var s=c.t,h=c.k,g=Qo(h),y=g.length-1;y>=0;y--){var b=g[y];if(b!==le){var x=s[b];if(x===void 0&&!Jo(s,b))return!0;var S=h[b],v=S&&S[le];if(v?v.t!==x:!Ks(S,x))return!0}}var O=!!s[le];return g.length!==Qo(s).length+(O?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var h=Object.getOwnPropertyDescriptor(s,s.length-1);if(h&&!h.get)return!0;for(var g=0;g<s.length;g++)if(!s.hasOwnProperty(g))return!0;return!1}function i(c){c.g&&st(3,JSON.stringify(no(c)))}var l={};ad("ES5",{J:function(c,s){var h=Array.isArray(c),g=function(b,x){if(b){for(var S=Array(x.length),v=0;v<x.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var O=qs(x);delete O[le];for(var A=Qo(O),k=0;k<A.length;k++){var L=A[k];O[L]=t(L,b||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(x),O)}(h,c),y={i:h?5:4,A:s?s.A:xn(),P:!1,I:!1,R:{},l:s,t:c,k:g,o:null,g:!1,C:!1};return Object.defineProperty(g,le,{value:y,writable:!0}),g},S:function(c,s,h){h?Mt(s)&&s[le].A===c&&e(c.p):(c.u&&function g(y){if(y&&typeof y=="object"){var b=y[le];if(b){var x=b.t,S=b.k,v=b.R,O=b.i;if(O===4)Ao(S,function(K){K!==le&&(x[K]!==void 0||Jo(x,K)?v[K]||g(S[K]):(v[K]=!0,io(b)))}),Ao(x,function(K){S[K]!==void 0||Jo(S,K)||(v[K]=!1,io(b))});else if(O===5){if(n(b)&&(io(b),v.length=!0),S.length<x.length)for(var A=S.length;A<x.length;A++)v[A]=!1;else for(var k=x.length;k<S.length;k++)v[k]=!0;for(var L=Math.min(S.length,x.length),z=0;z<L;z++)S.hasOwnProperty(z)||(v[z]=!0),v[z]===void 0&&g(S[z])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Ms,Ir,kn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ld=typeof Map<"u",cd=typeof Set<"u",Hs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",js=kn?Symbol.for("immer-nothing"):((Ms={})["immer-nothing"]=!0,Ms),Zs=kn?Symbol.for("immer-draftable"):"__$immer_draftable",le=kn?Symbol.for("immer-state"):"__$immer_state";var sd=""+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,qs=Object.getOwnPropertyDescriptors||function(t){var e={};return Qo(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},On={},Ar={get:function(t,e){if(e===le)return t;var o=no(t);if(!Jo(o,e))return function(i,l,c){var s,h=Ts(l,c);return h?"value"in h?h.value:(s=h.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!bt(n)?n:n===yn(t.t,e)?(bn(t),t.o[e]=Sn(t.A.h,n,t)):n},has:function(t,e){return e in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,e,o){var n=Ts(no(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=yn(no(t),e),l=i?.[le];if(l&&l.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Ks(o,i)&&(o!==void 0||Jo(t.t,e)))return!0;bn(t),io(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return yn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,bn(t),io(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=no(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){st(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){st(12)}},Lr={};Ao(Ar,function(t,e){Lr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Lr.deleteProperty=function(t,e){return Lr.set.call(this,t,e,void 0)},Lr.set=function(t,e,o){return Ar.set.call(this,t[0],e,o,t[0])};var pd=function(){function t(o){var n=this;this.O=Hs,this.D=!0,this.produce=function(i,l,c){if(typeof i=="function"&&typeof l!="function"){var s=l;l=i;var h=n;return function(O){var A=this;O===void 0&&(O=s);for(var k=arguments.length,L=Array(k>1?k-1:0),z=1;z<k;z++)L[z-1]=arguments[z];return h.produce(O,function(K){var te;return(te=l).call.apply(te,[A,K].concat(L))})}}var g;if(typeof l!="function"&&st(6),c!==void 0&&typeof c!="function"&&st(7),bt(i)){var y=Ds(n),b=Sn(n,i,void 0),x=!0;try{g=l(b),x=!1}finally{x?ma(y):vn(y)}return typeof Promise<"u"&&g instanceof Promise?g.then(function(O){return gn(y,c),mn(O,y)},function(O){throw ma(y),O}):(gn(y,c),mn(g,y))}if(!i||typeof i!="object"){if((g=l(i))===void 0&&(g=i),g===js&&(g=void 0),n.D&&Nn(g,!0),c){var S=[],v=[];Lt("Patches").M(i,g,S,v),c(S,v)}return g}st(21,i)},this.produceWithPatches=function(i,l){if(typeof i=="function")return function(g){for(var y=arguments.length,b=Array(y>1?y-1:0),x=1;x<y;x++)b[x-1]=arguments[x];return n.produceWithPatches(g,function(S){return i.apply(void 0,[S].concat(b))})};var c,s,h=n.produce(i,l,function(g,y){c=g,s=y});return typeof Promise<"u"&&h instanceof Promise?h.then(function(g){return[g,c,s]}):[h,c,s]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){bt(o)||st(8),Mt(o)&&(o=id(o));var n=Ds(this),i=Sn(this,o,void 0);return i[le].C=!0,vn(n),i},e.finishDraft=function(o,n){var i=o&&o[le],l=i.A;return gn(l,n),mn(void 0,l)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Hs&&st(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var l=n[i];if(l.path.length===0&&l.op==="replace"){o=l.value;break}}i>-1&&(n=n.slice(i+1));var c=Lt("Patches").$;return Mt(o)?c(o,n):this.produce(o,function(s){return c(s,n)})},t}(),tt=new pd,dd=tt.produce,VC=tt.produceWithPatches.bind(tt),jC=tt.setAutoFreeze.bind(tt),qC=tt.setUseProxies.bind(tt),YC=tt.applyPatches.bind(tt),XC=tt.createDraft.bind(tt),JC=tt.finishDraft.bind(tt),xa=dd;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 Ln(t,e){if(lo(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.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 In(t){var e=Ln(t,"string");return lo(e)==="symbol"?e:String(e)}function An(t,e,o){return e=In(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Ys(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function va(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Ys(Object(o),!0).forEach(function(n){An(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ys(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Re(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 Xs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),$n=function(){return Math.random().toString(36).substring(7).split("").join(".")},Sa={INIT:"@@redux/INIT"+$n(),REPLACE:"@@redux/REPLACE"+$n(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$n()}};function fd(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 Pn(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Re(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Re(1));return o(Pn)(t,e)}if(typeof t!="function")throw new Error(Re(2));var i=t,l=e,c=[],s=c,h=!1;function g(){s===c&&(s=c.slice())}function y(){if(h)throw new Error(Re(3));return l}function b(O){if(typeof O!="function")throw new Error(Re(4));if(h)throw new Error(Re(5));var A=!0;return g(),s.push(O),function(){if(A){if(h)throw new Error(Re(6));A=!1,g();var L=s.indexOf(O);s.splice(L,1),c=null}}}function x(O){if(!fd(O))throw new Error(Re(7));if(typeof O.type>"u")throw new Error(Re(8));if(h)throw new Error(Re(9));try{h=!0,l=i(l,O)}finally{h=!1}for(var A=c=s,k=0;k<A.length;k++){var L=A[k];L()}return O}function S(O){if(typeof O!="function")throw new Error(Re(10));i=O,x({type:Sa.REPLACE})}function v(){var O,A=b;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Re(11));function z(){L.next&&L.next(y())}z();var K=A(z);return{unsubscribe:K}}},O[Xs]=function(){return this},O}return x({type:Sa.INIT}),n={dispatch:x,subscribe:b,getState:y,replaceReducer:S},n[Xs]=v,n}function ud(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Sa.INIT});if(typeof n>"u")throw new Error(Re(12));if(typeof o(void 0,{type:Sa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Re(13))})}function Js(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var l=Object.keys(o),c,s;try{ud(o)}catch(h){s=h}return function(g,y){if(g===void 0&&(g={}),s)throw s;if(0)var b;for(var x=!1,S={},v=0;v<l.length;v++){var O=l[v],A=o[O],k=g[O],L=A(k,y);if(typeof L>"u"){var z=y&&y.type;throw new Error(Re(14))}S[O]=L,x=x||L!==k}return x=x||l.length!==Object.keys(g).length,x?S:g}}function tr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];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 Qs(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),l=function(){throw new Error(Re(15))},c={getState:i.getState,dispatch:function(){return l.apply(void 0,arguments)}},s=e.map(function(h){return h(c)});return l=tr.apply(void 0,s)(i.dispatch),va(va({},i),{},{dispatch:l})}}}function ep(t){var e=function(n){var i=n.dispatch,l=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,l,t):c(s)}}};return e}var tp=ep();tp.withExtraArgument=ep;var Bn=tp;var ip=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(n[l]=i[l])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),hd=function(t,e){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},n,i,l,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(g){return function(y){return h([g,y])}}function h(g){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(l=g[0]&2?i.return:g[0]?i.throw||((l=i.return)&&l.call(i),0):i.next)&&!(l=l.call(i,g[1])).done)return l;switch(i=0,l&&(g=[g[0]&2,l.value]),g[0]){case 0:case 1:l=g;break;case 4:return o.label++,{value:g[1],done:!1};case 5:o.label++,i=g[1],g=[0];continue;case 7:g=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(g[0]===6||g[0]===2)){o=0;continue}if(g[0]===3&&(!l||g[1]>l[0]&&g[1]<l[3])){o.label=g[1];break}if(g[0]===6&&o.label<l[1]){o.label=l[1],l=g;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(g);break}l[2]&&o.ops.pop(),o.trys.pop();continue}g=e.call(t,o)}catch(y){g=[6,y],i=0}finally{n=l=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}},or=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},gd=Object.defineProperty,md=Object.defineProperties,yd=Object.getOwnPropertyDescriptors,op=Object.getOwnPropertySymbols,bd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,rp=function(t,e,o){return e in t?gd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},co=function(t,e){for(var o in e||(e={}))bd.call(e,o)&&rp(t,o,e[o]);if(op)for(var n=0,i=op(e);n<i.length;n++){var o=i[n];xd.call(e,o)&&rp(t,o,e[o])}return t},zn=function(t,e){return md(t,yd(e))},vd=function(t,e,o){return new Promise(function(n,i){var l=function(h){try{s(o.next(h))}catch(g){i(g)}},c=function(h){try{s(o.throw(h))}catch(g){i(g)}},s=function(h){return h.done?n(h.value):Promise.resolve(h.value).then(l,c)};s((o=o.apply(t,e)).next())})};var Sd=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)},mw=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Od(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Cd=function(t){ip(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,or([void 0],o[0].concat(this)))):new(e.bind.apply(e,or([void 0],o.concat(this))))},e}(Array),wd=function(t){ip(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,or([void 0],o[0].concat(this)))):new(e.bind.apply(e,or([void 0],o.concat(this))))},e}(Array);function Dn(t){return bt(t)?xa(t,function(){}):t}function Ed(t){return typeof t=="boolean"}function Nd(){return function(e){return Rd(e)}}function Rd(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,l=t.serializableCheck,c=l===void 0?!0:l,s=new Cd;if(o&&(Ed(o)?s.push(Bn):s.push(Bn.withExtraArgument(o.extraArgument))),0){if(i)var h;if(c)var g}return s}var Wn=!0;function lp(t){var e=Nd(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,l=o.middleware,c=l===void 0?e():l,s=o.devTools,h=s===void 0?!0:s,g=o.preloadedState,y=g===void 0?void 0:g,b=o.enhancers,x=b===void 0?void 0:b,S;if(typeof i=="function")S=i;else if(Od(i))S=Js(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 v=c;if(typeof v=="function"&&(v=v(e),!Wn&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Wn&&v.some(function(K){return typeof K!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Qs.apply(void 0,v),A=tr;h&&(A=Sd(co({trace:!Wn},typeof h=="object"&&h)));var k=new wd(O),L=k;Array.isArray(x)?L=or([O],x):typeof x=="function"&&(L=x(k));var z=A.apply(void 0,L);return Pn(S,y,z)}function so(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var l=e.apply(void 0,n);if(!l)throw new Error("prepareAction did not return an object");return co(co({type:t,payload:l.payload},"meta"in l&&{meta:l.meta}),"error"in l&&{error:l.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function cp(t){var e={},o=[],n,i={addCase:function(l,c){var s=typeof l=="string"?l:l.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=c,i},addMatcher:function(l,c){return o.push({matcher:l,reducer:c}),i},addDefaultCase:function(l){return n=l,i}};return t(i),[e,o,n]}function kd(t){return typeof t=="function"}function Ld(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?cp(e):[e,o,n],l=i[0],c=i[1],s=i[2],h;if(kd(t))h=function(){return Dn(t())};else{var g=Dn(t);h=function(){return g}}function y(b,x){b===void 0&&(b=h());var S=or([l[x.type]],c.filter(function(v){var O=v.matcher;return O(x)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[s]),S.reduce(function(v,O){if(O)if(Mt(v)){var A=v,k=O(A,x);return k===void 0?v:k}else{if(bt(v))return xa(v,function(L){return O(L,x)});var k=O(v,x);if(k===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return k}return v},b)}return y.getInitialState=h,y}function Id(t,e){return t+"/"+e}function sp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Dn(t.initialState),n=t.reducers||{},i=Object.keys(n),l={},c={},s={};i.forEach(function(y){var b=n[y],x=Id(e,y),S,v;"reducer"in b?(S=b.reducer,v=b.prepare):S=b,l[y]=S,c[x]=S,s[y]=v?so(x,v):so(x)});function h(){var y=typeof t.extraReducers=="function"?cp(t.extraReducers):[t.extraReducers],b=y[0],x=b===void 0?{}:b,S=y[1],v=S===void 0?[]:S,O=y[2],A=O===void 0?void 0:O,k=co(co({},x),c);return Ld(o,function(L){for(var z in k)L.addCase(z,k[z]);for(var K=0,te=v;K<te.length;K++){var ot=te[K];L.addMatcher(ot.matcher,ot.reducer)}A&&L.addDefaultCase(A)})}var g;return{name:e,reducer:function(y,b){return g||(g=h()),g(y,b)},actions:s,caseReducers:l,getInitialState:function(){return g||(g=h()),g.getInitialState()}}}var Ad="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",$d=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Ad[Math.random()*64|0];return e},Pd=["name","message","stack","code"],Fn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ap=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Bd=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Pd;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},vw=function(){function t(e,o,n){var i=so(e+"/fulfilled",function(y,b,x,S){return{payload:y,meta:zn(co({},S||{}),{arg:x,requestId:b,requestStatus:"fulfilled"})}}),l=so(e+"/pending",function(y,b,x){return{payload:void 0,meta:zn(co({},x||{}),{arg:b,requestId:y,requestStatus:"pending"})}}),c=so(e+"/rejected",function(y,b,x,S,v){return{payload:S,error:(n&&n.serializeError||Bd)(y||"Rejected"),meta:zn(co({},v||{}),{arg:x,requestId:b,rejectedWithValue:!!S,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),s=!1,h=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 g(y){return function(b,x,S){var v=n?.idGenerator?n.idGenerator(y):$d(),O=new h,A,k=!1;function L(K){A=K,O.abort()}var z=function(){return vd(this,null,function(){var K,te,ot,Ht,Na,Zt,He;return hd(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,4,,5]),Ht=(K=n?.condition)==null?void 0:K.call(n,y,{getState:x,extra:S}),Wd(Ht)?[4,Ht]:[3,2];case 1:Ht=rt.sent(),rt.label=2;case 2:if(Ht===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return k=!0,Na=new Promise(function(Ze,po){return O.signal.addEventListener("abort",function(){return po({name:"AbortError",message:A||"Aborted"})})}),b(l(v,y,(te=n?.getPendingMeta)==null?void 0:te.call(n,{requestId:v,arg:y},{getState:x,extra:S}))),[4,Promise.race([Na,Promise.resolve(o(y,{dispatch:b,getState:x,extra:S,requestId:v,signal:O.signal,abort:L,rejectWithValue:function(Ze,po){return new Fn(Ze,po)},fulfillWithValue:function(Ze,po){return new ap(Ze,po)}})).then(function(Ze){if(Ze instanceof Fn)throw Ze;return Ze instanceof ap?i(Ze.payload,v,y,Ze.meta):i(Ze,v,y)})])];case 3:return ot=rt.sent(),[3,5];case 4:return Zt=rt.sent(),ot=Zt instanceof Fn?c(null,v,y,Zt.payload,Zt.meta):c(Zt,v,y),[3,5];case 5:return He=n&&!n.dispatchConditionRejection&&c.match(ot)&&ot.meta.condition,He||b(ot),[2,ot]}})})}();return Object.assign(z,{abort:L,requestId:v,arg:y,unwrap:function(){return z.then(zd)}})}}return Object.assign(g,{pending:l,rejected:c,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function zd(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Wd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var pp="listener",dp="completed",fp="cancelled",Sw="task-"+fp,Ow="task-"+dp,Cw=pp+"-"+fp,ww=pp+"-"+dp;var _n="listenerMiddleware";var Ew=so(_n+"/add"),Nw=so(_n+"/removeAll"),Rw=so(_n+"/remove");var np,kw=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(np||(np=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Fd=function(t){return function(e){setTimeout(e,t)}},Lw=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Fd(10);Vs();window.ftReduxStores||(window.ftReduxStores={});var up=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,l=window.ftReduxStores[n];if(Rr(l))return l;if(i==null)return;let c=sp({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),s=lp({reducer:(h,g)=>g.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof g.type=="string"&&g.type.startsWith("DEFAULT_VALUE_SETTER__")?{...h,...g.overwrites}:c.reducer(h,g)});return window.ftReduxStores[i.name]=new t(c,s)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new pa,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,l)=>{let c=i,s=n[c];return s?(...h)=>{let g=s(...h);return this.reduxStore.dispatch(g),g}:h=>{this.setState({[c]:h})}}})}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 Ea=m(E());var Oa=class extends to{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ca=class extends to{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var _d="ft-user-assets",wa=Ea.FtReduxStore.get({name:_d,initialState:{savedSearches:void 0,bookmarks:void 0}}),Tn=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ca,this.savedSearchesService=new Oa,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,Ea.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),wa.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),wa.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();wa.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 o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;wa.actions.bookmarks(o)}}},a1=new Tn;var Un=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Un;var hp=m(E()),Mn=class{highlightHtml(e,o){(0,hp.highlightHtml)(e,o)}};window.FluidTopicsHighlightHtmlService=new Mn;var gp=m(E());var Hn=class{isDate(e){var o,n,i,l;return(l=(i=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===e))===null||i===void 0?void 0:i.date)!==null&&l!==void 0?l:!1}format(e,o){var n,i,l;return gp.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(l=o?.withTime)!==null&&l!==void 0?l:!1)}};window.FluidTopicsDateService=new Hn;(0,mp.customElement)("ft-app-context")(he);var G=function(t,e,o,n){var i=arguments.length,l=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(l=(i<3?c(l):i>3?c(e,o,l):c(e,o))||l);return i>3&&l&&Object.defineProperty(e,o,l),l};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 yp={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",back:"Back"},Zn=class extends CustomEvent{constructor(e){super("launch-search",{detail:e,bubbles:!0,composed:!0})}},Gn=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Td=()=>{},B=class extends se.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 se.ParametrizedLabelResolver(yp,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>(0,se.serializeRequest)(this.baseUrl,e),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=at.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 Nt(this),this.selectedFacetsManager=new Rt(this),this.desktopSearchBarManager=new Er(this),this.mobileSearchBarManager=new wr(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new se.Debouncer(10),this.updateLocalesDebouncer=new se.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(o=>o.contentLocales).catch(()=>[]).then(o=>{this.availableContentLocales=o,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 se.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(o=>o===this.floatingContainer))},this.compareFilters=(e,o)=>e.key===o.key&&e.negative==o.negative&&e.values.length===o.values.length&&e.values.every(n=>o.values.includes(n)),this.compareRequests=(e,o)=>(e.contentLocale==null||o.contentLocale==null||e.contentLocale===o.contentLocale)&&e.filters.length===o.filters.length&&e.filters.every(n=>o.filters.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,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.searchFilters.filter(o=>o.values.length>0&&!this.displayedFilters.includes(o.key)).map(o=>({id:o.key}));return[...this.displayedFilters.map(o=>({id:o})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===at.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,se.waitFor)(()=>this.input,50),this.input.focus(),e||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return Y.html`
2792
2793
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2793
2794
  ${this.renderSearchBar()}
2794
- `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():G.html`
2795
+ `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():Y.html`
2795
2796
  <ft-skeleton class="ft-search-bar--container ft-search-bar--skeleton"
2796
2797
  part="loader"
2797
2798
  tabindex="-1"></ft-skeleton>
2798
- `}renderMobileFacets(){let e=this.availableContentLocales.filter(o=>o.lang===this.contentLocale).pop();return G.html`
2799
+ `}renderMobileFacets(){let e=this.availableContentLocales.filter(o=>o.lang===this.contentLocale).pop();return Y.html`
2799
2800
  <ft-accordion class="ft-search-bar--filters-container">
2800
- ${this.hasLocaleSelector()?G.html`
2801
+ ${this.hasLocaleSelector()?Y.html`
2801
2802
  <ft-accordion-item data-facet-key="ft:locale">
2802
2803
  <div class="ft-search-bar--filter-label" slot="toggle">
2803
2804
  <ft-typography variant="button">${this.labelResolver.resolve("contentLocaleSelector")}
2804
2805
  </ft-typography>
2805
- ${e?.label?G.html`
2806
+ ${e?.label?Y.html`
2806
2807
  <ft-typography class="ft-search-bar--filter-label-values" variant="body2">
2807
2808
  ${e?.label}
2808
2809
  </ft-typography>
2809
- `:G.nothing}
2810
+ `:Y.nothing}
2810
2811
  </div>
2811
2812
  <div part="content-locale-selector">
2812
2813
  ${this.getContentLocaleRadioGroup()}
2813
2814
  </div>
2814
2815
  </ft-accordion-item>
2815
2816
  `:null}
2816
- ${(0,$r.repeat)(this.facets,o=>o.key,o=>{let i=Bi(o),n=o.key.replace(":","-"),a=il(i);return o.rootNodes.length>0?G.html`
2817
+ ${(0,$r.repeat)(this.facets,o=>o.key,o=>{let n=_a(o),i=o.key.replace(":","-"),l=sl(n);return o.rootNodes.length>0?Y.html`
2817
2818
  <ft-accordion-item data-facet-key="${o.key}">
2818
2819
  <div class="ft-search-bar--filter-label" slot="toggle">
2819
2820
  <ft-typography variant="button">${o.label}</ft-typography>
2820
- ${a.length>0?G.html`
2821
+ ${l.length>0?Y.html`
2821
2822
  <ft-typography class="ft-search-bar--filter-label-values" variant="body2">
2822
- ${a.join(", ")}
2823
+ ${l.join(", ")}
2823
2824
  </ft-typography>
2824
- `:G.nothing}
2825
+ `:Y.nothing}
2825
2826
  </div>
2826
2827
  <ft-filter
2827
- part="filters filter filter-${n}"
2828
- .exportpartsPrefixes=${["filter","filter-"+n]}
2829
- id="${i.id}"
2830
- filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",i.label)}"
2828
+ part="filters filter filter-${i}"
2829
+ .exportpartsPrefixes=${["filter","filter-"+i]}
2830
+ id="${n.id}"
2831
+ filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",n.label)}"
2831
2832
  clearButtonLabel="${this.labelResolver.resolve("clearFilterButton")}"
2832
2833
  moreValuesButtonLabel="${this.labelResolver.resolve("displayMoreFilterValuesButton")}"
2833
2834
  noValuesLabel="${this.labelResolver.resolve("noFilterValuesAvailable")}"
2834
- ?multivalued=${i.multivalued}
2835
+ ?multivalued=${n.multivalued}
2835
2836
  raiseSelectedOptions
2836
- .options=${i.options}
2837
+ .options=${n.options}
2837
2838
  .displayedValuesLimit=${10}
2838
- @change=${l=>this.setFilter(i.id,l.detail)}
2839
+ @change=${c=>this.setFilter(n.id,c.detail)}
2839
2840
  ></ft-filter>
2840
2841
  </ft-accordion-item>
2841
- `:G.nothing})}
2842
+ `:Y.nothing})}
2842
2843
  </ft-accordion>
2843
- `}getContentLocaleRadioGroup(){var e;return G.html`
2844
+ `}getContentLocaleRadioGroup(){var e;return Y.html`
2844
2845
  <ft-radio-group aria-labelledby="content_locale_radio_group_label"
2845
2846
  @change=${o=>{this.contentLocale=o.detail==="all"?void 0:o.detail,this.clearFilters()}}>
2846
- ${(0,$r.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],o=>o.lang,o=>{var i;return G.html`
2847
- <ft-radio value="${(i=o.lang)!==null&&i!==void 0?i:"all"}"
2847
+ ${(0,$r.repeat)((e=this.availableContentLocales)!==null&&e!==void 0?e:[],o=>o.lang,o=>{var n;return Y.html`
2848
+ <ft-radio value="${(n=o.lang)!==null&&n!==void 0?n:"all"}"
2848
2849
  ?checked=${o.lang==this.contentLocale}>
2849
2850
  ${o.label}
2850
2851
  </ft-radio>
2851
2852
  `})}
2852
2853
  </ft-radio-group>
2853
- `}renderDesktopMenu(){return this.hasFacets()?G.html`
2854
+ `}renderDesktopMenu(){return this.hasFacets()?Y.html`
2854
2855
  <div class="ft-search-bar--desktop-menu">
2855
2856
  ${this.renderFacetsActions()}
2856
2857
  ${this.renderDesktopFacets()}
2857
2858
  <div class="ft-search-bar--facets-actions">
2858
- ${this.forceMenuOpen?this.renderDesktopClearFilters():G.nothing}
2859
+ ${this.forceMenuOpen?this.renderDesktopClearFilters():Y.nothing}
2859
2860
  <ft-button class="ft-search-bar--launch-search"
2860
2861
  part="launch-search-in-panel"
2861
2862
  icon="search"
@@ -2864,38 +2865,38 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2864
2865
  </ft-button>
2865
2866
  </div>
2866
2867
  </div>
2867
- `:G.nothing}renderFacetsActions(){var e;return G.html`
2868
+ `:Y.nothing}renderFacetsActions(){var e;return Y.html`
2868
2869
  <div class="ft-search-bar--facets-actions">
2869
- ${this.hasPresets?G.html`
2870
+ ${this.hasPresets?Y.html`
2870
2871
  <ft-select
2871
2872
  class="ft-search-bar--presets"
2872
2873
  part="presets"
2873
2874
  label="${this.labelResolver.resolve("presetsSelector")}"
2874
2875
  outlined
2875
2876
  @change=${o=>this.selectedPreset=o.detail}>
2876
- ${(0,$r.repeat)((e=this.presets)!==null&&e!==void 0?e:[],o=>o.name,o=>G.html`
2877
+ ${(0,$r.repeat)((e=this.presets)!==null&&e!==void 0?e:[],o=>o.name,o=>Y.html`
2877
2878
  <ft-select-option value="${o.name}"
2878
2879
  label="${o.name}"
2879
2880
  ?selected=${o.name===this.selectedPreset}>
2880
2881
  </ft-select-option>
2881
2882
  `)}
2882
2883
  </ft-select>
2883
- `:G.nothing}
2884
+ `:Y.nothing}
2884
2885
  <slot name="facets-actions"></slot>
2885
- ${this.forceMenuOpen&&!this.isMobile()?G.nothing:this.renderDesktopClearFilters()}
2886
+ ${this.forceMenuOpen&&!this.isMobile()?Y.nothing:this.renderDesktopClearFilters()}
2886
2887
  </div>
2887
- `}renderDesktopClearFilters(){return this.searchFilters.length>0?G.html`
2888
+ `}renderDesktopClearFilters(){return this.searchFilters.length>0?Y.html`
2888
2889
  <ft-button part="facets-actions"
2889
2890
  @click=${this.clearFilters}>
2890
2891
  ${this.labelResolver.resolve("clearFilters")}
2891
2892
  </ft-button>
2892
- `:G.nothing}renderDesktopFacets(){return this.hasFacets()?G.html`
2893
+ `:Y.nothing}renderDesktopFacets(){return this.hasFacets()?Y.html`
2893
2894
  <ft-snap-scroll horizontal limitSize controls
2894
2895
  class="ft-search-bar--filters-container"
2895
2896
  part="filters-container"
2896
2897
  exportpartsPrefix="filters-container"
2897
2898
  data-filters-count="${this.facets.length+(this.hasLocaleSelector()?1:0)}">
2898
- ${this.hasLocaleSelector()?G.html`
2899
+ ${this.hasLocaleSelector()?Y.html`
2899
2900
  <div part="content-locale-selector">
2900
2901
  <div part="content-locale-selector-header">
2901
2902
  <ft-typography variant="overline" id="content_locale_radio_group_label" part="content-locale-selector-label">
@@ -2904,12 +2905,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2904
2905
  </div>
2905
2906
  ${this.getContentLocaleRadioGroup()}
2906
2907
  </div>
2907
- `:G.nothing}
2908
- ${(0,$r.repeat)(this.facets,e=>e.key,e=>{let o=Bi(e),i=o.options.some(a=>{var l,s;return((s=(l=a.subOptions)===null||l===void 0?void 0:l.length)!==null&&s!==void 0?s:0)>0}),n=e.key.replace(":","-");return G.html`
2908
+ `:Y.nothing}
2909
+ ${(0,$r.repeat)(this.facets,e=>e.key,e=>{let o=_a(e),n=o.options.some(l=>{var c,s;return((s=(c=l.subOptions)===null||c===void 0?void 0:c.length)!==null&&s!==void 0?s:0)>0}),i=e.key.replace(":","-");return Y.html`
2909
2910
  <ft-filter
2910
- class="${i?"ft-search-bar--hierarchical-filter":""}"
2911
- part="filters filter filter-${n}"
2912
- .exportpartsPrefixes=${["filter","filter-"+n]}
2911
+ class="${n?"ft-search-bar--hierarchical-filter":""}"
2912
+ part="filters filter filter-${i}"
2913
+ .exportpartsPrefixes=${["filter","filter-"+i]}
2913
2914
  id="${o.id}"
2914
2915
  label="${o.label}"
2915
2916
  filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",o.label)}"
@@ -2920,18 +2921,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2920
2921
  raiseSelectedOptions
2921
2922
  .options=${o.options}
2922
2923
  .displayedValuesLimit=${10}
2923
- @change=${a=>this.setFilter(o.id,a.detail)}
2924
+ @change=${l=>this.setFilter(o.id,l.detail)}
2924
2925
  ></ft-filter>
2925
2926
  `})}
2926
2927
  </ft-snap-scroll>
2927
- `:G.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",o=>{o.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var o,i,n,a,l;if(e.has("labels")&&(this.labelResolver=new ae.ParametrizedLabelResolver(pp,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 s=d=>this.availableContentLocales.some(f=>f.lang==d);s(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&s(e.get("contentLocale"))?e.get("contentLocale"):(o=this.availableContentLocales[0])===null||o===void 0?void 0:o.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(s=>s.filters.forEach(d=>d.values=d.values.map(f=>Br(f)))),e.has("presets")||e.has("selectedPreset")){let s=((n=this.presets)!==null&&n!==void 0?n:[]).find(d=>d.name===this.selectedPreset);s&&!this.compareRequests(this.request,s)&&this.setFiltersFromPreset(s)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some(s=>e.has(s))&&(this.selectedPreset=(l=((a=this.presets)!==null&&a!==void 0?a:[]).find(s=>this.compareRequests(s,this.request)))===null||l===void 0?void 0:l.name),["baseUrl","apiIntegrationIdentifier"].some(s=>e.has(s))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some(s=>e.has(s))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some(s=>e.has(s))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some(s=>e.has(s))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Mn(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 o,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((o=this.floatingContainer)===null||o===void 0||o.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(l=>l.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.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 o=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),o.set(n.key,n)})).catch(Id)),this.facets=[];for(let i of this.facetsRequest)o.has(i.id)?this.facets.push(o.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var o;e.key==="Escape"&&(this.displayFacets=!1,(o=this.filtersOpener)===null||o===void 0||o.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}launchSearch(){if(this.query){let e=this.recentSearches.filter(o=>o.toLowerCase()!==this.query.toLowerCase()).filter((o,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.dispatchEvent(new Fn(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&&!ae.isTouchScreen&&await this.focusInput(),D.eventBus.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),D.eventBus.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,o){let i=this.searchFilters.filter(n=>n.key!==e);this.facets.forEach(n=>{n.key===e&&(0,ae.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=o.includes(a.value))}),o.length&&i.push({key:e,negative:!1,values:o}),this.searchFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.searchFilters=e.filters)}clearFilters(){this.facets.forEach(o=>(0,ae.flatDeep)(o.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.searchFilters=[];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?G.nothing:G.html`
2928
+ `:Y.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",o=>{o.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var o,n,i,l,c;if(e.has("labels")&&(this.labelResolver=new se.ParametrizedLabelResolver(yp,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 s=h=>this.availableContentLocales.some(g=>g.lang==h);s(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&s(e.get("contentLocale"))?e.get("contentLocale"):(o=this.availableContentLocales[0])===null||o===void 0?void 0:o.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(s=>s.filters.forEach(h=>h.values=h.values.map(g=>_r(g)))),e.has("presets")||e.has("selectedPreset")){let s=((i=this.presets)!==null&&i!==void 0?i:[]).find(h=>h.name===this.selectedPreset);s&&!this.compareRequests(this.request,s)&&this.setFiltersFromPreset(s)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some(s=>e.has(s))&&(this.selectedPreset=(c=((l=this.presets)!==null&&l!==void 0?l:[]).find(s=>this.compareRequests(s,this.request)))===null||c===void 0?void 0:c.name),["baseUrl","apiIntegrationIdentifier"].some(s=>e.has(s))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some(s=>e.has(s))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some(s=>e.has(s))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some(s=>e.has(s))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new Gn(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 o,n,i;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((o=this.floatingContainer)===null||o===void 0||o.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(n=this.scrollingFiltersContainer)===null||n===void 0||n.scrollIndexIntoView(this.facets.findIndex(c=>c.key===this.scrollToFacet));let l=(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);l&&(l.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 o=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),o.set(i.key,i)})).catch(Td)),this.facets=[];for(let n of this.facetsRequest)o.has(n.id)?this.facets.push(o.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 o;e.key==="Escape"&&(this.displayFacets=!1,(o=this.filtersOpener)===null||o===void 0||o.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}launchSearch(){if(this.query){let e=this.recentSearches.filter(o=>o.toLowerCase()!==this.query.toLowerCase()).filter((o,n)=>n<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.dispatchEvent(new Zn(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&&!se.isTouchScreen&&await this.focusInput(),D.eventBus.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),D.eventBus.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,o){let n=this.searchFilters.filter(i=>i.key!==e);this.facets.forEach(i=>{i.key===e&&(0,se.flatDeep)(i.rootNodes,l=>l.childNodes).forEach(l=>l.selected=o.includes(l.value))}),o.length&&n.push({key:e,negative:!1,values:o}),this.searchFilters=n,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.searchFilters=e.filters)}clearFilters(){this.facets.forEach(o=>(0,se.flatDeep)(o.rootNodes,n=>n.childNodes).forEach(n=>n.selected=!1)),this.searchFilters=[];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?Y.nothing:Y.html`
2928
2929
  <div class="ft-search-bar--floating-panel"
2929
2930
  id="ft-search-bar-floating-panel"
2930
2931
  @keyup=${this.onFloatingContainerKeyUp}
2931
2932
  part="floating-panel"
2932
2933
  tabindex="-1">
2933
2934
  ${this.renderDesktopMenu()}
2934
- </div>`}enableFocusReactionOnAnyUserInteraction(){var e,o,i;(e=this.container)===null||e===void 0||e.addEventListener("blur",this.enableFocusReactionCallback),(o=this.container)===null||o===void 0||o.addEventListener("click",this.enableFocusReactionCallback),(i=this.container)===null||i===void 0||i.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var e,o,i;this.reactToFocus=!0,(e=this.container)===null||e===void 0||e.removeEventListener("blur",this.enableFocusReactionCallback),(o=this.container)===null||o===void 0||o.removeEventListener("click",this.enableFocusReactionCallback),(i=this.container)===null||i===void 0||i.removeEventListener("keyup",this.enableFocusReactionCallback)}};L.elementDefinitions={"ft-accordion":St,"ft-accordion-item":it,"ft-button":ye,"ft-chip":ce,"ft-filter":j,"ft-filter-option":qe,"ft-icon":le,"ft-ripple":z,"ft-select":X,"ft-select-option":Ot,"ft-size-watcher":Ue,"ft-skeleton":qt,"ft-snap-scroll":he,"ft-tooltip":ee,"ft-typography":q,"ft-radio-group":Te,"ft-radio":ge};L.styles=[_o,lc,sc,Ct.styles,wt.styles];U([(0,V.property)({type:Boolean})],L.prototype,"dense",void 0);U([(0,V.property)()],L.prototype,"mode",void 0);U([(0,V.property)({type:Boolean})],L.prototype,"forceMobileMenuOpen",void 0);U([(0,V.property)({type:Boolean})],L.prototype,"forceMenuOpen",void 0);U([(0,V.property)()],L.prototype,"baseUrl",void 0);U([(0,V.property)()],L.prototype,"apiIntegrationIdentifier",void 0);U([(0,V.property)()],L.prototype,"contentLocale",void 0);U([(0,V.state)()],L.prototype,"availableContentLocales",void 0);U([(0,V.state)()],L.prototype,"availableContentLocalesInitialized",void 0);U([(0,V.property)()],L.prototype,"uiLocale",void 0);U([(0,ae.jsonProperty)({})],L.prototype,"labels",void 0);U([(0,ae.jsonProperty)([])],L.prototype,"displayedFilters",void 0);U([(0,ae.jsonProperty)([])],L.prototype,"presets",void 0);U([(0,V.property)({type:String,reflect:!0})],L.prototype,"selectedPreset",void 0);U([(0,ae.jsonProperty)([])],L.prototype,"priors",void 0);U([(0,V.property)()],L.prototype,"searchRequestSerializer",void 0);U([(0,V.property)({type:Boolean})],L.prototype,"focusOnDisplay",void 0);U([(0,V.state)()],L.prototype,"searchFilters",void 0);U([(0,V.state)()],L.prototype,"sizeCategory",void 0);U([(0,V.state)()],L.prototype,"displayFacets",void 0);U([(0,V.state)()],L.prototype,"mobileMenuOpen",void 0);U([(0,V.state)()],L.prototype,"facets",void 0);U([(0,V.state)()],L.prototype,"facetsInitialized",void 0);U([(0,V.query)(".ft-search-bar--container")],L.prototype,"container",void 0);U([(0,V.query)(".ft-search-bar--filters-opener")],L.prototype,"filtersOpener",void 0);U([(0,V.query)(".ft-search-bar--floating-panel")],L.prototype,"floatingContainer",void 0);U([(0,V.query)("ft-snap-scroll.ft-search-bar--filters-container")],L.prototype,"scrollingFiltersContainer",void 0);U([(0,V.query)(".ft-search-bar--input")],L.prototype,"input",void 0);U([(0,V.state)()],L.prototype,"query",void 0);U([(0,V.state)()],L.prototype,"suggestions",void 0);U([(0,V.state)()],L.prototype,"recentSearches",void 0);U([(0,V.state)()],L.prototype,"scrollToFacet",void 0);U([(0,V.state)()],L.prototype,"api",void 0);U([(0,V.state)()],L.prototype,"reactToFocus",void 0);U([(0,V.state)()],L.prototype,"facetsLoaded",void 0);(0,dp.customElement)("ft-search-bar")(L);})();
2935
+ </div>`}enableFocusReactionOnAnyUserInteraction(){var e,o,n;(e=this.container)===null||e===void 0||e.addEventListener("blur",this.enableFocusReactionCallback),(o=this.container)===null||o===void 0||o.addEventListener("click",this.enableFocusReactionCallback),(n=this.container)===null||n===void 0||n.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var e,o,n;this.reactToFocus=!0,(e=this.container)===null||e===void 0||e.removeEventListener("blur",this.enableFocusReactionCallback),(o=this.container)===null||o===void 0||o.removeEventListener("click",this.enableFocusReactionCallback),(n=this.container)===null||n===void 0||n.removeEventListener("keyup",this.enableFocusReactionCallback)}};B.elementDefinitions={"ft-accordion":wt,"ft-accordion-item":lt,"ft-button":xe,"ft-chip":fe,"ft-filter":j,"ft-filter-option":Je,"ft-icon":pe,"ft-ripple":U,"ft-select":ee,"ft-select-option":Et,"ft-size-watcher":Ge,"ft-skeleton":eo,"ft-snap-scroll":ye,"ft-tooltip":re,"ft-typography":J,"ft-radio-group":Te,"ft-radio":ve};B.styles=[Uo,hs,gs,Rt.styles,Nt.styles];G([(0,V.property)({type:Boolean})],B.prototype,"dense",void 0);G([(0,V.property)()],B.prototype,"mode",void 0);G([(0,V.property)({type:Boolean})],B.prototype,"forceMobileMenuOpen",void 0);G([(0,V.property)({type:Boolean})],B.prototype,"forceMenuOpen",void 0);G([(0,V.property)()],B.prototype,"baseUrl",void 0);G([(0,V.property)()],B.prototype,"apiIntegrationIdentifier",void 0);G([(0,V.property)()],B.prototype,"contentLocale",void 0);G([(0,V.state)()],B.prototype,"availableContentLocales",void 0);G([(0,V.state)()],B.prototype,"availableContentLocalesInitialized",void 0);G([(0,V.property)()],B.prototype,"uiLocale",void 0);G([(0,se.jsonProperty)({})],B.prototype,"labels",void 0);G([(0,se.jsonProperty)([])],B.prototype,"displayedFilters",void 0);G([(0,se.jsonProperty)([])],B.prototype,"presets",void 0);G([(0,V.property)({type:String,reflect:!0})],B.prototype,"selectedPreset",void 0);G([(0,se.jsonProperty)([])],B.prototype,"priors",void 0);G([(0,V.property)()],B.prototype,"searchRequestSerializer",void 0);G([(0,V.property)({type:Boolean})],B.prototype,"focusOnDisplay",void 0);G([(0,V.state)()],B.prototype,"searchFilters",void 0);G([(0,V.state)()],B.prototype,"sizeCategory",void 0);G([(0,V.state)()],B.prototype,"displayFacets",void 0);G([(0,V.state)()],B.prototype,"mobileMenuOpen",void 0);G([(0,V.state)()],B.prototype,"facets",void 0);G([(0,V.state)()],B.prototype,"facetsInitialized",void 0);G([(0,V.query)(".ft-search-bar--container")],B.prototype,"container",void 0);G([(0,V.query)(".ft-search-bar--filters-opener")],B.prototype,"filtersOpener",void 0);G([(0,V.query)(".ft-search-bar--floating-panel")],B.prototype,"floatingContainer",void 0);G([(0,V.query)("ft-snap-scroll.ft-search-bar--filters-container")],B.prototype,"scrollingFiltersContainer",void 0);G([(0,V.query)(".ft-search-bar--input")],B.prototype,"input",void 0);G([(0,V.state)()],B.prototype,"query",void 0);G([(0,V.state)()],B.prototype,"suggestions",void 0);G([(0,V.state)()],B.prototype,"recentSearches",void 0);G([(0,V.state)()],B.prototype,"scrollToFacet",void 0);G([(0,V.state)()],B.prototype,"api",void 0);G([(0,V.state)()],B.prototype,"reactToFocus",void 0);G([(0,V.state)()],B.prototype,"facetsLoaded",void 0);(0,bp.customElement)("ft-search-bar")(B);})();
2935
2936
  /*! Bundled license information:
2936
2937
 
2937
2938
  lit-html/lit-html.js: