@fluid-topics/ft-search-bar 1.1.80 → 1.1.81

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 ls=Object.create;var Oi=Object.defineProperty;var ss=Object.getOwnPropertyDescriptor;var cs=Object.getOwnPropertyNames;var ps=Object.getPrototypeOf,ds=Object.prototype.hasOwnProperty;var io=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var fs=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of cs(t))!ds.call(o,a)&&a!==r&&Oi(o,a,{get:()=>t[a],enumerable:!(i=ss(t,a))||i.enumerable});return o};var d=(o,t,r)=>(r=o!=null?ls(ps(o)):{},fs(t||!o||!o.__esModule?Oi(r,"default",{value:o,enumerable:!0}):r,o));var g=io((Gs,Ci)=>{Ci.exports=ftGlobals.wcUtils});var S=io((Ks,wi)=>{wi.exports=ftGlobals.lit});var X=io((Zs,$i)=>{$i.exports=ftGlobals.litDecorators});var We=io((js,Ei)=>{Ei.exports=ftGlobals.litRepeat});var Qt=io((ah,tn)=>{tn.exports=ftGlobals.litClassMap});var Bn=io((Zh,An)=>{An.exports=ftGlobals.litUnsafeHTML});var is=d(g());var W=d(S()),F=d(X()),qo=d(We()),K=d(g());var Ni=d(g());var ki=d(S()),Ue=d(X()),Yo=d(g());var Zt;(function(o){o.S="S",o.M="M",o.L="L",o.XL="XL",o.XXL="XXL"})(Zt||(Zt={}));var Ri=d(S());var Li=Ri.css`
1
+ "use strict";(()=>{var cs=Object.create;var Oi=Object.defineProperty;var ps=Object.getOwnPropertyDescriptor;var ds=Object.getOwnPropertyNames;var fs=Object.getPrototypeOf,hs=Object.prototype.hasOwnProperty;var io=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var us=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ds(t))!hs.call(o,a)&&a!==r&&Oi(o,a,{get:()=>t[a],enumerable:!(i=ps(t,a))||i.enumerable});return o};var d=(o,t,r)=>(r=o!=null?cs(fs(o)):{},us(t||!o||!o.__esModule?Oi(r,"default",{value:o,enumerable:!0}):r,o));var g=io((Ks,Ci)=>{Ci.exports=ftGlobals.wcUtils});var S=io((js,wi)=>{wi.exports=ftGlobals.lit});var X=io((qs,$i)=>{$i.exports=ftGlobals.litDecorators});var We=io((Ys,Ei)=>{Ei.exports=ftGlobals.litRepeat});var Qt=io((ch,on)=>{on.exports=ftGlobals.litClassMap});var Pn=io((Xh,In)=>{In.exports=ftGlobals.litUnsafeHTML});var ns=d(g());var W=d(S()),F=d(X()),qo=d(We()),Z=d(g());var Ni=d(g());var ki=d(S()),Me=d(X()),Yo=d(g());var Kt;(function(o){o.S="S",o.M="M",o.L="L",o.XL="XL",o.XXL="XXL"})(Kt||(Kt={}));var Ri=d(S());var Li=Ri.css`
2
2
  .ft-size-watcher--pixel {
3
3
  width: 0;
4
4
  height: 0;
@@ -17,14 +17,14 @@
17
17
  .ft-size-watcher--local .ft-size-watcher--watcher {
18
18
  width: 100%;
19
19
  }
20
- `;var Eo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},kr=class extends CustomEvent{constructor(t,r){super("change",{detail:{size:t,category:r}})}},Dt=class extends Yo.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Zt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Yo.Debouncer}render(){return ki.html`
20
+ `;var Eo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},kr=class extends CustomEvent{constructor(t,r){super("change",{detail:{size:t,category:r}})}},Dt=class extends Yo.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Kt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Yo.Debouncer}render(){return ki.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(t){super.contentAvailableCallback(t),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=Zt.S:this.size<976?this.category=Zt.M:this.size<1024?this.category=Zt.L:this.size<1440?this.category=Zt.XL:this.category=Zt.XXL,this.dispatchEvent(new kr(this.size,this.category)))},this.debounceTimeout)}};Dt.elementDefinitions={};Dt.styles=Li;Eo([(0,Ue.property)({type:Number})],Dt.prototype,"debounceTimeout",void 0);Eo([(0,Ue.property)({type:Boolean})],Dt.prototype,"local",void 0);Eo([(0,Ue.property)({type:Number,reflect:!0})],Dt.prototype,"size",void 0);Eo([(0,Ue.property)({type:String,reflect:!0})],Dt.prototype,"category",void 0);Eo([(0,Ue.query)(".ft-size-watcher--watcher")],Dt.prototype,"watcher",void 0);(0,Ni.customElement)("ft-size-watcher")(Dt);var Ia=d(g());var Fr=globalThis,Xo=Fr.trustedTypes,Ai=Xo?Xo.createPolicy("lit-html",{createHTML:o=>o}):void 0,Di="$lit$",ke=`lit$${(Math.random()+"").slice(9)}$`,_i="?"+ke,hs=`<${_i}>`,Ve=document,Jo=()=>Ve.createComment(""),Lo=o=>o===null||typeof o!="object"&&typeof o!="function",Ti=Array.isArray,us=o=>Ti(o)||typeof o?.[Symbol.iterator]=="function",Nr=`[
25
- \f\r]`,Ro=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bi=/-->/g,Ii=/>/g,Me=RegExp(`>|${Nr}(?:([^\\s"'>=/]+)(${Nr}*=${Nr}*(?:[^
26
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Pi=/'/g,zi=/"/g,Wi=/^(?:script|style|textarea|title)$/i,Ui=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Mi=Ui(1),Hi=Ui(2),ko=Symbol.for("lit-noChange"),ut=Symbol.for("lit-nothing"),Fi=new WeakMap,He=Ve.createTreeWalker(Ve,129);function Vi(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ai!==void 0?Ai.createHTML(t):t}var ms=(o,t)=>{let r=o.length-1,i=[],a,n=t===2?"<svg>":"",l=Ro;for(let c=0;c<r;c++){let f=o[c],h,v,x=-1,_=0;for(;_<f.length&&(l.lastIndex=_,v=l.exec(f),v!==null);)_=l.lastIndex,l===Ro?v[1]==="!--"?l=Bi:v[1]!==void 0?l=Ii:v[2]!==void 0?(Wi.test(v[2])&&(a=RegExp("</"+v[2],"g")),l=Me):v[3]!==void 0&&(l=Me):l===Me?v[0]===">"?(l=a??Ro,x=-1):v[1]===void 0?x=-2:(x=l.lastIndex-v[2].length,h=v[1],l=v[3]===void 0?Me:v[3]==='"'?zi:Pi):l===zi||l===Pi?l=Me:l===Bi||l===Ii?l=Ro:(l=Me,a=void 0);let A=l===Me&&o[c+1].startsWith("/>")?" ":"";n+=l===Ro?f+hs:x>=0?(i.push(h),f.slice(0,x)+Di+f.slice(x)+ke+A):f+ke+(x===-2?c:A)}return[Vi(o,n+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},No=class o{constructor({strings:t,_$litType$:r},i){let a;this.parts=[];let n=0,l=0,c=t.length-1,f=this.parts,[h,v]=ms(t,r);if(this.el=o.createElement(h,i),He.currentNode=this.el.content,r===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(a=He.nextNode())!==null&&f.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let x of a.getAttributeNames())if(x.endsWith(Di)){let _=v[l++],A=a.getAttribute(x).split(ke),U=/([.?@])?(.*)/.exec(_);f.push({type:1,index:n,name:U[2],strings:A,ctor:U[1]==="."?Br:U[1]==="?"?Ir:U[1]==="@"?Pr:no}),a.removeAttribute(x)}else x.startsWith(ke)&&(f.push({type:6,index:n}),a.removeAttribute(x));if(Wi.test(a.tagName)){let x=a.textContent.split(ke),_=x.length-1;if(_>0){a.textContent=Xo?Xo.emptyScript:"";for(let A=0;A<_;A++)a.append(x[A],Jo()),He.nextNode(),f.push({type:2,index:++n});a.append(x[_],Jo())}}}else if(a.nodeType===8)if(a.data===_i)f.push({type:2,index:n});else{let x=-1;for(;(x=a.data.indexOf(ke,x+1))!==-1;)f.push({type:7,index:n}),x+=ke.length-1}n++}}static createElement(t,r){let i=Ve.createElement("template");return i.innerHTML=t,i}};function ao(o,t,r=o,i){if(t===ko)return t;let a=i!==void 0?r._$Co?.[i]:r._$Cl,n=Lo(t)?void 0:t._$litDirective$;return a?.constructor!==n&&(a?._$AO?.(!1),n===void 0?a=void 0:(a=new n(o),a._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=a:r._$Cl=a),a!==void 0&&(t=ao(o,a._$AS(o,t.values),a,i)),t}var Ar=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,a=(t?.creationScope??Ve).importNode(r,!0);He.currentNode=a;let n=He.nextNode(),l=0,c=0,f=i[0];for(;f!==void 0;){if(l===f.index){let h;f.type===2?h=new Qo(n,n.nextSibling,this,t):f.type===1?h=new f.ctor(n,f.name,f.strings,this,t):f.type===6&&(h=new zr(n,this,t)),this._$AV.push(h),f=i[++c]}l!==f?.index&&(n=He.nextNode(),l++)}return He.currentNode=Ve,a}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Qo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,a){this.type=2,this._$AH=ut,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ao(this,t,r),Lo(t)?t===ut||t==null||t===""?(this._$AH!==ut&&this._$AR(),this._$AH=ut):t!==this._$AH&&t!==ko&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):us(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ut&&Lo(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ve.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,a=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=No.createElement(Vi(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(r);else{let n=new Ar(a,this),l=n.u(this.options);n.p(r),this.$(l),this._$AH=n}}_$AC(t){let r=Fi.get(t.strings);return r===void 0&&Fi.set(t.strings,r=new No(t)),r}T(t){Ti(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,a=0;for(let n of t)a===r.length?r.push(i=new o(this.k(Jo()),this.k(Jo()),this,this.options)):i=r[a],i._$AI(n),a++;a<r.length&&(this._$AR(i&&i._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},no=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,a,n){this.type=1,this._$AH=ut,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ut}_$AI(t,r=this,i,a){let n=this.strings,l=!1;if(n===void 0)t=ao(this,t,r,0),l=!Lo(t)||t!==this._$AH&&t!==ko,l&&(this._$AH=t);else{let c=t,f,h;for(t=n[0],f=0;f<n.length-1;f++)h=ao(this,c[i+f],r,f),h===ko&&(h=this._$AH[f]),l||=!Lo(h)||h!==this._$AH[f],h===ut?t=ut:t!==ut&&(t+=(h??"")+n[f+1]),this._$AH[f]=h}l&&!a&&this.O(t)}O(t){t===ut?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Br=class extends no{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ut?void 0:t}},Ir=class extends no{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ut)}},Pr=class extends no{constructor(t,r,i,a,n){super(t,r,i,a,n),this.type=5}_$AI(t,r=this){if((t=ao(this,t,r,0)??ut)===ko)return;let i=this._$AH,a=t===ut&&i!==ut||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==ut&&(i===ut||a);a&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},zr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};var gs=Fr.litHtmlPolyfillSupport;gs?.(No,Qo),(Fr.litHtmlVersions??=[]).push("3.1.0");var Ki=Symbol.for(""),bs=o=>{if(o?.r===Ki)return o?._$litStatic$},Dr=o=>({_$litStatic$:o,r:Ki});var Gi=new Map,Zi=o=>(t,...r)=>{let i=r.length,a,n,l=[],c=[],f,h=0,v=!1;for(;h<i;){for(f=t[h];h<i&&(n=r[h],(a=bs(n))!==void 0);)f+=a+t[++h],v=!0;h!==i&&c.push(n),l.push(f),h++}if(h===i&&l.push(t[i]),v){let x=l.join("$$lit$$");(t=Gi.get(x))===void 0&&(l.raw=l,Gi.set(x,t=l)),r=c}return o(t,...r)},_r=Zi(Mi),lc=Zi(Hi);var Tr=d(X()),Ba=d(g());var Ge;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Ge||(Ge={}));var jt=d(S()),m=d(g());var be=d(S(),1),Ne=o=>typeof o=="string"?(0,be.unsafeCSS)(o):o,e=class{static create(t,r,i,a){let n=c=>Ne(c??a),l=be.css`var(${Ne(t)}, ${n(a)})`;return l.name=t,l.description=r,l.category=i,l.defaultValue=a,l.defaultCssValue=n,l.get=c=>be.css`var(${Ne(t)}, ${n(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,r,i,a){let n=c=>i.get(c??a),l=be.css`var(${Ne(t)}, ${n(a)})`;return l.name=t,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=a,l.defaultCssValue=n,l.get=c=>be.css`var(${Ne(t)}, ${n(c)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>a??i.lastResortDefaultValue(),l}static external(t,r){let i=n=>t.fallbackVariable?t.fallbackVariable.get(n??t.defaultValue):Ne(n??t.lastResortDefaultValue()),a=be.css`var(${Ne(t.name)}, ${i(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=i,a.get=n=>be.css`var(${Ne(t.name)}, ${i(n)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};var s={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},ji={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},qi={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Yi={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Xi={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ji={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qi={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ta={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ea={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},oa={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ys={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ra={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ia={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},aa={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},na={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},la={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ca={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},pa={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},da={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},fa={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ha={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ua={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ma={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ga={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ya={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},tr={display:ji,"title-1":qi,"title-2":Yi,"title-3":Xi,"body-1-regular":Ji,"body-1-medium":Qi,"body-1-semibold":ta,"body-2-regular":ea,"body-2-medium":oa,"body-2-medium-underline":ys,"body-2-semibold":ra,"label-1-medium":ia,"label-1-semibold":aa,"label-1-bold":na,"label-2-medium":la,"label-2-semibold":sa,"label-2-bold":ca,"caption-1-medium":pa,"caption-1-semibold":da,"caption-1-bold":fa,"caption-2-medium":ha,"caption-2-semibold":ua,"caption-2-bold":ma,"caption-3-medium":ga,"caption-3-semibold":ba,"caption-3-bold":ya};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
27
- Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var b={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:e.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",s.spacing3),smallGap:e.extend("--ft-button-small-gap","",s.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",s.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var $c={focusOpacity:e.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Nc={iconSize:e.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var zc={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:e.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Wc={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Gc={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Yc={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:e.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",s.borderRadiusM)};var ep={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var np={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var dp={backgroundColor:e.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var gp={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Sp={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Ep={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Ap={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",s.spacing6),iconColor:e.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",s.iconSize2),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",s.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",s.shadowElevation02)};var Fp={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Up={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Kp={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:e.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Yp={color1Light:e.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",s.colorRed40),color5Base:e.extend("--ft-chart-5-base","",s.colorRed60),color6Light:e.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",s.colorGray50),color10Base:e.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var ed={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",s.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",s.spacing2),largeGap:e.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",s.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",s.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",s.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",s.spacing05),smallGap:e.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var nd={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:e.extend("--ft-notice-gap","",s.spacing2),iconSize:e.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var dd={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",s.spacing3)};var gd={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",s.spacing3)};var Sd={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",s.spacing3)};var Ed={iconSize:e.extend("--ft-notification-icon-size","",s.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",s.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",s.spacing8)};var Ad={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:e.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",s.spacing05)};var er=d(S());function xa(o){let t=tr[o];return er.css`
24
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),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=Kt.S:this.size<976?this.category=Kt.M:this.size<1024?this.category=Kt.L:this.size<1440?this.category=Kt.XL:this.category=Kt.XXL,this.dispatchEvent(new kr(this.size,this.category)))},this.debounceTimeout)}};Dt.elementDefinitions={};Dt.styles=Li;Eo([(0,Me.property)({type:Number})],Dt.prototype,"debounceTimeout",void 0);Eo([(0,Me.property)({type:Boolean})],Dt.prototype,"local",void 0);Eo([(0,Me.property)({type:Number,reflect:!0})],Dt.prototype,"size",void 0);Eo([(0,Me.property)({type:String,reflect:!0})],Dt.prototype,"category",void 0);Eo([(0,Me.query)(".ft-size-watcher--watcher")],Dt.prototype,"watcher",void 0);(0,Ni.customElement)("ft-size-watcher")(Dt);var za=d(g());var Fr=globalThis,Xo=Fr.trustedTypes,Bi=Xo?Xo.createPolicy("lit-html",{createHTML:o=>o}):void 0,Di="$lit$",ke=`lit$${(Math.random()+"").slice(9)}$`,_i="?"+ke,ms=`<${_i}>`,Ve=document,Jo=()=>Ve.createComment(""),Lo=o=>o===null||typeof o!="object"&&typeof o!="function",Ti=Array.isArray,gs=o=>Ti(o)||typeof o?.[Symbol.iterator]=="function",Nr=`[
25
+ \f\r]`,Ro=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ai=/-->/g,Ii=/>/g,Ue=RegExp(`>|${Nr}(?:([^\\s"'>=/]+)(${Nr}*=${Nr}*(?:[^
26
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Pi=/'/g,zi=/"/g,Wi=/^(?:script|style|textarea|title)$/i,Mi=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Ui=Mi(1),Hi=Mi(2),ko=Symbol.for("lit-noChange"),ut=Symbol.for("lit-nothing"),Fi=new WeakMap,He=Ve.createTreeWalker(Ve,129);function Vi(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bi!==void 0?Bi.createHTML(t):t}var bs=(o,t)=>{let r=o.length-1,i=[],a,n=t===2?"<svg>":"",l=Ro;for(let c=0;c<r;c++){let f=o[c],h,v,x=-1,_=0;for(;_<f.length&&(l.lastIndex=_,v=l.exec(f),v!==null);)_=l.lastIndex,l===Ro?v[1]==="!--"?l=Ai:v[1]!==void 0?l=Ii:v[2]!==void 0?(Wi.test(v[2])&&(a=RegExp("</"+v[2],"g")),l=Ue):v[3]!==void 0&&(l=Ue):l===Ue?v[0]===">"?(l=a??Ro,x=-1):v[1]===void 0?x=-2:(x=l.lastIndex-v[2].length,h=v[1],l=v[3]===void 0?Ue:v[3]==='"'?zi:Pi):l===zi||l===Pi?l=Ue:l===Ai||l===Ii?l=Ro:(l=Ue,a=void 0);let B=l===Ue&&o[c+1].startsWith("/>")?" ":"";n+=l===Ro?f+ms:x>=0?(i.push(h),f.slice(0,x)+Di+f.slice(x)+ke+B):f+ke+(x===-2?c:B)}return[Vi(o,n+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},No=class o{constructor({strings:t,_$litType$:r},i){let a;this.parts=[];let n=0,l=0,c=t.length-1,f=this.parts,[h,v]=bs(t,r);if(this.el=o.createElement(h,i),He.currentNode=this.el.content,r===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(a=He.nextNode())!==null&&f.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let x of a.getAttributeNames())if(x.endsWith(Di)){let _=v[l++],B=a.getAttribute(x).split(ke),M=/([.?@])?(.*)/.exec(_);f.push({type:1,index:n,name:M[2],strings:B,ctor:M[1]==="."?Ar:M[1]==="?"?Ir:M[1]==="@"?Pr:no}),a.removeAttribute(x)}else x.startsWith(ke)&&(f.push({type:6,index:n}),a.removeAttribute(x));if(Wi.test(a.tagName)){let x=a.textContent.split(ke),_=x.length-1;if(_>0){a.textContent=Xo?Xo.emptyScript:"";for(let B=0;B<_;B++)a.append(x[B],Jo()),He.nextNode(),f.push({type:2,index:++n});a.append(x[_],Jo())}}}else if(a.nodeType===8)if(a.data===_i)f.push({type:2,index:n});else{let x=-1;for(;(x=a.data.indexOf(ke,x+1))!==-1;)f.push({type:7,index:n}),x+=ke.length-1}n++}}static createElement(t,r){let i=Ve.createElement("template");return i.innerHTML=t,i}};function ao(o,t,r=o,i){if(t===ko)return t;let a=i!==void 0?r._$Co?.[i]:r._$Cl,n=Lo(t)?void 0:t._$litDirective$;return a?.constructor!==n&&(a?._$AO?.(!1),n===void 0?a=void 0:(a=new n(o),a._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=a:r._$Cl=a),a!==void 0&&(t=ao(o,a._$AS(o,t.values),a,i)),t}var Br=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,a=(t?.creationScope??Ve).importNode(r,!0);He.currentNode=a;let n=He.nextNode(),l=0,c=0,f=i[0];for(;f!==void 0;){if(l===f.index){let h;f.type===2?h=new Qo(n,n.nextSibling,this,t):f.type===1?h=new f.ctor(n,f.name,f.strings,this,t):f.type===6&&(h=new zr(n,this,t)),this._$AV.push(h),f=i[++c]}l!==f?.index&&(n=He.nextNode(),l++)}return He.currentNode=Ve,a}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Qo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,a){this.type=2,this._$AH=ut,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ao(this,t,r),Lo(t)?t===ut||t==null||t===""?(this._$AH!==ut&&this._$AR(),this._$AH=ut):t!==this._$AH&&t!==ko&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):gs(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ut&&Lo(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ve.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,a=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=No.createElement(Vi(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(r);else{let n=new Br(a,this),l=n.u(this.options);n.p(r),this.$(l),this._$AH=n}}_$AC(t){let r=Fi.get(t.strings);return r===void 0&&Fi.set(t.strings,r=new No(t)),r}T(t){Ti(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,a=0;for(let n of t)a===r.length?r.push(i=new o(this.k(Jo()),this.k(Jo()),this,this.options)):i=r[a],i._$AI(n),a++;a<r.length&&(this._$AR(i&&i._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},no=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,a,n){this.type=1,this._$AH=ut,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ut}_$AI(t,r=this,i,a){let n=this.strings,l=!1;if(n===void 0)t=ao(this,t,r,0),l=!Lo(t)||t!==this._$AH&&t!==ko,l&&(this._$AH=t);else{let c=t,f,h;for(t=n[0],f=0;f<n.length-1;f++)h=ao(this,c[i+f],r,f),h===ko&&(h=this._$AH[f]),l||=!Lo(h)||h!==this._$AH[f],h===ut?t=ut:t!==ut&&(t+=(h??"")+n[f+1]),this._$AH[f]=h}l&&!a&&this.O(t)}O(t){t===ut?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ar=class extends no{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ut?void 0:t}},Ir=class extends no{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ut)}},Pr=class extends no{constructor(t,r,i,a,n){super(t,r,i,a,n),this.type=5}_$AI(t,r=this){if((t=ao(this,t,r,0)??ut)===ko)return;let i=this._$AH,a=t===ut&&i!==ut||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==ut&&(i===ut||a);a&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},zr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};var ys=Fr.litHtmlPolyfillSupport;ys?.(No,Qo),(Fr.litHtmlVersions??=[]).push("3.1.0");var Zi=Symbol.for(""),xs=o=>{if(o?.r===Zi)return o?._$litStatic$},Dr=o=>({_$litStatic$:o,r:Zi});var Gi=new Map,Ki=o=>(t,...r)=>{let i=r.length,a,n,l=[],c=[],f,h=0,v=!1;for(;h<i;){for(f=t[h];h<i&&(n=r[h],(a=xs(n))!==void 0);)f+=a+t[++h],v=!0;h!==i&&c.push(n),l.push(f),h++}if(h===i&&l.push(t[i]),v){let x=l.join("$$lit$$");(t=Gi.get(x))===void 0&&(l.raw=l,Gi.set(x,t=l)),r=c}return o(t,...r)},_r=Ki(Ui),cc=Ki(Hi);var Tr=d(X()),Pa=d(g());var Ge;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Ge||(Ge={}));var jt=d(S()),m=d(g());var be=d(S(),1),Ne=o=>typeof o=="string"?(0,be.unsafeCSS)(o):o,e=class{static create(t,r,i,a){let n=c=>Ne(c??a),l=be.css`var(${Ne(t)}, ${n(a)})`;return l.name=t,l.description=r,l.category=i,l.defaultValue=a,l.defaultCssValue=n,l.get=c=>be.css`var(${Ne(t)}, ${n(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,r,i,a){let n=c=>i.get(c??a),l=be.css`var(${Ne(t)}, ${n(a)})`;return l.name=t,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=a,l.defaultCssValue=n,l.get=c=>be.css`var(${Ne(t)}, ${n(c)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>a??i.lastResortDefaultValue(),l}static external(t,r){let i=n=>t.fallbackVariable?t.fallbackVariable.get(n??t.defaultValue):Ne(n??t.lastResortDefaultValue()),a=be.css`var(${Ne(t.name)}, ${i(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=i,a.get=n=>be.css`var(${Ne(t.name)}, ${i(n)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};var s={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},ji={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},qi={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Yi={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Xi={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ji={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qi={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ta={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ea={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},oa={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},vs={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ra={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ia={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},aa={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},na={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},la={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ca={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},pa={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},da={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},fa={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ha={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ua={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ma={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ga={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ya={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},tr={display:ji,"title-1":qi,"title-2":Yi,"title-3":Xi,"body-1-regular":Ji,"body-1-medium":Qi,"body-1-semibold":ta,"body-2-regular":ea,"body-2-medium":oa,"body-2-medium-underline":vs,"body-2-semibold":ra,"label-1-medium":ia,"label-1-semibold":aa,"label-1-bold":na,"label-2-medium":la,"label-2-semibold":sa,"label-2-bold":ca,"caption-1-medium":pa,"caption-1-semibold":da,"caption-1-bold":fa,"caption-2-medium":ha,"caption-2-semibold":ua,"caption-2-bold":ma,"caption-3-medium":ga,"caption-3-semibold":ba,"caption-3-bold":ya};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
27
+ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var b={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:e.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:e.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Rc={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:e.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:e.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Ac={focusOpacity:e.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Dc={iconSize:e.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Uc={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:e.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Kc={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Jc={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var rp={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:e.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",s.borderRadiusM)};var sp={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var hp={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var yp={backgroundColor:e.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Cp={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Lp={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Ip={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var _p={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",s.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",s.shadowElevation02)};var Hp={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity0),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var jp={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Qp={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:e.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var rd={color1Light:e.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",s.colorRed40),color5Base:e.extend("--ft-chart-5-base","",s.colorRed60),color6Light:e.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",s.colorGray50),color10Base:e.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var sd={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:e.extend("--ft-notice-gap","",s.spacing2),iconSize:e.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var hd={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",s.spacing3)};var yd={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",s.spacing3)};var Cd={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",s.spacing3)};var Ld={iconSize:e.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",s.spacing8)};var Id={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:e.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",s.spacing05)};var xa;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(xa||(xa={}));var va;(function(o){o.large="large",o.medium="medium",o.small="small"})(va||(va={}));var er=d(S());function Sa(o){let t=tr[o];return er.css`
28
28
  .ft-typography--${(0,er.unsafeCSS)(o)} {
29
29
  font-family: ${t.fontFamily};
30
30
  font-size: ${t.fontSize};
@@ -33,7 +33,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
33
33
  line-height: ${t.lineHeight};
34
34
  text-transform: ${t.textCase};
35
35
  }
36
- `}var va=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),xe=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),y={fontFamily:xe,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},lo={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",va),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",y.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",y.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",y.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",y.textTransform,"inherit")},so={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",va),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",y.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",y.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",y.textTransform,"inherit")},co={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",y.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",y.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",y.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",y.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",y.textTransform,"inherit")},po={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",y.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",y.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",y.textTransform,"inherit")},ye={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",y.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",y.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",y.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",y.textTransform,"inherit")},bt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",y.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",y.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",y.textTransform,"inherit")},Jt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",y.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",y.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",y.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",y.textTransform,"inherit")},fo={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",y.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",y.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",y.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",y.textTransform,"inherit")},ho={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",y.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",y.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",y.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",y.textTransform,"uppercase")},le={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",y.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",y.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",y.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",y.textTransform,"uppercase")},Sa=jt.css`
36
+ `}var Oa=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),xe=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),y={fontFamily:xe,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},lo={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Oa),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",y.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",y.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",y.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",y.textTransform,"inherit")},so={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Oa),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",y.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",y.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",y.textTransform,"inherit")},co={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",y.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",y.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",y.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",y.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",y.textTransform,"inherit")},po={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",y.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",y.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",y.textTransform,"inherit")},ye={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",y.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",y.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",y.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",y.textTransform,"inherit")},bt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",y.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",y.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",y.textTransform,"inherit")},Jt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",y.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",y.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",y.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",y.textTransform,"inherit")},fo={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",y.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",y.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",y.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",y.textTransform,"inherit")},ho={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",y.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",y.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",y.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",y.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",y.textTransform,"uppercase")},le={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",xe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",y.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",y.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",y.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",y.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",y.textTransform,"uppercase")},Ca=jt.css`
37
37
  .ft-typography--title {
38
38
  font-family: ${lo.fontFamily};
39
39
  font-size: ${lo.fontSize};
@@ -42,7 +42,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
42
42
  line-height: ${lo.lineHeight};
43
43
  text-transform: ${lo.textTransform};
44
44
  }
45
- `,Oa=jt.css`
45
+ `,wa=jt.css`
46
46
  .ft-typography--title-dense {
47
47
  font-family: ${so.fontFamily};
48
48
  font-size: ${so.fontSize};
@@ -51,7 +51,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
51
51
  line-height: ${so.lineHeight};
52
52
  text-transform: ${so.textTransform};
53
53
  }
54
- `,Ca=jt.css`
54
+ `,$a=jt.css`
55
55
  .ft-typography--subtitle1 {
56
56
  font-family: ${co.fontFamily};
57
57
  font-size: ${co.fontSize};
@@ -60,7 +60,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
60
60
  line-height: ${co.lineHeight};
61
61
  text-transform: ${co.textTransform};
62
62
  }
63
- `,wa=jt.css`
63
+ `,Ea=jt.css`
64
64
  .ft-typography--subtitle2 {
65
65
  font-family: ${po.fontFamily};
66
66
  font-size: ${po.fontSize};
@@ -70,7 +70,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
70
70
  text-transform: ${po.textTransform};
71
71
  }
72
72
 
73
- `,$a=jt.css`
73
+ `,Ra=jt.css`
74
74
  .ft-typography--body1 {
75
75
  font-family: ${ye.fontFamily};
76
76
  font-size: ${ye.fontSize};
@@ -88,7 +88,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
88
88
  line-height: ${bt.lineHeight};
89
89
  text-transform: ${bt.textTransform};
90
90
  }
91
- `,Ae=jt.css`
91
+ `,Be=jt.css`
92
92
  .ft-typography--caption {
93
93
  font-family: ${Jt.fontFamily};
94
94
  font-size: ${Jt.fontSize};
@@ -97,7 +97,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
97
97
  line-height: ${Jt.lineHeight};
98
98
  text-transform: ${Jt.textTransform};
99
99
  }
100
- `,Ea=jt.css`
100
+ `,La=jt.css`
101
101
  .ft-typography--breadcrumb {
102
102
  font-family: ${fo.fontFamily};
103
103
  font-size: ${fo.fontSize};
@@ -106,7 +106,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
106
106
  line-height: ${fo.lineHeight};
107
107
  text-transform: ${fo.textTransform};
108
108
  }
109
- `,Ra=jt.css`
109
+ `,ka=jt.css`
110
110
  .ft-typography--overline {
111
111
  font-family: ${ho.fontFamily};
112
112
  font-size: ${ho.fontSize};
@@ -115,7 +115,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
115
115
  line-height: ${ho.lineHeight};
116
116
  text-transform: ${ho.textTransform};
117
117
  }
118
- `,La=jt.css`
118
+ `,Na=jt.css`
119
119
  .ft-typography--button {
120
120
  font-family: ${le.fontFamily};
121
121
  font-size: ${le.fontSize};
@@ -124,11 +124,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
124
124
  line-height: ${le.lineHeight};
125
125
  text-transform: ${le.textTransform};
126
126
  }
127
- `,ka=jt.css`
127
+ `,Ba=jt.css`
128
128
  .ft-typography {
129
129
  vertical-align: inherit;
130
130
  }
131
- `,Na=[Object.keys(tr).map(o=>xa(o))];var Aa=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},M=class extends Ba.FtLitElement{constructor(){super(...arguments),this.variant=Ge.body1}render(){return this.element?_r`
131
+ `,Aa=[Object.keys(tr).map(o=>Sa(o))];var Ia=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},U=class extends Pa.FtLitElement{constructor(){super(...arguments),this.variant=Ge.body1}render(){return this.element?_r`
132
132
  <${Dr(this.element)}
133
133
  part="text"
134
134
  class="ft-typography ft-typography--${this.variant}">
@@ -136,7 +136,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
136
136
  </${Dr(this.element)}>
137
137
  `:_r`
138
138
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
139
- `}};M.styles=[Sa,Oa,Ca,wa,$a,uo,Ae,Ea,Ra,La,ka,...Na];Aa([(0,Tr.property)()],M.prototype,"element",void 0);Aa([(0,Tr.property)()],M.prototype,"variant",void 0);(0,Ia.customElement)("ft-typography")(M);var Wr=d(g());function or(o){return o.startsWith('"')&&o.endsWith('"')?o.replace(/(^"+)|("+$)/g,""):o}function Pa(o){return or(o).split("|").pop()}function za(o){return or(o).split("|").join(" > ")}function Fa(o,t){return{label:o.label,selected:!t&&o.selected,subOptions:o.childNodes.map(r=>Fa(r,o.selected)),value:o.value}}function Da(o){return(0,Wr.flatDeep)(o.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]}).filter(t=>t.selected).map(t=>t.label)}function Ur(o){return{id:o.key,label:o.label,multivalued:o.multiSelectionable,options:o.rootNodes.map(t=>Fa(t,!1))}}function _a(o){return(0,Wr.flatDeep)(o.rootNodes,t=>t.selected?[]:t.childNodes).filter(t=>t.selected).map(t=>t.value)}var ii=d(g());var Je=d(S()),H=d(X()),qt=d(g());var Mt=d(S()),gt=d(X()),sl=d(We()),ur=d(g());var ti=d(g());var Wo=d(X()),Un=d(g());var Ja=d(S()),$=d(g());var Va=d(S()),nt=d(g()),Ta=nt.FtCssVariableFactory.extend("--ft-ripple-color","",nt.designSystemVariables.colorContent),R={color:Ta,backgroundColor:nt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ta),opacityContentOnSurfacePressed:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:nt.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Wa=nt.FtCssVariableFactory.extend("--ft-ripple-color","",nt.designSystemVariables.colorPrimary),Ua={color:Wa,backgroundColor:nt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Wa)},Ma=nt.FtCssVariableFactory.extend("--ft-ripple-color","",nt.designSystemVariables.colorSecondary),Ha={color:Ma,backgroundColor:nt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ma)},Ga=Va.css`
139
+ `}};U.styles=[Ca,wa,$a,Ea,Ra,uo,Be,La,ka,Na,Ba,...Aa];Ia([(0,Tr.property)()],U.prototype,"element",void 0);Ia([(0,Tr.property)()],U.prototype,"variant",void 0);(0,za.customElement)("ft-typography")(U);var Wr=d(g());function or(o){return o.startsWith('"')&&o.endsWith('"')?o.replace(/(^"+)|("+$)/g,""):o}function Fa(o){return or(o).split("|").pop()}function Da(o){return or(o).split("|").join(" > ")}function _a(o,t){return{label:o.label,selected:!t&&o.selected,subOptions:o.childNodes.map(r=>_a(r,o.selected)),value:o.value}}function Ta(o){return(0,Wr.flatDeep)(o.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]}).filter(t=>t.selected).map(t=>t.label)}function Mr(o){return{id:o.key,label:o.label,multivalued:o.multiSelectionable,options:o.rootNodes.map(t=>_a(t,!1))}}function Wa(o){return(0,Wr.flatDeep)(o.rootNodes,t=>t.selected?[]:t.childNodes).filter(t=>t.selected).map(t=>t.value)}var ii=d(g());var Je=d(S()),H=d(X()),qt=d(g());var Ut=d(S()),gt=d(X()),pl=d(We()),ur=d(g());var ti=d(g());var Wo=d(X()),Hn=d(g());var tn=d(S()),$=d(g());var Za=d(S()),nt=d(g()),Ma=nt.FtCssVariableFactory.extend("--ft-ripple-color","",nt.designSystemVariables.colorContent),R={color:Ma,backgroundColor:nt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ma),opacityContentOnSurfacePressed:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:nt.FtCssVariableFactory.external(nt.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:nt.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ua=nt.FtCssVariableFactory.extend("--ft-ripple-color","",nt.designSystemVariables.colorPrimary),Ha={color:Ua,backgroundColor:nt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ua)},Va=nt.FtCssVariableFactory.extend("--ft-ripple-color","",nt.designSystemVariables.colorSecondary),Ga={color:Va,backgroundColor:nt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Va)},Ka=Za.css`
140
140
  :host {
141
141
  display: contents;
142
142
  }
@@ -191,19 +191,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
191
191
  }
192
192
 
193
193
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
194
- background-color: ${Ha.backgroundColor};
194
+ background-color: ${Ga.backgroundColor};
195
195
  }
196
196
 
197
197
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
198
- background-color: ${Ha.color};
198
+ background-color: ${Ga.color};
199
199
  }
200
200
 
201
201
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
202
- background-color: ${Ua.backgroundColor};
202
+ background-color: ${Ha.backgroundColor};
203
203
  }
204
204
 
205
205
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
206
- background-color: ${Ua.color};
206
+ background-color: ${Ha.color};
207
207
  }
208
208
 
209
209
  .ft-ripple .ft-ripple--background {
@@ -248,7 +248,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
248
248
  opacity: ${R.opacityContentOnSurfacePressed};
249
249
  transform: translate(-50%, -50%) scale(1);
250
250
  }
251
- `;var Ka=d(S()),Ao=d(g()),kt={color:Ao.FtCssVariableFactory.extend("--ft-loader-color","",Ao.designSystemVariables.colorPrimary),size:Ao.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Za=Ka.css`
251
+ `;var ja=d(S()),Bo=d(g()),kt={color:Bo.FtCssVariableFactory.extend("--ft-loader-color","",Bo.designSystemVariables.colorPrimary),size:Bo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},qa=ja.css`
252
252
  :host {
253
253
  line-height: 0;
254
254
  }
@@ -317,7 +317,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
317
317
  transform: translate(calc(0.35 * ${kt.size}), 0);
318
318
  }
319
319
  }
320
- `;var ja=d(S()),ve=d(g()),mt={size:ve.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qa=ja.css`
320
+ `;var Ya=d(S()),ve=d(g()),mt={size:ve.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xa=Ya.css`
321
321
  :host, i.ft-icon {
322
322
  display: inline-flex;
323
323
  align-items: center;
@@ -365,7 +365,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
365
365
  .ft-icon--material {
366
366
  font-family: ${mt.materialFontFamily}, "Material Icons", sans-serif;
367
367
  }
368
- `;var Ya=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),B={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:Ya,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",le.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ya),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},Xa=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),Mr={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:Xa,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Xa)},se={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Qa=[Ja.css`
368
+ `;var Ja=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),A={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:Ja,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",le.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ja),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},Qa=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),Ur={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:Qa,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Qa)},se={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},en=[tn.css`
369
369
  :host {
370
370
  display: inline-block;
371
371
  max-width: 100%;
@@ -376,7 +376,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.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: ${B.fontSize};
379
+ font-size: ${A.fontSize};
380
380
  }
381
381
 
382
382
  button:hover {
@@ -405,21 +405,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
405
405
  border: none;
406
406
  pointer-events: auto;
407
407
 
408
- --ft-button-internal-line-height: max(calc(${B.fontSize} + 2px), ${B.iconSize});
409
- --ft-button-internal-color: ${B.color};
410
- ${(0,$.setVariable)(mt.size,B.iconSize)};
411
- ${(0,$.setVariable)(R.color,B.rippleColor)};
408
+ --ft-button-internal-line-height: max(calc(${A.fontSize} + 2px), ${A.iconSize});
409
+ --ft-button-internal-color: ${A.color};
410
+ ${(0,$.setVariable)(mt.size,A.iconSize)};
411
+ ${(0,$.setVariable)(R.color,A.rippleColor)};
412
412
 
413
- border-radius: ${B.borderRadius};
414
- padding: ${B.verticalPadding} ${B.horizontalPadding};
415
- background-color: ${B.backgroundColor};
413
+ border-radius: ${A.borderRadius};
414
+ padding: ${A.verticalPadding} ${A.horizontalPadding};
415
+ background-color: ${A.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(${B.verticalPadding} - 1px) calc(${B.horizontalPadding} - 1px);
422
+ padding: calc(${A.verticalPadding} - 1px) calc(${A.horizontalPadding} - 1px);
423
423
  }
424
424
 
425
425
  .ft-button.ft-button--dense {
@@ -437,7 +437,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
437
437
  }
438
438
 
439
439
  .ft-button--round {
440
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${B.verticalPadding});
440
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${A.verticalPadding});
441
441
  }
442
442
 
443
443
  .ft-button--round.ft-button--dense {
@@ -446,13 +446,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
446
446
 
447
447
  .ft-button[disabled] {
448
448
  filter: grayscale(1);
449
- opacity: ${B.opacityDisabled};
449
+ opacity: ${A.opacityDisabled};
450
450
  }
451
451
 
452
452
  .ft-button.ft-button--primary {
453
- background-color: ${Mr.backgroundColor};
454
- --ft-button-internal-color: ${Mr.color};
455
- ${(0,$.setVariable)(R.color,Mr.rippleColor)};
453
+ background-color: ${Ur.backgroundColor};
454
+ --ft-button-internal-color: ${Ur.color};
455
+ ${(0,$.setVariable)(R.color,Ur.rippleColor)};
456
456
  }
457
457
 
458
458
  .ft-button:focus {
@@ -465,7 +465,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
465
465
  white-space: nowrap;
466
466
  text-overflow: ellipsis;
467
467
  display: block;
468
- margin: 0 ${B.iconPadding};
468
+ margin: 0 ${A.iconPadding};
469
469
  ${(0,$.setVariable)(le.fontSize,"1em")};
470
470
  ${(0,$.setVariable)(le.lineHeight,"var(--ft-button-internal-line-height)")};
471
471
  }
@@ -484,8 +484,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
484
484
  }
485
485
 
486
486
  .ft-button--label[hidden] + [part="icon"] {
487
- margin: 0 calc(${B.horizontalPadding} * -1);
488
- padding: 0 ${B.verticalPadding};
487
+ margin: 0 calc(${A.horizontalPadding} * -1);
488
+ padding: 0 ${A.verticalPadding};
489
489
  }
490
490
 
491
491
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -498,21 +498,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
498
498
  }
499
499
 
500
500
  ft-loader {
501
- ${(0,$.setVariable)(kt.size,B.iconSize)};
501
+ ${(0,$.setVariable)(kt.size,A.iconSize)};
502
502
  ${(0,$.setVariable)(kt.color,"var(--ft-button-internal-color)")};
503
503
  }
504
- `,$.noTextSelect];var xo=d(g());var rn=d(g());var en=d(S()),yt=d(X()),on=d(Qt()),Bo=d(g());var Nt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},k=class extends Bo.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 Bo.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Bo.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:a,y:n}=this.getCoordinates(t),l=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-l.x:l.width/2),this.originY=Math.round(n!=null?n-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return en.html`
504
+ `,$.noTextSelect];var xo=d(g());var nn=d(g());var rn=d(S()),yt=d(X()),an=d(Qt()),Ao=d(g());var Nt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},k=class extends Ao.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 Ao.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ao.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:a,y:n}=this.getCoordinates(t),l=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-l.x:l.width/2),this.originY=Math.round(n!=null?n-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return rn.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,on.classMap)(t)}">
511
+ <div class="${(0,an.classMap)(t)}">
512
512
  <div class="ft-ripple--background"></div>
513
513
  <div class="ft-ripple--effect"></div>
514
514
  </div>
515
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 t,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>f=>{c.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),n=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",i,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",n,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",i,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",n,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,a,n;return r.x!=null?{x:a,y:n}=r:i.touches!=null&&(a=i.touches[0].clientX,n=i.touches[0].clientY),{x:a,y:n}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};k.elementDefinitions={};k.styles=Ga;Nt([(0,yt.property)({type:Boolean})],k.prototype,"primary",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"secondary",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"unbounded",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"activated",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"selected",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"disabled",void 0);Nt([(0,yt.state)()],k.prototype,"hovered",void 0);Nt([(0,yt.state)()],k.prototype,"focused",void 0);Nt([(0,yt.state)()],k.prototype,"pressed",void 0);Nt([(0,yt.state)()],k.prototype,"rippling",void 0);Nt([(0,yt.state)()],k.prototype,"originX",void 0);Nt([(0,yt.state)()],k.prototype,"originY",void 0);Nt([(0,yt.query)(".ft-ripple")],k.prototype,"ripple",void 0);Nt([(0,yt.query)(".ft-ripple--effect")],k.prototype,"rippleEffect",void 0);(0,rn.customElement)("ft-ripple")(k);var Nn=d(g());var kn=d(S()),dt=d(X()),_o=d(g());var an=d(S()),Se=d(g()),Be={distance:Se.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Se.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Se.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Se.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Se.FtCssVariableFactory.external(Se.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Se.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},nn=an.css`
515
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 t,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>f=>{c.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),n=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",i,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",n,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",i,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",n,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,a,n;return r.x!=null?{x:a,y:n}=r:i.touches!=null&&(a=i.touches[0].clientX,n=i.touches[0].clientY),{x:a,y:n}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};k.elementDefinitions={};k.styles=Ka;Nt([(0,yt.property)({type:Boolean})],k.prototype,"primary",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"secondary",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"unbounded",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"activated",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"selected",void 0);Nt([(0,yt.property)({type:Boolean})],k.prototype,"disabled",void 0);Nt([(0,yt.state)()],k.prototype,"hovered",void 0);Nt([(0,yt.state)()],k.prototype,"focused",void 0);Nt([(0,yt.state)()],k.prototype,"pressed",void 0);Nt([(0,yt.state)()],k.prototype,"rippling",void 0);Nt([(0,yt.state)()],k.prototype,"originX",void 0);Nt([(0,yt.state)()],k.prototype,"originY",void 0);Nt([(0,yt.query)(".ft-ripple")],k.prototype,"ripple",void 0);Nt([(0,yt.query)(".ft-ripple--effect")],k.prototype,"rippleEffect",void 0);(0,nn.customElement)("ft-ripple")(k);var An=d(g());var Bn=d(S()),dt=d(X()),_o=d(g());var ln=d(S()),Se=d(g()),Ae={distance:Se.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Se.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Se.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Se.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Se.FtCssVariableFactory.external(Se.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Se.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},sn=ln.css`
516
516
  .ft-tooltip--container {
517
517
  display: block;
518
518
  }
@@ -527,21 +527,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
527
527
  box-sizing: border-box;
528
528
  overflow: hidden;
529
529
  width: max-content;
530
- max-width: ${Be.maxWidth};
530
+ max-width: ${Ae.maxWidth};
531
531
  text-align: center;
532
- padding: ${Be.distance};
533
- z-index: ${Be.zIndex};
532
+ padding: ${Ae.distance};
533
+ z-index: ${Ae.zIndex};
534
534
  }
535
535
 
536
536
  .ft-tooltip--content {
537
537
  padding: 4px 8px;
538
- border-radius: ${Be.borderRadiusS};
539
- background-color: ${Be.backgroundColor};
540
- color: ${Be.color};
538
+ border-radius: ${Ae.borderRadiusS};
539
+ background-color: ${Ae.backgroundColor};
540
+ color: ${Ae.color};
541
541
  position: relative;
542
542
  word-break: break-word;
543
543
  }
544
- `;var sn=["top","right","bottom","left"],ln=["start","end"],Vr=sn.reduce((o,t)=>o.concat(t,t+"-"+ln[0],t+"-"+ln[1]),[]),Io=Math.min,Ie=Math.max,Po=Math.round;var Oe=o=>({x:o,y:o}),xs={left:"right",right:"left",bottom:"top",top:"bottom"},vs={start:"end",end:"start"};function Gr(o,t,r){return Ie(o,Io(t,r))}function rr(o,t){return typeof o=="function"?o(t):o}function mo(o){return o.split("-")[0]}function Pe(o){return o.split("-")[1]}function Kr(o){return o==="x"?"y":"x"}function Zr(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(mo(o))?"y":"x"}function jr(o){return Kr(ir(o))}function cn(o,t,r){r===void 0&&(r=!1);let i=Pe(o),a=jr(o),n=Zr(a),l=a==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[n]>t.floating[n]&&(l=Hr(l)),[l,Hr(l)]}function pn(o){return o.replace(/start|end/g,t=>vs[t])}function Hr(o){return o.replace(/left|right|bottom|top/g,t=>xs[t])}function Ss(o){return{top:0,right:0,bottom:0,left:0,...o}}function dn(o){return typeof o!="number"?Ss(o):{top:o,right:o,bottom:o,left:o}}function Ke(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function fn(o,t,r){let{reference:i,floating:a}=o,n=ir(t),l=jr(t),c=Zr(l),f=mo(t),h=n==="y",v=i.x+i.width/2-a.width/2,x=i.y+i.height/2-a.height/2,_=i[c]/2-a[c]/2,A;switch(f){case"top":A={x:v,y:i.y-a.height};break;case"bottom":A={x:v,y:i.y+i.height};break;case"right":A={x:i.x+i.width,y:x};break;case"left":A={x:i.x-a.width,y:x};break;default:A={x:i.x,y:i.y}}switch(Pe(t)){case"start":A[l]-=_*(r&&h?-1:1);break;case"end":A[l]+=_*(r&&h?-1:1);break}return A}var hn=async(o,t,r)=>{let{placement:i="bottom",strategy:a="absolute",middleware:n=[],platform:l}=r,c=n.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(t)),h=await l.getElementRects({reference:o,floating:t,strategy:a}),{x:v,y:x}=fn(h,i,f),_=i,A={},U=0;for(let it=0;it<c.length;it++){let{name:ct,fn:at}=c[it],{x:pt,y:St,data:Le,reset:vt}=await at({x:v,y:x,initialPlacement:i,placement:_,strategy:a,middlewareData:A,rects:h,platform:l,elements:{reference:o,floating:t}});if(v=pt??v,x=St??x,A={...A,[ct]:{...A[ct],...Le}},vt&&U<=50){U++,typeof vt=="object"&&(vt.placement&&(_=vt.placement),vt.rects&&(h=vt.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:a}):vt.rects),{x:v,y:x}=fn(h,_,f)),it=-1;continue}}return{x:v,y:x,placement:_,strategy:a,middlewareData:A}};async function qr(o,t){var r;t===void 0&&(t={});let{x:i,y:a,platform:n,rects:l,elements:c,strategy:f}=o,{boundary:h="clippingAncestors",rootBoundary:v="viewport",elementContext:x="floating",altBoundary:_=!1,padding:A=0}=rr(t,o),U=dn(A),ct=c[_?x==="floating"?"reference":"floating":x],at=Ke(await n.getClippingRect({element:(r=await(n.isElement==null?void 0:n.isElement(ct)))==null||r?ct:ct.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(c.floating)),boundary:h,rootBoundary:v,strategy:f})),pt=x==="floating"?{...l.floating,x:i,y:a}:l.reference,St=await(n.getOffsetParent==null?void 0:n.getOffsetParent(c.floating)),Le=await(n.isElement==null?void 0:n.isElement(St))?await(n.getScale==null?void 0:n.getScale(St))||{x:1,y:1}:{x:1,y:1},vt=Ke(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:pt,offsetParent:St,strategy:f}):pt);return{top:(at.top-vt.top+U.top)/Le.y,bottom:(vt.bottom-at.bottom+U.bottom)/Le.y,left:(at.left-vt.left+U.left)/Le.x,right:(vt.right-at.right+U.right)/Le.x}}function Os(o,t,r){return(o?[...r.filter(a=>Pe(a)===o),...r.filter(a=>Pe(a)!==o)]:r.filter(a=>mo(a)===a)).filter(a=>o?Pe(a)===o||(t?pn(a)!==a:!1):!0)}var Yr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,a;let{rects:n,middlewareData:l,placement:c,platform:f,elements:h}=t,{crossAxis:v=!1,alignment:x,allowedPlacements:_=Vr,autoAlignment:A=!0,...U}=rr(o,t),it=x!==void 0||_===Vr?Os(x||null,A,_):_,ct=await qr(t,U),at=((r=l.autoPlacement)==null?void 0:r.index)||0,pt=it[at];if(pt==null)return{};let St=cn(pt,n,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(c!==pt)return{reset:{placement:it[0]}};let Le=[ct[mo(pt)],ct[St[0]],ct[St[1]]],vt=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:pt,overflows:Le}],xi=it[at+1];if(xi)return{data:{index:at+1,overflows:vt},reset:{placement:xi}};let vi=vt.map(ne=>{let $o=Pe(ne.placement);return[ne.placement,$o&&v?ne.overflows.slice(0,2).reduce((as,ns)=>as+ns,0):ne.overflows[0],ne.overflows]}).sort((ne,$o)=>ne[1]-$o[1]),Si=((a=vi.filter(ne=>ne[2].slice(0,Pe(ne[0])?2:3).every($o=>$o<=0))[0])==null?void 0:a[0])||vi[0][0];return Si!==c?{data:{index:at+1,overflows:vt},reset:{placement:Si}}:{}}}};var Xr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:a}=t,{mainAxis:n=!0,crossAxis:l=!1,limiter:c={fn:ct=>{let{x:at,y:pt}=ct;return{x:at,y:pt}}},...f}=rr(o,t),h={x:r,y:i},v=await qr(t,f),x=ir(mo(a)),_=Kr(x),A=h[_],U=h[x];if(n){let ct=_==="y"?"top":"left",at=_==="y"?"bottom":"right",pt=A+v[ct],St=A-v[at];A=Gr(pt,A,St)}if(l){let ct=x==="y"?"top":"left",at=x==="y"?"bottom":"right",pt=U+v[ct],St=U-v[at];U=Gr(pt,U,St)}let it=c.fn({...t,[_]:A,[x]:U});return{...it,data:{x:it.x-r,y:it.y-i}}}}};function Ce(o){return mn(o)?(o.nodeName||"").toLowerCase():"#document"}function At(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function we(o){var t;return(t=(mn(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function mn(o){return o instanceof Node||o instanceof At(o).Node}function ce(o){return o instanceof Element||o instanceof At(o).Element}function te(o){return o instanceof HTMLElement||o instanceof At(o).HTMLElement}function un(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof At(o).ShadowRoot}function go(o){let{overflow:t,overflowX:r,overflowY:i,display:a}=_t(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(a)}function gn(o){return["table","td","th"].includes(Ce(o))}function nr(o){let t=lr(),r=_t(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function bn(o){let t=Ze(o);for(;te(t)&&!zo(t);){if(nr(t))return t;t=Ze(t)}return null}function lr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function zo(o){return["html","body","#document"].includes(Ce(o))}function _t(o){return At(o).getComputedStyle(o)}function Fo(o){return ce(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ze(o){if(Ce(o)==="html")return o;let t=o.assignedSlot||o.parentNode||un(o)&&o.host||we(o);return un(t)?t.host:t}function yn(o){let t=Ze(o);return zo(t)?o.ownerDocument?o.ownerDocument.body:o.body:te(t)&&go(t)?t:yn(t)}function ar(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=yn(o),n=a===((i=o.ownerDocument)==null?void 0:i.body),l=At(a);return n?t.concat(l,l.visualViewport||[],go(a)?a:[],l.frameElement&&r?ar(l.frameElement):[]):t.concat(a,ar(a,[],r))}function Sn(o){let t=_t(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,a=te(o),n=a?o.offsetWidth:r,l=a?o.offsetHeight:i,c=Po(r)!==n||Po(i)!==l;return c&&(r=n,i=l),{width:r,height:i,$:c}}function On(o){return ce(o)?o:o.contextElement}function bo(o){let t=On(o);if(!te(t))return Oe(1);let r=t.getBoundingClientRect(),{width:i,height:a,$:n}=Sn(t),l=(n?Po(r.width):r.width)/i,c=(n?Po(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Cs=Oe(0);function Cn(o){let t=At(o);return!lr()||!t.visualViewport?Cs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ws(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==At(o)?!1:t}function Do(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),n=On(o),l=Oe(1);t&&(i?ce(i)&&(l=bo(i)):l=bo(o));let c=ws(n,r,i)?Cn(n):Oe(0),f=(a.left+c.x)/l.x,h=(a.top+c.y)/l.y,v=a.width/l.x,x=a.height/l.y;if(n){let _=At(n),A=i&&ce(i)?At(i):i,U=_.frameElement;for(;U&&i&&A!==_;){let it=bo(U),ct=U.getBoundingClientRect(),at=_t(U),pt=ct.left+(U.clientLeft+parseFloat(at.paddingLeft))*it.x,St=ct.top+(U.clientTop+parseFloat(at.paddingTop))*it.y;f*=it.x,h*=it.y,v*=it.x,x*=it.y,f+=pt,h+=St,U=At(U).frameElement}}return Ke({width:v,height:x,x:f,y:h})}function $s(o){let{rect:t,offsetParent:r,strategy:i}=o,a=te(r),n=we(r);if(r===n)return t;let l={scrollLeft:0,scrollTop:0},c=Oe(1),f=Oe(0);if((a||!a&&i!=="fixed")&&((Ce(r)!=="body"||go(n))&&(l=Fo(r)),te(r))){let h=Do(r);c=bo(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-l.scrollLeft*c.x+f.x,y:t.y*c.y-l.scrollTop*c.y+f.y}}function Es(o){return Array.from(o.getClientRects())}function wn(o){return Do(we(o)).left+Fo(o).scrollLeft}function Rs(o){let t=we(o),r=Fo(o),i=o.ownerDocument.body,a=Ie(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),n=Ie(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+wn(o),c=-r.scrollTop;return _t(i).direction==="rtl"&&(l+=Ie(t.clientWidth,i.clientWidth)-a),{width:a,height:n,x:l,y:c}}function Ls(o,t){let r=At(o),i=we(o),a=r.visualViewport,n=i.clientWidth,l=i.clientHeight,c=0,f=0;if(a){n=a.width,l=a.height;let h=lr();(!h||h&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:n,height:l,x:c,y:f}}function ks(o,t){let r=Do(o,!0,t==="fixed"),i=r.top+o.clientTop,a=r.left+o.clientLeft,n=te(o)?bo(o):Oe(1),l=o.clientWidth*n.x,c=o.clientHeight*n.y,f=a*n.x,h=i*n.y;return{width:l,height:c,x:f,y:h}}function xn(o,t,r){let i;if(t==="viewport")i=Ls(o,r);else if(t==="document")i=Rs(we(o));else if(ce(t))i=ks(t,r);else{let a=Cn(o);i={...t,x:t.x-a.x,y:t.y-a.y}}return Ke(i)}function $n(o,t){let r=Ze(o);return r===t||!ce(r)||zo(r)?!1:_t(r).position==="fixed"||$n(r,t)}function Ns(o,t){let r=t.get(o);if(r)return r;let i=ar(o,[],!1).filter(c=>ce(c)&&Ce(c)!=="body"),a=null,n=_t(o).position==="fixed",l=n?Ze(o):o;for(;ce(l)&&!zo(l);){let c=_t(l),f=nr(l);!f&&c.position==="fixed"&&(a=null),(n?!f&&!a:!f&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||go(l)&&!f&&$n(o,l))?i=i.filter(v=>v!==l):a=c,l=Ze(l)}return t.set(o,i),i}function As(o){let{element:t,boundary:r,rootBoundary:i,strategy:a}=o,l=[...r==="clippingAncestors"?Ns(t,this._c):[].concat(r),i],c=l[0],f=l.reduce((h,v)=>{let x=xn(t,v,a);return h.top=Ie(x.top,h.top),h.right=Io(x.right,h.right),h.bottom=Io(x.bottom,h.bottom),h.left=Ie(x.left,h.left),h},xn(t,c,a));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Bs(o){return Sn(o)}function Is(o,t,r){let i=te(t),a=we(t),n=r==="fixed",l=Do(o,!0,n,t),c={scrollLeft:0,scrollTop:0},f=Oe(0);if(i||!i&&!n)if((Ce(t)!=="body"||go(a))&&(c=Fo(t)),i){let h=Do(t,!0,n,t);f.x=h.x+t.clientLeft,f.y=h.y+t.clientTop}else a&&(f.x=wn(a));return{x:l.left+c.scrollLeft-f.x,y:l.top+c.scrollTop-f.y,width:l.width,height:l.height}}function vn(o,t){return!te(o)||_t(o).position==="fixed"?null:t?t(o):o.offsetParent}function En(o,t){let r=At(o);if(!te(o))return r;let i=vn(o,t);for(;i&&gn(i)&&_t(i).position==="static";)i=vn(i,t);return i&&(Ce(i)==="html"||Ce(i)==="body"&&_t(i).position==="static"&&!nr(i))?r:i||bn(o)||r}var Ps=async function(o){let{reference:t,floating:r,strategy:i}=o,a=this.getOffsetParent||En,n=this.getDimensions;return{reference:Is(t,await a(r),i),floating:{x:0,y:0,...await n(r)}}};function zs(o){return _t(o).direction==="rtl"}var sr={convertOffsetParentRelativeRectToViewportRelativeRect:$s,getDocumentElement:we,getClippingRect:As,getOffsetParent:En,getElementRects:Ps,getClientRects:Es,getDimensions:Bs,getScale:bo,isElement:ce,isRTL:zs};var Rn=(o,t,r)=>{let i=new Map,a={platform:sr,...r},n={...a.platform,_c:i};return hn(o,t,{...a,platform:n})};function Ln(o){return Fs(o)}function Jr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Fs(o){for(let t=o;t;t=Jr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Jr(o);t;t=Jr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function cr(o,t,r){return Rn(o,t,{platform:{...sr,getOffsetParent:i=>sr.getOffsetParent(i,Ln)},middleware:[Xr({crossAxis:!0}),Yr({allowedPlacements:[r]})]})}var Bt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Z=class extends _o.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 _o.Debouncer,this.revealDebouncer=new _o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return kn.html`
544
+ `;var pn=["top","right","bottom","left"],cn=["start","end"],Vr=pn.reduce((o,t)=>o.concat(t,t+"-"+cn[0],t+"-"+cn[1]),[]),Io=Math.min,Ie=Math.max,Po=Math.round;var Oe=o=>({x:o,y:o}),Ss={left:"right",right:"left",bottom:"top",top:"bottom"},Os={start:"end",end:"start"};function Gr(o,t,r){return Ie(o,Io(t,r))}function rr(o,t){return typeof o=="function"?o(t):o}function mo(o){return o.split("-")[0]}function Pe(o){return o.split("-")[1]}function Zr(o){return o==="x"?"y":"x"}function Kr(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(mo(o))?"y":"x"}function jr(o){return Zr(ir(o))}function dn(o,t,r){r===void 0&&(r=!1);let i=Pe(o),a=jr(o),n=Kr(a),l=a==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[n]>t.floating[n]&&(l=Hr(l)),[l,Hr(l)]}function fn(o){return o.replace(/start|end/g,t=>Os[t])}function Hr(o){return o.replace(/left|right|bottom|top/g,t=>Ss[t])}function Cs(o){return{top:0,right:0,bottom:0,left:0,...o}}function hn(o){return typeof o!="number"?Cs(o):{top:o,right:o,bottom:o,left:o}}function Ze(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function un(o,t,r){let{reference:i,floating:a}=o,n=ir(t),l=jr(t),c=Kr(l),f=mo(t),h=n==="y",v=i.x+i.width/2-a.width/2,x=i.y+i.height/2-a.height/2,_=i[c]/2-a[c]/2,B;switch(f){case"top":B={x:v,y:i.y-a.height};break;case"bottom":B={x:v,y:i.y+i.height};break;case"right":B={x:i.x+i.width,y:x};break;case"left":B={x:i.x-a.width,y:x};break;default:B={x:i.x,y:i.y}}switch(Pe(t)){case"start":B[l]-=_*(r&&h?-1:1);break;case"end":B[l]+=_*(r&&h?-1:1);break}return B}var mn=async(o,t,r)=>{let{placement:i="bottom",strategy:a="absolute",middleware:n=[],platform:l}=r,c=n.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(t)),h=await l.getElementRects({reference:o,floating:t,strategy:a}),{x:v,y:x}=un(h,i,f),_=i,B={},M=0;for(let it=0;it<c.length;it++){let{name:ct,fn:at}=c[it],{x:pt,y:St,data:Le,reset:vt}=await at({x:v,y:x,initialPlacement:i,placement:_,strategy:a,middlewareData:B,rects:h,platform:l,elements:{reference:o,floating:t}});if(v=pt??v,x=St??x,B={...B,[ct]:{...B[ct],...Le}},vt&&M<=50){M++,typeof vt=="object"&&(vt.placement&&(_=vt.placement),vt.rects&&(h=vt.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:a}):vt.rects),{x:v,y:x}=un(h,_,f)),it=-1;continue}}return{x:v,y:x,placement:_,strategy:a,middlewareData:B}};async function qr(o,t){var r;t===void 0&&(t={});let{x:i,y:a,platform:n,rects:l,elements:c,strategy:f}=o,{boundary:h="clippingAncestors",rootBoundary:v="viewport",elementContext:x="floating",altBoundary:_=!1,padding:B=0}=rr(t,o),M=hn(B),ct=c[_?x==="floating"?"reference":"floating":x],at=Ze(await n.getClippingRect({element:(r=await(n.isElement==null?void 0:n.isElement(ct)))==null||r?ct:ct.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(c.floating)),boundary:h,rootBoundary:v,strategy:f})),pt=x==="floating"?{...l.floating,x:i,y:a}:l.reference,St=await(n.getOffsetParent==null?void 0:n.getOffsetParent(c.floating)),Le=await(n.isElement==null?void 0:n.isElement(St))?await(n.getScale==null?void 0:n.getScale(St))||{x:1,y:1}:{x:1,y:1},vt=Ze(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:pt,offsetParent:St,strategy:f}):pt);return{top:(at.top-vt.top+M.top)/Le.y,bottom:(vt.bottom-at.bottom+M.bottom)/Le.y,left:(at.left-vt.left+M.left)/Le.x,right:(vt.right-at.right+M.right)/Le.x}}function ws(o,t,r){return(o?[...r.filter(a=>Pe(a)===o),...r.filter(a=>Pe(a)!==o)]:r.filter(a=>mo(a)===a)).filter(a=>o?Pe(a)===o||(t?fn(a)!==a:!1):!0)}var Yr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,a;let{rects:n,middlewareData:l,placement:c,platform:f,elements:h}=t,{crossAxis:v=!1,alignment:x,allowedPlacements:_=Vr,autoAlignment:B=!0,...M}=rr(o,t),it=x!==void 0||_===Vr?ws(x||null,B,_):_,ct=await qr(t,M),at=((r=l.autoPlacement)==null?void 0:r.index)||0,pt=it[at];if(pt==null)return{};let St=dn(pt,n,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(c!==pt)return{reset:{placement:it[0]}};let Le=[ct[mo(pt)],ct[St[0]],ct[St[1]]],vt=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:pt,overflows:Le}],xi=it[at+1];if(xi)return{data:{index:at+1,overflows:vt},reset:{placement:xi}};let vi=vt.map(ne=>{let $o=Pe(ne.placement);return[ne.placement,$o&&v?ne.overflows.slice(0,2).reduce((ls,ss)=>ls+ss,0):ne.overflows[0],ne.overflows]}).sort((ne,$o)=>ne[1]-$o[1]),Si=((a=vi.filter(ne=>ne[2].slice(0,Pe(ne[0])?2:3).every($o=>$o<=0))[0])==null?void 0:a[0])||vi[0][0];return Si!==c?{data:{index:at+1,overflows:vt},reset:{placement:Si}}:{}}}};var Xr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:a}=t,{mainAxis:n=!0,crossAxis:l=!1,limiter:c={fn:ct=>{let{x:at,y:pt}=ct;return{x:at,y:pt}}},...f}=rr(o,t),h={x:r,y:i},v=await qr(t,f),x=ir(mo(a)),_=Zr(x),B=h[_],M=h[x];if(n){let ct=_==="y"?"top":"left",at=_==="y"?"bottom":"right",pt=B+v[ct],St=B-v[at];B=Gr(pt,B,St)}if(l){let ct=x==="y"?"top":"left",at=x==="y"?"bottom":"right",pt=M+v[ct],St=M-v[at];M=Gr(pt,M,St)}let it=c.fn({...t,[_]:B,[x]:M});return{...it,data:{x:it.x-r,y:it.y-i}}}}};function Ce(o){return bn(o)?(o.nodeName||"").toLowerCase():"#document"}function Bt(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function we(o){var t;return(t=(bn(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function bn(o){return o instanceof Node||o instanceof Bt(o).Node}function ce(o){return o instanceof Element||o instanceof Bt(o).Element}function te(o){return o instanceof HTMLElement||o instanceof Bt(o).HTMLElement}function gn(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof Bt(o).ShadowRoot}function go(o){let{overflow:t,overflowX:r,overflowY:i,display:a}=_t(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(a)}function yn(o){return["table","td","th"].includes(Ce(o))}function nr(o){let t=lr(),r=_t(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function xn(o){let t=Ke(o);for(;te(t)&&!zo(t);){if(nr(t))return t;t=Ke(t)}return null}function lr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function zo(o){return["html","body","#document"].includes(Ce(o))}function _t(o){return Bt(o).getComputedStyle(o)}function Fo(o){return ce(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ke(o){if(Ce(o)==="html")return o;let t=o.assignedSlot||o.parentNode||gn(o)&&o.host||we(o);return gn(t)?t.host:t}function vn(o){let t=Ke(o);return zo(t)?o.ownerDocument?o.ownerDocument.body:o.body:te(t)&&go(t)?t:vn(t)}function ar(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=vn(o),n=a===((i=o.ownerDocument)==null?void 0:i.body),l=Bt(a);return n?t.concat(l,l.visualViewport||[],go(a)?a:[],l.frameElement&&r?ar(l.frameElement):[]):t.concat(a,ar(a,[],r))}function Cn(o){let t=_t(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,a=te(o),n=a?o.offsetWidth:r,l=a?o.offsetHeight:i,c=Po(r)!==n||Po(i)!==l;return c&&(r=n,i=l),{width:r,height:i,$:c}}function wn(o){return ce(o)?o:o.contextElement}function bo(o){let t=wn(o);if(!te(t))return Oe(1);let r=t.getBoundingClientRect(),{width:i,height:a,$:n}=Cn(t),l=(n?Po(r.width):r.width)/i,c=(n?Po(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var $s=Oe(0);function $n(o){let t=Bt(o);return!lr()||!t.visualViewport?$s:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Es(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==Bt(o)?!1:t}function Do(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),n=wn(o),l=Oe(1);t&&(i?ce(i)&&(l=bo(i)):l=bo(o));let c=Es(n,r,i)?$n(n):Oe(0),f=(a.left+c.x)/l.x,h=(a.top+c.y)/l.y,v=a.width/l.x,x=a.height/l.y;if(n){let _=Bt(n),B=i&&ce(i)?Bt(i):i,M=_.frameElement;for(;M&&i&&B!==_;){let it=bo(M),ct=M.getBoundingClientRect(),at=_t(M),pt=ct.left+(M.clientLeft+parseFloat(at.paddingLeft))*it.x,St=ct.top+(M.clientTop+parseFloat(at.paddingTop))*it.y;f*=it.x,h*=it.y,v*=it.x,x*=it.y,f+=pt,h+=St,M=Bt(M).frameElement}}return Ze({width:v,height:x,x:f,y:h})}function Rs(o){let{rect:t,offsetParent:r,strategy:i}=o,a=te(r),n=we(r);if(r===n)return t;let l={scrollLeft:0,scrollTop:0},c=Oe(1),f=Oe(0);if((a||!a&&i!=="fixed")&&((Ce(r)!=="body"||go(n))&&(l=Fo(r)),te(r))){let h=Do(r);c=bo(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-l.scrollLeft*c.x+f.x,y:t.y*c.y-l.scrollTop*c.y+f.y}}function Ls(o){return Array.from(o.getClientRects())}function En(o){return Do(we(o)).left+Fo(o).scrollLeft}function ks(o){let t=we(o),r=Fo(o),i=o.ownerDocument.body,a=Ie(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),n=Ie(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+En(o),c=-r.scrollTop;return _t(i).direction==="rtl"&&(l+=Ie(t.clientWidth,i.clientWidth)-a),{width:a,height:n,x:l,y:c}}function Ns(o,t){let r=Bt(o),i=we(o),a=r.visualViewport,n=i.clientWidth,l=i.clientHeight,c=0,f=0;if(a){n=a.width,l=a.height;let h=lr();(!h||h&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:n,height:l,x:c,y:f}}function Bs(o,t){let r=Do(o,!0,t==="fixed"),i=r.top+o.clientTop,a=r.left+o.clientLeft,n=te(o)?bo(o):Oe(1),l=o.clientWidth*n.x,c=o.clientHeight*n.y,f=a*n.x,h=i*n.y;return{width:l,height:c,x:f,y:h}}function Sn(o,t,r){let i;if(t==="viewport")i=Ns(o,r);else if(t==="document")i=ks(we(o));else if(ce(t))i=Bs(t,r);else{let a=$n(o);i={...t,x:t.x-a.x,y:t.y-a.y}}return Ze(i)}function Rn(o,t){let r=Ke(o);return r===t||!ce(r)||zo(r)?!1:_t(r).position==="fixed"||Rn(r,t)}function As(o,t){let r=t.get(o);if(r)return r;let i=ar(o,[],!1).filter(c=>ce(c)&&Ce(c)!=="body"),a=null,n=_t(o).position==="fixed",l=n?Ke(o):o;for(;ce(l)&&!zo(l);){let c=_t(l),f=nr(l);!f&&c.position==="fixed"&&(a=null),(n?!f&&!a:!f&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||go(l)&&!f&&Rn(o,l))?i=i.filter(v=>v!==l):a=c,l=Ke(l)}return t.set(o,i),i}function Is(o){let{element:t,boundary:r,rootBoundary:i,strategy:a}=o,l=[...r==="clippingAncestors"?As(t,this._c):[].concat(r),i],c=l[0],f=l.reduce((h,v)=>{let x=Sn(t,v,a);return h.top=Ie(x.top,h.top),h.right=Io(x.right,h.right),h.bottom=Io(x.bottom,h.bottom),h.left=Ie(x.left,h.left),h},Sn(t,c,a));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Ps(o){return Cn(o)}function zs(o,t,r){let i=te(t),a=we(t),n=r==="fixed",l=Do(o,!0,n,t),c={scrollLeft:0,scrollTop:0},f=Oe(0);if(i||!i&&!n)if((Ce(t)!=="body"||go(a))&&(c=Fo(t)),i){let h=Do(t,!0,n,t);f.x=h.x+t.clientLeft,f.y=h.y+t.clientTop}else a&&(f.x=En(a));return{x:l.left+c.scrollLeft-f.x,y:l.top+c.scrollTop-f.y,width:l.width,height:l.height}}function On(o,t){return!te(o)||_t(o).position==="fixed"?null:t?t(o):o.offsetParent}function Ln(o,t){let r=Bt(o);if(!te(o))return r;let i=On(o,t);for(;i&&yn(i)&&_t(i).position==="static";)i=On(i,t);return i&&(Ce(i)==="html"||Ce(i)==="body"&&_t(i).position==="static"&&!nr(i))?r:i||xn(o)||r}var Fs=async function(o){let{reference:t,floating:r,strategy:i}=o,a=this.getOffsetParent||Ln,n=this.getDimensions;return{reference:zs(t,await a(r),i),floating:{x:0,y:0,...await n(r)}}};function Ds(o){return _t(o).direction==="rtl"}var sr={convertOffsetParentRelativeRectToViewportRelativeRect:Rs,getDocumentElement:we,getClippingRect:Is,getOffsetParent:Ln,getElementRects:Fs,getClientRects:Ls,getDimensions:Ps,getScale:bo,isElement:ce,isRTL:Ds};var kn=(o,t,r)=>{let i=new Map,a={platform:sr,...r},n={...a.platform,_c:i};return mn(o,t,{...a,platform:n})};function Nn(o){return _s(o)}function Jr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function _s(o){for(let t=o;t;t=Jr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Jr(o);t;t=Jr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function cr(o,t,r){return kn(o,t,{platform:{...sr,getOffsetParent:i=>sr.getOffsetParent(i,Nn)},middleware:[Xr({crossAxis:!0}),Yr({allowedPlacements:[r]})]})}var At=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},K=class extends _o.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 _o.Debouncer,this.revealDebouncer=new _o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Bn.html`
545
545
  <div part="container"
546
546
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
547
547
  @mouseenter=${this.onHover}
@@ -559,21 +559,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
559
559
  </div>
560
560
  </div>
561
561
  </div>
562
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",cr(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};Z.elementDefinitions={"ft-typography":M};Z.styles=nn;Bt([(0,dt.property)()],Z.prototype,"text",void 0);Bt([(0,dt.property)({type:Boolean})],Z.prototype,"manual",void 0);Bt([(0,dt.property)({type:Boolean})],Z.prototype,"inline",void 0);Bt([(0,dt.property)({type:Number})],Z.prototype,"delay",void 0);Bt([(0,dt.property)()],Z.prototype,"position",void 0);Bt([(0,dt.queryAssignedNodes)()],Z.prototype,"slotNodes",void 0);Bt([(0,dt.query)(".ft-tooltip--container")],Z.prototype,"container",void 0);Bt([(0,dt.query)(".ft-tooltip")],Z.prototype,"tooltip",void 0);Bt([(0,dt.query)(".ft-tooltip--content")],Z.prototype,"tooltipContent",void 0);Bt([(0,dt.state)()],Z.prototype,"visible",void 0);Bt([(0,dt.eventOptions)({passive:!0})],Z.prototype,"onTouch",null);Bt([(0,dt.eventOptions)({passive:!0})],Z.prototype,"onHover",null);Bt([(0,dt.eventOptions)({passive:!0})],Z.prototype,"onOut",null);Bt([(0,dt.eventOptions)({passive:!0})],Z.prototype,"onClick",null);(0,Nn.customElement)("ft-tooltip")(Z);var Fn=d(g());var To=d(S()),je=d(X()),Pn=d(g()),zn=d(Bn());var ze;(function(o){o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.BOOKS="&#xe806;",o.MENU="&#xe807;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.HOME="&#xe80b;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.EXPORT="&#xe80f;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.USER="&#xe813;",o.EXTLINK="&#xe814;",o.CALENDAR="&#xe815;",o.OFFLINE="&#xe816;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.STAR_PLAIN="&#xe900;",o.TOPICS="&#xe901;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.CLOSE="&#xe909;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN="&#xe90f;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_THEME="&#xe911;",o.ADMIN_USERS="&#xe912;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.INFO="&#xe919;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.THIN_ARROW="&#xe921;",o.SIGN_IN="&#xe922;",o.LOGOUT="&#xe923;",o.TRANSLATE="&#xe924;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.ARTICLE="&#xe927;",o.COLUMNS="&#xe928;",o.ANALYTICS="&#xe929;",o.COLLECTIONS="&#xe92a;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.COPY_TO_CLIPBOARD="&#xe930;",o.SHARED_PBK="&#xe931;",o.ATTACHMENTS="&#xe932;",o.STRIPE_ARROW_LEFT="&#xe933;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.FILTERS="&#xe935;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.SAVE="&#xe93a;",o.LOCKER="&#xe93b;",o.ADMIN_INTEGRATION="&#xe93c;",o.SYNC="&#xe93d;",o.TAG="&#xe93e;",o.BOOK_PLAIN="&#xe93f;",o.UPLOAD="&#xe940;",o.ONLINE="&#xe941;",o.TAG_PLAIN="&#xe942;",o.ACCOUNT_SETTINGS="&#xe943;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.SHORTCUT_MENU="&#xe946;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.ADMIN_PORTAL="&#xe94b;",o.STAR="&#xe94c;",o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.FEEDBACK_PLAIN="&#xe951;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_COLLECTIONS="&#xe955;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.RESET="&#xe958;",o.MY_LIBRARY="&#xe959;",o.UNSTRUCTURED_DOC="&#xe95a;",o.CONTEXTUAL="&#xe95b;",o.THIN_ARROW_UP="&#xe95c;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.DESKTOP="&#xe95e;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_STACKED="&#xe96e;",o.CHART_BAR_GROUPED="&#xe96f;",o.EYE_SLASH="&#xe970;",o.X_MARK="&#xe971;",o.EXPAND_WIDE="&#xe972;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.EXTLINK_LIGHT="&#xe978;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.CONSUMER="&#xe97c;",o.OCTAGON_XMARK="&#xe97d;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK="&#xe97f;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;",o.CIRCLE_STOP="&#xe984;",o.ARROW_ROTATE_RIGHT="&#xe985;",o.ARROWS_ROTATE="&#xe986;",o.ALIGN_RIGHT="&#xe987;",o.FORMAT_CLEAR="&#xe988;",o.ALIGN_CENTER="&#xe989;",o.ALIGN_LEFT="&#xe98a;",o.PALETTE="&#xe98b;",o.BOLD="&#xe98c;",o.ITALIC="&#xe98d;",o.UNDERLINE="&#xe98e;",o.STRIKETHROUGH="&#xe98f;",o.LINK_SIMPLE_SLASH="&#xe990;",o.LINK_SIMPLE="&#xe991;",o.EYE="&#xf06e;",o.SHARE="&#xe80f1;"})(ze||(ze={}));var u;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(u||(u={}));var Qr=new Map([...["abw"].map(o=>[o,u.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(o=>[o,u.AUDIO]),...["avi"].map(o=>[o,u.AVI]),...["chm","xhs"].map(o=>[o,u.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(o=>[o,u.CODE]),...["csv"].map(o=>[o,u.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,u.DITA]),...["epub"].map(o=>[o,u.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,u.EXCEL]),...["flac"].map(o=>[o,u.FLAC]),...["gif"].map(o=>[o,u.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,u.GZIP]),...["html","htm","xhtml"].map(o=>[o,u.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(o=>[o,u.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,u.JPEG]),...["json"].map(o=>[o,u.JSON]),...["m4a","m4p"].map(o=>[o,u.M4A]),...["mov","qt"].map(o=>[o,u.MOV]),...["mp3"].map(o=>[o,u.MP3]),...["mp4","m4v"].map(o=>[o,u.MP4]),...["ogg","oga"].map(o=>[o,u.OGG]),...["pdf","ps"].map(o=>[o,u.PDF]),...["png"].map(o=>[o,u.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,u.POWERPOINT]),...["rar"].map(o=>[o,u.RAR]),...["stp"].map(o=>[o,u.STP]),...["txt","rtf","md","mdown"].map(o=>[o,u.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(o=>[o,u.VIDEO]),...["wav"].map(o=>[o,u.WAV]),...["wma"].map(o=>[o,u.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,u.WORD]),...["xml","xsl","rdf"].map(o=>[o,u.XML]),...["yaml","yml","x-yaml"].map(o=>[o,u.YAML]),...["zip"].map(o=>[o,u.ZIP])]),Ds=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 In(o,t){var r,i,a,n;o=(o??"").toLowerCase(),t=(t??"").toLowerCase();let[l,c]=(((r=Ds.get(o))!==null&&r!==void 0?r:o)+"/").split("/");return(n=(a=(i=Qr.get(c))!==null&&i!==void 0?i:Qr.get(t))!==null&&a!==void 0?a:Qr.get(l))!==null&&n!==void 0?n:u.UNKNOWN}var jh={[u.ABW]:"#91ABC6",[u.AUDIO]:"#1795E3",[u.AVI]:"#E63324",[u.CHM]:"#71C3EB",[u.CODE]:"#71C3EB",[u.CSV]:"#1F7345",[u.DITA]:"#71C3EB",[u.EPUB]:"#85B926",[u.EXCEL]:"#1F7345",[u.FLAC]:"#1795E3",[u.GIF]:"#59B031",[u.GZIP]:"#F8AB36",[u.HTML]:"#71C3EB",[u.IMAGE]:"#59B031",[u.JPEG]:"#59B031",[u.JSON]:"#71C3EB",[u.M4A]:"#1795E3",[u.MOV]:"#E63324",[u.MP3]:"#1795E3",[u.MP4]:"#E63324",[u.OGG]:"#1795E3",[u.PDF]:"#E44948",[u.PNG]:"#59B031",[u.POWERPOINT]:"#B54A2B",[u.RAR]:"#F8AB36",[u.STP]:"#3764B1",[u.TEXT]:"#3162AB",[u.UNKNOWN]:"#999999",[u.VIDEO]:"#E63324",[u.WAV]:"#1795E3",[u.WMA]:"#1795E3",[u.WORD]:"#3162AB",[u.XML]:"#71C3EB",[u.YAML]:"#71C3EB",[u.ZIP]:"#F8AB36"};var ee;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ee||(ee={}));var pr=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Q=class extends Pn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=To.nothing}render(){let t=this.variant&&Object.values(ee).includes(this.variant)?this.variant:ee.fluid_topics,r=t!==ee.material||!!this.value;return To.html`
562
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",cr(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};K.elementDefinitions={"ft-typography":U};K.styles=sn;At([(0,dt.property)()],K.prototype,"text",void 0);At([(0,dt.property)({type:Boolean})],K.prototype,"manual",void 0);At([(0,dt.property)({type:Boolean})],K.prototype,"inline",void 0);At([(0,dt.property)({type:Number})],K.prototype,"delay",void 0);At([(0,dt.property)()],K.prototype,"position",void 0);At([(0,dt.queryAssignedNodes)()],K.prototype,"slotNodes",void 0);At([(0,dt.query)(".ft-tooltip--container")],K.prototype,"container",void 0);At([(0,dt.query)(".ft-tooltip")],K.prototype,"tooltip",void 0);At([(0,dt.query)(".ft-tooltip--content")],K.prototype,"tooltipContent",void 0);At([(0,dt.state)()],K.prototype,"visible",void 0);At([(0,dt.eventOptions)({passive:!0})],K.prototype,"onTouch",null);At([(0,dt.eventOptions)({passive:!0})],K.prototype,"onHover",null);At([(0,dt.eventOptions)({passive:!0})],K.prototype,"onOut",null);At([(0,dt.eventOptions)({passive:!0})],K.prototype,"onClick",null);(0,An.customElement)("ft-tooltip")(K);var _n=d(g());var To=d(S()),je=d(X()),Fn=d(g()),Dn=d(Pn());var ze;(function(o){o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.BOOKS="&#xe806;",o.MENU="&#xe807;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.HOME="&#xe80b;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.EXPORT="&#xe80f;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.USER="&#xe813;",o.EXTLINK="&#xe814;",o.CALENDAR="&#xe815;",o.OFFLINE="&#xe816;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.STAR_PLAIN="&#xe900;",o.TOPICS="&#xe901;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.CLOSE="&#xe909;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN="&#xe90f;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_THEME="&#xe911;",o.ADMIN_USERS="&#xe912;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.INFO="&#xe919;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.THIN_ARROW="&#xe921;",o.SIGN_IN="&#xe922;",o.LOGOUT="&#xe923;",o.TRANSLATE="&#xe924;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.ARTICLE="&#xe927;",o.COLUMNS="&#xe928;",o.ANALYTICS="&#xe929;",o.COLLECTIONS="&#xe92a;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.COPY_TO_CLIPBOARD="&#xe930;",o.SHARED_PBK="&#xe931;",o.ATTACHMENTS="&#xe932;",o.STRIPE_ARROW_LEFT="&#xe933;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.FILTERS="&#xe935;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.SAVE="&#xe93a;",o.LOCKER="&#xe93b;",o.ADMIN_INTEGRATION="&#xe93c;",o.SYNC="&#xe93d;",o.TAG="&#xe93e;",o.BOOK_PLAIN="&#xe93f;",o.UPLOAD="&#xe940;",o.ONLINE="&#xe941;",o.TAG_PLAIN="&#xe942;",o.ACCOUNT_SETTINGS="&#xe943;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.SHORTCUT_MENU="&#xe946;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.ADMIN_PORTAL="&#xe94b;",o.STAR="&#xe94c;",o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.FEEDBACK_PLAIN="&#xe951;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_COLLECTIONS="&#xe955;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.RESET="&#xe958;",o.MY_LIBRARY="&#xe959;",o.UNSTRUCTURED_DOC="&#xe95a;",o.CONTEXTUAL="&#xe95b;",o.THIN_ARROW_UP="&#xe95c;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.DESKTOP="&#xe95e;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_STACKED="&#xe96e;",o.CHART_BAR_GROUPED="&#xe96f;",o.EYE_SLASH="&#xe970;",o.X_MARK="&#xe971;",o.EXPAND_WIDE="&#xe972;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.EXTLINK_LIGHT="&#xe978;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.CONSUMER="&#xe97c;",o.OCTAGON_XMARK="&#xe97d;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK="&#xe97f;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;",o.CIRCLE_STOP="&#xe984;",o.ARROW_ROTATE_RIGHT="&#xe985;",o.ARROWS_ROTATE="&#xe986;",o.ALIGN_RIGHT="&#xe987;",o.FORMAT_CLEAR="&#xe988;",o.ALIGN_CENTER="&#xe989;",o.ALIGN_LEFT="&#xe98a;",o.PALETTE="&#xe98b;",o.BOLD="&#xe98c;",o.ITALIC="&#xe98d;",o.UNDERLINE="&#xe98e;",o.STRIKETHROUGH="&#xe98f;",o.LINK_SIMPLE_SLASH="&#xe990;",o.LINK_SIMPLE="&#xe991;",o.EYE="&#xf06e;",o.SHARE="&#xe80f1;"})(ze||(ze={}));var u;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(u||(u={}));var Qr=new Map([...["abw"].map(o=>[o,u.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(o=>[o,u.AUDIO]),...["avi"].map(o=>[o,u.AVI]),...["chm","xhs"].map(o=>[o,u.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(o=>[o,u.CODE]),...["csv"].map(o=>[o,u.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,u.DITA]),...["epub"].map(o=>[o,u.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,u.EXCEL]),...["flac"].map(o=>[o,u.FLAC]),...["gif"].map(o=>[o,u.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,u.GZIP]),...["html","htm","xhtml"].map(o=>[o,u.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(o=>[o,u.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,u.JPEG]),...["json"].map(o=>[o,u.JSON]),...["m4a","m4p"].map(o=>[o,u.M4A]),...["mov","qt"].map(o=>[o,u.MOV]),...["mp3"].map(o=>[o,u.MP3]),...["mp4","m4v"].map(o=>[o,u.MP4]),...["ogg","oga"].map(o=>[o,u.OGG]),...["pdf","ps"].map(o=>[o,u.PDF]),...["png"].map(o=>[o,u.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,u.POWERPOINT]),...["rar"].map(o=>[o,u.RAR]),...["stp"].map(o=>[o,u.STP]),...["txt","rtf","md","mdown"].map(o=>[o,u.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(o=>[o,u.VIDEO]),...["wav"].map(o=>[o,u.WAV]),...["wma"].map(o=>[o,u.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,u.WORD]),...["xml","xsl","rdf"].map(o=>[o,u.XML]),...["yaml","yml","x-yaml"].map(o=>[o,u.YAML]),...["zip"].map(o=>[o,u.ZIP])]),Ts=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 zn(o,t){var r,i,a,n;o=(o??"").toLowerCase(),t=(t??"").toLowerCase();let[l,c]=(((r=Ts.get(o))!==null&&r!==void 0?r:o)+"/").split("/");return(n=(a=(i=Qr.get(c))!==null&&i!==void 0?i:Qr.get(t))!==null&&a!==void 0?a:Qr.get(l))!==null&&n!==void 0?n:u.UNKNOWN}var Jh={[u.ABW]:"#91ABC6",[u.AUDIO]:"#1795E3",[u.AVI]:"#E63324",[u.CHM]:"#71C3EB",[u.CODE]:"#71C3EB",[u.CSV]:"#1F7345",[u.DITA]:"#71C3EB",[u.EPUB]:"#85B926",[u.EXCEL]:"#1F7345",[u.FLAC]:"#1795E3",[u.GIF]:"#59B031",[u.GZIP]:"#F8AB36",[u.HTML]:"#71C3EB",[u.IMAGE]:"#59B031",[u.JPEG]:"#59B031",[u.JSON]:"#71C3EB",[u.M4A]:"#1795E3",[u.MOV]:"#E63324",[u.MP3]:"#1795E3",[u.MP4]:"#E63324",[u.OGG]:"#1795E3",[u.PDF]:"#E44948",[u.PNG]:"#59B031",[u.POWERPOINT]:"#B54A2B",[u.RAR]:"#F8AB36",[u.STP]:"#3764B1",[u.TEXT]:"#3162AB",[u.UNKNOWN]:"#999999",[u.VIDEO]:"#E63324",[u.WAV]:"#1795E3",[u.WMA]:"#1795E3",[u.WORD]:"#3162AB",[u.XML]:"#71C3EB",[u.YAML]:"#71C3EB",[u.ZIP]:"#F8AB36"};var ee;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ee||(ee={}));var pr=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Q=class extends Fn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=To.nothing}render(){let t=this.variant&&Object.values(ee).includes(this.variant)?this.variant:ee.fluid_topics,r=t!==ee.material||!!this.value;return To.html`
563
563
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
564
- ${(0,zn.unsafeHTML)(this.resolvedIcon)}
564
+ ${(0,Dn.unsafeHTML)(this.resolvedIcon)}
565
565
  <slot ?hidden=${r}></slot>
566
566
  </i>
567
- `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case ee.file_format:this.resolvedIcon=(t=u[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case ee.material:this.resolvedIcon=this.value||To.nothing;break;default:this.resolvedIcon=(r=ze[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};Q.elementDefinitions={};Q.styles=qa;pr([(0,je.property)()],Q.prototype,"variant",void 0);pr([(0,je.property)()],Q.prototype,"value",void 0);pr([(0,je.state)()],Q.prototype,"resolvedIcon",void 0);pr([(0,je.query)("slot")],Q.prototype,"slottedContent",void 0);(0,Fn.customElement)("ft-icon")(Q);var Tn=d(g());var Dn=d(S()),_n=d(g());var qe=class extends _n.FtLitElement{render(){return Dn.html`
567
+ `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case ee.file_format:this.resolvedIcon=(t=u[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case ee.material:this.resolvedIcon=this.value||To.nothing;break;default:this.resolvedIcon=(r=ze[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};Q.elementDefinitions={};Q.styles=Xa;pr([(0,je.property)()],Q.prototype,"variant",void 0);pr([(0,je.property)()],Q.prototype,"value",void 0);pr([(0,je.state)()],Q.prototype,"resolvedIcon",void 0);pr([(0,je.query)("slot")],Q.prototype,"slottedContent",void 0);(0,_n.customElement)("ft-icon")(Q);var Mn=d(g());var Tn=d(S()),Wn=d(g());var qe=class extends Wn.FtLitElement{render(){return Tn.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
- `}};qe.styles=Za;(0,Tn.customElement)("ft-loader")(qe);var yo=d(S()),Wn=d(Qt()),Ot=d(X()),Tt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},lt=class extends(0,xo.toFtFormComponent)(xo.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(yo.html`
574
+ `}};qe.styles=qa;(0,Mn.customElement)("ft-loader")(qe);var yo=d(S()),Un=d(Qt()),Ot=d(X()),Tt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},lt=class extends(0,xo.toFtFormComponent)(xo.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(yo.html`
575
575
  <button part="button"
576
- class="${(0,Wn.classMap)(this.buttonClasses)}"
576
+ class="${(0,Un.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>
@@ -597,7 +597,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
597
597
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
598
598
  `:yo.html`
599
599
  <slot part="icon" name="icon"></slot>
600
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};lt.elementDefinitions={"ft-ripple":k,"ft-tooltip":Z,"ft-typography":M,"ft-icon":Q,"ft-loader":qe};Tt([(0,Ot.property)({type:String,reflect:!0})],lt.prototype,"role",void 0);Tt([(0,Ot.property)()],lt.prototype,"type",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"disabled",void 0);Tt([(0,Ot.property)()],lt.prototype,"label",void 0);Tt([(0,Ot.property)()],lt.prototype,"icon",void 0);Tt([(0,Ot.property)()],lt.prototype,"iconVariant",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"trailingIcon",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"loading",void 0);Tt([(0,Ot.property)()],lt.prototype,"tooltipPosition",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"hideTooltip",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"forceTooltip",void 0);Tt([(0,Ot.query)(".ft-button")],lt.prototype,"button",void 0);Tt([(0,Ot.query)(".ft-button--label slot")],lt.prototype,"slottedContent",void 0);var dr=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},ft=class extends lt{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"}};ft.styles=[Un.safariEllipsisFix,Qa];dr([(0,Wo.property)({type:Boolean})],ft.prototype,"primary",void 0);dr([(0,Wo.property)({type:Boolean})],ft.prototype,"outlined",void 0);dr([(0,Wo.property)({type:Boolean})],ft.prototype,"dense",void 0);dr([(0,Wo.property)({type:Boolean})],ft.prototype,"round",void 0);var vo=d(X());var Vn=d(g());var Mn=d(S()),T=d(g());var Hn=[Mn.css`
600
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};lt.elementDefinitions={"ft-ripple":k,"ft-tooltip":K,"ft-typography":U,"ft-icon":Q,"ft-loader":qe};Tt([(0,Ot.property)({type:String,reflect:!0})],lt.prototype,"role",void 0);Tt([(0,Ot.property)()],lt.prototype,"type",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"disabled",void 0);Tt([(0,Ot.property)()],lt.prototype,"label",void 0);Tt([(0,Ot.property)()],lt.prototype,"icon",void 0);Tt([(0,Ot.property)()],lt.prototype,"iconVariant",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"trailingIcon",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"loading",void 0);Tt([(0,Ot.property)()],lt.prototype,"tooltipPosition",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"hideTooltip",void 0);Tt([(0,Ot.property)({type:Boolean})],lt.prototype,"forceTooltip",void 0);Tt([(0,Ot.query)(".ft-button")],lt.prototype,"button",void 0);Tt([(0,Ot.query)(".ft-button--label slot")],lt.prototype,"slottedContent",void 0);var dr=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},ft=class extends lt{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"}};ft.styles=[Hn.safariEllipsisFix,en];dr([(0,Wo.property)({type:Boolean})],ft.prototype,"primary",void 0);dr([(0,Wo.property)({type:Boolean})],ft.prototype,"outlined",void 0);dr([(0,Wo.property)({type:Boolean})],ft.prototype,"dense",void 0);dr([(0,Wo.property)({type:Boolean})],ft.prototype,"round",void 0);var vo=d(X());var Zn=d(g());var Vn=d(S()),T=d(g());var Gn=[Vn.css`
601
601
  :host {
602
602
  display: inline-block;
603
603
  max-width: 100%;
@@ -815,7 +815,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
815
815
  width: ${b.smallIconOnlyWidth};
816
816
  padding: unset;
817
817
  }
818
- `,T.noTextSelect];var Uo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},pe=class extends lt{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?Ge.caption1medium:Ge.body2medium}};pe.styles=[Vn.safariEllipsisFix,Hn];Uo([(0,vo.property)({type:Boolean})],pe.prototype,"primary",void 0);Uo([(0,vo.property)({type:Boolean})],pe.prototype,"secondary",void 0);Uo([(0,vo.property)({type:Boolean})],pe.prototype,"tertiary",void 0);Uo([(0,vo.property)({type:Boolean})],pe.prototype,"neutral",void 0);Uo([(0,vo.property)({type:Boolean})],pe.prototype,"small",void 0);(0,ti.customElement)("ft-button")(ft);(0,ti.customElement)("ftds-button")(pe);var Yn=d(g());var Zn=d(S()),Fe=d(X()),jn=d(g()),qn=d(Qt());var Wt=d(g()),Gn=d(S());var $e={textColor:Wt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Wt.designSystemVariables.colorOnSurfaceHigh),fontSize:Wt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",y.fontSize),colorPrimary:Wt.FtCssVariableFactory.external(Wt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Wt.FtCssVariableFactory.external(Wt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Wt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Wt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Wt.FtCssVariableFactory.external(Wt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Kn=Gn.css`
818
+ `,T.noTextSelect];var Mo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},pe=class extends lt{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?Ge.caption1medium:Ge.body2medium}};pe.styles=[Zn.safariEllipsisFix,Gn];Mo([(0,vo.property)({type:Boolean})],pe.prototype,"primary",void 0);Mo([(0,vo.property)({type:Boolean})],pe.prototype,"secondary",void 0);Mo([(0,vo.property)({type:Boolean})],pe.prototype,"tertiary",void 0);Mo([(0,vo.property)({type:Boolean})],pe.prototype,"neutral",void 0);Mo([(0,vo.property)({type:Boolean})],pe.prototype,"small",void 0);(0,ti.customElement)("ft-button")(ft);(0,ti.customElement)("ftds-button")(pe);var Jn=d(g());var qn=d(S()),Fe=d(X()),Yn=d(g()),Xn=d(Qt());var Wt=d(g()),Kn=d(S());var $e={textColor:Wt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Wt.designSystemVariables.colorOnSurfaceHigh),fontSize:Wt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",y.fontSize),colorPrimary:Wt.FtCssVariableFactory.external(Wt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Wt.FtCssVariableFactory.external(Wt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Wt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Wt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Wt.FtCssVariableFactory.external(Wt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},jn=Kn.css`
819
819
  * {
820
820
  box-sizing: border-box;
821
821
  }
@@ -893,8 +893,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
893
893
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
894
894
  opacity: 1;
895
895
  }
896
- `;var So=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},It=class extends jn.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Zn.html`
897
- <label class="${(0,qn.classMap)(t)}" for="checkbox-input">
896
+ `;var So=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},It=class extends Yn.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return qn.html`
897
+ <label class="${(0,Xn.classMap)(t)}" for="checkbox-input">
898
898
  <div class="ft-checkbox--box-container">
899
899
  <ft-ripple
900
900
  ?disabled=${this.disabled}
@@ -920,7 +920,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
920
920
  <slot></slot>
921
921
  </ft-typography>
922
922
  </label>
923
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};It.elementDefinitions={"ft-ripple":k,"ft-typography":M};It.styles=Kn;So([(0,Fe.property)()],It.prototype,"name",void 0);So([(0,Fe.property)({type:Boolean,reflect:!0})],It.prototype,"checked",void 0);So([(0,Fe.property)({type:Boolean})],It.prototype,"indeterminate",void 0);So([(0,Fe.property)({type:Boolean})],It.prototype,"disabled",void 0);So([(0,Fe.query)(".ft-checkbox")],It.prototype,"container",void 0);So([(0,Fe.query)("ft-ripple")],It.prototype,"ripple",void 0);(0,Yn.customElement)("ft-checkbox")(It);var ei=d(g());var Qn=d(S()),oe=d(X()),tl=d(g()),el=d(Qt());var Xn=d(S()),Ut=d(g()),Ye={textColor:Ut.FtCssVariableFactory.extend("--ft-radio-text-color","",Ut.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Ut.FtCssVariableFactory.external(Ut.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ut.FtCssVariableFactory.external(Ut.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ut.FtCssVariableFactory.extend("--ft-radio-border-color","",Ut.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ut.FtCssVariableFactory.external(Ut.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Jn=Xn.css`
923
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};It.elementDefinitions={"ft-ripple":k,"ft-typography":U};It.styles=jn;So([(0,Fe.property)()],It.prototype,"name",void 0);So([(0,Fe.property)({type:Boolean,reflect:!0})],It.prototype,"checked",void 0);So([(0,Fe.property)({type:Boolean})],It.prototype,"indeterminate",void 0);So([(0,Fe.property)({type:Boolean})],It.prototype,"disabled",void 0);So([(0,Fe.query)(".ft-checkbox")],It.prototype,"container",void 0);So([(0,Fe.query)("ft-ripple")],It.prototype,"ripple",void 0);(0,Jn.customElement)("ft-checkbox")(It);var ei=d(g());var el=d(S()),oe=d(X()),ol=d(g()),rl=d(Qt());var Qn=d(S()),Mt=d(g()),Ye={textColor:Mt.FtCssVariableFactory.extend("--ft-radio-text-color","",Mt.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Mt.FtCssVariableFactory.external(Mt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Mt.FtCssVariableFactory.external(Mt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Mt.FtCssVariableFactory.extend("--ft-radio-border-color","",Mt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Mt.FtCssVariableFactory.external(Mt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},tl=Qn.css`
924
924
  * {
925
925
  box-sizing: border-box;
926
926
  }
@@ -1001,15 +1001,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1001
1001
  }
1002
1002
 
1003
1003
  .ft-radio:has(:focus-visible) {
1004
- outline: 2px solid ${Ut.designSystemVariables.colorPrimary};
1004
+ outline: 2px solid ${Mt.designSystemVariables.colorPrimary};
1005
1005
  outline-offset: -2px;
1006
1006
  }
1007
1007
 
1008
1008
  .ft-radio ft-typography {
1009
1009
  padding-right: 2px;
1010
1010
  }
1011
- `;var Ee=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},fr=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},ht=class extends tl.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Qn.html`
1012
- <div class="${(0,el.classMap)(t)}">
1011
+ `;var Ee=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},fr=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},ht=class extends ol.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return el.html`
1012
+ <div class="${(0,rl.classMap)(t)}">
1013
1013
  <div class="ft-radio--box-container">
1014
1014
  <ft-ripple
1015
1015
  ?disabled=${this.disabled}
@@ -1033,7 +1033,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1033
1033
  </ft-typography>
1034
1034
  </label>
1035
1035
  </div>
1036
- `}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new fr(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new fr(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};ht.elementDefinitions={"ft-ripple":k,"ft-typography":M};ht.styles=Jn;Ee([(0,oe.property)()],ht.prototype,"value",void 0);Ee([(0,oe.property)()],ht.prototype,"name",void 0);Ee([(0,oe.property)({type:Boolean,reflect:!0})],ht.prototype,"checked",void 0);Ee([(0,oe.property)({attribute:"aria-checked",reflect:!0})],ht.prototype,"ariaChecked",void 0);Ee([(0,oe.property)({type:Boolean})],ht.prototype,"disabled",void 0);Ee([(0,oe.property)({reflect:!0,attribute:"role"})],ht.prototype,"role",void 0);Ee([(0,oe.query)(".ft-radio")],ht.prototype,"container",void 0);Ee([(0,oe.query)("ft-ripple")],ht.prototype,"ripple",void 0);Ee([(0,oe.query)("input")],ht.prototype,"input",void 0);var il=d(g()),Re=d(X()),al=d(S());var ol=d(S());var rl=ol.css`
1036
+ `}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new fr(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new fr(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};ht.elementDefinitions={"ft-ripple":k,"ft-typography":U};ht.styles=tl;Ee([(0,oe.property)()],ht.prototype,"value",void 0);Ee([(0,oe.property)()],ht.prototype,"name",void 0);Ee([(0,oe.property)({type:Boolean,reflect:!0})],ht.prototype,"checked",void 0);Ee([(0,oe.property)({attribute:"aria-checked",reflect:!0})],ht.prototype,"ariaChecked",void 0);Ee([(0,oe.property)({type:Boolean})],ht.prototype,"disabled",void 0);Ee([(0,oe.property)({reflect:!0,attribute:"role"})],ht.prototype,"role",void 0);Ee([(0,oe.query)(".ft-radio")],ht.prototype,"container",void 0);Ee([(0,oe.query)("ft-ripple")],ht.prototype,"ripple",void 0);Ee([(0,oe.query)("input")],ht.prototype,"input",void 0);var nl=d(g()),Re=d(X()),ll=d(S());var il=d(S());var al=il.css`
1037
1037
  :host {
1038
1038
  display: block;
1039
1039
  }
@@ -1041,12 +1041,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1041
1041
  :host(:focus-visible) {
1042
1042
  outline: none;
1043
1043
  }
1044
- `;var Oo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Pt=class extends il.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=t=>{!this.contains(t.relatedTarget)&&(this.tabIndex=0)}}render(){return al.html`
1044
+ `;var Oo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Pt=class extends nl.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=t=>{!this.contains(t.relatedTarget)&&(this.tabIndex=0)}}render(){return ll.html`
1045
1045
  <slot @slotchange=${this.onSlotChange}
1046
1046
  @change=${this.onChange}
1047
1047
  @keydown=${this.onKeyDown}
1048
1048
  ></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(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!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":{r=!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()}r&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(r=>r.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Pt.elementDefinitions={};Pt.styles=rl;Oo([(0,Re.property)()],Pt.prototype,"name",void 0);Oo([(0,Re.property)({reflect:!0,attribute:"role"})],Pt.prototype,"role",void 0);Oo([(0,Re.property)({reflect:!0})],Pt.prototype,"tabIndex",void 0);Oo([(0,Re.property)({reflect:!0,attribute:"aria-labelledby"})],Pt.prototype,"ariaLabelledBy",void 0);Oo([(0,Re.queryAssignedElements)()],Pt.prototype,"radioButtons",void 0);Oo([(0,Re.state)()],Pt.prototype,"currentSelectedIndex",void 0);(0,ei.customElement)("ft-radio")(ht);(0,ei.customElement)("ft-radio-group")(Pt);var nl=d(S()),j=d(g());var hr={borderRadiusM:j.FtCssVariableFactory.external(j.designSystemVariables.borderRadiusM,"Design system"),colorOutline:j.FtCssVariableFactory.external(j.designSystemVariables.colorOutline,"Design system"),colorOnSurface:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:j.FtCssVariableFactory.external(j.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:j.FtCssVariableFactory.external(bt.fontFamily,"Body2 typography"),fontSize:j.FtCssVariableFactory.external(bt.fontSize,"Body2 typography"),fontWeight:j.FtCssVariableFactory.external(bt.fontWeight,"Body2 typography"),letterSpacing:j.FtCssVariableFactory.external(bt.letterSpacing,"Body2 typography"),lineHeight:j.FtCssVariableFactory.external(bt.lineHeight,"Body2 typography"),textTransform:j.FtCssVariableFactory.external(bt.textTransform,"Body2 typography")},ll=nl.css`
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(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!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":{r=!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()}r&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(r=>r.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Pt.elementDefinitions={};Pt.styles=al;Oo([(0,Re.property)()],Pt.prototype,"name",void 0);Oo([(0,Re.property)({reflect:!0,attribute:"role"})],Pt.prototype,"role",void 0);Oo([(0,Re.property)({reflect:!0})],Pt.prototype,"tabIndex",void 0);Oo([(0,Re.property)({reflect:!0,attribute:"aria-labelledby"})],Pt.prototype,"ariaLabelledBy",void 0);Oo([(0,Re.queryAssignedElements)()],Pt.prototype,"radioButtons",void 0);Oo([(0,Re.state)()],Pt.prototype,"currentSelectedIndex",void 0);(0,ei.customElement)("ft-radio")(ht);(0,ei.customElement)("ft-radio-group")(Pt);var sl=d(S()),j=d(g());var hr={borderRadiusM:j.FtCssVariableFactory.external(j.designSystemVariables.borderRadiusM,"Design system"),colorOutline:j.FtCssVariableFactory.external(j.designSystemVariables.colorOutline,"Design system"),colorOnSurface:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:j.FtCssVariableFactory.external(j.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:j.FtCssVariableFactory.external(j.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:j.FtCssVariableFactory.external(bt.fontFamily,"Body2 typography"),fontSize:j.FtCssVariableFactory.external(bt.fontSize,"Body2 typography"),fontWeight:j.FtCssVariableFactory.external(bt.fontWeight,"Body2 typography"),letterSpacing:j.FtCssVariableFactory.external(bt.letterSpacing,"Body2 typography"),lineHeight:j.FtCssVariableFactory.external(bt.lineHeight,"Body2 typography"),textTransform:j.FtCssVariableFactory.external(bt.textTransform,"Body2 typography")},cl=sl.css`
1050
1050
  .ft-filter-level--container {
1051
1051
  display: flex;
1052
1052
  flex-direction: column;
@@ -1096,7 +1096,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1096
1096
  }
1097
1097
 
1098
1098
  ft-button {
1099
- ${(0,j.setVariable)(B.color,hr.colorOnSurface)};
1099
+ ${(0,j.setVariable)(A.color,hr.colorOnSurface)};
1100
1100
  }
1101
1101
 
1102
1102
  ft-radio, ft-checkbox {
@@ -1112,9 +1112,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1112
1112
  margin: 10px 0;
1113
1113
  color: ${hr.colorOnSurfaceMedium};
1114
1114
  }
1115
- `;var Ct=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},tt=class extends ur.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 t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return Mt.html`
1115
+ `;var Ct=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},tt=class extends ur.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 t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return Ut.html`
1116
1116
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1117
- ${this.parent==null?null:Mt.html`
1117
+ ${this.parent==null?null:Ut.html`
1118
1118
  <div tabindex="0"
1119
1119
  part="controls go-back"
1120
1120
  class="ft-filter-level--go-back"
@@ -1127,15 +1127,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1127
1127
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1128
1128
  </div>
1129
1129
  `}
1130
- ${this.options.length===0&&this.noValuesLabel?Mt.html`
1130
+ ${this.options.length===0&&this.noValuesLabel?Ut.html`
1131
1131
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1132
1132
  ${this.noValuesLabel}
1133
1133
  </ft-typography>
1134
- `:Mt.nothing}
1135
- ${(0,sl.repeat)(r,i=>i.value,i=>{var a;return Mt.html`
1134
+ `:Ut.nothing}
1135
+ ${(0,pl.repeat)(r,i=>i.value,i=>{var a;return Ut.html`
1136
1136
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1137
1137
  ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1138
- ${this.preventNavigation||i.selected||((a=i.subOptions)!==null&&a!==void 0?a:[]).length===0?Mt.nothing:Mt.html`
1138
+ ${this.preventNavigation||i.selected||((a=i.subOptions)!==null&&a!==void 0?a:[]).length===0?Ut.nothing:Ut.html`
1139
1139
  <ft-button icon="thin_arrow_right"
1140
1140
  part="controls navigate-hierarchy"
1141
1141
  aria-label="expand node"
@@ -1146,7 +1146,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1146
1146
  `}
1147
1147
  </div>
1148
1148
  `})}
1149
- ${r.length<t.length?Mt.html`
1149
+ ${r.length<t.length?Ut.html`
1150
1150
  <ft-button
1151
1151
  class="ft-filter-level--display-more"
1152
1152
  icon="thin_arrow"
@@ -1155,9 +1155,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1155
1155
  @click=${this.displayMore}>
1156
1156
  ${this.moreValuesButtonLabel}
1157
1157
  </ft-button>
1158
- `:Mt.nothing}
1158
+ `:Ut.nothing}
1159
1159
  </div>
1160
- `}goBackOnKeyPress(t){(t.key==="Enter"||t.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var r;return Mt.html`
1160
+ `}goBackOnKeyPress(t){(t.key==="Enter"||t.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var r;return Ut.html`
1161
1161
  <ft-checkbox name="${this.filterId}"
1162
1162
  part="multivalued-option"
1163
1163
  data-value="${t.value}"
@@ -1167,7 +1167,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1167
1167
  @change=${i=>this.optionsChanged(i,t)}>
1168
1168
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1169
1169
  </ft-checkbox>
1170
- `}buildMonoValuedOption(t){return Mt.html`
1170
+ `}buildMonoValuedOption(t){return Ut.html`
1171
1171
  <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1172
1172
  part="monovalued-option"
1173
1173
  data-value="${t.value}"
@@ -1178,7 +1178,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1178
1178
  @change=${r=>this.optionsChanged(r,t)}>
1179
1179
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1180
1180
  </ft-radio>
1181
- `}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};tt.elementDefinitions={"ft-button":ft,"ft-ripple":k,"ft-typography":M,"ft-checkbox":It,"ft-icon":Q,"ft-radio":ht};tt.styles=ll;Ct([(0,gt.property)({type:String})],tt.prototype,"filterId",void 0);Ct([(0,gt.property)({type:Object})],tt.prototype,"parent",void 0);Ct([(0,gt.property)({type:Array})],tt.prototype,"options",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"multivalued",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"disabled",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"hideSelectedOptions",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"displayCount",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"preventNavigation",void 0);Ct([(0,gt.property)({type:String})],tt.prototype,"filter",void 0);Ct([(0,gt.property)({type:String})],tt.prototype,"moreValuesButtonLabel",void 0);Ct([(0,gt.property)({type:String})],tt.prototype,"noValuesLabel",void 0);Ct([(0,gt.property)({type:Number})],tt.prototype,"displayedValuesLimit",void 0);Ct([(0,gt.query)(".ft-filter-level--container")],tt.prototype,"container",void 0);Ct([(0,gt.state)()],tt.prototype,"radios",void 0);Ct([(0,gt.state)()],tt.prototype,"displayedPages",void 0);var hl=d(g());var dl=d(S()),Ht=d(X()),Xe=d(g());var fl=d(Qt());var cl=d(S()),re=d(g());var wt={buttonsColor:re.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",re.designSystemVariables.colorPrimary),buttonsZIndex:re.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:re.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:re.FtCssVariableFactory.external(re.designSystemVariables.colorSurface,"Design system")},pl=cl.css`
1181
+ `}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};tt.elementDefinitions={"ft-button":ft,"ft-ripple":k,"ft-typography":U,"ft-checkbox":It,"ft-icon":Q,"ft-radio":ht};tt.styles=cl;Ct([(0,gt.property)({type:String})],tt.prototype,"filterId",void 0);Ct([(0,gt.property)({type:Object})],tt.prototype,"parent",void 0);Ct([(0,gt.property)({type:Array})],tt.prototype,"options",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"multivalued",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"disabled",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"hideSelectedOptions",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"displayCount",void 0);Ct([(0,gt.property)({type:Boolean})],tt.prototype,"preventNavigation",void 0);Ct([(0,gt.property)({type:String})],tt.prototype,"filter",void 0);Ct([(0,gt.property)({type:String})],tt.prototype,"moreValuesButtonLabel",void 0);Ct([(0,gt.property)({type:String})],tt.prototype,"noValuesLabel",void 0);Ct([(0,gt.property)({type:Number})],tt.prototype,"displayedValuesLimit",void 0);Ct([(0,gt.query)(".ft-filter-level--container")],tt.prototype,"container",void 0);Ct([(0,gt.state)()],tt.prototype,"radios",void 0);Ct([(0,gt.state)()],tt.prototype,"displayedPages",void 0);var ml=d(g());var hl=d(S()),Ht=d(X()),Xe=d(g());var ul=d(Qt());var dl=d(S()),re=d(g());var wt={buttonsColor:re.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",re.designSystemVariables.colorPrimary),buttonsZIndex:re.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:re.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:re.FtCssVariableFactory.external(re.designSystemVariables.colorSurface,"Design system")},fl=dl.css`
1182
1182
  .ft-snap-scroll {
1183
1183
  box-sizing: border-box;
1184
1184
  position: relative;
@@ -1259,8 +1259,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1259
1259
  z-index: ${wt.buttonsZIndex};
1260
1260
  opacity: 1;
1261
1261
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1262
- ${(0,re.setVariable)(B.backgroundColor,"transparent")};
1263
- ${(0,re.setVariable)(B.color,wt.buttonsColor)};
1262
+ ${(0,re.setVariable)(A.backgroundColor,"transparent")};
1263
+ ${(0,re.setVariable)(A.color,wt.buttonsColor)};
1264
1264
  }
1265
1265
 
1266
1266
  .ft-snap-scroll--previous[hidden],
@@ -1303,7 +1303,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1303
1303
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1304
1304
  background-color: ${wt.colorSurface};
1305
1305
  }
1306
- `;var de=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},oi=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},st=class extends Xe.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 Xe.Debouncer(200),this.updateScrollDebouncer=new Xe.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,a=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<a||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,fl.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":Xe.isSafari}),r=this.controls&&this.withScroll;return dl.html`
1306
+ `;var de=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},oi=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},st=class extends Xe.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 Xe.Debouncer(200),this.updateScrollDebouncer=new Xe.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,a=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<a||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,ul.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":Xe.isSafari}),r=this.controls&&this.withScroll;return hl.html`
1307
1307
  <div part="container" class="${t}">
1308
1308
  <ft-button
1309
1309
  class="ft-snap-scroll--previous"
@@ -1327,7 +1327,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1327
1327
  @click=${this.next}
1328
1328
  ></ft-button>
1329
1329
  </div>
1330
- `}update(t){super.update(t),t.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")),t.has("currentElement")&&this.dispatchEvent(new oi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}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 t=this.elements[0];return t?t[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(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};st.elementDefinitions={"ft-button":ft};st.styles=pl;de([(0,Ht.property)({type:Boolean})],st.prototype,"horizontal",void 0);de([(0,Ht.property)({type:Boolean})],st.prototype,"hideScrollbar",void 0);de([(0,Ht.property)({type:Boolean})],st.prototype,"controls",void 0);de([(0,Ht.property)({type:Boolean})],st.prototype,"limitSize",void 0);de([(0,Ht.state)()],st.prototype,"elements",void 0);de([(0,Ht.state)()],st.prototype,"currentElement",void 0);de([(0,Ht.state)()],st.prototype,"withScroll",void 0);de([(0,Ht.state)()],st.prototype,"startReached",void 0);de([(0,Ht.state)()],st.prototype,"endReached",void 0);de([(0,Ht.query)(".ft-snap-scroll--content")],st.prototype,"contentSlot",void 0);(0,hl.customElement)("ft-snap-scroll")(st);var ul=d(S()),J=d(g());var zt={colorOutline:J.FtCssVariableFactory.external(J.designSystemVariables.colorOutline,"Design system"),colorOnSurface:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:J.FtCssVariableFactory.external(J.designSystemVariables.colorPrimary,"Design system"),colorSurface:J.FtCssVariableFactory.external(J.designSystemVariables.colorSurface,"Design system"),transitionDuration:J.FtCssVariableFactory.external(J.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:J.FtCssVariableFactory.external(J.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:J.FtCssVariableFactory.extend("--ft-filter-label-color","",J.designSystemVariables.colorOnSurface),labelFontSize:J.FtCssVariableFactory.extend("--ft-filter-label-font-size","",y.fontSize,"16px")},ml=[Ae,ul.css`
1330
+ `}update(t){super.update(t),t.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")),t.has("currentElement")&&this.dispatchEvent(new oi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}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 t=this.elements[0];return t?t[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(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};st.elementDefinitions={"ft-button":ft};st.styles=fl;de([(0,Ht.property)({type:Boolean})],st.prototype,"horizontal",void 0);de([(0,Ht.property)({type:Boolean})],st.prototype,"hideScrollbar",void 0);de([(0,Ht.property)({type:Boolean})],st.prototype,"controls",void 0);de([(0,Ht.property)({type:Boolean})],st.prototype,"limitSize",void 0);de([(0,Ht.state)()],st.prototype,"elements",void 0);de([(0,Ht.state)()],st.prototype,"currentElement",void 0);de([(0,Ht.state)()],st.prototype,"withScroll",void 0);de([(0,Ht.state)()],st.prototype,"startReached",void 0);de([(0,Ht.state)()],st.prototype,"endReached",void 0);de([(0,Ht.query)(".ft-snap-scroll--content")],st.prototype,"contentSlot",void 0);(0,ml.customElement)("ft-snap-scroll")(st);var gl=d(S()),J=d(g());var zt={colorOutline:J.FtCssVariableFactory.external(J.designSystemVariables.colorOutline,"Design system"),colorOnSurface:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:J.FtCssVariableFactory.external(J.designSystemVariables.colorPrimary,"Design system"),colorSurface:J.FtCssVariableFactory.external(J.designSystemVariables.colorSurface,"Design system"),transitionDuration:J.FtCssVariableFactory.external(J.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:J.FtCssVariableFactory.external(J.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:J.FtCssVariableFactory.extend("--ft-filter-label-color","",J.designSystemVariables.colorOnSurface),labelFontSize:J.FtCssVariableFactory.extend("--ft-filter-label-font-size","",y.fontSize,"16px")},bl=[Be,gl.css`
1331
1331
  :host {
1332
1332
  display: flex;
1333
1333
  max-height: 100%;
@@ -1354,7 +1354,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1354
1354
  .ft-filter--header ft-button {
1355
1355
  flex-shrink: 0;
1356
1356
  margin-left: auto;
1357
- ${(0,J.setVariable)(B.iconSize,"18px")};
1357
+ ${(0,J.setVariable)(A.iconSize,"18px")};
1358
1358
  }
1359
1359
  .filter-label {
1360
1360
  display: contents;
@@ -1519,17 +1519,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1519
1519
  .exportpartsPrefixes=${["values","available-values"]}
1520
1520
  noValuesLabel="${this.noValuesLabel}"
1521
1521
  ></ft-filter-level>
1522
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(n=>n.value===t.detail.value);i.selected=!i.selected;let a=n=>{var l;n!==i&&(n.selected=!1),(l=n.subOptions)===null||l===void 0||l.forEach(a)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(a):this.options.forEach(a),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,qt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new ri(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};D.elementDefinitions={"ft-button":ft,"ft-filter-level":tt,"ft-snap-scroll":st,"ft-typography":M};D.styles=ml;q([(0,H.property)({type:String})],D.prototype,"id",void 0);q([(0,H.property)({type:String})],D.prototype,"label",void 0);q([(0,H.property)({type:String})],D.prototype,"filterPlaceHolder",void 0);q([(0,H.property)({type:String})],D.prototype,"clearButtonLabel",void 0);q([(0,H.property)({type:String})],D.prototype,"moreValuesButtonLabel",void 0);q([(0,H.property)({type:String})],D.prototype,"noValuesLabel",void 0);q([(0,qt.jsonProperty)([])],D.prototype,"options",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"multivalued",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"disabled",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"raiseSelectedOptions",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"displayCount",void 0);q([(0,H.property)({type:Number})],D.prototype,"displayedValuesLimit",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"hideClearButton",void 0);q([(0,H.query)(".ft-filter--slot")],D.prototype,"slotElement",void 0);q([(0,H.query)(".ft-filter--container")],D.prototype,"container",void 0);q([(0,H.query)(".ft-filter--values")],D.prototype,"valuesContainer",void 0);q([(0,H.query)(".ft-filter--levels")],D.prototype,"levelsContainer",void 0);q([(0,H.state)()],D.prototype,"lastLevelHasHiddenvalues",void 0);q([(0,H.query)(".ft-filter--filter input")],D.prototype,"filterInput",void 0);q([(0,H.queryAll)(".ft-filter--levels ft-filter-level")],D.prototype,"levels",void 0);q([(0,H.state)()],D.prototype,"withScroll",void 0);q([(0,H.state)()],D.prototype,"filter",void 0);q([(0,H.state)()],D.prototype,"slideIn",void 0);q([(0,H.state)()],D.prototype,"slideOut",void 0);var mr=d(g()),Qe=d(X()),gl=d(S()),Co=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Vt=class extends mr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return gl.html`
1522
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(n=>n.value===t.detail.value);i.selected=!i.selected;let a=n=>{var l;n!==i&&(n.selected=!1),(l=n.subOptions)===null||l===void 0||l.forEach(a)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(a):this.options.forEach(a),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,qt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new ri(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};D.elementDefinitions={"ft-button":ft,"ft-filter-level":tt,"ft-snap-scroll":st,"ft-typography":U};D.styles=bl;q([(0,H.property)({type:String})],D.prototype,"id",void 0);q([(0,H.property)({type:String})],D.prototype,"label",void 0);q([(0,H.property)({type:String})],D.prototype,"filterPlaceHolder",void 0);q([(0,H.property)({type:String})],D.prototype,"clearButtonLabel",void 0);q([(0,H.property)({type:String})],D.prototype,"moreValuesButtonLabel",void 0);q([(0,H.property)({type:String})],D.prototype,"noValuesLabel",void 0);q([(0,qt.jsonProperty)([])],D.prototype,"options",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"multivalued",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"disabled",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"raiseSelectedOptions",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"displayCount",void 0);q([(0,H.property)({type:Number})],D.prototype,"displayedValuesLimit",void 0);q([(0,H.property)({type:Boolean})],D.prototype,"hideClearButton",void 0);q([(0,H.query)(".ft-filter--slot")],D.prototype,"slotElement",void 0);q([(0,H.query)(".ft-filter--container")],D.prototype,"container",void 0);q([(0,H.query)(".ft-filter--values")],D.prototype,"valuesContainer",void 0);q([(0,H.query)(".ft-filter--levels")],D.prototype,"levelsContainer",void 0);q([(0,H.state)()],D.prototype,"lastLevelHasHiddenvalues",void 0);q([(0,H.query)(".ft-filter--filter input")],D.prototype,"filterInput",void 0);q([(0,H.queryAll)(".ft-filter--levels ft-filter-level")],D.prototype,"levels",void 0);q([(0,H.state)()],D.prototype,"withScroll",void 0);q([(0,H.state)()],D.prototype,"filter",void 0);q([(0,H.state)()],D.prototype,"slideIn",void 0);q([(0,H.state)()],D.prototype,"slideOut",void 0);var mr=d(g()),Qe=d(X()),yl=d(S()),Co=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Vt=class extends mr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return yl.html`
1523
1523
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1524
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Vt.elementDefinitions={};Co([(0,Qe.property)({type:String})],Vt.prototype,"label",void 0);Co([(0,Qe.property)({type:Object,converter:o=>o})],Vt.prototype,"value",void 0);Co([(0,Qe.property)({type:Boolean,reflect:!0})],Vt.prototype,"selected",void 0);Co([(0,Qe.property)({type:Object})],Vt.prototype,"subOptions",void 0);Co([(0,mr.jsonProperty)({})],Vt.prototype,"renderOption",void 0);Co([(0,Qe.query)(".ft-filter-option--slot")],Vt.prototype,"slotElement",void 0);(0,ii.customElement)("ft-filter")(D);(0,ii.customElement)("ft-filter-option")(Vt);var ai=d(g());var vl=d(S()),gr=d(X()),Sl=d(g());var bl=d(S());var yl=bl.css`
1524
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Vt.elementDefinitions={};Co([(0,Qe.property)({type:String})],Vt.prototype,"label",void 0);Co([(0,Qe.property)({type:Object,converter:o=>o})],Vt.prototype,"value",void 0);Co([(0,Qe.property)({type:Boolean,reflect:!0})],Vt.prototype,"selected",void 0);Co([(0,Qe.property)({type:Object})],Vt.prototype,"subOptions",void 0);Co([(0,mr.jsonProperty)({})],Vt.prototype,"renderOption",void 0);Co([(0,Qe.query)(".ft-filter-option--slot")],Vt.prototype,"slotElement",void 0);(0,ii.customElement)("ft-filter")(D);(0,ii.customElement)("ft-filter-option")(Vt);var ai=d(g());var Ol=d(S()),gr=d(X()),Cl=d(g());var xl=d(S());var vl=xl.css`
1525
1525
  .ft-accordion {
1526
1526
  box-sizing: border-box;
1527
1527
  }
1528
- `;var xl=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},fe=class extends Sl.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return vl.html`
1528
+ `;var Sl=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},fe=class extends Cl.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Ol.html`
1529
1529
  <div class="ft-accordion">
1530
1530
  <slot @activated=${this.onChange}></slot>
1531
1531
  </div>
1532
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===t.target)}};fe.elementDefinitions={};fe.styles=yl;xl([(0,gr.property)({type:Boolean})],fe.prototype,"multi",void 0);xl([(0,gr.query)("slot")],fe.prototype,"content",void 0);var Mo=d(S()),Ho=d(X()),wl=d(g());var Ol=d(S()),eo=d(g()),to={horizontalSpacing:eo.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:eo.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:eo.FtCssVariableFactory.external(eo.designSystemVariables.colorOutline,"Design system"),backgroundColor:eo.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Cl=Ol.css`
1532
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===t.target)}};fe.elementDefinitions={};fe.styles=vl;Sl([(0,gr.property)({type:Boolean})],fe.prototype,"multi",void 0);Sl([(0,gr.query)("slot")],fe.prototype,"content",void 0);var Uo=d(S()),Ho=d(X()),El=d(g());var wl=d(S()),eo=d(g()),to={horizontalSpacing:eo.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:eo.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:eo.FtCssVariableFactory.external(eo.designSystemVariables.colorOutline,"Design system"),backgroundColor:eo.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},$l=wl.css`
1533
1533
  .ft-accordion-item {
1534
1534
  display: flex;
1535
1535
  flex-direction: column;
@@ -1575,7 +1575,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1575
1575
  .ft-accordion-item--separator {
1576
1576
  border-bottom: 1px solid ${to.colorOutline};
1577
1577
  }
1578
- `;var br=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Yt=class extends wl.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Mo.html`
1578
+ `;var br=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Yt=class extends El.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Uo.html`
1579
1579
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1580
1580
  <div class="ft-accordion-item--toggle"
1581
1581
  part="toggle"
@@ -1586,13 +1586,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1586
1586
  aria-controls="ft-accordion-item-content"
1587
1587
  aria-expanded="${this.active}">
1588
1588
  <ft-ripple part="toggle-ripple"></ft-ripple>
1589
- ${this.icon?Mo.html`
1589
+ ${this.icon?Uo.html`
1590
1590
  <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
1591
1591
  `:null}
1592
- ${this.label?Mo.html`
1592
+ ${this.label?Uo.html`
1593
1593
  <ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
1594
1594
  </ft-typography>
1595
- `:Mo.html`
1595
+ `:Uo.html`
1596
1596
  <slot class="ft-accordion-item--label" name="toggle" part="label"></slot>
1597
1597
  `}
1598
1598
  <ft-icon variant="material">${this.active?"expand_less":"expand_more"}</ft-icon>
@@ -1605,7 +1605,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1605
1605
  </div>
1606
1606
  <div class="ft-accordion-item--separator" part="separator"></div>
1607
1607
  </div>
1608
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.active=!this.active)}};Yt.elementDefinitions={"ft-ripple":k,"ft-typography":M,"ft-icon":Q};Yt.styles=Cl;br([(0,Ho.property)()],Yt.prototype,"icon",void 0);br([(0,Ho.property)()],Yt.prototype,"iconVariant",void 0);br([(0,Ho.property)()],Yt.prototype,"label",void 0);br([(0,Ho.property)({type:Boolean,reflect:!0})],Yt.prototype,"active",void 0);(0,ai.customElement)("ft-accordion")(fe);(0,ai.customElement)("ft-accordion-item")(Yt);var Nl=d(g());var xr=d(S()),Et=d(X()),kl=d(Qt()),Sr=d(g());var yr=d(S()),N=d(g());var $l=N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnSurface),$t={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorSurface),color:$l,fontSize:N.FtCssVariableFactory.extend("--ft-chip-font-size","",bt.fontSize),iconSize:N.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:N.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:N.FtCssVariableFactory.extend("--ft-chip-ripple-color","",$l),horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:N.FtCssVariableFactory.external(N.designSystemVariables.colorOutline,"Design system"),opacityDisabled:N.FtCssVariableFactory.external(N.designSystemVariables.colorOpacityDisabled,"Design system")},El=N.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnPrimary)),ni={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorPrimary)),color:El,rippleColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",El)},Rl={horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Ll=[N.noTextSelect,yr.css`
1608
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.active=!this.active)}};Yt.elementDefinitions={"ft-ripple":k,"ft-typography":U,"ft-icon":Q};Yt.styles=$l;br([(0,Ho.property)()],Yt.prototype,"icon",void 0);br([(0,Ho.property)()],Yt.prototype,"iconVariant",void 0);br([(0,Ho.property)()],Yt.prototype,"label",void 0);br([(0,Ho.property)({type:Boolean,reflect:!0})],Yt.prototype,"active",void 0);(0,ai.customElement)("ft-accordion")(fe);(0,ai.customElement)("ft-accordion-item")(Yt);var Al=d(g());var xr=d(S()),Et=d(X()),Bl=d(Qt()),Sr=d(g());var yr=d(S()),N=d(g());var Rl=N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnSurface),$t={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorSurface),color:Rl,fontSize:N.FtCssVariableFactory.extend("--ft-chip-font-size","",bt.fontSize),iconSize:N.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:N.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:N.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Rl),horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:N.FtCssVariableFactory.external(N.designSystemVariables.colorOutline,"Design system"),opacityDisabled:N.FtCssVariableFactory.external(N.designSystemVariables.colorOpacityDisabled,"Design system")},Ll=N.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnPrimary)),ni={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorPrimary)),color:Ll,rippleColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Ll)},kl={horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Nl=[N.noTextSelect,yr.css`
1609
1609
  :host {
1610
1610
  display: inline-block;
1611
1611
  max-width: 100%;
@@ -1644,8 +1644,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1644
1644
 
1645
1645
  .ft-chip--dense {
1646
1646
  --ft-chip-internal-icon-padding: 3px;
1647
- --ft-chip-internal-vertical-padding: ${Rl.verticalPadding};
1648
- --ft-chip-internal-horizontal-padding: ${Rl.horizontalPadding};
1647
+ --ft-chip-internal-vertical-padding: ${kl.verticalPadding};
1648
+ --ft-chip-internal-horizontal-padding: ${kl.horizontalPadding};
1649
1649
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1650
1650
  }
1651
1651
 
@@ -1695,9 +1695,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1695
1695
  }
1696
1696
 
1697
1697
  .ft-chip--icon-button {
1698
- ${(0,N.setVariable)(B.iconSize,$t.iconSize)};
1699
- ${(0,N.setVariable)(B.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1700
- ${(0,N.setVariable)(B.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1698
+ ${(0,N.setVariable)(A.iconSize,$t.iconSize)};
1699
+ ${(0,N.setVariable)(A.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1700
+ ${(0,N.setVariable)(A.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1701
1701
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1702
1702
  }
1703
1703
 
@@ -1743,7 +1743,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1743
1743
  order: -1;
1744
1744
  }
1745
1745
  `];var Gt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},vr=class extends CustomEvent{constructor(){super("icon-click")}},et=class extends Sr.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Sr.isSafari};return xr.html`
1746
- <div class="${(0,kl.classMap)(t)}"
1746
+ <div class="${(0,Bl.classMap)(t)}"
1747
1747
  aria-label="${this.getLabel()}"
1748
1748
  tabindex="${this.interactionsOnChip?0:-1}"
1749
1749
  @keyup=${this.onKeyUp}
@@ -1767,7 +1767,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1767
1767
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1768
1768
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1769
1769
  </div>
1770
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new vr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new vr))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};et.elementDefinitions={"ft-ripple":k,"ft-typography":M,"ft-icon":Q,"ft-button":ft};et.styles=Ll;Gt([(0,Et.property)({type:Boolean})],et.prototype,"highlighted",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"removable",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"disabled",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"clickable",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"iconClickable",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"dense",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"multiLine",void 0);Gt([(0,Et.property)()],et.prototype,"label",void 0);Gt([(0,Et.property)()],et.prototype,"iconLabel",void 0);Gt([(0,Et.property)()],et.prototype,"icon",void 0);Gt([(0,Et.property)()],et.prototype,"iconVariant",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"trailingIcon",void 0);Gt([(0,Et.query)("ft-typography slot")],et.prototype,"slottedContent",void 0);(0,Nl.customElement)("ft-chip")(et);var ci=d(g());var Go=d(S()),Y=d(X()),si=d(Qt()),_l=d(We()),Ko=d(g());var zl=d(g());var li=d(S()),wo=d(X()),Il=d(Qt()),Pl=d(g());var Al=d(S()),G=d(g());var L={fontSize:G.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:G.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:G.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:G.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:G.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:G.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:G.FtCssVariableFactory.extend("--ft-input-label-border-color","",G.designSystemVariables.colorOutline),textColor:G.FtCssVariableFactory.extend("--ft-input-label-text-color","",G.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:G.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",G.designSystemVariables.colorOnSurfaceDisabled),colorSurface:G.FtCssVariableFactory.external(G.designSystemVariables.colorSurface,"Design system"),borderRadiusS:G.FtCssVariableFactory.external(G.designSystemVariables.borderRadiusS,"Design system"),colorError:G.FtCssVariableFactory.external(G.designSystemVariables.colorError,"Design system")},Bl=Al.css`
1770
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new vr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new vr))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};et.elementDefinitions={"ft-ripple":k,"ft-typography":U,"ft-icon":Q,"ft-button":ft};et.styles=Nl;Gt([(0,Et.property)({type:Boolean})],et.prototype,"highlighted",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"removable",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"disabled",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"clickable",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"iconClickable",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"dense",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"multiLine",void 0);Gt([(0,Et.property)()],et.prototype,"label",void 0);Gt([(0,Et.property)()],et.prototype,"iconLabel",void 0);Gt([(0,Et.property)()],et.prototype,"icon",void 0);Gt([(0,Et.property)()],et.prototype,"iconVariant",void 0);Gt([(0,Et.property)({type:Boolean})],et.prototype,"trailingIcon",void 0);Gt([(0,Et.query)("ft-typography slot")],et.prototype,"slottedContent",void 0);(0,Al.customElement)("ft-chip")(et);var ci=d(g());var Go=d(S()),Y=d(X()),si=d(Qt()),Wl=d(We()),Zo=d(g());var Dl=d(g());var li=d(S()),wo=d(X()),zl=d(Qt()),Fl=d(g());var Il=d(S()),G=d(g());var L={fontSize:G.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:G.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:G.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:G.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:G.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:G.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:G.FtCssVariableFactory.extend("--ft-input-label-border-color","",G.designSystemVariables.colorOutline),textColor:G.FtCssVariableFactory.extend("--ft-input-label-text-color","",G.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:G.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",G.designSystemVariables.colorOnSurfaceDisabled),colorSurface:G.FtCssVariableFactory.external(G.designSystemVariables.colorSurface,"Design system"),borderRadiusS:G.FtCssVariableFactory.external(G.designSystemVariables.borderRadiusS,"Design system"),colorError:G.FtCssVariableFactory.external(G.designSystemVariables.colorError,"Design system")},Pl=Il.css`
1771
1771
  .ft-input-label {
1772
1772
  position: absolute;
1773
1773
  inset: 0;
@@ -1889,8 +1889,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1889
1889
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
1890
1890
  border-top: none;
1891
1891
  }
1892
- `;var Vo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Kt=class extends Pl.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let t={"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 li.html`
1893
- <div class="${(0,Il.classMap)(t)}">
1892
+ `;var Vo=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Zt=class extends Fl.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let t={"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 li.html`
1893
+ <div class="${(0,zl.classMap)(t)}">
1894
1894
  ${this.text?li.html`
1895
1895
  <div class="ft-input-label--text ft-typography--caption">
1896
1896
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -1898,7 +1898,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1898
1898
  </div>
1899
1899
  `:null}
1900
1900
  </div>
1901
- `}};Kt.elementDefinitions={};Kt.styles=[Ae,Bl];Vo([(0,wo.property)({type:String})],Kt.prototype,"text",void 0);Vo([(0,wo.property)({type:Boolean})],Kt.prototype,"raised",void 0);Vo([(0,wo.property)({type:Boolean})],Kt.prototype,"outlined",void 0);Vo([(0,wo.property)({type:Boolean})],Kt.prototype,"disabled",void 0);Vo([(0,wo.property)({type:Boolean})],Kt.prototype,"error",void 0);(0,zl.customElement)("ft-input-label")(Kt);var Fl=d(S()),E=d(g());var I={labelSize:E.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:E.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:E.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:E.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:E.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:E.FtCssVariableFactory.extend("--ft-select-selected-option-color","",E.designSystemVariables.colorOnSurface),helperColor:E.FtCssVariableFactory.extend("--ft-select-helper-color","",E.designSystemVariables.colorOnSurfaceMedium),optionsColor:E.FtCssVariableFactory.extend("--ft-select-options-color","",E.designSystemVariables.colorOnSurface),optionsZIndex:E.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:E.FtCssVariableFactory.external(E.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:E.FtCssVariableFactory.external(E.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:E.FtCssVariableFactory.external(E.designSystemVariables.borderRadiusS,"Design system"),elevation02:E.FtCssVariableFactory.external(E.designSystemVariables.elevation02,"Design system"),colorError:E.FtCssVariableFactory.external(E.designSystemVariables.colorError,"Design system")},Dl=Fl.css`
1901
+ `}};Zt.elementDefinitions={};Zt.styles=[Be,Pl];Vo([(0,wo.property)({type:String})],Zt.prototype,"text",void 0);Vo([(0,wo.property)({type:Boolean})],Zt.prototype,"raised",void 0);Vo([(0,wo.property)({type:Boolean})],Zt.prototype,"outlined",void 0);Vo([(0,wo.property)({type:Boolean})],Zt.prototype,"disabled",void 0);Vo([(0,wo.property)({type:Boolean})],Zt.prototype,"error",void 0);(0,Dl.customElement)("ft-input-label")(Zt);var _l=d(S()),E=d(g());var I={labelSize:E.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:E.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:E.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:E.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:E.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:E.FtCssVariableFactory.extend("--ft-select-selected-option-color","",E.designSystemVariables.colorOnSurface),helperColor:E.FtCssVariableFactory.extend("--ft-select-helper-color","",E.designSystemVariables.colorOnSurfaceMedium),optionsColor:E.FtCssVariableFactory.extend("--ft-select-options-color","",E.designSystemVariables.colorOnSurface),optionsZIndex:E.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:E.FtCssVariableFactory.external(E.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:E.FtCssVariableFactory.external(E.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:E.FtCssVariableFactory.external(E.designSystemVariables.borderRadiusS,"Design system"),elevation02:E.FtCssVariableFactory.external(E.designSystemVariables.elevation02,"Design system"),colorError:E.FtCssVariableFactory.external(E.designSystemVariables.colorError,"Design system")},Tl=_l.css`
1902
1902
  *:focus {
1903
1903
  outline: none;
1904
1904
  }
@@ -2043,7 +2043,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2043
2043
  .ft-select--in-error .ft-select--helper-text {
2044
2044
  color: ${I.colorError};
2045
2045
  }
2046
- `;var ot=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},he=class extends Ko.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Go.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};he.elementDefinitions={};ot([(0,Y.property)({type:String})],he.prototype,"label",void 0);ot([(0,Y.property)({type:Object,converter:o=>o})],he.prototype,"value",void 0);ot([(0,Y.property)({type:Boolean,reflect:!0})],he.prototype,"selected",void 0);var V=class extends Ko.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=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,r,i,a,n;let l=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,f=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":l,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Go.html`
2046
+ `;var ot=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},he=class extends Zo.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Go.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};he.elementDefinitions={};ot([(0,Y.property)({type:String})],he.prototype,"label",void 0);ot([(0,Y.property)({type:Object,converter:o=>o})],he.prototype,"value",void 0);ot([(0,Y.property)({type:Boolean,reflect:!0})],he.prototype,"selected",void 0);var V=class extends Zo.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=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,r,i,a,n;let l=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,f=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":l,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Go.html`
2047
2047
  <div class="${(0,si.classMap)(h)}" part="container">
2048
2048
  <div class="ft-select--main-panel" part="main-panel">
2049
2049
  <ft-input-label text="${this.label}"
@@ -2071,7 +2071,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2071
2071
  part="options"
2072
2072
  @keydown=${this.onOptionsKeyDown}
2073
2073
  innerrole="listbox">
2074
- ${(0,_l.repeat)(this.options,v=>v.value,v=>this.renderOption(v))}
2074
+ ${(0,Wl.repeat)(this.options,v=>v.value,v=>this.renderOption(v))}
2075
2075
  </div>
2076
2076
  </div>
2077
2077
  ${this.helper?Go.html`
@@ -2091,7 +2091,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2091
2091
  <ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
2092
2092
  <span>${t.label}</span>
2093
2093
  </div>
2094
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var r,i;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",cr(this.mainPanel,this.optionsMenu,"bottom").then(({x:a,y:n})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${n}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var r;t.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(a=>a);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(t){var r,i,a,n,l;let c;switch(t.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),c=(a=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&a!==void 0?a:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),c=(l=(n=this.focusedOption)===null||n===void 0?void 0:n.nextElementSibling)!==null&&l!==void 0?l:this.firstOption;break}c?.focus()}onOptionKeyDown(t,r){var i;(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(t){var r,i;if(!(0,Ko.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,t.value)){this.selectedOption=t;for(let a of this.options)a.selected=a===t;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)}};V.elementDefinitions={"ft-input-label":Kt,"ft-typography":M,"ft-ripple":k,"ft-icon":Q};V.styles=[uo,Ae,Dl];ot([(0,Y.property)({type:String})],V.prototype,"label",void 0);ot([(0,Y.property)({type:String})],V.prototype,"helper",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"outlined",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"disabled",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"error",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"fixedMenuPosition",void 0);ot([(0,Y.property)({type:Array})],V.prototype,"options",void 0);ot([(0,Y.state)()],V.prototype,"selectedOption",void 0);ot([(0,Y.state)()],V.prototype,"optionsDisplayed",void 0);ot([(0,Y.state)()],V.prototype,"focusOptions",void 0);ot([(0,Y.query)(".ft-select")],V.prototype,"container",void 0);ot([(0,Y.query)(".ft-select--options")],V.prototype,"optionsMenu",void 0);ot([(0,Y.query)(".ft-select--input-panel")],V.prototype,"mainPanel",void 0);ot([(0,Y.query)(".ft-select--option:first-child")],V.prototype,"firstOption",void 0);ot([(0,Y.query)(".ft-select--option:focus")],V.prototype,"focusedOption",void 0);ot([(0,Y.query)(".ft-select--option.ft-select--option-selected")],V.prototype,"selectedOptionElement",void 0);ot([(0,Y.query)(".ft-select--option:last-child")],V.prototype,"lastOption",void 0);ot([(0,Y.query)("slot")],V.prototype,"optionsSlot",void 0);(0,ci.customElement)("ft-select")(V);(0,ci.customElement)("ft-select-option")(he);var C=d(g()),pi=d(S());var Tl=d(S()),ie=d(g()),xt={display:ie.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ie.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ie.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ie.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ie.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ie.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ie.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ie.FtCssVariableFactory.external(ie.designSystemVariables.borderRadiusM,"Design system")},Wl=Tl.css`
2094
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var r,i;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",cr(this.mainPanel,this.optionsMenu,"bottom").then(({x:a,y:n})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${n}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var r;t.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(a=>a);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(t){var r,i,a,n,l;let c;switch(t.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),c=(a=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&a!==void 0?a:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),c=(l=(n=this.focusedOption)===null||n===void 0?void 0:n.nextElementSibling)!==null&&l!==void 0?l:this.firstOption;break}c?.focus()}onOptionKeyDown(t,r){var i;(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(t){var r,i;if(!(0,Zo.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,t.value)){this.selectedOption=t;for(let a of this.options)a.selected=a===t;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)}};V.elementDefinitions={"ft-input-label":Zt,"ft-typography":U,"ft-ripple":k,"ft-icon":Q};V.styles=[uo,Be,Tl];ot([(0,Y.property)({type:String})],V.prototype,"label",void 0);ot([(0,Y.property)({type:String})],V.prototype,"helper",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"outlined",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"disabled",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"error",void 0);ot([(0,Y.property)({type:Boolean})],V.prototype,"fixedMenuPosition",void 0);ot([(0,Y.property)({type:Array})],V.prototype,"options",void 0);ot([(0,Y.state)()],V.prototype,"selectedOption",void 0);ot([(0,Y.state)()],V.prototype,"optionsDisplayed",void 0);ot([(0,Y.state)()],V.prototype,"focusOptions",void 0);ot([(0,Y.query)(".ft-select")],V.prototype,"container",void 0);ot([(0,Y.query)(".ft-select--options")],V.prototype,"optionsMenu",void 0);ot([(0,Y.query)(".ft-select--input-panel")],V.prototype,"mainPanel",void 0);ot([(0,Y.query)(".ft-select--option:first-child")],V.prototype,"firstOption",void 0);ot([(0,Y.query)(".ft-select--option:focus")],V.prototype,"focusedOption",void 0);ot([(0,Y.query)(".ft-select--option.ft-select--option-selected")],V.prototype,"selectedOptionElement",void 0);ot([(0,Y.query)(".ft-select--option:last-child")],V.prototype,"lastOption",void 0);ot([(0,Y.query)("slot")],V.prototype,"optionsSlot",void 0);(0,ci.customElement)("ft-select")(V);(0,ci.customElement)("ft-select-option")(he);var C=d(g()),pi=d(S());var Ml=d(S()),ie=d(g()),xt={display:ie.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ie.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ie.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ie.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ie.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ie.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ie.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ie.FtCssVariableFactory.external(ie.designSystemVariables.borderRadiusM,"Design system")},Ul=Ml.css`
2095
2095
  :host {
2096
2096
  width: ${xt.width};
2097
2097
  height: ${xt.height};
@@ -2118,7 +2118,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2118
2118
  background-position: calc(100vw + ${xt.glareWidth}) 0, calc(${xt.glareWidth} * -1) 0;
2119
2119
  }
2120
2120
  }
2121
- `;var O={height:C.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:C.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",C.designSystemVariables.borderRadiusS),mobileOpenPosition:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:C.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:C.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:C.FtCssVariableFactory.external(C.designSystemVariables.colorSurface,"Design system"),colorOnSurface:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:C.FtCssVariableFactory.external(C.designSystemVariables.colorOutline,"Design system"),colorPrimary:C.FtCssVariableFactory.external(C.designSystemVariables.colorPrimary,"Design system"),elevation02:C.FtCssVariableFactory.external(C.designSystemVariables.elevation02,"Design system"),buttonColor:C.FtCssVariableFactory.external(B.color,"Button"),buttonRippleColor:C.FtCssVariableFactory.external(B.rippleColor,"Button")},Ul=pi.css`
2121
+ `;var O={height:C.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:C.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",C.designSystemVariables.borderRadiusS),mobileOpenPosition:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:C.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:C.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:C.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:C.FtCssVariableFactory.external(C.designSystemVariables.colorSurface,"Design system"),colorOnSurface:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:C.FtCssVariableFactory.external(C.designSystemVariables.colorOutline,"Design system"),colorPrimary:C.FtCssVariableFactory.external(C.designSystemVariables.colorPrimary,"Design system"),elevation02:C.FtCssVariableFactory.external(C.designSystemVariables.elevation02,"Design system"),buttonColor:C.FtCssVariableFactory.external(A.color,"Button"),buttonRippleColor:C.FtCssVariableFactory.external(A.rippleColor,"Button")},Hl=pi.css`
2122
2122
  * {
2123
2123
  box-sizing: border-box;
2124
2124
  }
@@ -2221,17 +2221,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2221
2221
  align-items: center;
2222
2222
  height: 100%;
2223
2223
 
2224
- ${(0,C.setVariable)(Be.zIndex,`calc(${O.floatingZIndex} + 1)`)};
2224
+ ${(0,C.setVariable)(Ae.zIndex,`calc(${O.floatingZIndex} + 1)`)};
2225
2225
  }
2226
2226
 
2227
2227
  .ft-search-bar > ft-button,
2228
2228
  .ft-search-bar--actions ft-button {
2229
2229
  flex-shrink: 0;
2230
- ${(0,C.setVariable)(B.backgroundColor,"transparent")};
2230
+ ${(0,C.setVariable)(A.backgroundColor,"transparent")};
2231
2231
  }
2232
2232
 
2233
2233
  .ft-search-bar--left-action {
2234
- ${(0,C.setVariable)(B.borderRadius,`calc(${O.borderRadius} - 1px) 0 0 calc(${O.borderRadius} - 1px)`)};
2234
+ ${(0,C.setVariable)(A.borderRadius,`calc(${O.borderRadius} - 1px) 0 0 calc(${O.borderRadius} - 1px)`)};
2235
2235
  border-right: 1px solid ${O.colorOutline};
2236
2236
  height: 100%;
2237
2237
  }
@@ -2241,7 +2241,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2241
2241
  }
2242
2242
 
2243
2243
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2244
- ${(0,C.setVariable)(B.borderRadius,`calc(${O.borderRadius} - 1px) 0 0 0`)};
2244
+ ${(0,C.setVariable)(A.borderRadius,`calc(${O.borderRadius} - 1px) 0 0 0`)};
2245
2245
  }
2246
2246
 
2247
2247
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2313,7 +2313,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2313
2313
  ${(0,C.setVariable)(y.fontWeight,"bold")};
2314
2314
  }
2315
2315
 
2316
- `,Ml=pi.css`
2316
+ `,Vl=pi.css`
2317
2317
  .ft-search-bar--presets {
2318
2318
  min-width: 200px;
2319
2319
  }
@@ -2474,8 +2474,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2474
2474
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2475
2475
  margin: 0;
2476
2476
  }
2477
- `;var Gl=d(g());var Hl=d(S()),Vl=d(g());var De=class extends Vl.FtLitElement{render(){return Hl.html`
2478
- `}};De.elementDefinitions={};De.styles=Wl;(0,Gl.customElement)("ft-skeleton")(De);var oo=d(S()),di=d(We());var Or=d(g());var ue=class{constructor(t,r=300){this.searchBar=t,this.updateDebouncer=new Or.Debouncer(r)}render(){let t=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),r=this.searchBar.suggestions.length>0||t.length>0;return oo.html`
2477
+ `;var Kl=d(g());var Gl=d(S()),Zl=d(g());var De=class extends Zl.FtLitElement{render(){return Gl.html`
2478
+ `}};De.elementDefinitions={};De.styles=Ul;(0,Kl.customElement)("ft-skeleton")(De);var oo=d(S()),di=d(We());var Or=d(g());var ue=class{constructor(t,r=300){this.searchBar=t,this.updateDebouncer=new Or.Debouncer(r)}render(){let t=this.searchBar.recentSearches.filter(i=>i.toLowerCase().includes(this.searchBar.query.toLowerCase())),r=this.searchBar.suggestions.length>0||t.length>0;return oo.html`
2479
2479
  <div class="ft-search-bar--suggestions ft-word-wrap ${r?"ft-search-bar--suggestions-not-empty":""}"
2480
2480
  part="suggestions-container"
2481
2481
  @keydown=${i=>this.onSuggestKeyDown(i)}>
@@ -2509,7 +2509,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2509
2509
  </a>
2510
2510
  `)}
2511
2511
  </div>
2512
- `}update(){return new Promise((t,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],t()})})}onSuggestKeyDown(t){var r,i,a,n,l,c;switch(t.key){case"ArrowUp":(a=(i=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&i!==void 0?i:this.getLastSuggestionElement())===null||a===void 0||a.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":(c=(l=(n=this.getFocusedSuggestionElement())===null||n===void 0?void 0:n.nextElementSibling)!==null&&l!==void 0?l:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),t.preventDefault(),t.stopPropagation();break}}onSuggestKeyUp(t,r){(t.key==="Enter"||t.key===" ")&&this.onSuggestSelected(t,r)}onSuggestClick(t,r){!t.ctrlKey&&!t.metaKey&&this.onSuggestSelected(t,r)}onSuggestSelected(t,r){t.preventDefault(),t.stopPropagation(),this.searchBar.setQuery(r),this.searchBar.launchSearch()}removeRecentSearch(t,r){var i,a;t.preventDefault(),t.stopPropagation();let n=t.target.closest(".ft-search-bar--suggestion"),l=(a=(i=n?.previousElementSibling)!==null&&i!==void 0?i:n?.nextElementSibling)!==null&&a!==void 0?a:this.searchBar.input;l?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(c=>c.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(t){let r=t.type==="DOCUMENT"?ee.file_format:ee.fluid_topics,i;switch(t.type){case"MAP":i=t.editorialType==="BOOK"?ze.BOOK:ze.ARTICLE;break;case"DOCUMENT":i=In(t.mimeType,t.filenameExtension);break;case"TOPIC":i=ze.TOPICS;break}return oo.html`
2512
+ `}update(){return new Promise((t,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],t()})})}onSuggestKeyDown(t){var r,i,a,n,l,c;switch(t.key){case"ArrowUp":(a=(i=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&i!==void 0?i:this.getLastSuggestionElement())===null||a===void 0||a.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":(c=(l=(n=this.getFocusedSuggestionElement())===null||n===void 0?void 0:n.nextElementSibling)!==null&&l!==void 0?l:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),t.preventDefault(),t.stopPropagation();break}}onSuggestKeyUp(t,r){(t.key==="Enter"||t.key===" ")&&this.onSuggestSelected(t,r)}onSuggestClick(t,r){!t.ctrlKey&&!t.metaKey&&this.onSuggestSelected(t,r)}onSuggestSelected(t,r){t.preventDefault(),t.stopPropagation(),this.searchBar.setQuery(r),this.searchBar.launchSearch()}removeRecentSearch(t,r){var i,a;t.preventDefault(),t.stopPropagation();let n=t.target.closest(".ft-search-bar--suggestion"),l=(a=(i=n?.previousElementSibling)!==null&&i!==void 0?i:n?.nextElementSibling)!==null&&a!==void 0?a:this.searchBar.input;l?.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(c=>c.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(t){let r=t.type==="DOCUMENT"?ee.file_format:ee.fluid_topics,i;switch(t.type){case"MAP":i=t.editorialType==="BOOK"?ze.BOOK:ze.ARTICLE;break;case"DOCUMENT":i=zn(t.mimeType,t.filenameExtension);break;case"TOPIC":i=ze.TOPICS;break}return oo.html`
2513
2513
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
2514
2514
  `}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let t=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var t;(t=this.getFirstSuggestionElement())===null||t===void 0||t.focus()}};ue.styles=[Or.wordWrap,oo.css`
2515
2515
  .ft-search-bar--mobile .ft-search-bar--suggestions {
@@ -2594,7 +2594,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2594
2594
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
2595
2595
  </ft-chip>
2596
2596
  `:null}
2597
- ${(0,fi.repeat)(this.searchBar.facets,a=>a.key,a=>{let n=_a(a);return(0,fi.repeat)(n,l=>{let c=a.label+": "+za(l),f=a.key.replace(":","-"),h=Rt.html`
2597
+ ${(0,fi.repeat)(this.searchBar.facets,a=>a.key,a=>{let n=Wa(a);return(0,fi.repeat)(n,l=>{let c=a.label+": "+Da(l),f=a.key.replace(":","-"),h=Rt.html`
2598
2598
  <ft-chip
2599
2599
  part="selected-filters selected-filter-${f}"
2600
2600
  ?dense=${this.searchBar.dense&&!t}
@@ -2607,7 +2607,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2607
2607
  @icon-click=${()=>this.searchBar.setFilter(a.key,n.filter(v=>v!==l))}
2608
2608
  data-key="${a.key}"
2609
2609
  data-value="${l}">
2610
- ${Pa(l)}
2610
+ ${Fa(l)}
2611
2611
  </ft-chip>
2612
2612
  `;return r?h:Rt.html`
2613
2613
  <ft-tooltip inline text="${c}">
@@ -2663,14 +2663,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2663
2663
  .ft-search-bar--selected-filters ft-chip {
2664
2664
  flex-grow: 0;
2665
2665
  }
2666
- `;var ge=d(S());var Kl=d(Qt()),Zo=class{constructor(t,r,i){this.searchBar=t,this.selectedFacetsManager=r??new me(t),this.suggestManager=i??new ue(t)}render(){let t={"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 ge.html`
2667
- <div class="${(0,Kl.classMap)(t)}" part="container" tabindex="-1">
2666
+ `;var ge=d(S());var jl=d(Qt()),Ko=class{constructor(t,r,i){this.searchBar=t,this.selectedFacetsManager=r??new me(t),this.suggestManager=i??new ue(t)}render(){let t={"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 ge.html`
2667
+ <div class="${(0,jl.classMap)(t)}" part="container" tabindex="-1">
2668
2668
  <div class="ft-search-bar">
2669
2669
  <div class="ft-search-bar--input-container" part="input-container">
2670
2670
  <div class="ft-search-bar--input-outline" part="input-outline">
2671
2671
  <input class="ft-search-bar--input ft-typography--body2"
2672
2672
  part="input"
2673
- type="text"
2673
+ type="search"
2674
2674
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
2675
2675
  value="${this.searchBar.query}"
2676
2676
  @input=${r=>this.onInput(r)}
@@ -2713,10 +2713,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2713
2713
  @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.launchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
2714
2714
  ></ft-button>
2715
2715
  </div>
2716
- `}onSearchBarKeyUp(t){t.key==="Enter"&&this.searchBar.launchSearch()}onInput(t){let r=t.composedPath()[0];this.searchBar.query=r.value}};Zo.styles=ge.css`
2716
+ `}onSearchBarKeyUp(t){t.key==="Enter"&&this.searchBar.launchSearch()}onInput(t){let r=t.composedPath()[0];this.searchBar.query=r.value}};Ko.styles=ge.css`
2717
2717
 
2718
- `;var Ft=d(S()),Zl=d(We());var jl=d(Qt()),jo=class{constructor(t,r,i){this.searchBar=t,this.selectedFacetsManager=r??new me(t),this.suggestManager=i??new ue(t)}render(){let t={"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 Ft.html`
2719
- <div class="${(0,jl.classMap)(t)}" part="container" tabindex="-1">
2718
+ `;var Ft=d(S()),ql=d(We());var Yl=d(Qt()),jo=class{constructor(t,r,i){this.searchBar=t,this.selectedFacetsManager=r??new me(t),this.suggestManager=i??new ue(t)}render(){let t={"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 Ft.html`
2719
+ <div class="${(0,Yl.classMap)(t)}" part="container" tabindex="-1">
2720
2720
  <div class="ft-search-bar" part="search-bar">
2721
2721
  ${this.renderSearchBarLeftAction()}
2722
2722
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
@@ -2724,7 +2724,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2724
2724
  ${this.searchBar.dense?this.selectedFacetsManager.render():Ft.nothing}
2725
2725
  <input class="ft-search-bar--input ft-typography--body2"
2726
2726
  part="input"
2727
- type="text"
2727
+ type="search"
2728
2728
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
2729
2729
  value="${this.searchBar.query}"
2730
2730
  @input=${r=>this.onInput(r)}
@@ -2755,7 +2755,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2755
2755
  part="content-locale select-ft-locale"
2756
2756
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
2757
2757
  @change=${t=>this.searchBar.contentLocale=t.detail==null?void 0:t.detail}>
2758
- ${(0,Zl.repeat)(this.searchBar.availableContentLocales,t=>t.lang,t=>Ft.html`
2758
+ ${(0,ql.repeat)(this.searchBar.availableContentLocales,t=>t.lang,t=>Ft.html`
2759
2759
  <ft-select-option .value=${t.lang}
2760
2760
  label="${t.label}"
2761
2761
  ?selected=${t.lang===this.searchBar.contentLocale}>
@@ -2785,10 +2785,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2785
2785
  </div>
2786
2786
  `}onSearchBarKeyDown(t){var r;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,(r=this.searchBar.input)===null||r===void 0||r.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion();break}}onSearchBarKeyUp(t){t.key==="Enter"&&this.searchBar.launchSearch()}onInput(t){let r=t.composedPath()[0];this.searchBar.query=r.value}};jo.styles=Ft.css`
2787
2787
 
2788
- `;var os=d(g());var ts=d(S()),Xt=d(X()),ae=d(g());var ql=d(S());var Yl=ql.css`
2789
- `;var Xl=d(g()),_s="ft-app-info",Ts={},P=Xl.FtReduxStore.get({name:_s,reducers:Ts,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 Te=d(g());var hi=d(g());var ro=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=P.getState(),a=t??i;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let i=o.get(t);if(i)r(i);else{let a=P.subscribe(()=>{i=o.get(t),i&&(a(),r(i))})}})}};var _e=class{constructor(t=!0,r){var i;this.overrideApi=r;let a=this.constructor;a.commonCache=(i=a.commonCache)!==null&&i!==void 0?i:new hi.CacheRegistry,this.cache=t?a.commonCache:new hi.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ro.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ro.await()}clearCache(){this.cache.clearAll()}};var Jl,Ws=Symbol("clearAfterUnitTest"),wr=class extends _e{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Jl]=()=>{this.defaultMessages={},this.cache=new Te.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=P.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),Object.keys(r).length>0){let a={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,Te.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...i){var a,n,l;t=t.toLowerCase(),this.fetchContext(t);let c=(n=(a=this.cache.getNow(t))===null||a===void 0?void 0:a.messages)!==null&&n!==void 0?n:{};return new Te.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},c).resolve(r,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,Te.delay)(0).then(()=>r()).catch(()=>null)))}};Jl=Ws;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends wr{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends wr{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var Ql=window.FluidTopicsI18nService,Zb=window.FluidTopicsCustomI18nService;var Lt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},rt=class extends ae.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ro.get(),this.messageContexts=[],this.cache=new ae.CacheRegistry,this.cleanSessionDebouncer=new ae.Debouncer}render(){return ts.html`
2788
+ `;var is=d(g());var os=d(S()),Xt=d(X()),ae=d(g());var Xl=d(S());var Jl=Xl.css`
2789
+ `;var Ql=d(g()),Ws="ft-app-info",Ms={},P=Ql.FtReduxStore.get({name:Ws,reducers:Ms,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 Te=d(g());var hi=d(g());var ro=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=P.getState(),a=t??i;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let i=o.get(t);if(i)r(i);else{let a=P.subscribe(()=>{i=o.get(t),i&&(a(),r(i))})}})}};var _e=class{constructor(t=!0,r){var i;this.overrideApi=r;let a=this.constructor;a.commonCache=(i=a.commonCache)!==null&&i!==void 0?i:new hi.CacheRegistry,this.cache=t?a.commonCache:new hi.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ro.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ro.await()}clearCache(){this.cache.clearAll()}};var ts,Us=Symbol("clearAfterUnitTest"),wr=class extends _e{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ts]=()=>{this.defaultMessages={},this.cache=new Te.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=P.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),Object.keys(r).length>0){let a={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,Te.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...i){var a,n,l;t=t.toLowerCase(),this.fetchContext(t);let c=(n=(a=this.cache.getNow(t))===null||a===void 0?void 0:a.messages)!==null&&n!==void 0?n:{};return new Te.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},c).resolve(r,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,Te.delay)(0).then(()=>r()).catch(()=>null)))}};ts=Us;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends wr{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends wr{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var es=window.FluidTopicsI18nService,Xb=window.FluidTopicsCustomI18nService;var Lt=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},rt=class extends ae.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ro.get(),this.messageContexts=[],this.cache=new ae.CacheRegistry,this.cleanSessionDebouncer=new ae.Debouncer}render(){return os.html`
2790
2790
  <slot></slot>
2791
- `}update(t){super.update(t),t.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&P.actions.noCustom(this.noCustom),t.has("editorMode")&&P.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&P.actions.session(this.session),t.has("availableUiLocales")&&P.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Ql.addContext(r)),t.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};rt.elementDefinitions={};rt.styles=Yl;Lt([(0,Xt.property)()],rt.prototype,"baseUrl",void 0);Lt([(0,Xt.property)()],rt.prototype,"apiIntegrationIdentifier",void 0);Lt([(0,Xt.property)()],rt.prototype,"uiLocale",void 0);Lt([(0,ae.jsonProperty)(null)],rt.prototype,"availableUiLocales",void 0);Lt([(0,ae.jsonProperty)(null)],rt.prototype,"metadataConfiguration",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"editorMode",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"noCustom",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"openExternalDocumentInNewTab",void 0);Lt([(0,Xt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],rt.prototype,"noCustomComponent",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"withManualResources",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"navigatorOnline",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"forcedOffline",void 0);Lt([(0,Xt.property)({type:Object})],rt.prototype,"apiProvider",void 0);Lt([(0,ae.jsonProperty)([])],rt.prototype,"messageContexts",void 0);Lt([(0,ae.jsonProperty)(void 0)],rt.prototype,"session",void 0);var Lr=d(g());var $r=class extends _e{async listMySearches(){let t=P.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Er=class extends _e{async listMyBookmarks(){let t=P.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Us="ft-user-assets",Rr=Lr.FtReduxStore.get({name:Us,initialState:{savedSearches:void 0,bookmarks:void 0}}),ui=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Er,this.savedSearchesService=new $r,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=P.getState();(0,Lr.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Rr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Rr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Rr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Rr.actions.bookmarks(r)}}},dy=new ui;var mi=class{addCommand(t,r=!1){P.commands.add(t,r)}consumeCommand(t){return P.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new mi;var es=d(g()),gi=class{highlightHtml(t,r){(0,es.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new gi;(0,os.customElement)("ft-app-context")(rt);var z=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};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 rs={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"},bi=class extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}},yi=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Ms=()=>{},w=class extends K.FtLitElement{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),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 K.ParametrizedLabelResolver(rs,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>(0,K.serializeRequest)(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=Zt.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 ue(this),this.selectedFacetsManager=new me(this),this.desktopSearchBarManager=new jo(this),this.mobileSearchBarManager=new Zo(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=P.getState().session,this.stateChangeEventDebouncer=new K.Debouncer(10),this.updateLocalesDebouncer=new K.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new K.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some(r=>r===this.floatingContainer))},this.compareFilters=(t,r)=>t.key===r.key&&t.negative==r.negative&&t.values.length===r.values.length&&t.values.every(i=>r.values.includes(i)),this.compareRequests=(t,r)=>(t.contentLocale==null||r.contentLocale==null||t.contentLocale===r.contentLocale)&&t.filters.length===r.filters.length&&t.filters.every(i=>r.filters.some(a=>this.compareFilters(i,a))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),P.subscribe(()=>this.reloadWhenUserSessionChanges())}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 t=this.searchFilters.filter(r=>r.values.length>0&&!this.displayedFilters.includes(r.key)).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...t]}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===Zt.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 t;(t=this.container)===null||t===void 0||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await(0,K.waitFor)(()=>this.input,50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return W.html`
2791
+ `}update(t){super.update(t),t.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&P.actions.noCustom(this.noCustom),t.has("editorMode")&&P.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&P.actions.session(this.session),t.has("availableUiLocales")&&P.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>es.addContext(r)),t.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};rt.elementDefinitions={};rt.styles=Jl;Lt([(0,Xt.property)()],rt.prototype,"baseUrl",void 0);Lt([(0,Xt.property)()],rt.prototype,"apiIntegrationIdentifier",void 0);Lt([(0,Xt.property)()],rt.prototype,"uiLocale",void 0);Lt([(0,ae.jsonProperty)(null)],rt.prototype,"availableUiLocales",void 0);Lt([(0,ae.jsonProperty)(null)],rt.prototype,"metadataConfiguration",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"editorMode",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"noCustom",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"openExternalDocumentInNewTab",void 0);Lt([(0,Xt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],rt.prototype,"noCustomComponent",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"withManualResources",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"navigatorOnline",void 0);Lt([(0,Xt.property)({type:Boolean})],rt.prototype,"forcedOffline",void 0);Lt([(0,Xt.property)({type:Object})],rt.prototype,"apiProvider",void 0);Lt([(0,ae.jsonProperty)([])],rt.prototype,"messageContexts",void 0);Lt([(0,ae.jsonProperty)(void 0)],rt.prototype,"session",void 0);var Lr=d(g());var $r=class extends _e{async listMySearches(){let t=P.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Er=class extends _e{async listMyBookmarks(){let t=P.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Hs="ft-user-assets",Rr=Lr.FtReduxStore.get({name:Hs,initialState:{savedSearches:void 0,bookmarks:void 0}}),ui=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Er,this.savedSearchesService=new $r,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=P.getState();(0,Lr.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Rr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Rr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Rr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Rr.actions.bookmarks(r)}}},my=new ui;var mi=class{addCommand(t,r=!1){P.commands.add(t,r)}consumeCommand(t){return P.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new mi;var rs=d(g()),gi=class{highlightHtml(t,r){(0,rs.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new gi;(0,is.customElement)("ft-app-context")(rt);var z=function(o,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(l=o[c])&&(n=(a<3?l(n):a>3?l(t,r,n):l(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};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 as={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"},bi=class extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}},yi=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Vs=()=>{},w=class extends Z.FtLitElement{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),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 Z.ParametrizedLabelResolver(as,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>(0,Z.serializeRequest)(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=Kt.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 ue(this),this.selectedFacetsManager=new me(this),this.desktopSearchBarManager=new jo(this),this.mobileSearchBarManager=new Ko(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=P.getState().session,this.stateChangeEventDebouncer=new Z.Debouncer(10),this.updateLocalesDebouncer=new Z.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new Z.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some(r=>r===this.floatingContainer))},this.compareFilters=(t,r)=>t.key===r.key&&t.negative==r.negative&&t.values.length===r.values.length&&t.values.every(i=>r.values.includes(i)),this.compareRequests=(t,r)=>(t.contentLocale==null||r.contentLocale==null||t.contentLocale===r.contentLocale)&&t.filters.length===r.filters.length&&t.filters.every(i=>r.filters.some(a=>this.compareFilters(i,a))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),P.subscribe(()=>this.reloadWhenUserSessionChanges())}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 t=this.searchFilters.filter(r=>r.values.length>0&&!this.displayedFilters.includes(r.key)).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...t]}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===Kt.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 t;(t=this.container)===null||t===void 0||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await(0,Z.waitFor)(()=>this.input,50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return W.html`
2792
2792
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2793
2793
  ${this.renderSearchBar()}
2794
2794
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():W.html`
@@ -2813,7 +2813,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2813
2813
  </div>
2814
2814
  </ft-accordion-item>
2815
2815
  `:null}
2816
- ${(0,qo.repeat)(this.facets,r=>r.key,r=>{let i=Ur(r),a=r.key.replace(":","-"),n=Da(i);return r.rootNodes.length>0?W.html`
2816
+ ${(0,qo.repeat)(this.facets,r=>r.key,r=>{let i=Mr(r),a=r.key.replace(":","-"),n=Ta(i);return r.rootNodes.length>0?W.html`
2817
2817
  <ft-accordion-item data-facet-key="${r.key}">
2818
2818
  <div class="ft-search-bar--filter-label" slot="toggle">
2819
2819
  <ft-typography variant="button">${r.label}</ft-typography>
@@ -2905,7 +2905,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2905
2905
  ${this.getContentLocaleRadioGroup()}
2906
2906
  </div>
2907
2907
  `:W.nothing}
2908
- ${(0,qo.repeat)(this.facets,t=>t.key,t=>{let r=Ur(t),i=r.options.some(n=>{var l,c;return((c=(l=n.subOptions)===null||l===void 0?void 0:l.length)!==null&&c!==void 0?c:0)>0}),a=t.key.replace(":","-");return W.html`
2908
+ ${(0,qo.repeat)(this.facets,t=>t.key,t=>{let r=Mr(t),i=r.options.some(n=>{var l,c;return((c=(l=n.subOptions)===null||l===void 0?void 0:l.length)!==null&&c!==void 0?c:0)>0}),a=t.key.replace(":","-");return W.html`
2909
2909
  <ft-filter
2910
2910
  class="${i?"ft-search-bar--hierarchical-filter":""}"
2911
2911
  part="filters filter filter-${a}"
@@ -2924,14 +2924,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
2924
2924
  ></ft-filter>
2925
2925
  `})}
2926
2926
  </ft-snap-scroll>
2927
- `:W.nothing}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(t){var r,i,a,n,l;if(t.has("labels")&&(this.labelResolver=new K.ParametrizedLabelResolver(rs,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){let c=f=>this.availableContentLocales.some(h=>h.lang==f);c(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&c(t.get("contentLocale"))?t.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(c=>c.filters.forEach(f=>f.values=f.values.map(h=>or(h)))),t.has("presets")||t.has("selectedPreset")){let c=((a=this.presets)!==null&&a!==void 0?a:[]).find(f=>f.name===this.selectedPreset);c&&!this.compareRequests(this.request,c)&&this.setFiltersFromPreset(c)}t.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some(c=>t.has(c))&&(this.selectedPreset=(l=((n=this.presets)!==null&&n!==void 0?n:[]).find(c=>this.compareRequests(c,this.request)))===null||l===void 0?void 0:l.name),["baseUrl","apiIntegrationIdentifier"].some(c=>t.has(c))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some(c=>t.has(c))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some(c=>t.has(c))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some(c=>t.has(c))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new yi(this.request)))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var t;(t=this.api)===null||t===void 0||t.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)}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(t){var r,i,a;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(l=>l.key===this.scrollToFacet));let n=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);n&&(n.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 t;let r=new Map;await((t=this.api)===null||t===void 0?void 0:t.search({...this.request,query:""}).then(i=>i.facets.forEach(a=>{this.knownFacetLabels.set(a.key,a.label),r.set(a.key,a)})).catch(Ms)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.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(t){var r;t.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new bi(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse((t=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&t!==void 0?t:"[]")}saveRecentSearches(){let t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!K.isTouchScreen&&await this.focusInput()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,r){let i=this.searchFilters.filter(a=>a.key!==t);this.facets.forEach(a=>{a.key===t&&(0,K.flatDeep)(a.rootNodes,n=>n.childNodes).forEach(n=>n.selected=r.includes(n.value))}),r.length&&i.push({key:t,negative:!1,values:r}),this.searchFilters=i,this.scrollToFacet=t}setFiltersFromPreset(t){t!=null&&(t.contentLocale!=null&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach(r=>(0,K.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.searchFilters=[];let t=this.facets[0];this.scrollToFacet=t?.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?W.nothing:W.html`
2927
+ `:W.nothing}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(t){var r,i,a,n,l;if(t.has("labels")&&(this.labelResolver=new Z.ParametrizedLabelResolver(as,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){let c=f=>this.availableContentLocales.some(h=>h.lang==f);c(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&c(t.get("contentLocale"))?t.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(c=>c.filters.forEach(f=>f.values=f.values.map(h=>or(h)))),t.has("presets")||t.has("selectedPreset")){let c=((a=this.presets)!==null&&a!==void 0?a:[]).find(f=>f.name===this.selectedPreset);c&&!this.compareRequests(this.request,c)&&this.setFiltersFromPreset(c)}t.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some(c=>t.has(c))&&(this.selectedPreset=(l=((n=this.presets)!==null&&n!==void 0?n:[]).find(c=>this.compareRequests(c,this.request)))===null||l===void 0?void 0:l.name),["baseUrl","apiIntegrationIdentifier"].some(c=>t.has(c))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some(c=>t.has(c))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some(c=>t.has(c))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some(c=>t.has(c))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new yi(this.request)))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var t;(t=this.api)===null||t===void 0||t.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)}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(t){var r,i,a;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(l=>l.key===this.scrollToFacet));let n=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);n&&(n.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 t;let r=new Map;await((t=this.api)===null||t===void 0?void 0:t.search({...this.request,query:""}).then(i=>i.facets.forEach(a=>{this.knownFacetLabels.set(a.key,a.label),r.set(a.key,a)})).catch(Vs)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.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(t){var r;t.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new bi(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse((t=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&t!==void 0?t:"[]")}saveRecentSearches(){let t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!Z.isTouchScreen&&await this.focusInput()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,r){let i=this.searchFilters.filter(a=>a.key!==t);this.facets.forEach(a=>{a.key===t&&(0,Z.flatDeep)(a.rootNodes,n=>n.childNodes).forEach(n=>n.selected=r.includes(n.value))}),r.length&&i.push({key:t,negative:!1,values:r}),this.searchFilters=i,this.scrollToFacet=t}setFiltersFromPreset(t){t!=null&&(t.contentLocale!=null&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach(r=>(0,Z.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.searchFilters=[];let t=this.facets[0];this.scrollToFacet=t?.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?W.nothing:W.html`
2928
2928
  <div class="ft-search-bar--floating-panel"
2929
2929
  id="ft-search-bar-floating-panel"
2930
2930
  @keyup=${this.onFloatingContainerKeyUp}
2931
2931
  part="floating-panel"
2932
2932
  tabindex="-1">
2933
2933
  ${this.renderDesktopMenu()}
2934
- </div>`}enableFocusReactionOnAnyUserInteraction(){var t,r,i;(t=this.container)===null||t===void 0||t.addEventListener("blur",this.enableFocusReactionCallback),(r=this.container)===null||r===void 0||r.addEventListener("click",this.enableFocusReactionCallback),(i=this.container)===null||i===void 0||i.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,r,i;this.reactToFocus=!0,(t=this.container)===null||t===void 0||t.removeEventListener("blur",this.enableFocusReactionCallback),(r=this.container)===null||r===void 0||r.removeEventListener("click",this.enableFocusReactionCallback),(i=this.container)===null||i===void 0||i.removeEventListener("keyup",this.enableFocusReactionCallback)}reloadWhenUserSessionChanges(){var t;let{session:r}=P.getState();(0,K.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.initSearchData())}};w.elementDefinitions={"ft-accordion":fe,"ft-accordion-item":Yt,"ft-button":ft,"ft-chip":et,"ft-filter":D,"ft-filter-option":Vt,"ft-icon":Q,"ft-ripple":k,"ft-select":V,"ft-select-option":he,"ft-size-watcher":Dt,"ft-skeleton":De,"ft-snap-scroll":st,"ft-tooltip":Z,"ft-typography":M,"ft-radio-group":Pt,"ft-radio":ht};w.styles=[uo,Ul,Ml,me.styles,ue.styles];z([(0,F.property)({type:Boolean})],w.prototype,"dense",void 0);z([(0,F.property)()],w.prototype,"mode",void 0);z([(0,F.property)({type:Boolean})],w.prototype,"forceMobileMenuOpen",void 0);z([(0,F.property)({type:Boolean})],w.prototype,"forceMenuOpen",void 0);z([(0,F.property)()],w.prototype,"baseUrl",void 0);z([(0,F.property)()],w.prototype,"apiIntegrationIdentifier",void 0);z([(0,F.property)()],w.prototype,"contentLocale",void 0);z([(0,F.state)()],w.prototype,"availableContentLocales",void 0);z([(0,F.state)()],w.prototype,"availableContentLocalesInitialized",void 0);z([(0,F.property)()],w.prototype,"uiLocale",void 0);z([(0,K.jsonProperty)({})],w.prototype,"labels",void 0);z([(0,K.jsonProperty)([])],w.prototype,"displayedFilters",void 0);z([(0,K.jsonProperty)([])],w.prototype,"presets",void 0);z([(0,F.property)({type:String,reflect:!0})],w.prototype,"selectedPreset",void 0);z([(0,K.jsonProperty)([])],w.prototype,"priors",void 0);z([(0,F.property)()],w.prototype,"searchRequestSerializer",void 0);z([(0,F.property)({type:Boolean})],w.prototype,"focusOnDisplay",void 0);z([(0,F.state)()],w.prototype,"searchFilters",void 0);z([(0,F.state)()],w.prototype,"sizeCategory",void 0);z([(0,F.state)()],w.prototype,"displayFacets",void 0);z([(0,F.state)()],w.prototype,"mobileMenuOpen",void 0);z([(0,F.state)()],w.prototype,"facets",void 0);z([(0,F.state)()],w.prototype,"facetsInitialized",void 0);z([(0,F.query)(".ft-search-bar--container")],w.prototype,"container",void 0);z([(0,F.query)(".ft-search-bar--filters-opener")],w.prototype,"filtersOpener",void 0);z([(0,F.query)(".ft-search-bar--floating-panel")],w.prototype,"floatingContainer",void 0);z([(0,F.query)("ft-snap-scroll.ft-search-bar--filters-container")],w.prototype,"scrollingFiltersContainer",void 0);z([(0,F.query)(".ft-search-bar--input")],w.prototype,"input",void 0);z([(0,F.state)()],w.prototype,"query",void 0);z([(0,F.state)()],w.prototype,"suggestions",void 0);z([(0,F.state)()],w.prototype,"recentSearches",void 0);z([(0,F.state)()],w.prototype,"scrollToFacet",void 0);z([(0,F.state)()],w.prototype,"api",void 0);z([(0,F.state)()],w.prototype,"reactToFocus",void 0);z([(0,F.state)()],w.prototype,"facetsLoaded",void 0);(0,is.customElement)("ft-search-bar")(w);})();
2934
+ </div>`}enableFocusReactionOnAnyUserInteraction(){var t,r,i;(t=this.container)===null||t===void 0||t.addEventListener("blur",this.enableFocusReactionCallback),(r=this.container)===null||r===void 0||r.addEventListener("click",this.enableFocusReactionCallback),(i=this.container)===null||i===void 0||i.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,r,i;this.reactToFocus=!0,(t=this.container)===null||t===void 0||t.removeEventListener("blur",this.enableFocusReactionCallback),(r=this.container)===null||r===void 0||r.removeEventListener("click",this.enableFocusReactionCallback),(i=this.container)===null||i===void 0||i.removeEventListener("keyup",this.enableFocusReactionCallback)}reloadWhenUserSessionChanges(){var t;let{session:r}=P.getState();(0,Z.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.initSearchData())}};w.elementDefinitions={"ft-accordion":fe,"ft-accordion-item":Yt,"ft-button":ft,"ft-chip":et,"ft-filter":D,"ft-filter-option":Vt,"ft-icon":Q,"ft-ripple":k,"ft-select":V,"ft-select-option":he,"ft-size-watcher":Dt,"ft-skeleton":De,"ft-snap-scroll":st,"ft-tooltip":K,"ft-typography":U,"ft-radio-group":Pt,"ft-radio":ht};w.styles=[uo,Hl,Vl,me.styles,ue.styles];z([(0,F.property)({type:Boolean})],w.prototype,"dense",void 0);z([(0,F.property)()],w.prototype,"mode",void 0);z([(0,F.property)({type:Boolean})],w.prototype,"forceMobileMenuOpen",void 0);z([(0,F.property)({type:Boolean})],w.prototype,"forceMenuOpen",void 0);z([(0,F.property)()],w.prototype,"baseUrl",void 0);z([(0,F.property)()],w.prototype,"apiIntegrationIdentifier",void 0);z([(0,F.property)()],w.prototype,"contentLocale",void 0);z([(0,F.state)()],w.prototype,"availableContentLocales",void 0);z([(0,F.state)()],w.prototype,"availableContentLocalesInitialized",void 0);z([(0,F.property)()],w.prototype,"uiLocale",void 0);z([(0,Z.jsonProperty)({})],w.prototype,"labels",void 0);z([(0,Z.jsonProperty)([])],w.prototype,"displayedFilters",void 0);z([(0,Z.jsonProperty)([])],w.prototype,"presets",void 0);z([(0,F.property)({type:String,reflect:!0})],w.prototype,"selectedPreset",void 0);z([(0,Z.jsonProperty)([])],w.prototype,"priors",void 0);z([(0,F.property)()],w.prototype,"searchRequestSerializer",void 0);z([(0,F.property)({type:Boolean})],w.prototype,"focusOnDisplay",void 0);z([(0,F.state)()],w.prototype,"searchFilters",void 0);z([(0,F.state)()],w.prototype,"sizeCategory",void 0);z([(0,F.state)()],w.prototype,"displayFacets",void 0);z([(0,F.state)()],w.prototype,"mobileMenuOpen",void 0);z([(0,F.state)()],w.prototype,"facets",void 0);z([(0,F.state)()],w.prototype,"facetsInitialized",void 0);z([(0,F.query)(".ft-search-bar--container")],w.prototype,"container",void 0);z([(0,F.query)(".ft-search-bar--filters-opener")],w.prototype,"filtersOpener",void 0);z([(0,F.query)(".ft-search-bar--floating-panel")],w.prototype,"floatingContainer",void 0);z([(0,F.query)("ft-snap-scroll.ft-search-bar--filters-container")],w.prototype,"scrollingFiltersContainer",void 0);z([(0,F.query)(".ft-search-bar--input")],w.prototype,"input",void 0);z([(0,F.state)()],w.prototype,"query",void 0);z([(0,F.state)()],w.prototype,"suggestions",void 0);z([(0,F.state)()],w.prototype,"recentSearches",void 0);z([(0,F.state)()],w.prototype,"scrollToFacet",void 0);z([(0,F.state)()],w.prototype,"api",void 0);z([(0,F.state)()],w.prototype,"reactToFocus",void 0);z([(0,F.state)()],w.prototype,"facetsLoaded",void 0);(0,ns.customElement)("ft-search-bar")(w);})();
2935
2935
  /*! Bundled license information:
2936
2936
 
2937
2937
  lit-html/lit-html.js: