@fluid-topics/ft-reader-topic-metadata 1.1.101 → 1.1.103

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.
@@ -5,7 +5,7 @@
5
5
  `;var Yo=S(V());var nn=S(_()),an=S(V());var rn;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(rn||(rn={}));var Cc=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Vo=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Fo=Symbol("registerInterval");function wc(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[Fo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Fo]):this.dispatchEvent(new Vo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Fo,Cc([(0,an.state)()],r.prototype,"stateManager",void 0),r}var no=class extends wc(nn.FtLitElementRedux){};var cn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},qo=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},Zo=Symbol("registerInterval");function Ec(t){var e;class r extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Zo]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[Zo]):this.dispatchEvent(new qo)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Zo,cn([(0,Yo.state)()],r.prototype,"tocNode",void 0),cn([(0,Yo.state)()],r.prototype,"disableContextInteractions",void 0),r}var io=class extends Ec(no){};var mc=S(_());var Bi=S(_());var zi=S(B()),K=S(V()),Ge=S(_());var pi=S(_());var rr=globalThis,ao=rr.trustedTypes,ln=ao?ao.createPolicy("lit-html",{createHTML:t=>t}):void 0,hn="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,mn="?"+Mt,Nc=`<${mn}>`,ee=document,co=()=>ee.createComment(""),ke=t=>t===null||typeof t!="object"&&typeof t!="function",yn=Array.isArray,Rc=t=>yn(t)||typeof t?.[Symbol.iterator]=="function",Xo=`[
6
6
  \f\r]`,_e=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,sn=/-->/g,dn=/>/g,Qt=RegExp(`>|${Xo}(?:([^\\s"'>=/]+)(${Xo}*=${Xo}*(?:[^
7
7
  \f\r"'\`<>=]|("|')|))|$)`,"g"),fn=/'/g,pn=/"/g,gn=/^(?:script|style|textarea|title)$/i,bn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),xn=bn(1),vn=bn(2),We=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),un=new WeakMap,te=ee.createTreeWalker(ee,129);function Sn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ln!==void 0?ln.createHTML(e):e}var Ac=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",c=_e;for(let s=0;s<r;s++){let p=t[s],f,u,h=-1,m=0;for(;m<p.length&&(c.lastIndex=m,u=c.exec(p),u!==null);)m=c.lastIndex,c===_e?u[1]==="!--"?c=sn:u[1]!==void 0?c=dn:u[2]!==void 0?(gn.test(u[2])&&(i=RegExp("</"+u[2],"g")),c=Qt):u[3]!==void 0&&(c=Qt):c===Qt?u[0]===">"?(c=i??_e,h=-1):u[1]===void 0?h=-2:(h=c.lastIndex-u[2].length,f=u[1],c=u[3]===void 0?Qt:u[3]==='"'?pn:fn):c===pn||c===fn?c=Qt:c===sn||c===dn?c=_e:(c=Qt,i=void 0);let g=c===Qt&&t[s+1].startsWith("/>")?" ":"";a+=c===_e?p+Nc:h>=0?(n.push(f),p.slice(0,h)+hn+p.slice(h)+Mt+g):p+Mt+(h===-2?s:g)}return[Sn(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},De=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,s=e.length-1,p=this.parts,[f,u]=Ac(e,r);if(this.el=t.createElement(f,n),te.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=te.nextNode())!==null&&p.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(hn)){let m=u[c++],g=i.getAttribute(h).split(Mt),y=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Qo:y[1]==="?"?tr:y[1]==="@"?er:fe}),i.removeAttribute(h)}else h.startsWith(Mt)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(gn.test(i.tagName)){let h=i.textContent.split(Mt),m=h.length-1;if(m>0){i.textContent=ao?ao.emptyScript:"";for(let g=0;g<m;g++)i.append(h[g],co()),te.nextNode(),p.push({type:2,index:++a});i.append(h[m],co())}}}else if(i.nodeType===8)if(i.data===mn)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Mt,h+1))!==-1;)p.push({type:7,index:a}),h+=Mt.length-1}a++}}static createElement(e,r){let n=ee.createElement("template");return n.innerHTML=e,n}};function de(t,e,r=t,n){if(e===We)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ke(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=de(t,i._$AS(t,e.values),i,n)),e}var Jo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ee).importNode(r,!0);te.currentNode=i;let a=te.nextNode(),c=0,s=0,p=n[0];for(;p!==void 0;){if(c===p.index){let f;p.type===2?f=new lo(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new or(a,this,e)),this._$AV.push(f),p=n[++s]}c!==p?.index&&(a=te.nextNode(),c++)}return te.currentNode=ee,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=de(this,e,r),ke(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==We&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Rc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==F&&ke(this._$AH)?this._$AA.nextSibling.data=e:this.$(ee.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=De.createElement(Sn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Jo(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=un.get(e.strings);return r===void 0&&un.set(e.strings,r=new De(e)),r}T(e){yn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(co()),this.k(co()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=F,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(e,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=de(this,e,r,0),c=!ke(e)||e!==this._$AH&&e!==We,c&&(this._$AH=e);else{let s=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=de(this,s[n+p],r,p),f===We&&(f=this._$AH[p]),c||=!ke(f)||f!==this._$AH[p],f===F?e=F:e!==F&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}c&&!i&&this.O(e)}O(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Qo=class extends fe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===F?void 0:e}},tr=class extends fe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},er=class extends fe{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=de(this,e,r,0)??F)===We)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==F&&(n===F||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},or=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){de(this,e)}};var Pc=rr.litHtmlPolyfillSupport;Pc?.(De,lo),(rr.litHtmlVersions??=[]).push("3.1.0");var Cn=Symbol.for(""),Lc=t=>{if(t?.r===Cn)return t?._$litStatic$},nr=t=>({_$litStatic$:t,r:Cn});var On=new Map,wn=t=>(e,...r)=>{let n=r.length,i,a,c=[],s=[],p,f=0,u=!1;for(;f<n;){for(p=e[f];f<n&&(a=r[f],(i=Lc(a))!==void 0);)p+=i+e[++f],u=!0;f!==n&&s.push(a),c.push(p),f++}if(f===n&&c.push(e[n]),u){let h=c.join("$$lit$$");(e=On.get(h))===void 0&&(c.raw=c,On.set(h,e=c)),r=s}return t(e,...r)},ir=wn(xn),Yl=wn(vn);var ar=S(V()),fi=S(_());var ut;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(ut||(ut={}));var ht=S(B()),O=S(_());var Lt=S(B(),1),Ut=t=>typeof t=="string"?(0,Lt.unsafeCSS)(t):t,o=class{static create(e,r,n,i){let a=s=>Ut(s??i),c=Lt.css`var(${Ut(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Lt.css`var(${Ut(e)}, ${a(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let a=s=>n.get(s??i),c=Lt.css`var(${Ut(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Lt.css`var(${Ut(e)}, ${a(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ut(a??e.lastResortDefaultValue()),i=Lt.css`var(${Ut(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Lt.css`var(${Ut(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},En={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Rn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},An={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Pn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ln={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},In={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Tn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},$n={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ic={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},_n={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Wn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Dn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Bn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Un={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Hn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},jn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Kn={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},so={display:En,"title-1":Nn,"title-2":Rn,"title-3":An,"body-1-regular":Pn,"body-1-medium":Ln,"body-1-semibold":In,"body-2-regular":Tn,"body-2-medium":$n,"body-2-medium-underline":Ic,"body-2-semibold":_n,"label-1-medium":kn,"label-1-semibold":Wn,"label-1-bold":Dn,"label-2-medium":zn,"label-2-semibold":Bn,"label-2-bold":Mn,"caption-1-medium":Un,"caption-1-semibold":Hn,"caption-1-bold":Gn,"caption-2-medium":jn,"caption-2-semibold":Kn,"caption-2-bold":Fn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":Yn};var d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
8
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var x={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var L={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var gs={focusOpacity:o.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",d.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",d.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",d.contentInfoPrimary)};var Os={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Rs={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Ts={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Ds={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var Hs={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Vs={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Js={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var rd={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var ld={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var ud={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var bd={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Cd={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Ad={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02)};var $d={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var zd={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Hd={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Vd={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Jd={color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var rf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var sf={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var hf={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var xf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var fo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(fo||(fo={}));var X;(function(t){t.large="large",t.medium="medium",t.small="small"})(X||(X={}));var po=S(B());function qn(t){let e=so[t];return po.css`
8
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var x={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var L={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var gs={focusOpacity:o.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",d.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",d.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",d.contentInfoPrimary)};var Os={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Rs={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Ts={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Ds={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var Hs={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Vs={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Js={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var rd={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var ld={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var ud={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var bd={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Cd={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Ad={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02)};var $d={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var zd={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Hd={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Vd={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Jd={color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var rf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var sf={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var hf={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var xf={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var fo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(fo||(fo={}));var J;(function(t){t.large="large",t.medium="medium",t.small="small"})(J||(J={}));var po=S(B());function qn(t){let e=so[t];return po.css`
9
9
  .ft-typography--${(0,po.unsafeCSS)(t)} {
10
10
  font-family: ${e.fontFamily};
11
11
  font-size: ${e.fontSize};
@@ -109,7 +109,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
109
109
  .ft-typography {
110
110
  vertical-align: inherit;
111
111
  }
112
- `,si=[Object.keys(so).map(t=>qn(t))];var di=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},J=class extends fi.FtLitElement{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?ir`
112
+ `,si=[Object.keys(so).map(t=>qn(t))];var di=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Q=class extends fi.FtLitElement{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?ir`
113
113
  <${nr(this.element)}
114
114
  part="text"
115
115
  class="ft-typography ft-typography--${this.variant}">
@@ -117,7 +117,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
117
117
  </${nr(this.element)}>
118
118
  `:ir`
119
119
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
120
- `}};J.styles=[Jn,Qn,ti,ei,oi,ri,ni,ii,ai,ci,li,...si];di([(0,ar.property)()],J.prototype,"element",void 0);di([(0,ar.property)()],J.prototype,"variant",void 0);(0,pi.customElement)("ft-typography")(J);var ui=S(B()),Tt=S(_()),ve={distance:Tt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Tt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Tt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Tt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Tt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},hi=ui.css`
120
+ `}};Q.styles=[Jn,Qn,ti,ei,oi,ri,ni,ii,ai,ci,li,...si];di([(0,ar.property)()],Q.prototype,"element",void 0);di([(0,ar.property)()],Q.prototype,"variant",void 0);(0,pi.customElement)("ft-typography")(Q);var ui=S(B()),Tt=S(_()),ve={distance:Tt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Tt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Tt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Tt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Tt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},hi=ui.css`
121
121
  .ft-tooltip--container {
122
122
  display: block;
123
123
  }
@@ -146,7 +146,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
146
146
  position: relative;
147
147
  word-break: break-word;
148
148
  }
149
- `;var yi=["top","right","bottom","left"],mi=["start","end"],lr=yi.reduce((t,e)=>t.concat(e,e+"-"+mi[0],e+"-"+mi[1]),[]),ze=Math.min,Ht=Math.max,Be=Math.round;var $t=t=>({x:t,y:t}),Tc={left:"right",right:"left",bottom:"top",top:"bottom"},$c={start:"end",end:"start"};function sr(t,e,r){return Ht(t,ze(e,r))}function uo(t,e){return typeof t=="function"?t(e):t}function Se(t){return t.split("-")[0]}function Gt(t){return t.split("-")[1]}function dr(t){return t==="x"?"y":"x"}function fr(t){return t==="y"?"height":"width"}function ho(t){return["top","bottom"].includes(Se(t))?"y":"x"}function pr(t){return dr(ho(t))}function gi(t,e,r){r===void 0&&(r=!1);let n=Gt(t),i=pr(t),a=fr(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=cr(c)),[c,cr(c)]}function bi(t){return t.replace(/start|end/g,e=>$c[e])}function cr(t){return t.replace(/left|right|bottom|top/g,e=>Tc[e])}function _c(t){return{top:0,right:0,bottom:0,left:0,...t}}function xi(t){return typeof t!="number"?_c(t):{top:t,right:t,bottom:t,left:t}}function oe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function vi(t,e,r){let{reference:n,floating:i}=t,a=ho(e),c=pr(e),s=fr(c),p=Se(e),f=a==="y",u=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[s]/2-i[s]/2,g;switch(p){case"top":g={x:u,y:n.y-i.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(Gt(e)){case"start":g[c]-=m*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var Si=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,s=a.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:h}=vi(f,n,p),m=n,g={},y=0;for(let b=0;b<s.length;b++){let{name:N,fn:C}=s[b],{x:w,y:R,data:I,reset:k}=await C({x:u,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:t,floating:e}});if(u=w??u,h=R??h,g={...g,[N]:{...g[N],...I}},k&&y<=50){y++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(f=k.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:i}):k.rects),{x:u,y:h}=vi(f,m,p)),b=-1;continue}}return{x:u,y:h,placement:m,strategy:i,middlewareData:g}};async function ur(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:s,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=uo(e,t),y=xi(g),N=s[m?h==="floating"?"reference":"floating":h],C=oe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:f,rootBoundary:u,strategy:p})),w=h==="floating"?{...c.floating,x:n,y:i}:c.reference,R=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),I=await(a.isElement==null?void 0:a.isElement(R))?await(a.getScale==null?void 0:a.getScale(R))||{x:1,y:1}:{x:1,y:1},k=oe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:R,strategy:p}):w);return{top:(C.top-k.top+y.top)/I.y,bottom:(k.bottom-C.bottom+y.bottom)/I.y,left:(C.left-k.left+y.left)/I.x,right:(k.right-C.right+y.right)/I.x}}function kc(t,e,r){return(t?[...r.filter(i=>Gt(i)===t),...r.filter(i=>Gt(i)!==t)]:r.filter(i=>Se(i)===i)).filter(i=>t?Gt(i)===t||(e?bi(i)!==i:!1):!0)}var hr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:s,platform:p,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:m=lr,autoAlignment:g=!0,...y}=uo(t,e),b=h!==void 0||m===lr?kc(h||null,g,m):m,N=await ur(e,y),C=((r=c.autoPlacement)==null?void 0:r.index)||0,w=b[C];if(w==null)return{};let R=gi(w,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(s!==w)return{reset:{placement:b[0]}};let I=[N[Se(w)],N[R[0]],N[R[1]]],k=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:I}],ft=b[C+1];if(ft)return{data:{index:C+1,overflows:k},reset:{placement:ft}};let zt=k.map(it=>{let pt=Gt(it.placement);return[it.placement,pt&&u?it.overflows.slice(0,2).reduce((at,Jt)=>at+Jt,0):it.overflows[0],it.overflows]}).sort((it,pt)=>it[1]-pt[1]),Bt=((i=zt.filter(it=>it[2].slice(0,Gt(it[0])?2:3).every(pt=>pt<=0))[0])==null?void 0:i[0])||zt[0][0];return Bt!==s?{data:{index:C+1,overflows:k},reset:{placement:Bt}}:{}}}};var mr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:N=>{let{x:C,y:w}=N;return{x:C,y:w}}},...p}=uo(t,e),f={x:r,y:n},u=await ur(e,p),h=ho(Se(i)),m=dr(h),g=f[m],y=f[h];if(a){let N=m==="y"?"top":"left",C=m==="y"?"bottom":"right",w=g+u[N],R=g-u[C];g=sr(w,g,R)}if(c){let N=h==="y"?"top":"left",C=h==="y"?"bottom":"right",w=y+u[N],R=y-u[C];y=sr(w,y,R)}let b=s.fn({...e,[m]:g,[h]:y});return{...b,data:{x:b.x-r,y:b.y-n}}}}};function _t(t){return Ci(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kt(t){var e;return(e=(Ci(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ci(t){return t instanceof Node||t instanceof ot(t).Node}function Rt(t){return t instanceof Element||t instanceof ot(t).Element}function xt(t){return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function Oi(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function Oe(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function wi(t){return["table","td","th"].includes(_t(t))}function yo(t){let e=go(),r=ct(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ei(t){let e=re(t);for(;xt(e)&&!Me(e);){if(yo(e))return e;e=re(e)}return null}function go(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(t){return["html","body","#document"].includes(_t(t))}function ct(t){return ot(t).getComputedStyle(t)}function Ue(t){return Rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function re(t){if(_t(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Oi(t)&&t.host||kt(t);return Oi(e)?e.host:e}function Ni(t){let e=re(t);return Me(e)?t.ownerDocument?t.ownerDocument.body:t.body:xt(e)&&Oe(e)?e:Ni(e)}function mo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ni(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),c=ot(i);return a?e.concat(c,c.visualViewport||[],Oe(i)?i:[],c.frameElement&&r?mo(c.frameElement):[]):e.concat(i,mo(i,[],r))}function Pi(t){let e=ct(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=xt(t),a=i?t.offsetWidth:r,c=i?t.offsetHeight:n,s=Be(r)!==a||Be(n)!==c;return s&&(r=a,n=c),{width:r,height:n,$:s}}function Li(t){return Rt(t)?t:t.contextElement}function Ce(t){let e=Li(t);if(!xt(e))return $t(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Pi(e),c=(a?Be(r.width):r.width)/n,s=(a?Be(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var Wc=$t(0);function Ii(t){let e=ot(t);return!go()||!e.visualViewport?Wc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Dc(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function He(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Li(t),c=$t(1);e&&(n?Rt(n)&&(c=Ce(n)):c=Ce(t));let s=Dc(a,r,n)?Ii(a):$t(0),p=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,h=i.height/c.y;if(a){let m=ot(a),g=n&&Rt(n)?ot(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let b=Ce(y),N=y.getBoundingClientRect(),C=ct(y),w=N.left+(y.clientLeft+parseFloat(C.paddingLeft))*b.x,R=N.top+(y.clientTop+parseFloat(C.paddingTop))*b.y;p*=b.x,f*=b.y,u*=b.x,h*=b.y,p+=w,f+=R,y=ot(y).frameElement}}return oe({width:u,height:h,x:p,y:f})}function zc(t){let{rect:e,offsetParent:r,strategy:n}=t,i=xt(r),a=kt(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},s=$t(1),p=$t(0);if((i||!i&&n!=="fixed")&&((_t(r)!=="body"||Oe(a))&&(c=Ue(r)),xt(r))){let f=He(r);s=Ce(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-c.scrollLeft*s.x+p.x,y:e.y*s.y-c.scrollTop*s.y+p.y}}function Bc(t){return Array.from(t.getClientRects())}function Ti(t){return He(kt(t)).left+Ue(t).scrollLeft}function Mc(t){let e=kt(t),r=Ue(t),n=t.ownerDocument.body,i=Ht(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ht(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Ti(t),s=-r.scrollTop;return ct(n).direction==="rtl"&&(c+=Ht(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:s}}function Uc(t,e){let r=ot(t),n=kt(t),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,s=0,p=0;if(i){a=i.width,c=i.height;let f=go();(!f||f&&e==="fixed")&&(s=i.offsetLeft,p=i.offsetTop)}return{width:a,height:c,x:s,y:p}}function Hc(t,e){let r=He(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=xt(t)?Ce(t):$t(1),c=t.clientWidth*a.x,s=t.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:c,height:s,x:p,y:f}}function Ri(t,e,r){let n;if(e==="viewport")n=Uc(t,r);else if(e==="document")n=Mc(kt(t));else if(Rt(e))n=Hc(e,r);else{let i=Ii(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return oe(n)}function $i(t,e){let r=re(t);return r===e||!Rt(r)||Me(r)?!1:ct(r).position==="fixed"||$i(r,e)}function Gc(t,e){let r=e.get(t);if(r)return r;let n=mo(t,[],!1).filter(s=>Rt(s)&&_t(s)!=="body"),i=null,a=ct(t).position==="fixed",c=a?re(t):t;for(;Rt(c)&&!Me(c);){let s=ct(c),p=yo(c);!p&&s.position==="fixed"&&(i=null),(a?!p&&!i:!p&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Oe(c)&&!p&&$i(t,c))?n=n.filter(u=>u!==c):i=s,c=re(c)}return e.set(t,n),n}function jc(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,c=[...r==="clippingAncestors"?Gc(e,this._c):[].concat(r),n],s=c[0],p=c.reduce((f,u)=>{let h=Ri(e,u,i);return f.top=Ht(h.top,f.top),f.right=ze(h.right,f.right),f.bottom=ze(h.bottom,f.bottom),f.left=Ht(h.left,f.left),f},Ri(e,s,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Kc(t){return Pi(t)}function Fc(t,e,r){let n=xt(e),i=kt(e),a=r==="fixed",c=He(t,!0,a,e),s={scrollLeft:0,scrollTop:0},p=$t(0);if(n||!n&&!a)if((_t(e)!=="body"||Oe(i))&&(s=Ue(e)),n){let f=He(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else i&&(p.x=Ti(i));return{x:c.left+s.scrollLeft-p.x,y:c.top+s.scrollTop-p.y,width:c.width,height:c.height}}function Ai(t,e){return!xt(t)||ct(t).position==="fixed"?null:e?e(t):t.offsetParent}function _i(t,e){let r=ot(t);if(!xt(t))return r;let n=Ai(t,e);for(;n&&wi(n)&&ct(n).position==="static";)n=Ai(n,e);return n&&(_t(n)==="html"||_t(n)==="body"&&ct(n).position==="static"&&!yo(n))?r:n||Ei(t)||r}var Vc=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||_i,a=this.getDimensions;return{reference:Fc(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Zc(t){return ct(t).direction==="rtl"}var bo={convertOffsetParentRelativeRectToViewportRelativeRect:zc,getDocumentElement:kt,getClippingRect:jc,getOffsetParent:_i,getElementRects:Vc,getClientRects:Bc,getDimensions:Kc,getScale:Ce,isElement:Rt,isRTL:Zc};var ki=(t,e,r)=>{let n=new Map,i={platform:bo,...r},a={...i.platform,_c:n};return Si(t,e,{...i,platform:a})};function Wi(t){return Yc(t)}function yr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Yc(t){for(let e=t;e;e=yr(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=yr(t);e;e=yr(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Di(t,e,r){return ki(t,e,{platform:{...bo,getOffsetParent:n=>bo.getOffsetParent(n,Wi)},middleware:[mr({crossAxis:!0}),hr({allowedPlacements:[r]})]})}var rt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},W=class extends Ge.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ge.Debouncer,this.revealDebouncer=new Ge.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return zi.html`
149
+ `;var yi=["top","right","bottom","left"],mi=["start","end"],lr=yi.reduce((t,e)=>t.concat(e,e+"-"+mi[0],e+"-"+mi[1]),[]),ze=Math.min,Ht=Math.max,Be=Math.round;var $t=t=>({x:t,y:t}),Tc={left:"right",right:"left",bottom:"top",top:"bottom"},$c={start:"end",end:"start"};function sr(t,e,r){return Ht(t,ze(e,r))}function uo(t,e){return typeof t=="function"?t(e):t}function Se(t){return t.split("-")[0]}function Gt(t){return t.split("-")[1]}function dr(t){return t==="x"?"y":"x"}function fr(t){return t==="y"?"height":"width"}function ho(t){return["top","bottom"].includes(Se(t))?"y":"x"}function pr(t){return dr(ho(t))}function gi(t,e,r){r===void 0&&(r=!1);let n=Gt(t),i=pr(t),a=fr(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=cr(c)),[c,cr(c)]}function bi(t){return t.replace(/start|end/g,e=>$c[e])}function cr(t){return t.replace(/left|right|bottom|top/g,e=>Tc[e])}function _c(t){return{top:0,right:0,bottom:0,left:0,...t}}function xi(t){return typeof t!="number"?_c(t):{top:t,right:t,bottom:t,left:t}}function oe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function vi(t,e,r){let{reference:n,floating:i}=t,a=ho(e),c=pr(e),s=fr(c),p=Se(e),f=a==="y",u=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[s]/2-i[s]/2,g;switch(p){case"top":g={x:u,y:n.y-i.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(Gt(e)){case"start":g[c]-=m*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var Si=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,s=a.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:h}=vi(f,n,p),m=n,g={},y=0;for(let b=0;b<s.length;b++){let{name:N,fn:C}=s[b],{x:w,y:R,data:I,reset:k}=await C({x:u,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:t,floating:e}});if(u=w??u,h=R??h,g={...g,[N]:{...g[N],...I}},k&&y<=50){y++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(f=k.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:i}):k.rects),{x:u,y:h}=vi(f,m,p)),b=-1;continue}}return{x:u,y:h,placement:m,strategy:i,middlewareData:g}};async function ur(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:s,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=uo(e,t),y=xi(g),N=s[m?h==="floating"?"reference":"floating":h],C=oe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:f,rootBoundary:u,strategy:p})),w=h==="floating"?{...c.floating,x:n,y:i}:c.reference,R=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),I=await(a.isElement==null?void 0:a.isElement(R))?await(a.getScale==null?void 0:a.getScale(R))||{x:1,y:1}:{x:1,y:1},k=oe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:R,strategy:p}):w);return{top:(C.top-k.top+y.top)/I.y,bottom:(k.bottom-C.bottom+y.bottom)/I.y,left:(C.left-k.left+y.left)/I.x,right:(k.right-C.right+y.right)/I.x}}function kc(t,e,r){return(t?[...r.filter(i=>Gt(i)===t),...r.filter(i=>Gt(i)!==t)]:r.filter(i=>Se(i)===i)).filter(i=>t?Gt(i)===t||(e?bi(i)!==i:!1):!0)}var hr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:s,platform:p,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:m=lr,autoAlignment:g=!0,...y}=uo(t,e),b=h!==void 0||m===lr?kc(h||null,g,m):m,N=await ur(e,y),C=((r=c.autoPlacement)==null?void 0:r.index)||0,w=b[C];if(w==null)return{};let R=gi(w,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(s!==w)return{reset:{placement:b[0]}};let I=[N[Se(w)],N[R[0]],N[R[1]]],k=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:I}],ft=b[C+1];if(ft)return{data:{index:C+1,overflows:k},reset:{placement:ft}};let zt=k.map(at=>{let pt=Gt(at.placement);return[at.placement,pt&&u?at.overflows.slice(0,2).reduce((ct,Jt)=>ct+Jt,0):at.overflows[0],at.overflows]}).sort((at,pt)=>at[1]-pt[1]),Bt=((i=zt.filter(at=>at[2].slice(0,Gt(at[0])?2:3).every(pt=>pt<=0))[0])==null?void 0:i[0])||zt[0][0];return Bt!==s?{data:{index:C+1,overflows:k},reset:{placement:Bt}}:{}}}};var mr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:N=>{let{x:C,y:w}=N;return{x:C,y:w}}},...p}=uo(t,e),f={x:r,y:n},u=await ur(e,p),h=ho(Se(i)),m=dr(h),g=f[m],y=f[h];if(a){let N=m==="y"?"top":"left",C=m==="y"?"bottom":"right",w=g+u[N],R=g-u[C];g=sr(w,g,R)}if(c){let N=h==="y"?"top":"left",C=h==="y"?"bottom":"right",w=y+u[N],R=y-u[C];y=sr(w,y,R)}let b=s.fn({...e,[m]:g,[h]:y});return{...b,data:{x:b.x-r,y:b.y-n}}}}};function _t(t){return Ci(t)?(t.nodeName||"").toLowerCase():"#document"}function ot(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kt(t){var e;return(e=(Ci(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ci(t){return t instanceof Node||t instanceof ot(t).Node}function Rt(t){return t instanceof Element||t instanceof ot(t).Element}function xt(t){return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function Oi(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function Oe(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=lt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function wi(t){return["table","td","th"].includes(_t(t))}function yo(t){let e=go(),r=lt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ei(t){let e=re(t);for(;xt(e)&&!Me(e);){if(yo(e))return e;e=re(e)}return null}function go(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(t){return["html","body","#document"].includes(_t(t))}function lt(t){return ot(t).getComputedStyle(t)}function Ue(t){return Rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function re(t){if(_t(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Oi(t)&&t.host||kt(t);return Oi(e)?e.host:e}function Ni(t){let e=re(t);return Me(e)?t.ownerDocument?t.ownerDocument.body:t.body:xt(e)&&Oe(e)?e:Ni(e)}function mo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ni(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),c=ot(i);return a?e.concat(c,c.visualViewport||[],Oe(i)?i:[],c.frameElement&&r?mo(c.frameElement):[]):e.concat(i,mo(i,[],r))}function Pi(t){let e=lt(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=xt(t),a=i?t.offsetWidth:r,c=i?t.offsetHeight:n,s=Be(r)!==a||Be(n)!==c;return s&&(r=a,n=c),{width:r,height:n,$:s}}function Li(t){return Rt(t)?t:t.contextElement}function Ce(t){let e=Li(t);if(!xt(e))return $t(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Pi(e),c=(a?Be(r.width):r.width)/n,s=(a?Be(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var Wc=$t(0);function Ii(t){let e=ot(t);return!go()||!e.visualViewport?Wc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Dc(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ot(t)?!1:e}function He(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Li(t),c=$t(1);e&&(n?Rt(n)&&(c=Ce(n)):c=Ce(t));let s=Dc(a,r,n)?Ii(a):$t(0),p=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,h=i.height/c.y;if(a){let m=ot(a),g=n&&Rt(n)?ot(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let b=Ce(y),N=y.getBoundingClientRect(),C=lt(y),w=N.left+(y.clientLeft+parseFloat(C.paddingLeft))*b.x,R=N.top+(y.clientTop+parseFloat(C.paddingTop))*b.y;p*=b.x,f*=b.y,u*=b.x,h*=b.y,p+=w,f+=R,y=ot(y).frameElement}}return oe({width:u,height:h,x:p,y:f})}function zc(t){let{rect:e,offsetParent:r,strategy:n}=t,i=xt(r),a=kt(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},s=$t(1),p=$t(0);if((i||!i&&n!=="fixed")&&((_t(r)!=="body"||Oe(a))&&(c=Ue(r)),xt(r))){let f=He(r);s=Ce(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-c.scrollLeft*s.x+p.x,y:e.y*s.y-c.scrollTop*s.y+p.y}}function Bc(t){return Array.from(t.getClientRects())}function Ti(t){return He(kt(t)).left+Ue(t).scrollLeft}function Mc(t){let e=kt(t),r=Ue(t),n=t.ownerDocument.body,i=Ht(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ht(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Ti(t),s=-r.scrollTop;return lt(n).direction==="rtl"&&(c+=Ht(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:s}}function Uc(t,e){let r=ot(t),n=kt(t),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,s=0,p=0;if(i){a=i.width,c=i.height;let f=go();(!f||f&&e==="fixed")&&(s=i.offsetLeft,p=i.offsetTop)}return{width:a,height:c,x:s,y:p}}function Hc(t,e){let r=He(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=xt(t)?Ce(t):$t(1),c=t.clientWidth*a.x,s=t.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:c,height:s,x:p,y:f}}function Ri(t,e,r){let n;if(e==="viewport")n=Uc(t,r);else if(e==="document")n=Mc(kt(t));else if(Rt(e))n=Hc(e,r);else{let i=Ii(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return oe(n)}function $i(t,e){let r=re(t);return r===e||!Rt(r)||Me(r)?!1:lt(r).position==="fixed"||$i(r,e)}function Gc(t,e){let r=e.get(t);if(r)return r;let n=mo(t,[],!1).filter(s=>Rt(s)&&_t(s)!=="body"),i=null,a=lt(t).position==="fixed",c=a?re(t):t;for(;Rt(c)&&!Me(c);){let s=lt(c),p=yo(c);!p&&s.position==="fixed"&&(i=null),(a?!p&&!i:!p&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Oe(c)&&!p&&$i(t,c))?n=n.filter(u=>u!==c):i=s,c=re(c)}return e.set(t,n),n}function jc(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,c=[...r==="clippingAncestors"?Gc(e,this._c):[].concat(r),n],s=c[0],p=c.reduce((f,u)=>{let h=Ri(e,u,i);return f.top=Ht(h.top,f.top),f.right=ze(h.right,f.right),f.bottom=ze(h.bottom,f.bottom),f.left=Ht(h.left,f.left),f},Ri(e,s,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Kc(t){return Pi(t)}function Fc(t,e,r){let n=xt(e),i=kt(e),a=r==="fixed",c=He(t,!0,a,e),s={scrollLeft:0,scrollTop:0},p=$t(0);if(n||!n&&!a)if((_t(e)!=="body"||Oe(i))&&(s=Ue(e)),n){let f=He(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else i&&(p.x=Ti(i));return{x:c.left+s.scrollLeft-p.x,y:c.top+s.scrollTop-p.y,width:c.width,height:c.height}}function Ai(t,e){return!xt(t)||lt(t).position==="fixed"?null:e?e(t):t.offsetParent}function _i(t,e){let r=ot(t);if(!xt(t))return r;let n=Ai(t,e);for(;n&&wi(n)&&lt(n).position==="static";)n=Ai(n,e);return n&&(_t(n)==="html"||_t(n)==="body"&&lt(n).position==="static"&&!yo(n))?r:n||Ei(t)||r}var Vc=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||_i,a=this.getDimensions;return{reference:Fc(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Zc(t){return lt(t).direction==="rtl"}var bo={convertOffsetParentRelativeRectToViewportRelativeRect:zc,getDocumentElement:kt,getClippingRect:jc,getOffsetParent:_i,getElementRects:Vc,getClientRects:Bc,getDimensions:Kc,getScale:Ce,isElement:Rt,isRTL:Zc};var ki=(t,e,r)=>{let n=new Map,i={platform:bo,...r},a={...i.platform,_c:n};return Si(t,e,{...i,platform:a})};function Wi(t){return Yc(t)}function yr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Yc(t){for(let e=t;e;e=yr(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=yr(t);e;e=yr(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Di(t,e,r){return ki(t,e,{platform:{...bo,getOffsetParent:n=>bo.getOffsetParent(n,Wi)},middleware:[mr({crossAxis:!0}),hr({allowedPlacements:[r]})]})}var rt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},W=class extends Ge.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ge.Debouncer,this.revealDebouncer=new Ge.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return zi.html`
150
150
  <div part="container"
151
151
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
152
152
  @mouseenter=${this.onHover}
@@ -164,7 +164,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
164
164
  </div>
165
165
  </div>
166
166
  </div>
167
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Di(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};W.elementDefinitions={"ft-typography":J};W.styles=hi;rt([(0,K.property)()],W.prototype,"text",void 0);rt([(0,K.property)({type:Boolean})],W.prototype,"manual",void 0);rt([(0,K.property)({type:Boolean})],W.prototype,"inline",void 0);rt([(0,K.property)({type:Number})],W.prototype,"delay",void 0);rt([(0,K.property)()],W.prototype,"position",void 0);rt([(0,K.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);rt([(0,K.query)(".ft-tooltip--container")],W.prototype,"container",void 0);rt([(0,K.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);rt([(0,K.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);rt([(0,K.state)()],W.prototype,"visible",void 0);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onTouch",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onHover",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onOut",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,Bi.customElement)("ft-tooltip")(W);var Or=S(_());var wo=S(B()),et=S(V()),Sa=S(je()),No=S(_());var qi=S(_());var Zi=S(B()),Z=S(V()),Yi=S(je()),Ke=S(_());var Fi=S(B()),H=S(_()),Ui=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorContent),T={color:Ui,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ui),opacityContentOnSurfacePressed:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:H.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Hi=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorPrimary),Gi={color:Hi,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",Hi)},ji=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorSecondary),Ki={color:ji,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",ji)},Vi=Fi.css`
167
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Di(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};W.elementDefinitions={"ft-typography":Q};W.styles=hi;rt([(0,K.property)()],W.prototype,"text",void 0);rt([(0,K.property)({type:Boolean})],W.prototype,"manual",void 0);rt([(0,K.property)({type:Boolean})],W.prototype,"inline",void 0);rt([(0,K.property)({type:Number})],W.prototype,"delay",void 0);rt([(0,K.property)()],W.prototype,"position",void 0);rt([(0,K.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);rt([(0,K.query)(".ft-tooltip--container")],W.prototype,"container",void 0);rt([(0,K.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);rt([(0,K.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);rt([(0,K.state)()],W.prototype,"visible",void 0);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onTouch",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onHover",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onOut",null);rt([(0,K.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,Bi.customElement)("ft-tooltip")(W);var Or=S(_());var wo=S(B()),et=S(V()),Sa=S(je()),No=S(_());var qi=S(_());var Zi=S(B()),Z=S(V()),Yi=S(je()),Ke=S(_());var Fi=S(B()),G=S(_()),Ui=G.FtCssVariableFactory.extend("--ft-ripple-color","",G.designSystemVariables.colorContent),T={color:Ui,backgroundColor:G.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ui),opacityContentOnSurfacePressed:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:G.FtCssVariableFactory.external(G.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:G.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Hi=G.FtCssVariableFactory.extend("--ft-ripple-color","",G.designSystemVariables.colorPrimary),Gi={color:Hi,backgroundColor:G.FtCssVariableFactory.extend("--ft-ripple-background-color","",Hi)},ji=G.FtCssVariableFactory.extend("--ft-ripple-color","",G.designSystemVariables.colorSecondary),Ki={color:ji,backgroundColor:G.FtCssVariableFactory.extend("--ft-ripple-background-color","",ji)},Vi=Fi.css`
168
168
  :host {
169
169
  display: contents;
170
170
  }
@@ -287,7 +287,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
287
287
  <div class="ft-ripple--background"></div>
288
288
  <div class="ft-ripple--effect"></div>
289
289
  </div>
290
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>p=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};D.elementDefinitions={};D.styles=Vi;nt([(0,Z.property)({type:Boolean})],D.prototype,"primary",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"secondary",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"unbounded",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"activated",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"selected",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"disabled",void 0);nt([(0,Z.state)()],D.prototype,"hovered",void 0);nt([(0,Z.state)()],D.prototype,"focused",void 0);nt([(0,Z.state)()],D.prototype,"pressed",void 0);nt([(0,Z.state)()],D.prototype,"rippling",void 0);nt([(0,Z.state)()],D.prototype,"originX",void 0);nt([(0,Z.state)()],D.prototype,"originY",void 0);nt([(0,Z.query)(".ft-ripple")],D.prototype,"ripple",void 0);nt([(0,Z.query)(".ft-ripple--effect")],D.prototype,"rippleEffect",void 0);(0,qi.customElement)("ft-ripple")(D);var ra=S(_());var Fe=S(B()),ne=S(V()),ea=S(_()),oa=S(Ji());var we;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(we||(we={}));var v;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(v||(v={}));var Pu=new Map([...["abw"].map(t=>[t,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,v.AUDIO]),...["avi"].map(t=>[t,v.AVI]),...["chm","xhs"].map(t=>[t,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,v.CODE]),...["csv"].map(t=>[t,v.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,v.DITA]),...["epub"].map(t=>[t,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,v.EXCEL]),...["flac"].map(t=>[t,v.FLAC]),...["gif"].map(t=>[t,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,v.GZIP]),...["html","htm","xhtml"].map(t=>[t,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,v.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,v.JPEG]),...["json"].map(t=>[t,v.JSON]),...["m4a","m4p"].map(t=>[t,v.M4A]),...["mov","qt"].map(t=>[t,v.MOV]),...["mp3"].map(t=>[t,v.MP3]),...["mp4","m4v"].map(t=>[t,v.MP4]),...["ogg","oga"].map(t=>[t,v.OGG]),...["pdf","ps"].map(t=>[t,v.PDF]),...["png"].map(t=>[t,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,v.POWERPOINT]),...["rar"].map(t=>[t,v.RAR]),...["stp"].map(t=>[t,v.STP]),...["txt","rtf","md","mdown"].map(t=>[t,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,v.VIDEO]),...["wav"].map(t=>[t,v.WAV]),...["wma"].map(t=>[t,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,v.WORD]),...["xml","xsl","rdf"].map(t=>[t,v.XML]),...["yaml","yml","x-yaml"].map(t=>[t,v.YAML]),...["zip"].map(t=>[t,v.ZIP])]);var Lu={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Qi=S(B()),Wt=S(_()),G={size:Wt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Wt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ta=Qi.css`
290
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>p=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};D.elementDefinitions={};D.styles=Vi;nt([(0,Z.property)({type:Boolean})],D.prototype,"primary",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"secondary",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"unbounded",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"activated",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"selected",void 0);nt([(0,Z.property)({type:Boolean})],D.prototype,"disabled",void 0);nt([(0,Z.state)()],D.prototype,"hovered",void 0);nt([(0,Z.state)()],D.prototype,"focused",void 0);nt([(0,Z.state)()],D.prototype,"pressed",void 0);nt([(0,Z.state)()],D.prototype,"rippling",void 0);nt([(0,Z.state)()],D.prototype,"originX",void 0);nt([(0,Z.state)()],D.prototype,"originY",void 0);nt([(0,Z.query)(".ft-ripple")],D.prototype,"ripple",void 0);nt([(0,Z.query)(".ft-ripple--effect")],D.prototype,"rippleEffect",void 0);(0,qi.customElement)("ft-ripple")(D);var ra=S(_());var Fe=S(B()),ne=S(V()),ea=S(_()),oa=S(Ji());var we;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(we||(we={}));var v;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(v||(v={}));var Pu=new Map([...["abw"].map(t=>[t,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,v.AUDIO]),...["avi"].map(t=>[t,v.AVI]),...["chm","xhs"].map(t=>[t,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,v.CODE]),...["csv"].map(t=>[t,v.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,v.DITA]),...["epub"].map(t=>[t,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,v.EXCEL]),...["flac"].map(t=>[t,v.FLAC]),...["gif"].map(t=>[t,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,v.GZIP]),...["html","htm","xhtml"].map(t=>[t,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,v.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,v.JPEG]),...["json"].map(t=>[t,v.JSON]),...["m4a","m4p"].map(t=>[t,v.M4A]),...["mov","qt"].map(t=>[t,v.MOV]),...["mp3"].map(t=>[t,v.MP3]),...["mp4","m4v"].map(t=>[t,v.MP4]),...["ogg","oga"].map(t=>[t,v.OGG]),...["pdf","ps"].map(t=>[t,v.PDF]),...["png"].map(t=>[t,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,v.POWERPOINT]),...["rar"].map(t=>[t,v.RAR]),...["stp"].map(t=>[t,v.STP]),...["txt","rtf","md","mdown"].map(t=>[t,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,v.VIDEO]),...["wav"].map(t=>[t,v.WAV]),...["wma"].map(t=>[t,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,v.WORD]),...["xml","xsl","rdf"].map(t=>[t,v.XML]),...["yaml","yml","x-yaml"].map(t=>[t,v.YAML]),...["zip"].map(t=>[t,v.ZIP])]);var Lu={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Qi=S(B()),Wt=S(_()),j={size:Wt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Wt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Wt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Wt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ta=Qi.css`
291
291
  :host, i.ft-icon {
292
292
  display: inline-flex;
293
293
  align-items: center;
@@ -296,14 +296,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
296
296
  }
297
297
 
298
298
  :host {
299
- width: ${G.size};
300
- height: ${G.size};
299
+ width: ${j.size};
300
+ height: ${j.size};
301
301
  }
302
302
 
303
303
  i.ft-icon {
304
304
  width: 100%;
305
305
  height: 100%;
306
- font-size: ${G.size};
306
+ font-size: ${j.size};
307
307
  line-height: 1;
308
308
  font-weight: normal;
309
309
  text-transform: none;
@@ -314,33 +314,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
314
314
  text-rendering: auto;
315
315
  -webkit-font-smoothing: antialiased;
316
316
  -moz-osx-font-smoothing: grayscale;
317
- vertical-align: ${G.verticalAlign};
317
+ vertical-align: ${j.verticalAlign};
318
318
  }
319
319
 
320
320
  i.ft-icon.ft-icon--fluid-topics {
321
- font-family: ${G.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
321
+ font-family: ${j.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
322
322
 
323
323
  /* Ugly fix because font is broken */
324
- font-size: calc(0.75 * ${G.size});
325
- line-height: ${G.size};
324
+ font-size: calc(0.75 * ${j.size});
325
+ line-height: ${j.size};
326
326
  position: relative;
327
327
  top: -4%;
328
328
  justify-content: center;
329
329
  }
330
330
 
331
331
  .ft-icon--file-format {
332
- font-family: ${G.fileFormatFontFamily}, ft-mime, sans-serif;
332
+ font-family: ${j.fileFormatFontFamily}, ft-mime, sans-serif;
333
333
  }
334
334
 
335
335
  .ft-icon--material {
336
- font-family: ${G.materialFontFamily}, "Material Icons", sans-serif;
336
+ font-family: ${j.materialFontFamily}, "Material Icons", sans-serif;
337
337
  }
338
338
  `;var mt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(mt||(mt={}));var xo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Y=class extends ea.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Fe.nothing}render(){let e=this.variant&&Object.values(mt).includes(this.variant)?this.variant:mt.fluid_topics,r=e!==mt.material||!!this.value;return Fe.html`
339
339
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
340
340
  ${(0,oa.unsafeHTML)(this.resolvedIcon)}
341
341
  <slot ?hidden=${r}></slot>
342
342
  </i>
343
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case mt.file_format:this.resolvedIcon=(e=v[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case mt.material:this.resolvedIcon=this.value||Fe.nothing;break;default:this.resolvedIcon=(r=we[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Y.elementDefinitions={};Y.styles=ta;xo([(0,ne.property)()],Y.prototype,"variant",void 0);xo([(0,ne.property)()],Y.prototype,"value",void 0);xo([(0,ne.state)()],Y.prototype,"resolvedIcon",void 0);xo([(0,ne.query)("slot")],Y.prototype,"slottedContent",void 0);(0,ra.customElement)("ft-icon")(Y);var Co=S(B()),P=S(_());var br=S(_());var Ze=S(V()),ha=S(_());var la=S(B()),A=S(_());var na=S(B()),Ve=S(_()),Q={color:Ve.FtCssVariableFactory.extend("--ft-loader-color","",Ve.designSystemVariables.colorPrimary),size:Ve.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ia=na.css`
343
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case mt.file_format:this.resolvedIcon=(e=v[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case mt.material:this.resolvedIcon=this.value||Fe.nothing;break;default:this.resolvedIcon=(r=we[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Y.elementDefinitions={};Y.styles=ta;xo([(0,ne.property)()],Y.prototype,"variant",void 0);xo([(0,ne.property)()],Y.prototype,"value",void 0);xo([(0,ne.state)()],Y.prototype,"resolvedIcon",void 0);xo([(0,ne.query)("slot")],Y.prototype,"slottedContent",void 0);(0,ra.customElement)("ft-icon")(Y);var Co=S(B()),P=S(_());var br=S(_());var Ze=S(V()),ha=S(_());var la=S(B()),A=S(_());var na=S(B()),Ve=S(_()),tt={color:Ve.FtCssVariableFactory.extend("--ft-loader-color","",Ve.designSystemVariables.colorPrimary),size:Ve.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ia=na.css`
344
344
  :host {
345
345
  line-height: 0;
346
346
  }
@@ -349,8 +349,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
349
349
  display: inline-block;
350
350
  position: relative;
351
351
 
352
- width: ${Q.size};
353
- height: ${Q.size};
352
+ width: ${tt.size};
353
+ height: ${tt.size};
354
354
  }
355
355
 
356
356
  .ft-loader div {
@@ -359,7 +359,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
359
359
  width: 25%;
360
360
  height: 25%;
361
361
  border-radius: 50%;
362
- background: ${Q.color};
362
+ background: ${tt.color};
363
363
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
364
364
  }
365
365
 
@@ -406,7 +406,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
406
406
  transform: translate(0, 0);
407
407
  }
408
408
  100% {
409
- transform: translate(calc(0.35 * ${Q.size}), 0);
409
+ transform: translate(calc(0.35 * ${tt.size}), 0);
410
410
  }
411
411
  }
412
412
  `;var aa=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),M={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:aa,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",Nt.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",aa),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},ca=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),gr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:ca,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ca)},At={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},sa=[la.css`
@@ -451,7 +451,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
451
451
 
452
452
  --ft-button-internal-line-height: max(calc(${M.fontSize} + 2px), ${M.iconSize});
453
453
  --ft-button-internal-color: ${M.color};
454
- ${(0,A.setVariable)(G.size,M.iconSize)};
454
+ ${(0,A.setVariable)(j.size,M.iconSize)};
455
455
  ${(0,A.setVariable)(T.color,M.rippleColor)};
456
456
 
457
457
  border-radius: ${M.borderRadius};
@@ -542,8 +542,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
542
542
  }
543
543
 
544
544
  ft-loader {
545
- ${(0,A.setVariable)(Q.size,M.iconSize)};
546
- ${(0,A.setVariable)(Q.color,"var(--ft-button-internal-color)")};
545
+ ${(0,A.setVariable)(tt.size,M.iconSize)};
546
+ ${(0,A.setVariable)(tt.color,"var(--ft-button-internal-color)")};
547
547
  }
548
548
  `,A.noTextSelect];var Ne=S(_());var pa=S(_());var da=S(B()),fa=S(_());var ie=class extends fa.FtLitElement{render(){return da.html`
549
549
  <div class="ft-loader">
@@ -552,10 +552,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
552
552
  <div></div>
553
553
  <div></div>
554
554
  </div>
555
- `}};ie.styles=ia;(0,pa.customElement)("ft-loader")(ie);var Ee=S(B()),ua=S(je()),tt=S(V()),lt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},j=class extends(0,Ne.toFtFormComponent)(Ne.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(Ee.html`
555
+ `}};ie.styles=ia;(0,pa.customElement)("ft-loader")(ie);var Ee=S(B()),ua=S(je()),q=S(V()),it=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},U=class extends(0,Ne.toFtFormComponent)(Ne.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(Ee.html`
556
556
  <button part="button"
557
557
  class="${(0,ua.classMap)(this.buttonClasses)}"
558
- aria-label="${this.getLabel()}"
558
+ aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
559
559
  ?disabled=${this.isDisabled()}>
560
560
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
561
561
  <ft-typography part="label"
@@ -578,7 +578,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
578
578
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
579
579
  `:Ee.html`
580
580
  <slot part="icon" name="icon"></slot>
581
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};j.elementDefinitions={"ft-ripple":D,"ft-tooltip":W,"ft-typography":J,"ft-icon":Y,"ft-loader":ie};lt([(0,tt.property)({type:String,reflect:!0})],j.prototype,"role",void 0);lt([(0,tt.property)()],j.prototype,"type",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"disabled",void 0);lt([(0,tt.property)()],j.prototype,"label",void 0);lt([(0,tt.property)()],j.prototype,"icon",void 0);lt([(0,tt.property)()],j.prototype,"iconVariant",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"trailingIcon",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"loading",void 0);lt([(0,tt.property)()],j.prototype,"tooltipPosition",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"hideTooltip",void 0);lt([(0,tt.property)({type:Boolean})],j.prototype,"forceTooltip",void 0);lt([(0,tt.query)(".ft-button")],j.prototype,"button",void 0);lt([(0,tt.query)(".ft-button--label slot")],j.prototype,"slottedContent",void 0);var vo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vt=class extends j{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};vt.styles=[ha.safariEllipsisFix,sa];vo([(0,Ze.property)({type:Boolean})],vt.prototype,"primary",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"outlined",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"dense",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"round",void 0);var Ye=S(V());var Oo=S(_());var ma=S(B()),$=S(_());var ya=[ma.css`
581
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":D,"ft-tooltip":W,"ft-typography":Q,"ft-icon":Y,"ft-loader":ie};it([(0,q.property)({type:String,reflect:!0})],U.prototype,"role",void 0);it([(0,q.property)()],U.prototype,"type",void 0);it([(0,q.property)({type:Boolean})],U.prototype,"disabled",void 0);it([(0,q.property)()],U.prototype,"label",void 0);it([(0,q.property)()],U.prototype,"icon",void 0);it([(0,q.property)()],U.prototype,"iconVariant",void 0);it([(0,q.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);it([(0,q.property)({type:Boolean})],U.prototype,"loading",void 0);it([(0,q.property)({attribute:"aria-label"})],U.prototype,"ariaLabel",void 0);it([(0,q.property)()],U.prototype,"tooltipPosition",void 0);it([(0,q.property)({type:Boolean})],U.prototype,"hideTooltip",void 0);it([(0,q.property)({type:Boolean})],U.prototype,"forceTooltip",void 0);it([(0,q.query)(".ft-button")],U.prototype,"button",void 0);it([(0,q.query)(".ft-button--label slot")],U.prototype,"slottedContent",void 0);var vo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vt=class extends U{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};vt.styles=[ha.safariEllipsisFix,sa];vo([(0,Ze.property)({type:Boolean})],vt.prototype,"primary",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"outlined",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"dense",void 0);vo([(0,Ze.property)({type:Boolean})],vt.prototype,"round",void 0);var Ye=S(V());var Oo=S(_());var ma=S(B()),$=S(_());var ya=[ma.css`
582
582
  :host {
583
583
  display: inline-block;
584
584
  max-width: 100%;
@@ -662,7 +662,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
662
662
  /** Primary styles **/
663
663
 
664
664
  .ft-button--primary {
665
- ${(0,$.setVariable)(Q.color,x.primaryIconColor)};
665
+ ${(0,$.setVariable)(tt.color,x.primaryIconColor)};
666
666
 
667
667
  ${(0,$.setVariable)(T.color,x.primaryStateLayerColor)};
668
668
  ${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
@@ -686,7 +686,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
686
686
  /** Secondary styles **/
687
687
 
688
688
  .ft-button--secondary {
689
- ${(0,$.setVariable)(Q.color,x.secondaryIconColor)};
689
+ ${(0,$.setVariable)(tt.color,x.secondaryIconColor)};
690
690
 
691
691
  ${(0,$.setVariable)(T.color,x.secondaryStateLayerColor)};
692
692
  ${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
@@ -711,7 +711,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
711
711
  /** Tertiary styles **/
712
712
 
713
713
  .ft-button--tertiary {
714
- ${(0,$.setVariable)(Q.color,x.tertiaryIconColor)};
714
+ ${(0,$.setVariable)(tt.color,x.tertiaryIconColor)};
715
715
 
716
716
  ${(0,$.setVariable)(T.color,x.tertiaryStateLayerColor)};
717
717
  ${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
@@ -735,7 +735,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
735
735
  /** Neutral styles **/
736
736
 
737
737
  .ftds--family-neutral {
738
- ${(0,$.setVariable)(Q.color,x.neutralIconColor)};
738
+ ${(0,$.setVariable)(tt.color,x.neutralIconColor)};
739
739
 
740
740
  ${(0,$.setVariable)(T.backgroundColor,x.neutralStateLayerColor)};
741
741
  ${(0,$.setVariable)(T.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
@@ -759,8 +759,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
759
759
  /** Large styles **/
760
760
 
761
761
  .ftds--size-large {
762
- ${(0,$.setVariable)(G.size,x.largeIconSize)};
763
- ${(0,$.setVariable)(Q.size,x.largeIconSize)};
762
+ ${(0,$.setVariable)(j.size,x.largeIconSize)};
763
+ ${(0,$.setVariable)(tt.size,x.largeIconSize)};
764
764
 
765
765
  height: ${x.largeHeight};
766
766
  padding: 0 ${x.largeHorizontalPadding};
@@ -781,8 +781,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
781
781
  /** Small styles **/
782
782
 
783
783
  .ftds--size-medium {
784
- ${(0,$.setVariable)(G.size,x.mediumIconSize)};
785
- ${(0,$.setVariable)(Q.size,x.mediumIconSize)};
784
+ ${(0,$.setVariable)(j.size,x.mediumIconSize)};
785
+ ${(0,$.setVariable)(tt.size,x.mediumIconSize)};
786
786
 
787
787
  height: ${x.mediumHeight};
788
788
  padding: 0 ${x.mediumHorizontalPadding};
@@ -804,8 +804,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
804
804
  /** Small styles **/
805
805
 
806
806
  .ftds--size-small {
807
- ${(0,$.setVariable)(G.size,x.smallIconSize)};
808
- ${(0,$.setVariable)(Q.size,x.smallIconSize)};
807
+ ${(0,$.setVariable)(j.size,x.smallIconSize)};
808
+ ${(0,$.setVariable)(tt.size,x.smallIconSize)};
809
809
 
810
810
  height: ${x.smallHeight};
811
811
  padding: 0 ${x.smallHorizontalPadding};
@@ -822,7 +822,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
822
822
  .ftds--size-small.ft-button--icon-only {
823
823
  width: ${x.smallIconOnlyWidth};
824
824
  }
825
- `,$.noTextSelect];var So=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},St=class extends(0,Oo.toFtdsBase)(j){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=fo.brand,this.iconVariant=mt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case X.large:return ut.body2medium;case X.medium:return ut.caption1medium;case X.small:return ut.caption2medium}}};St.styles=[Oo.safariEllipsisFix,ya];So([(0,Ye.property)({type:Boolean})],St.prototype,"primary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"secondary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"tertiary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"round",void 0);(0,br.customElement)("ft-button")(vt);(0,br.customElement)("ftds-button")(St);var ga=P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnSurface),yt={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorSurface),color:ga,fontSize:P.FtCssVariableFactory.extend("--ft-chip-font-size","",Et.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:P.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:P.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ga),horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:P.FtCssVariableFactory.external(P.designSystemVariables.colorOutline,"Design system"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},ba=P.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnPrimary)),xr={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorPrimary)),color:ba,rippleColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ba)},xa={horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},va=[P.noTextSelect,Co.css`
825
+ `,$.noTextSelect];var So=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},St=class extends(0,Oo.toFtdsBase)(U){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=fo.brand,this.iconVariant=mt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case J.large:return ut.body2medium;case J.medium:return ut.caption1medium;case J.small:return ut.caption2medium}}};St.styles=[Oo.safariEllipsisFix,ya];So([(0,Ye.property)({type:Boolean})],St.prototype,"primary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"secondary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"tertiary",void 0);So([(0,Ye.property)({type:Boolean})],St.prototype,"round",void 0);(0,br.customElement)("ft-button")(vt);(0,br.customElement)("ftds-button")(St);var ga=P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnSurface),yt={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorSurface),color:ga,fontSize:P.FtCssVariableFactory.extend("--ft-chip-font-size","",Et.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:P.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:P.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ga),horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:P.FtCssVariableFactory.external(P.designSystemVariables.colorOutline,"Design system"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},ba=P.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnPrimary)),xr={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorPrimary)),color:ba,rippleColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ba)},xa={horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},va=[P.noTextSelect,Co.css`
826
826
  :host {
827
827
  display: inline-block;
828
828
  max-width: 100%;
@@ -840,7 +840,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
840
840
 
841
841
  --ft-chip-internal-font-size: ${yt.fontSize};
842
842
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
843
- ${(0,P.setVariable)(G.size,yt.iconSize)};
843
+ ${(0,P.setVariable)(j.size,yt.iconSize)};
844
844
  --ft-chip-internal-vertical-padding: ${yt.verticalPadding};
845
845
  --ft-chip-internal-horizontal-padding: ${yt.horizontalPadding};
846
846
  --ft-chip-internal-icon-padding: 3px;
@@ -959,7 +959,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
959
959
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
960
960
  order: -1;
961
961
  }
962
- `];var st=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Eo=class extends CustomEvent{constructor(){super("icon-click")}},U=class extends No.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":No.isSafari};return wo.html`
962
+ `];var st=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Eo=class extends CustomEvent{constructor(){super("icon-click")}},H=class extends No.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":No.isSafari};return wo.html`
963
963
  <div class="${(0,Sa.classMap)(e)}"
964
964
  aria-label="${this.getLabel()}"
965
965
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -985,7 +985,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
985
985
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
986
986
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
987
987
  </div>
988
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Eo))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Eo))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};U.elementDefinitions={"ft-ripple":D,"ft-typography":J,"ft-icon":Y,"ft-button":vt};U.styles=va;st([(0,et.property)({type:Boolean})],U.prototype,"highlighted",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"removable",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"disabled",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"clickable",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"iconClickable",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"dense",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"multiLine",void 0);st([(0,et.property)()],U.prototype,"label",void 0);st([(0,et.property)()],U.prototype,"iconLabel",void 0);st([(0,et.property)()],U.prototype,"icon",void 0);st([(0,et.property)()],U.prototype,"iconVariant",void 0);st([(0,et.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);st([(0,et.query)("ft-typography slot")],U.prototype,"slottedContent",void 0);var ae=S(B()),ce=S(V()),wa=S(je()),Ro=S(_());var Oa=S(B());var vr=S(_());var Ca=[Oa.css`
988
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Eo))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Eo))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};H.elementDefinitions={"ft-ripple":D,"ft-typography":Q,"ft-icon":Y,"ft-button":vt};H.styles=va;st([(0,et.property)({type:Boolean})],H.prototype,"highlighted",void 0);st([(0,et.property)({type:Boolean})],H.prototype,"removable",void 0);st([(0,et.property)({type:Boolean})],H.prototype,"disabled",void 0);st([(0,et.property)({type:Boolean})],H.prototype,"clickable",void 0);st([(0,et.property)({type:Boolean})],H.prototype,"iconClickable",void 0);st([(0,et.property)({type:Boolean})],H.prototype,"dense",void 0);st([(0,et.property)({type:Boolean})],H.prototype,"multiLine",void 0);st([(0,et.property)()],H.prototype,"label",void 0);st([(0,et.property)()],H.prototype,"iconLabel",void 0);st([(0,et.property)()],H.prototype,"icon",void 0);st([(0,et.property)()],H.prototype,"iconVariant",void 0);st([(0,et.property)({type:Boolean})],H.prototype,"trailingIcon",void 0);st([(0,et.query)("ft-typography slot")],H.prototype,"slottedContent",void 0);var ae=S(B()),ce=S(V()),wa=S(je()),Ro=S(_());var Oa=S(B());var vr=S(_());var Ca=[Oa.css`
989
989
  :host {
990
990
  display: inline-block;
991
991
  max-width: 100%;
@@ -1009,7 +1009,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1009
1009
  border-width: ${L.mediumBorderWidth};
1010
1010
  border-style: solid;
1011
1011
  gap: ${L.mediumGap};
1012
- ${(0,vr.setVariable)(G.size,L.mediumIconSize)}
1012
+ ${(0,vr.setVariable)(j.size,L.mediumIconSize)}
1013
1013
  }
1014
1014
 
1015
1015
  .ftds--size-medium.ftds-chip--removable {
@@ -1025,7 +1025,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1025
1025
  border-width: ${L.largeBorderWidth};
1026
1026
  border-style: solid;
1027
1027
  gap: ${L.largeGap};
1028
- ${(0,vr.setVariable)(G.size,L.largeIconSize)}
1028
+ ${(0,vr.setVariable)(j.size,L.largeIconSize)}
1029
1029
  }
1030
1030
 
1031
1031
  .ftds--size-large.ftds-chip--removable {
@@ -1115,7 +1115,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1115
1115
  size=${this.resolveButtonSize()}
1116
1116
  part="icon-button"
1117
1117
  ></ftds-button>
1118
- `:ae.nothing}resolveButtonSize(){switch(this.size){case X.large:return X.medium;case X.medium:case X.small:return X.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Sr)}typographyVariant(){switch(this.size){case X.large:return ut.body2medium;case X.medium:return ut.caption1medium;case X.small:return ut.caption2medium}}};Ot.elementDefinitions={"ft-typography":J,"ft-icon":Y,"ftds-button":St};Ot.styles=Ca;qe([(0,ce.property)({type:Boolean})],Ot.prototype,"removable",void 0);qe([(0,ce.property)()],Ot.prototype,"removeButtonLabel",void 0);qe([(0,ce.property)()],Ot.prototype,"label",void 0);qe([(0,ce.property)()],Ot.prototype,"icon",void 0);qe([(0,ce.query)("ft-typography slot")],Ot.prototype,"slottedContent",void 0);(0,Or.customElement)("ft-chip")(U);(0,Or.customElement)("ftds-chip")(Ot);var qr=S(V());function qc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ao(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ao(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ao(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ao(t,e){try{return qc(t,e)}catch{return!1}}function Po(t,e){return!Ao(t,e)}var Ea=S(V(),1);var Cr=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Po,attribute:!1,...e};(0,Ea.property)(a)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:s=>s[n],store:e.store})}};var Lo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Xe=S(V(),1);var Na=S(V(),1);function Ra(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Na.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Po,...e??{}})}var Io=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Pa=S(B(),1);var To=window,Xc=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mm=Symbol();var Aa=(t,e)=>{Xc?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var $o=class extends Pa.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Aa(n,e.elementStyles),n}};var _o=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$a,La=Symbol("constructorPrototype"),Ia=Symbol("constructorName"),_a=Symbol("exportpartsDebouncer"),Ta=Symbol("dynamicDependenciesLoaded"),jt=class extends $o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[$a]=new Io(5),this[Ia]=this.constructor.name,this[La]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ia]&&Object.setPrototypeOf(this,this[La])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Ta]||(e[Ta]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[_a].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,c,s;let p=m=>m!=null&&m.trim().length>0,f=e.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(s=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(b=>b.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...g,...y).filter(p).map(b=>b.trim()).forEach(b=>u.add(b))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};$a=_a;_o([(0,Xe.property)()],jt.prototype,"exportpartsPrefix",void 0);_o([Ra([])],jt.prototype,"exportpartsPrefixes",void 0);_o([(0,Xe.property)()],jt.prototype,"customStylesheet",void 0);_o([(0,Xe.state)()],jt.prototype,"useAdoptedStyleSheets",void 0);function Je(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ka,Wa,Da,ko=Symbol("internalReduxEventsUnsubscribers"),Kt=Symbol("internalStoresUnsubscribers"),le=Symbol("internalStores"),Qe=class extends jt{constructor(){super(...arguments),this[ka]=new Map,this[Wa]=new Map,this[Da]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[le].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[le].get(e)}addStore(e,r){var n;r=(n=r??(Je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[le].delete(r)}setupStore(e,r){this[le].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[le].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Kt].has(e.store):this[Kt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Kt].set(e,r.subscribe(()=>this.updateFromStores())),Je(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=s=>this[a](s);r.eventBus.addEventListener(i.eventName,c),this[ko].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Kt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[ko].forEach(e=>e()),this[ko]=[]}unsubscribeFromStore(e){this[Kt].has(e)&&this[Kt].get(e)(),this[Kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ka=Kt,Wa=le,Da=ko;Qe.reduxProperties=new Map;Qe.reduxReactiveProperties=new Set;Qe.reduxEventListeners=new Map;function gt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Dt(t){return!!t&&!!t[z]}function Ct(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===il}(t)||Array.isArray(t)||!!t[ja]||!!(!((e=t.constructor)===null||e===void 0)&&e[ja])||Tr(t)||$r(t))}function se(t,e,r){r===void 0&&(r=!1),Pe(t)===0?(r?Object.keys:Ae)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Pe(t){var e=t[z];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Tr(t)?2:$r(t)?3:0}function Re(t,e){return Pe(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Jc(t,e){return Pe(t)===2?t.get(e):t[e]}function Ka(t,e,r){var n=Pe(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Fa(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Tr(t){return rl&&t instanceof Map}function $r(t){return nl&&t instanceof Set}function Ft(t){return t.o||t.t}function _r(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ya(t);delete e[z];for(var r=Ae(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function kr(t,e){return e===void 0&&(e=!1),Wr(t)||Dt(t)||!Ct(t)||(Pe(t)>1&&(t.set=t.add=t.clear=t.delete=Qc),Object.freeze(t),e&&se(t,function(r,n){return kr(n,!0)},!0)),t}function Qc(){gt(2)}function Wr(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Pt(t){var e=Ir[t];return e||gt(18,t),e}function tl(t,e){Ir[t]||(Ir[t]=e)}function Ar(){return eo}function wr(t,e){e&&(Pt("Patches"),t.u=[],t.s=[],t.v=e)}function Wo(t){Pr(t),t.p.forEach(el),t.p=null}function Pr(t){t===eo&&(eo=t.l)}function za(t){return eo={p:[],l:eo,h:t,m:!0,_:0}}function el(t){var e=t[z];e.i===0||e.i===1?e.j():e.g=!0}function Er(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Pt("ES5").S(e,t,n),n?(r[z].P&&(Wo(e),gt(4)),Ct(t)&&(t=Do(e,t),e.l||zo(e,t)),e.u&&Pt("Patches").M(r[z].t,t,e.u,e.s)):t=Do(e,r,[]),Wo(e),e.u&&e.v(e.u,e.s),t!==Za?t:void 0}function Do(t,e,r){if(Wr(e))return e;var n=e[z];if(!n)return se(e,function(s,p){return Ba(t,n,e,s,p,r)},!0),e;if(n.A!==t)return e;if(!n.P)return zo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=_r(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),se(a,function(s,p){return Ba(t,n,i,s,p,r,c)}),zo(t,i,!1),r&&t.u&&Pt("Patches").N(n,r,t.u,t.s)}return n.o}function Ba(t,e,r,n,i,a,c){if(Dt(i)){var s=Do(t,i,a&&e&&e.i!==3&&!Re(e.R,n)?a.concat(n):void 0);if(Ka(r,n,s),!Dt(s))return;t.m=!1}else c&&r.add(i);if(Ct(i)&&!Wr(i)){if(!t.h.D&&t._<1)return;Do(t,i),e&&e.A.l||zo(t,i)}}function zo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&kr(e,r)}function Nr(t,e){var r=t[z];return(r?Ft(r):t)[e]}function Ma(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Rr(t){t.o||(t.o=_r(t.t))}function Lr(t,e,r){var n=Tr(e)?Pt("MapSet").F(e,r):$r(e)?Pt("MapSet").T(e,r):t.O?function(i,a){var c=Array.isArray(i),s={i:c?1:0,A:a?a.A:Ar(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=s,f=oo;c&&(p=[s],f=to);var u=Proxy.revocable(p,f),h=u.revoke,m=u.proxy;return s.k=m,s.j=h,m}(e,r):Pt("ES5").J(e,r);return(r?r.A:Ar()).p.push(n),n}function ol(t){return Dt(t)||gt(22,t),function e(r){if(!Ct(r))return r;var n,i=r[z],a=Pe(r);if(i){if(!i.P&&(i.i<4||!Pt("ES5").K(i)))return i.t;i.I=!0,n=Ua(r,a),i.I=!1}else n=Ua(r,a);return se(n,function(c,s){i&&Jc(i.t,c)===s||Ka(n,c,e(s))}),a===3?new Set(n):n}(t)}function Ua(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return _r(t)}function Va(){function t(c,s){var p=a[c];return p?p.enumerable=s:a[c]=p={configurable:!0,enumerable:s,get:function(){var f=this[z];return oo.get(f,c)},set:function(f){var u=this[z];oo.set(u,c,f)}},p}function e(c){for(var s=c.length-1;s>=0;s--){var p=c[s][z];if(!p.P)switch(p.i){case 5:n(p)&&Vt(p);break;case 4:r(p)&&Vt(p)}}}function r(c){for(var s=c.t,p=c.k,f=Ae(p),u=f.length-1;u>=0;u--){var h=f[u];if(h!==z){var m=s[h];if(m===void 0&&!Re(s,h))return!0;var g=p[h],y=g&&g[z];if(y?y.t!==m:!Fa(g,m))return!0}}var b=!!s[z];return f.length!==Ae(s).length+(b?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(s,s.length-1);if(p&&!p.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&gt(3,JSON.stringify(Ft(c)))}var a={};tl("ES5",{J:function(c,s){var p=Array.isArray(c),f=function(h,m){if(h){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var b=Ya(m);delete b[z];for(var N=Ae(b),C=0;C<N.length;C++){var w=N[C];b[w]=t(w,h||!!b[w].enumerable)}return Object.create(Object.getPrototypeOf(m),b)}(p,c),u={i:p?5:4,A:s?s.A:Ar(),P:!1,I:!1,R:{},l:s,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,z,{value:u,writable:!0}),f},S:function(c,s,p){p?Dt(s)&&s[z].A===c&&e(c.p):(c.u&&function f(u){if(u&&typeof u=="object"){var h=u[z];if(h){var m=h.t,g=h.k,y=h.R,b=h.i;if(b===4)se(g,function(I){I!==z&&(m[I]!==void 0||Re(m,I)?y[I]||f(g[I]):(y[I]=!0,Vt(h)))}),se(m,function(I){g[I]!==void 0||Re(g,I)||(y[I]=!1,Vt(h))});else if(b===5){if(n(h)&&(Vt(h),y.length=!0),g.length<m.length)for(var N=g.length;N<m.length;N++)y[N]=!1;else for(var C=m.length;C<g.length;C++)y[C]=!0;for(var w=Math.min(g.length,m.length),R=0;R<w;R++)g.hasOwnProperty(R)||(y[R]=!0),y[R]===void 0&&f(g[R])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var Ha,eo,Dr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",rl=typeof Map<"u",nl=typeof Set<"u",Ga=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Za=Dr?Symbol.for("immer-nothing"):((Ha={})["immer-nothing"]=!0,Ha),ja=Dr?Symbol.for("immer-draftable"):"__$immer_draftable",z=Dr?Symbol.for("immer-state"):"__$immer_state";var il=""+Object.prototype.constructor,Ae=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ya=Object.getOwnPropertyDescriptors||function(t){var e={};return Ae(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ir={},oo={get:function(t,e){if(e===z)return t;var r=Ft(t);if(!Re(r,e))return function(i,a,c){var s,p=Ma(a,c);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ct(n)?n:n===Nr(t.t,e)?(Rr(t),t.o[e]=Lr(t.A.h,n,t)):n},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,r){var n=Ma(Ft(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Nr(Ft(t),e),a=i?.[z];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Fa(r,i)&&(r!==void 0||Re(t.t,e)))return!0;Rr(t),Vt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Nr(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Rr(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ft(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){gt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){gt(12)}},to={};se(oo,function(t,e){to[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),to.deleteProperty=function(t,e){return to.set.call(this,t,e,void 0)},to.set=function(t,e,r){return oo.set.call(this,t[0],e,r,t[0])};var al=function(){function t(r){var n=this;this.O=Ga,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var p=n;return function(b){var N=this;b===void 0&&(b=s);for(var C=arguments.length,w=Array(C>1?C-1:0),R=1;R<C;R++)w[R-1]=arguments[R];return p.produce(b,function(I){var k;return(k=a).call.apply(k,[N,I].concat(w))})}}var f;if(typeof a!="function"&&gt(6),c!==void 0&&typeof c!="function"&&gt(7),Ct(i)){var u=za(n),h=Lr(n,i,void 0),m=!0;try{f=a(h),m=!1}finally{m?Wo(u):Pr(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(b){return wr(u,c),Er(b,u)},function(b){throw Wo(u),b}):(wr(u,c),Er(f,u))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Za&&(f=void 0),n.D&&kr(f,!0),c){var g=[],y=[];Pt("Patches").M(i,f,g,y),c(g,y)}return f}gt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var u=arguments.length,h=Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(h))})};var c,s,p=n.produce(i,a,function(f,u){c=f,s=u});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,c,s]}):[p,c,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ct(r)||gt(8),Dt(r)&&(r=ol(r));var n=za(this),i=Lr(this,r,void 0);return i[z].C=!0,Pr(n),i},e.finishDraft=function(r,n){var i=r&&r[z],a=i.A;return wr(a,n),Er(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ga&&gt(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=Pt("Patches").$;return Dt(r)?c(r,n):this.produce(r,function(s){return c(s,n)})},t}(),dt=new al,cl=dt.produce,Rm=dt.produceWithPatches.bind(dt),Am=dt.setAutoFreeze.bind(dt),Pm=dt.setUseProxies.bind(dt),Lm=dt.applyPatches.bind(dt),Im=dt.createDraft.bind(dt),Tm=dt.finishDraft.bind(dt),Bo=cl;function Zt(t){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zt(t)}function zr(t,e){if(Zt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Zt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Br(t){var e=zr(t,"string");return Zt(e)==="symbol"?e:String(e)}function Mr(t,e,r){return e=Br(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Mo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qa(Object(r),!0).forEach(function(n){Mr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qa(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function q(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Xa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ur=function(){return Math.random().toString(36).substring(7).split("").join(".")},Uo={INIT:"@@redux/INIT"+Ur(),REPLACE:"@@redux/REPLACE"+Ur(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ur()}};function ll(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Hr(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(q(1));return r(Hr)(t,e)}if(typeof t!="function")throw new Error(q(2));var i=t,a=e,c=[],s=c,p=!1;function f(){s===c&&(s=c.slice())}function u(){if(p)throw new Error(q(3));return a}function h(b){if(typeof b!="function")throw new Error(q(4));if(p)throw new Error(q(5));var N=!0;return f(),s.push(b),function(){if(N){if(p)throw new Error(q(6));N=!1,f();var w=s.indexOf(b);s.splice(w,1),c=null}}}function m(b){if(!ll(b))throw new Error(q(7));if(typeof b.type>"u")throw new Error(q(8));if(p)throw new Error(q(9));try{p=!0,a=i(a,b)}finally{p=!1}for(var N=c=s,C=0;C<N.length;C++){var w=N[C];w()}return b}function g(b){if(typeof b!="function")throw new Error(q(10));i=b,m({type:Uo.REPLACE})}function y(){var b,N=h;return b={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(q(11));function R(){w.next&&w.next(u())}R();var I=N(R);return{unsubscribe:I}}},b[Xa]=function(){return this},b}return m({type:Uo.INIT}),n={dispatch:m,subscribe:h,getState:u,replaceReducer:g},n[Xa]=y,n}function sl(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Uo.INIT});if(typeof n>"u")throw new Error(q(12));if(typeof r(void 0,{type:Uo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function Ja(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),c,s;try{sl(r)}catch(p){s=p}return function(f,u){if(f===void 0&&(f={}),s)throw s;if(0)var h;for(var m=!1,g={},y=0;y<a.length;y++){var b=a[y],N=r[b],C=f[b],w=N(C,u);if(typeof w>"u"){var R=u&&u.type;throw new Error(q(14))}g[b]=w,m=m||w!==C}return m=m||a.length!==Object.keys(f).length,m?g:f}}function Le(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Qa(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(q(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(p){return p(c)});return a=Le.apply(void 0,s)(i.dispatch),Mo(Mo({},i),{},{dispatch:a})}}}function tc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,a,t):c(s)}}};return e}var ec=tc();ec.withExtraArgument=tc;var Gr=ec;var ac=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),dl=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(f){return function(u){return p([f,u])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(u){f=[6,u],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ie=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},fl=Object.defineProperty,pl=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,oc=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable,rc=function(t,e,r){return e in t?fl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Yt=function(t,e){for(var r in e||(e={}))hl.call(e,r)&&rc(t,r,e[r]);if(oc)for(var n=0,i=oc(e);n<i.length;n++){var r=i[n];ml.call(e,r)&&rc(t,r,e[r])}return t},jr=function(t,e){return pl(t,ul(e))},yl=function(t,e,r){return new Promise(function(n,i){var a=function(p){try{s(r.next(p))}catch(f){i(f)}},c=function(p){try{s(r.throw(p))}catch(f){i(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,c)};s((r=r.apply(t,e)).next())})};var gl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Le:Le.apply(null,arguments)},qm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function bl(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var xl=function(t){ac(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array),vl=function(t){ac(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array);function Vr(t){return Ct(t)?Bo(t,function(){}):t}function Sl(t){return typeof t=="boolean"}function Ol(){return function(e){return Cl(e)}}function Cl(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,c=a===void 0?!0:a,s=new xl;if(r&&(Sl(r)?s.push(Gr):s.push(Gr.withExtraArgument(r.extraArgument))),0){if(i)var p;if(c)var f}return s}var Kr=!0;function cc(t){var e=Ol(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,u=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(bl(i))g=Ja(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Kr&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Kr&&y.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=Qa.apply(void 0,y),N=Le;p&&(N=gl(Yt({trace:!Kr},typeof p=="object"&&p)));var C=new vl(b),w=C;Array.isArray(m)?w=Ie([b],m):typeof m=="function"&&(w=m(C));var R=N.apply(void 0,w);return Hr(g,u,R)}function qt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Yt(Yt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function lc(t){var e={},r=[],n,i={addCase:function(a,c){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=c,i},addMatcher:function(a,c){return r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function wl(t){return typeof t=="function"}function El(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?lc(e):[e,r,n],a=i[0],c=i[1],s=i[2],p;if(wl(t))p=function(){return Vr(t())};else{var f=Vr(t);p=function(){return f}}function u(h,m){h===void 0&&(h=p());var g=Ie([a[m.type]],c.filter(function(y){var b=y.matcher;return b(m)}).map(function(y){var b=y.reducer;return b}));return g.filter(function(y){return!!y}).length===0&&(g=[s]),g.reduce(function(y,b){if(b)if(Dt(y)){var N=y,C=b(N,m);return C===void 0?y:C}else{if(Ct(y))return Bo(y,function(w){return b(w,m)});var C=b(y,m);if(C===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return y},h)}return u.getInitialState=p,u}function Nl(t,e){return t+"/"+e}function sc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Vr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};i.forEach(function(u){var h=n[u],m=Nl(e,u),g,y;"reducer"in h?(g=h.reducer,y=h.prepare):g=h,a[u]=g,c[m]=g,s[u]=y?qt(m,y):qt(m)});function p(){var u=typeof t.extraReducers=="function"?lc(t.extraReducers):[t.extraReducers],h=u[0],m=h===void 0?{}:h,g=u[1],y=g===void 0?[]:g,b=u[2],N=b===void 0?void 0:b,C=Yt(Yt({},m),c);return El(r,function(w){for(var R in C)w.addCase(R,C[R]);for(var I=0,k=y;I<k.length;I++){var ft=k[I];w.addMatcher(ft.matcher,ft.reducer)}N&&w.addDefaultCase(N)})}var f;return{name:e,reducer:function(u,h){return f||(f=p()),f(u,h)},actions:s,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Rl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Al=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Rl[Math.random()*64|0];return e},Pl=["name","message","stack","code"],Fr=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),nc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ll=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Pl;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},ty=function(){function t(e,r,n){var i=qt(e+"/fulfilled",function(u,h,m,g){return{payload:u,meta:jr(Yt({},g||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=qt(e+"/pending",function(u,h,m){return{payload:void 0,meta:jr(Yt({},m||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),c=qt(e+"/rejected",function(u,h,m,g,y){return{payload:g,error:(n&&n.serializeError||Ll)(u||"Rejected"),meta:jr(Yt({},y||{}),{arg:m,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),s=!1,p=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(h,m,g){var y=n?.idGenerator?n.idGenerator(u):Al(),b=new p,N,C=!1;function w(I){N=I,b.abort()}var R=function(){return yl(this,null,function(){var I,k,ft,zt,Ko,Bt,it;return dl(this,function(pt){switch(pt.label){case 0:return pt.trys.push([0,4,,5]),zt=(I=n?.condition)==null?void 0:I.call(n,u,{getState:m,extra:g}),Tl(zt)?[4,zt]:[3,2];case 1:zt=pt.sent(),pt.label=2;case 2:if(zt===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,Ko=new Promise(function(at,Jt){return b.signal.addEventListener("abort",function(){return Jt({name:"AbortError",message:N||"Aborted"})})}),h(a(y,u,(k=n?.getPendingMeta)==null?void 0:k.call(n,{requestId:y,arg:u},{getState:m,extra:g}))),[4,Promise.race([Ko,Promise.resolve(r(u,{dispatch:h,getState:m,extra:g,requestId:y,signal:b.signal,abort:w,rejectWithValue:function(at,Jt){return new Fr(at,Jt)},fulfillWithValue:function(at,Jt){return new nc(at,Jt)}})).then(function(at){if(at instanceof Fr)throw at;return at instanceof nc?i(at.payload,y,u,at.meta):i(at,y,u)})])];case 3:return ft=pt.sent(),[3,5];case 4:return Bt=pt.sent(),ft=Bt instanceof Fr?c(null,y,u,Bt.payload,Bt.meta):c(Bt,y,u),[3,5];case 5:return it=n&&!n.dispatchConditionRejection&&c.match(ft)&&ft.meta.condition,it||h(ft),[2,ft]}})})}();return Object.assign(R,{abort:w,requestId:y,arg:u,unwrap:function(){return R.then(Il)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Il(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Tl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var dc="listener",fc="completed",pc="cancelled",ey="task-"+pc,oy="task-"+fc,ry=dc+"-"+pc,ny=dc+"-"+fc;var Zr="listenerMiddleware";var iy=qt(Zr+"/add"),ay=qt(Zr+"/removeAll"),cy=qt(Zr+"/remove");var ic,ly=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ic||(ic=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},$l=function(t){return function(e){setTimeout(e,t)}},sy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$l(10);Va();window.ftReduxStores||(window.ftReduxStores={});var uc=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Je(a))return a;if(i==null)return;let c=sc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=cc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:c.reducer(p,f)});return window.ftReduxStores[i.name]=new t(c,s)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Lo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,s=n[c];return s?(...p)=>{let f=s(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[c]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ho=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Go=S(_()),_l="ft-app-info",Yr=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},kl={session:(t,e)=>{(0,Go.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>ro.eventBus.dispatchEvent(new Yr(e.payload)),0))}},ro=Go.FtReduxStore.get({name:_l,reducers:kl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var jo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function hc(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(ro)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(s=>s.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>Ho.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return jo([(0,qr.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),jo([(0,qr.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),jo([Cr({store:ro.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),jo([Cr({store:ro.name})],e.prototype,"uiLocale",void 0),e}var Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bt=class extends hc(io){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return wt.html`
1118
+ `:ae.nothing}resolveButtonSize(){switch(this.size){case J.large:return J.medium;case J.medium:case J.small:return J.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Sr)}typographyVariant(){switch(this.size){case J.large:return ut.body2medium;case J.medium:return ut.caption1medium;case J.small:return ut.caption2medium}}};Ot.elementDefinitions={"ft-typography":Q,"ft-icon":Y,"ftds-button":St};Ot.styles=Ca;qe([(0,ce.property)({type:Boolean})],Ot.prototype,"removable",void 0);qe([(0,ce.property)()],Ot.prototype,"removeButtonLabel",void 0);qe([(0,ce.property)()],Ot.prototype,"label",void 0);qe([(0,ce.property)()],Ot.prototype,"icon",void 0);qe([(0,ce.query)("ft-typography slot")],Ot.prototype,"slottedContent",void 0);(0,Or.customElement)("ft-chip")(H);(0,Or.customElement)("ftds-chip")(Ot);var qr=S(V());function qc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ao(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ao(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ao(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ao(t,e){try{return qc(t,e)}catch{return!1}}function Po(t,e){return!Ao(t,e)}var Ea=S(V(),1);var Cr=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Po,attribute:!1,...e};(0,Ea.property)(a)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:s=>s[n],store:e.store})}};var Lo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Xe=S(V(),1);var Na=S(V(),1);function Ra(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Na.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Po,...e??{}})}var Io=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Pa=S(B(),1);var To=window,Xc=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mm=Symbol();var Aa=(t,e)=>{Xc?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var $o=class extends Pa.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Aa(n,e.elementStyles),n}};var _o=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$a,La=Symbol("constructorPrototype"),Ia=Symbol("constructorName"),_a=Symbol("exportpartsDebouncer"),Ta=Symbol("dynamicDependenciesLoaded"),jt=class extends $o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[$a]=new Io(5),this[Ia]=this.constructor.name,this[La]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ia]&&Object.setPrototypeOf(this,this[La])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Ta]||(e[Ta]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[_a].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,c,s;let p=m=>m!=null&&m.trim().length>0,f=e.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(s=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(b=>b.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...g,...y).filter(p).map(b=>b.trim()).forEach(b=>u.add(b))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};$a=_a;_o([(0,Xe.property)()],jt.prototype,"exportpartsPrefix",void 0);_o([Ra([])],jt.prototype,"exportpartsPrefixes",void 0);_o([(0,Xe.property)()],jt.prototype,"customStylesheet",void 0);_o([(0,Xe.state)()],jt.prototype,"useAdoptedStyleSheets",void 0);function Je(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ka,Wa,Da,ko=Symbol("internalReduxEventsUnsubscribers"),Kt=Symbol("internalStoresUnsubscribers"),le=Symbol("internalStores"),Qe=class extends jt{constructor(){super(...arguments),this[ka]=new Map,this[Wa]=new Map,this[Da]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[le].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[le].get(e)}addStore(e,r){var n;r=(n=r??(Je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[le].delete(r)}setupStore(e,r){this[le].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[le].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Kt].has(e.store):this[Kt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Kt].set(e,r.subscribe(()=>this.updateFromStores())),Je(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=s=>this[a](s);r.eventBus.addEventListener(i.eventName,c),this[ko].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Kt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[ko].forEach(e=>e()),this[ko]=[]}unsubscribeFromStore(e){this[Kt].has(e)&&this[Kt].get(e)(),this[Kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ka=Kt,Wa=le,Da=ko;Qe.reduxProperties=new Map;Qe.reduxReactiveProperties=new Set;Qe.reduxEventListeners=new Map;function gt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Dt(t){return!!t&&!!t[z]}function Ct(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===il}(t)||Array.isArray(t)||!!t[ja]||!!(!((e=t.constructor)===null||e===void 0)&&e[ja])||Tr(t)||$r(t))}function se(t,e,r){r===void 0&&(r=!1),Pe(t)===0?(r?Object.keys:Ae)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Pe(t){var e=t[z];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Tr(t)?2:$r(t)?3:0}function Re(t,e){return Pe(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Jc(t,e){return Pe(t)===2?t.get(e):t[e]}function Ka(t,e,r){var n=Pe(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Fa(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Tr(t){return rl&&t instanceof Map}function $r(t){return nl&&t instanceof Set}function Ft(t){return t.o||t.t}function _r(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ya(t);delete e[z];for(var r=Ae(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function kr(t,e){return e===void 0&&(e=!1),Wr(t)||Dt(t)||!Ct(t)||(Pe(t)>1&&(t.set=t.add=t.clear=t.delete=Qc),Object.freeze(t),e&&se(t,function(r,n){return kr(n,!0)},!0)),t}function Qc(){gt(2)}function Wr(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Pt(t){var e=Ir[t];return e||gt(18,t),e}function tl(t,e){Ir[t]||(Ir[t]=e)}function Ar(){return eo}function wr(t,e){e&&(Pt("Patches"),t.u=[],t.s=[],t.v=e)}function Wo(t){Pr(t),t.p.forEach(el),t.p=null}function Pr(t){t===eo&&(eo=t.l)}function za(t){return eo={p:[],l:eo,h:t,m:!0,_:0}}function el(t){var e=t[z];e.i===0||e.i===1?e.j():e.g=!0}function Er(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Pt("ES5").S(e,t,n),n?(r[z].P&&(Wo(e),gt(4)),Ct(t)&&(t=Do(e,t),e.l||zo(e,t)),e.u&&Pt("Patches").M(r[z].t,t,e.u,e.s)):t=Do(e,r,[]),Wo(e),e.u&&e.v(e.u,e.s),t!==Za?t:void 0}function Do(t,e,r){if(Wr(e))return e;var n=e[z];if(!n)return se(e,function(s,p){return Ba(t,n,e,s,p,r)},!0),e;if(n.A!==t)return e;if(!n.P)return zo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=_r(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),se(a,function(s,p){return Ba(t,n,i,s,p,r,c)}),zo(t,i,!1),r&&t.u&&Pt("Patches").N(n,r,t.u,t.s)}return n.o}function Ba(t,e,r,n,i,a,c){if(Dt(i)){var s=Do(t,i,a&&e&&e.i!==3&&!Re(e.R,n)?a.concat(n):void 0);if(Ka(r,n,s),!Dt(s))return;t.m=!1}else c&&r.add(i);if(Ct(i)&&!Wr(i)){if(!t.h.D&&t._<1)return;Do(t,i),e&&e.A.l||zo(t,i)}}function zo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&kr(e,r)}function Nr(t,e){var r=t[z];return(r?Ft(r):t)[e]}function Ma(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Rr(t){t.o||(t.o=_r(t.t))}function Lr(t,e,r){var n=Tr(e)?Pt("MapSet").F(e,r):$r(e)?Pt("MapSet").T(e,r):t.O?function(i,a){var c=Array.isArray(i),s={i:c?1:0,A:a?a.A:Ar(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=s,f=oo;c&&(p=[s],f=to);var u=Proxy.revocable(p,f),h=u.revoke,m=u.proxy;return s.k=m,s.j=h,m}(e,r):Pt("ES5").J(e,r);return(r?r.A:Ar()).p.push(n),n}function ol(t){return Dt(t)||gt(22,t),function e(r){if(!Ct(r))return r;var n,i=r[z],a=Pe(r);if(i){if(!i.P&&(i.i<4||!Pt("ES5").K(i)))return i.t;i.I=!0,n=Ua(r,a),i.I=!1}else n=Ua(r,a);return se(n,function(c,s){i&&Jc(i.t,c)===s||Ka(n,c,e(s))}),a===3?new Set(n):n}(t)}function Ua(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return _r(t)}function Va(){function t(c,s){var p=a[c];return p?p.enumerable=s:a[c]=p={configurable:!0,enumerable:s,get:function(){var f=this[z];return oo.get(f,c)},set:function(f){var u=this[z];oo.set(u,c,f)}},p}function e(c){for(var s=c.length-1;s>=0;s--){var p=c[s][z];if(!p.P)switch(p.i){case 5:n(p)&&Vt(p);break;case 4:r(p)&&Vt(p)}}}function r(c){for(var s=c.t,p=c.k,f=Ae(p),u=f.length-1;u>=0;u--){var h=f[u];if(h!==z){var m=s[h];if(m===void 0&&!Re(s,h))return!0;var g=p[h],y=g&&g[z];if(y?y.t!==m:!Fa(g,m))return!0}}var b=!!s[z];return f.length!==Ae(s).length+(b?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(s,s.length-1);if(p&&!p.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&gt(3,JSON.stringify(Ft(c)))}var a={};tl("ES5",{J:function(c,s){var p=Array.isArray(c),f=function(h,m){if(h){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var b=Ya(m);delete b[z];for(var N=Ae(b),C=0;C<N.length;C++){var w=N[C];b[w]=t(w,h||!!b[w].enumerable)}return Object.create(Object.getPrototypeOf(m),b)}(p,c),u={i:p?5:4,A:s?s.A:Ar(),P:!1,I:!1,R:{},l:s,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,z,{value:u,writable:!0}),f},S:function(c,s,p){p?Dt(s)&&s[z].A===c&&e(c.p):(c.u&&function f(u){if(u&&typeof u=="object"){var h=u[z];if(h){var m=h.t,g=h.k,y=h.R,b=h.i;if(b===4)se(g,function(I){I!==z&&(m[I]!==void 0||Re(m,I)?y[I]||f(g[I]):(y[I]=!0,Vt(h)))}),se(m,function(I){g[I]!==void 0||Re(g,I)||(y[I]=!1,Vt(h))});else if(b===5){if(n(h)&&(Vt(h),y.length=!0),g.length<m.length)for(var N=g.length;N<m.length;N++)y[N]=!1;else for(var C=m.length;C<g.length;C++)y[C]=!0;for(var w=Math.min(g.length,m.length),R=0;R<w;R++)g.hasOwnProperty(R)||(y[R]=!0),y[R]===void 0&&f(g[R])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var Ha,eo,Dr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",rl=typeof Map<"u",nl=typeof Set<"u",Ga=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Za=Dr?Symbol.for("immer-nothing"):((Ha={})["immer-nothing"]=!0,Ha),ja=Dr?Symbol.for("immer-draftable"):"__$immer_draftable",z=Dr?Symbol.for("immer-state"):"__$immer_state";var il=""+Object.prototype.constructor,Ae=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ya=Object.getOwnPropertyDescriptors||function(t){var e={};return Ae(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ir={},oo={get:function(t,e){if(e===z)return t;var r=Ft(t);if(!Re(r,e))return function(i,a,c){var s,p=Ma(a,c);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ct(n)?n:n===Nr(t.t,e)?(Rr(t),t.o[e]=Lr(t.A.h,n,t)):n},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,r){var n=Ma(Ft(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Nr(Ft(t),e),a=i?.[z];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Fa(r,i)&&(r!==void 0||Re(t.t,e)))return!0;Rr(t),Vt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Nr(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Rr(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ft(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){gt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){gt(12)}},to={};se(oo,function(t,e){to[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),to.deleteProperty=function(t,e){return to.set.call(this,t,e,void 0)},to.set=function(t,e,r){return oo.set.call(this,t[0],e,r,t[0])};var al=function(){function t(r){var n=this;this.O=Ga,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var p=n;return function(b){var N=this;b===void 0&&(b=s);for(var C=arguments.length,w=Array(C>1?C-1:0),R=1;R<C;R++)w[R-1]=arguments[R];return p.produce(b,function(I){var k;return(k=a).call.apply(k,[N,I].concat(w))})}}var f;if(typeof a!="function"&&gt(6),c!==void 0&&typeof c!="function"&&gt(7),Ct(i)){var u=za(n),h=Lr(n,i,void 0),m=!0;try{f=a(h),m=!1}finally{m?Wo(u):Pr(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(b){return wr(u,c),Er(b,u)},function(b){throw Wo(u),b}):(wr(u,c),Er(f,u))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Za&&(f=void 0),n.D&&kr(f,!0),c){var g=[],y=[];Pt("Patches").M(i,f,g,y),c(g,y)}return f}gt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var u=arguments.length,h=Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(h))})};var c,s,p=n.produce(i,a,function(f,u){c=f,s=u});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,c,s]}):[p,c,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ct(r)||gt(8),Dt(r)&&(r=ol(r));var n=za(this),i=Lr(this,r,void 0);return i[z].C=!0,Pr(n),i},e.finishDraft=function(r,n){var i=r&&r[z],a=i.A;return wr(a,n),Er(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ga&&gt(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=Pt("Patches").$;return Dt(r)?c(r,n):this.produce(r,function(s){return c(s,n)})},t}(),dt=new al,cl=dt.produce,Rm=dt.produceWithPatches.bind(dt),Am=dt.setAutoFreeze.bind(dt),Pm=dt.setUseProxies.bind(dt),Lm=dt.applyPatches.bind(dt),Im=dt.createDraft.bind(dt),Tm=dt.finishDraft.bind(dt),Bo=cl;function Zt(t){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zt(t)}function zr(t,e){if(Zt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Zt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Br(t){var e=zr(t,"string");return Zt(e)==="symbol"?e:String(e)}function Mr(t,e,r){return e=Br(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Mo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qa(Object(r),!0).forEach(function(n){Mr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qa(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function X(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Xa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ur=function(){return Math.random().toString(36).substring(7).split("").join(".")},Uo={INIT:"@@redux/INIT"+Ur(),REPLACE:"@@redux/REPLACE"+Ur(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ur()}};function ll(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Hr(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(X(1));return r(Hr)(t,e)}if(typeof t!="function")throw new Error(X(2));var i=t,a=e,c=[],s=c,p=!1;function f(){s===c&&(s=c.slice())}function u(){if(p)throw new Error(X(3));return a}function h(b){if(typeof b!="function")throw new Error(X(4));if(p)throw new Error(X(5));var N=!0;return f(),s.push(b),function(){if(N){if(p)throw new Error(X(6));N=!1,f();var w=s.indexOf(b);s.splice(w,1),c=null}}}function m(b){if(!ll(b))throw new Error(X(7));if(typeof b.type>"u")throw new Error(X(8));if(p)throw new Error(X(9));try{p=!0,a=i(a,b)}finally{p=!1}for(var N=c=s,C=0;C<N.length;C++){var w=N[C];w()}return b}function g(b){if(typeof b!="function")throw new Error(X(10));i=b,m({type:Uo.REPLACE})}function y(){var b,N=h;return b={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(X(11));function R(){w.next&&w.next(u())}R();var I=N(R);return{unsubscribe:I}}},b[Xa]=function(){return this},b}return m({type:Uo.INIT}),n={dispatch:m,subscribe:h,getState:u,replaceReducer:g},n[Xa]=y,n}function sl(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Uo.INIT});if(typeof n>"u")throw new Error(X(12));if(typeof r(void 0,{type:Uo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function Ja(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),c,s;try{sl(r)}catch(p){s=p}return function(f,u){if(f===void 0&&(f={}),s)throw s;if(0)var h;for(var m=!1,g={},y=0;y<a.length;y++){var b=a[y],N=r[b],C=f[b],w=N(C,u);if(typeof w>"u"){var R=u&&u.type;throw new Error(X(14))}g[b]=w,m=m||w!==C}return m=m||a.length!==Object.keys(f).length,m?g:f}}function Le(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Qa(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(X(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(p){return p(c)});return a=Le.apply(void 0,s)(i.dispatch),Mo(Mo({},i),{},{dispatch:a})}}}function tc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,a,t):c(s)}}};return e}var ec=tc();ec.withExtraArgument=tc;var Gr=ec;var ac=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),dl=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(f){return function(u){return p([f,u])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(u){f=[6,u],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ie=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},fl=Object.defineProperty,pl=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,oc=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable,rc=function(t,e,r){return e in t?fl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Yt=function(t,e){for(var r in e||(e={}))hl.call(e,r)&&rc(t,r,e[r]);if(oc)for(var n=0,i=oc(e);n<i.length;n++){var r=i[n];ml.call(e,r)&&rc(t,r,e[r])}return t},jr=function(t,e){return pl(t,ul(e))},yl=function(t,e,r){return new Promise(function(n,i){var a=function(p){try{s(r.next(p))}catch(f){i(f)}},c=function(p){try{s(r.throw(p))}catch(f){i(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,c)};s((r=r.apply(t,e)).next())})};var gl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Le:Le.apply(null,arguments)},qm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function bl(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var xl=function(t){ac(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array),vl=function(t){ac(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ie([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ie([void 0],r.concat(this))))},e}(Array);function Vr(t){return Ct(t)?Bo(t,function(){}):t}function Sl(t){return typeof t=="boolean"}function Ol(){return function(e){return Cl(e)}}function Cl(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,c=a===void 0?!0:a,s=new xl;if(r&&(Sl(r)?s.push(Gr):s.push(Gr.withExtraArgument(r.extraArgument))),0){if(i)var p;if(c)var f}return s}var Kr=!0;function cc(t){var e=Ol(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,u=f===void 0?void 0:f,h=r.enhancers,m=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(bl(i))g=Ja(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Kr&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Kr&&y.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=Qa.apply(void 0,y),N=Le;p&&(N=gl(Yt({trace:!Kr},typeof p=="object"&&p)));var C=new vl(b),w=C;Array.isArray(m)?w=Ie([b],m):typeof m=="function"&&(w=m(C));var R=N.apply(void 0,w);return Hr(g,u,R)}function qt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Yt(Yt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function lc(t){var e={},r=[],n,i={addCase:function(a,c){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=c,i},addMatcher:function(a,c){return r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function wl(t){return typeof t=="function"}function El(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?lc(e):[e,r,n],a=i[0],c=i[1],s=i[2],p;if(wl(t))p=function(){return Vr(t())};else{var f=Vr(t);p=function(){return f}}function u(h,m){h===void 0&&(h=p());var g=Ie([a[m.type]],c.filter(function(y){var b=y.matcher;return b(m)}).map(function(y){var b=y.reducer;return b}));return g.filter(function(y){return!!y}).length===0&&(g=[s]),g.reduce(function(y,b){if(b)if(Dt(y)){var N=y,C=b(N,m);return C===void 0?y:C}else{if(Ct(y))return Bo(y,function(w){return b(w,m)});var C=b(y,m);if(C===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return y},h)}return u.getInitialState=p,u}function Nl(t,e){return t+"/"+e}function sc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Vr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};i.forEach(function(u){var h=n[u],m=Nl(e,u),g,y;"reducer"in h?(g=h.reducer,y=h.prepare):g=h,a[u]=g,c[m]=g,s[u]=y?qt(m,y):qt(m)});function p(){var u=typeof t.extraReducers=="function"?lc(t.extraReducers):[t.extraReducers],h=u[0],m=h===void 0?{}:h,g=u[1],y=g===void 0?[]:g,b=u[2],N=b===void 0?void 0:b,C=Yt(Yt({},m),c);return El(r,function(w){for(var R in C)w.addCase(R,C[R]);for(var I=0,k=y;I<k.length;I++){var ft=k[I];w.addMatcher(ft.matcher,ft.reducer)}N&&w.addDefaultCase(N)})}var f;return{name:e,reducer:function(u,h){return f||(f=p()),f(u,h)},actions:s,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Rl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Al=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Rl[Math.random()*64|0];return e},Pl=["name","message","stack","code"],Fr=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),nc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ll=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Pl;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},ty=function(){function t(e,r,n){var i=qt(e+"/fulfilled",function(u,h,m,g){return{payload:u,meta:jr(Yt({},g||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=qt(e+"/pending",function(u,h,m){return{payload:void 0,meta:jr(Yt({},m||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),c=qt(e+"/rejected",function(u,h,m,g,y){return{payload:g,error:(n&&n.serializeError||Ll)(u||"Rejected"),meta:jr(Yt({},y||{}),{arg:m,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),s=!1,p=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(h,m,g){var y=n?.idGenerator?n.idGenerator(u):Al(),b=new p,N,C=!1;function w(I){N=I,b.abort()}var R=function(){return yl(this,null,function(){var I,k,ft,zt,Ko,Bt,at;return dl(this,function(pt){switch(pt.label){case 0:return pt.trys.push([0,4,,5]),zt=(I=n?.condition)==null?void 0:I.call(n,u,{getState:m,extra:g}),Tl(zt)?[4,zt]:[3,2];case 1:zt=pt.sent(),pt.label=2;case 2:if(zt===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,Ko=new Promise(function(ct,Jt){return b.signal.addEventListener("abort",function(){return Jt({name:"AbortError",message:N||"Aborted"})})}),h(a(y,u,(k=n?.getPendingMeta)==null?void 0:k.call(n,{requestId:y,arg:u},{getState:m,extra:g}))),[4,Promise.race([Ko,Promise.resolve(r(u,{dispatch:h,getState:m,extra:g,requestId:y,signal:b.signal,abort:w,rejectWithValue:function(ct,Jt){return new Fr(ct,Jt)},fulfillWithValue:function(ct,Jt){return new nc(ct,Jt)}})).then(function(ct){if(ct instanceof Fr)throw ct;return ct instanceof nc?i(ct.payload,y,u,ct.meta):i(ct,y,u)})])];case 3:return ft=pt.sent(),[3,5];case 4:return Bt=pt.sent(),ft=Bt instanceof Fr?c(null,y,u,Bt.payload,Bt.meta):c(Bt,y,u),[3,5];case 5:return at=n&&!n.dispatchConditionRejection&&c.match(ft)&&ft.meta.condition,at||h(ft),[2,ft]}})})}();return Object.assign(R,{abort:w,requestId:y,arg:u,unwrap:function(){return R.then(Il)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Il(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Tl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var dc="listener",fc="completed",pc="cancelled",ey="task-"+pc,oy="task-"+fc,ry=dc+"-"+pc,ny=dc+"-"+fc;var Zr="listenerMiddleware";var iy=qt(Zr+"/add"),ay=qt(Zr+"/removeAll"),cy=qt(Zr+"/remove");var ic,ly=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ic||(ic=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},$l=function(t){return function(e){setTimeout(e,t)}},sy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$l(10);Va();window.ftReduxStores||(window.ftReduxStores={});var uc=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Je(a))return a;if(i==null)return;let c=sc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=cc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:c.reducer(p,f)});return window.ftReduxStores[i.name]=new t(c,s)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Lo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,s=n[c];return s?(...p)=>{let f=s(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[c]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ho=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Go=S(_()),_l="ft-app-info",Yr=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},kl={session:(t,e)=>{(0,Go.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>ro.eventBus.dispatchEvent(new Yr(e.payload)),0))}},ro=Go.FtReduxStore.get({name:_l,reducers:kl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var jo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function hc(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(ro)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(s=>s.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>Ho.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return jo([(0,qr.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),jo([(0,qr.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),jo([Cr({store:ro.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),jo([Cr({store:ro.name})],e.prototype,"uiLocale",void 0),e}var Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bt=class extends hc(io){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return wt.html`
1119
1119
  ${this.renderChip()}
1120
1120
  ${this.hideIfEmpty()}
1121
1121
  `}renderChip(){var e,r,n,i;let a=wt.html`
@@ -1139,7 +1139,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1139
1139
  display: none !important;
1140
1140
  }
1141
1141
  </style>
1142
- `:wt.nothing}get tooltipText(){return this.flatMetadata?this.flatMetadata.label+": "+this.flatMetadata.value:""}update(e){super.update(e),["key","tocNode"].some(r=>e.has(r))&&this.updateContent(),(e.has("metadata")||this.dateFormatOptionsChanged(e))&&(this.flatMetadata=mc.ClusteringHelper.flattenMetadata(this.formatDateValues(this.metadata)))}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var e;this.metadata=void 0,this.tocNode&&this.key&&((e=this.service)===null||e===void 0||e.getTopicInfo(this.tocNode).then(r=>this.metadata=r.metadata.find(n=>n.key===this.key)).catch(()=>null))}};bt.elementDefinitions={"ft-tooltip":W,"ft-chip":U};bt.styles=on;Te([(0,Xt.property)()],bt.prototype,"key",void 0);Te([(0,Xt.property)({type:Boolean})],bt.prototype,"multiLine",void 0);Te([(0,Xt.property)({type:Boolean})],bt.prototype,"displayLabel",void 0);Te([(0,Xt.state)()],bt.prototype,"editorMode",void 0);Te([(0,Xt.state)()],bt.prototype,"metadata",void 0);Te([(0,Xt.state)()],bt.prototype,"flatMetadata",void 0);(0,yc.customElement)("ft-reader-topic-metadata")(bt);})();
1142
+ `:wt.nothing}get tooltipText(){return this.flatMetadata?this.flatMetadata.label+": "+this.flatMetadata.value:""}update(e){super.update(e),["key","tocNode"].some(r=>e.has(r))&&this.updateContent(),(e.has("metadata")||this.dateFormatOptionsChanged(e))&&(this.flatMetadata=mc.ClusteringHelper.flattenMetadata(this.formatDateValues(this.metadata)))}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var e;this.metadata=void 0,this.tocNode&&this.key&&((e=this.service)===null||e===void 0||e.getTopicInfo(this.tocNode).then(r=>this.metadata=r.metadata.find(n=>n.key===this.key)).catch(()=>null))}};bt.elementDefinitions={"ft-tooltip":W,"ft-chip":H};bt.styles=on;Te([(0,Xt.property)()],bt.prototype,"key",void 0);Te([(0,Xt.property)({type:Boolean})],bt.prototype,"multiLine",void 0);Te([(0,Xt.property)({type:Boolean})],bt.prototype,"displayLabel",void 0);Te([(0,Xt.state)()],bt.prototype,"editorMode",void 0);Te([(0,Xt.state)()],bt.prototype,"metadata",void 0);Te([(0,Xt.state)()],bt.prototype,"flatMetadata",void 0);(0,yc.customElement)("ft-reader-topic-metadata")(bt);})();
1143
1143
  /*! Bundled license information:
1144
1144
 
1145
1145
  lit-html/lit-html.js: