@fluid-topics/ft-search-bar 0.2.4 → 0.2.8

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.
@@ -21,69 +21,51 @@
21
21
  .ft-size-watcher--local .ft-size-watcher--watcher {
22
22
  width: 100%;
23
23
  }
24
- `,c([o.property({type:Number})],p.prototype,"debounceTimeout",void 0),c([o.property({type:Boolean})],p.prototype,"local",void 0),c([o.property({type:Number,reflect:!0})],p.prototype,"size",void 0),c([o.property({type:String,reflect:!0})],p.prototype,"category",void 0),c([o.query(".ft-size-watcher--watcher")],p.prototype,"watcher",void 0),e.customElement("ft-size-watcher")(p);const f=globalThis.trustedTypes,d=f?f.createPolicy("lit-html",{createHTML:t=>t}):void 0,u=`lit$${(Math.random()+"").slice(9)}$`,b="?"+u,v=`<${b}>`,g=document,x=(t="")=>g.createComment(t),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,k=/>/g,S=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,z=/'/g,O=/"/g,B=/^(?:script|style|textarea|title)$/i,C=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),E=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),D=new WeakMap,F=g.createTreeWalker(g,129,null,!1),L=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=$;for(let e=0;e<i;e++){const i=t[e];let l,a,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,a=r.exec(i),null!==a);)h=r.lastIndex,r===$?"!--"===a[1]?r=w:void 0!==a[1]?r=k:void 0!==a[2]?(B.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=S):void 0!==a[3]&&(r=S):r===S?">"===a[0]?(r=null!=s?s:$,c=-1):void 0===a[1]?c=-2:(c=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?S:'"'===a[3]?O:z):r===O||r===z?r=S:r===w||r===k?r=$:(r=S,s=void 0);const p=r===S&&t[e+1].startsWith("/>")?" ":"";n+=r===$?i+v:c>=0?(o.push(l),i.slice(0,c)+"$lit$"+i.slice(c)+u+p):i+u+(-2===c?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==d?d.createHTML(l):l,o]};class j{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,c]=L(t,e);if(this.el=j.createElement(a,i),F.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=F.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(u)){const i=c[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(u),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?P:"?"===e[1]?_:"@"===e[1]?U:N})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(B.test(o.tagName)){const t=o.textContent.split(u),e=t.length-1;if(e>0){o.textContent=f?f.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),F.nextNode(),l.push({type:2,index:++s});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===b)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(u,t+1));)l.push({type:7,index:s}),t+=u.length-1}s++}}static createElement(t,e){const i=g.createElement("template");return i.innerHTML=t,i}}function M(t,e,i=t,o){var s,n,r,l;if(e===E)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const c=y(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=M(t,a._$AS(t,e.values),a,o)),e}class A{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:g).importNode(i,!0);F.currentNode=s;let n=F.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new T(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new Z(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=F.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class T{constructor(t,e,i,o){var s;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),y(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==E&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return m(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==I&&y(this._$AH)?this._$AA.nextSibling.data=t:this.S(g.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=j.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new A(s,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new j(t)),e}A(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new T(this.M(x()),this.M(x()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class N{constructor(t,e,i,o,s){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=M(this,t,e,0),n=!y(t)||t!==this._$AH&&t!==E,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=M(this,o[i+r],e,r),l===E&&(l=this._$AH[r]),n||(n=!y(l)||l!==this._$AH[r]),l===I?t=I:t!==I&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends N{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===I?void 0:t}}const R=f?f.emptyScript:"";class _ extends N{constructor(){super(...arguments),this.type=4}k(t){t&&t!==I?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class U extends N{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=M(this,t,e,0))&&void 0!==i?i:I)===E)return;const o=this._$AH,s=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==I&&(o===I||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const H=window.litHtmlPolyfillSupport;null==H||H(j,T),(null!==(a=globalThis.litHtmlVersions)&&void 0!==a?a:globalThis.litHtmlVersions=[]).push("2.1.3");
24
+ `,c([o.property({type:Number})],p.prototype,"debounceTimeout",void 0),c([o.property({type:Boolean})],p.prototype,"local",void 0),c([o.property({type:Number,reflect:!0})],p.prototype,"size",void 0),c([o.property({type:String,reflect:!0})],p.prototype,"category",void 0),c([o.query(".ft-size-watcher--watcher")],p.prototype,"watcher",void 0),e.customElement("ft-size-watcher")(p);const f=globalThis.trustedTypes,d=f?f.createPolicy("lit-html",{createHTML:t=>t}):void 0,u=`lit$${(Math.random()+"").slice(9)}$`,b="?"+u,v=`<${b}>`,g=document,x=(t="")=>g.createComment(t),y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,k=/>/g,S=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,z=/'/g,O=/"/g,B=/^(?:script|style|textarea|title)$/i,C=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),E=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),D=new WeakMap,F=g.createTreeWalker(g,129,null,!1),L=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=$;for(let e=0;e<i;e++){const i=t[e];let l,a,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,a=r.exec(i),null!==a);)h=r.lastIndex,r===$?"!--"===a[1]?r=w:void 0!==a[1]?r=k:void 0!==a[2]?(B.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=S):void 0!==a[3]&&(r=S):r===S?">"===a[0]?(r=null!=s?s:$,c=-1):void 0===a[1]?c=-2:(c=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?S:'"'===a[3]?O:z):r===O||r===z?r=S:r===w||r===k?r=$:(r=S,s=void 0);const p=r===S&&t[e+1].startsWith("/>")?" ":"";n+=r===$?i+v:c>=0?(o.push(l),i.slice(0,c)+"$lit$"+i.slice(c)+u+p):i+u+(-2===c?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==d?d.createHTML(l):l,o]};class j{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,c]=L(t,e);if(this.el=j.createElement(a,i),F.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=F.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(u)){const i=c[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(u),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?N:"?"===e[1]?_:"@"===e[1]?U:P})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(B.test(o.tagName)){const t=o.textContent.split(u),e=t.length-1;if(e>0){o.textContent=f?f.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),F.nextNode(),l.push({type:2,index:++s});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===b)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(u,t+1));)l.push({type:7,index:s}),t+=u.length-1}s++}}static createElement(t,e){const i=g.createElement("template");return i.innerHTML=t,i}}function M(t,e,i=t,o){var s,n,r,l;if(e===E)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const c=y(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=M(t,a._$AS(t,e.values),a,o)),e}class T{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:g).importNode(i,!0);F.currentNode=s;let n=F.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new A(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new Z(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=F.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var s;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),y(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==E&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return m(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==I&&y(this._$AH)?this._$AA.nextSibling.data=t:this.k(g.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=j.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new T(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new j(t)),e}S(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new A(this.M(x()),this.M(x()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class P{constructor(t,e,i,o,s){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=M(this,t,e,0),n=!y(t)||t!==this._$AH&&t!==E,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=M(this,o[i+r],e,r),l===E&&(l=this._$AH[r]),n||(n=!y(l)||l!==this._$AH[r]),l===I?t=I:t!==I&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class N extends P{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===I?void 0:t}}const R=f?f.emptyScript:"";class _ extends P{constructor(){super(...arguments),this.type=4}C(t){t&&t!==I?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class U extends P{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=M(this,t,e,0))&&void 0!==i?i:I)===E)return;const o=this._$AH,s=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==I&&(o===I||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const H=window.litHtmlPolyfillSupport;null==H||H(j,A),(null!==(a=globalThis.litHtmlVersions)&&void 0!==a?a:globalThis.litHtmlVersions=[]).push("2.2.4");
25
25
  /**
26
26
  * @license
27
27
  * Copyright 2020 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
29
  */
30
- const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;let n,r;const l=[],a=[];let c,h=0,p=!1;for(;h<s;){for(c=e[h];h<s&&void 0!==(r=i[h],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)c+=n+e[++h],p=!0;a.push(r),l.push(c),h++}if(h===s&&l.push(e[s]),p){const t=l.join("$$lit$$");void 0===(e=q.get(t))&&(l.raw=l,q.set(t,e=l)),i=a}return t(e,...i)})(C);var W,G=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(W||(W={}));const X=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),J=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),Y={fontFamily:J,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},Q=e.FtCssVariable.extend("--ft-typography-title-font-family",X),tt=e.FtCssVariable.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),et=e.FtCssVariable.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),it=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),ot=e.FtCssVariable.extend("--ft-typography-title-line-height",Y.lineHeight,"24px"),st=e.FtCssVariable.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),nt=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",X),rt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),at=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),ct=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"24px"),ht=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",J),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),dt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),ut=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),bt=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"24px"),vt=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",J),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),mt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),$t=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"24px"),wt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),kt={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",J),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",Y.lineHeight,"24px"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit")},St={fontFamily:e.FtCssVariable.extend("--ft-typography-body2-font-family",J),fontSize:e.FtCssVariable.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body2-line-height",Y.lineHeight,"20px"),textTransform:e.FtCssVariable.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit")},zt={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",J),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",Y.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit")},Ot=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",J),Bt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),Ct=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Et=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"16px"),Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),Ft=e.FtCssVariable.extend("--ft-typography-overline-font-family",J),Lt=e.FtCssVariable.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),jt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Mt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),At=e.FtCssVariable.extend("--ft-typography-overline-line-height",Y.lineHeight,"16px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Nt={fontFamily:e.FtCssVariable.extend("--ft-typography-button-font-family",J),fontSize:e.FtCssVariable.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),fontWeight:e.FtCssVariable.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),letterSpacing:e.FtCssVariable.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),lineHeight:e.FtCssVariable.extend("--ft-typography-button-line-height",Y.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase")},Pt=i.css`
30
+ const K=Symbol.for(""),q=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===K)return null===(i=t)||void 0===i?void 0:i._$litStatic$},V=t=>({_$litStatic$:t,r:K}),W=new Map,G=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,c=0,h=!1;for(;c<o;){for(a=e[c];c<o&&void 0!==(n=i[c],s=q(n));)a+=s+e[++c],h=!0;l.push(n),r.push(a),c++}if(c===o&&r.push(e[o]),h){const t=r.join("$$lit$$");void 0===(e=W.get(t))&&(r.raw=r,W.set(t,e=r)),i=l}return t(e,...i)})(C);var X,J=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(X||(X={}));const Y=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),Q=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),tt={fontFamily:Q,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},et=e.FtCssVariable.extend("--ft-typography-title-font-family",Y),it=e.FtCssVariable.extend("--ft-typography-title-font-size",tt.fontSize,"20px"),ot=e.FtCssVariable.extend("--ft-typography-title-font-weight",tt.fontWeight,"normal"),st=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",tt.letterSpacing,"0.15px"),nt=e.FtCssVariable.extend("--ft-typography-title-line-height",tt.lineHeight,"24px"),rt=e.FtCssVariable.extend("--ft-typography-title-text-transform",tt.textTransform,"inherit"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",Y),at=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",tt.fontSize,"14px"),ct=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",tt.fontWeight,"normal"),ht=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",tt.letterSpacing,"0.105px"),pt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",tt.lineHeight,"24px"),ft=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",tt.textTransform,"inherit"),dt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",Q),ut=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",tt.fontSize,"16px"),bt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",tt.fontWeight,"600"),vt=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",tt.letterSpacing,"0.144px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",tt.lineHeight,"24px"),xt=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",tt.textTransform,"inherit"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",Q),mt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",tt.fontSize,"14px"),$t=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",tt.fontWeight,"normal"),wt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",tt.letterSpacing,"0.098px"),kt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",tt.lineHeight,"24px"),St=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",tt.textTransform,"inherit"),zt={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",Q),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",tt.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",tt.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",tt.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",tt.lineHeight,"24px"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",tt.textTransform,"inherit")},Ot={fontFamily:e.FtCssVariable.extend("--ft-typography-body2-font-family",Q),fontSize:e.FtCssVariable.extend("--ft-typography-body2-font-size",tt.fontSize,"14px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body2-font-weight",tt.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",tt.letterSpacing,"0.252px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body2-line-height",tt.lineHeight,"20px"),textTransform:e.FtCssVariable.extend("--ft-typography-body2-text-transform",tt.textTransform,"inherit")},Bt={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",Q),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",tt.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",tt.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",tt.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",tt.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",tt.textTransform,"inherit")},Ct=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",Q),Et=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",tt.fontSize,"10px"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",tt.fontWeight,"normal"),Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",tt.letterSpacing,"0.33px"),Ft=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",tt.lineHeight,"16px"),Lt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",tt.textTransform,"inherit"),jt=e.FtCssVariable.extend("--ft-typography-overline-font-family",Q),Mt=e.FtCssVariable.extend("--ft-typography-overline-font-size",tt.fontSize,"10px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",tt.fontWeight,"normal"),At=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",tt.letterSpacing,"1.5px"),Pt=e.FtCssVariable.extend("--ft-typography-overline-line-height",tt.lineHeight,"16px"),Nt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",tt.textTransform,"uppercase"),Rt={fontFamily:e.FtCssVariable.extend("--ft-typography-button-font-family",Q),fontSize:e.FtCssVariable.extend("--ft-typography-button-font-size",tt.fontSize,"14px"),fontWeight:e.FtCssVariable.extend("--ft-typography-button-font-weight",tt.fontWeight,"600"),letterSpacing:e.FtCssVariable.extend("--ft-typography-button-letter-spacing",tt.letterSpacing,"1.246px"),lineHeight:e.FtCssVariable.extend("--ft-typography-button-line-height",tt.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-button-text-transform",tt.textTransform,"uppercase")},_t=i.css`
31
31
  .ft-typography--title {
32
- font-family: ${Q};
33
- font-size: ${tt};
34
- font-weight: ${et};
35
- letter-spacing: ${it};
36
- line-height: ${ot};
37
- text-transform: ${st};
38
- }
39
- `,Rt=i.css`
40
- .ft-typography--title-dense {
41
- font-family: ${nt};
42
- font-size: ${rt};
43
- font-weight: ${lt};
44
- letter-spacing: ${at};
45
- line-height: ${ct};
46
- text-transform: ${ht};
47
- }
48
- `,_t=i.css`
49
- .ft-typography--subtitle1 {
50
- font-family: ${pt};
51
- font-size: ${ft};
52
- font-weight: ${dt};
53
- letter-spacing: ${ut};
54
- line-height: ${bt};
55
- text-transform: ${vt};
32
+ font-family: ${et};
33
+ font-size: ${it};
34
+ font-weight: ${ot};
35
+ letter-spacing: ${st};
36
+ line-height: ${nt};
37
+ text-transform: ${rt};
56
38
  }
57
39
  `,Ut=i.css`
58
- .ft-typography--subtitle2 {
59
- font-family: ${gt};
60
- font-size: ${xt};
61
- font-weight: ${yt};
62
- letter-spacing: ${mt};
63
- line-height: ${$t};
64
- text-transform: ${wt};
40
+ .ft-typography--title-dense {
41
+ font-family: ${lt};
42
+ font-size: ${at};
43
+ font-weight: ${ct};
44
+ letter-spacing: ${ht};
45
+ line-height: ${pt};
46
+ text-transform: ${ft};
65
47
  }
66
-
67
48
  `,Zt=i.css`
68
- .ft-typography--body1 {
69
- font-family: ${kt.fontFamily};
70
- font-size: ${kt.fontSize};
71
- font-weight: ${kt.fontWeight};
72
- letter-spacing: ${kt.letterSpacing};
73
- line-height: ${kt.lineHeight};
74
- text-transform: ${kt.textTransform};
49
+ .ft-typography--subtitle1 {
50
+ font-family: ${dt};
51
+ font-size: ${ut};
52
+ font-weight: ${bt};
53
+ letter-spacing: ${vt};
54
+ line-height: ${gt};
55
+ text-transform: ${xt};
75
56
  }
76
57
  `,Ht=i.css`
77
- .ft-typography--body2 {
78
- font-family: ${St.fontFamily};
79
- font-size: ${St.fontSize};
80
- font-weight: ${St.fontWeight};
81
- letter-spacing: ${St.letterSpacing};
82
- line-height: ${St.lineHeight};
83
- text-transform: ${St.textTransform};
58
+ .ft-typography--subtitle2 {
59
+ font-family: ${yt};
60
+ font-size: ${mt};
61
+ font-weight: ${$t};
62
+ letter-spacing: ${wt};
63
+ line-height: ${kt};
64
+ text-transform: ${St};
84
65
  }
66
+
85
67
  `,Kt=i.css`
86
- .ft-typography--caption {
68
+ .ft-typography--body1 {
87
69
  font-family: ${zt.fontFamily};
88
70
  font-size: ${zt.fontSize};
89
71
  font-weight: ${zt.fontWeight};
@@ -92,44 +74,62 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
92
74
  text-transform: ${zt.textTransform};
93
75
  }
94
76
  `,qt=i.css`
95
- .ft-typography--breadcrumb {
96
- font-family: ${Ot};
97
- font-size: ${Bt};
98
- font-weight: ${Ct};
99
- letter-spacing: ${Et};
100
- line-height: ${It};
101
- text-transform: ${Dt};
77
+ .ft-typography--body2 {
78
+ font-family: ${Ot.fontFamily};
79
+ font-size: ${Ot.fontSize};
80
+ font-weight: ${Ot.fontWeight};
81
+ letter-spacing: ${Ot.letterSpacing};
82
+ line-height: ${Ot.lineHeight};
83
+ text-transform: ${Ot.textTransform};
102
84
  }
103
85
  `,Vt=i.css`
104
- .ft-typography--overline {
105
- font-family: ${Ft};
106
- font-size: ${Lt};
107
- font-weight: ${jt};
108
- letter-spacing: ${Mt};
109
- line-height: ${At};
110
- text-transform: ${Tt};
86
+ .ft-typography--caption {
87
+ font-family: ${Bt.fontFamily};
88
+ font-size: ${Bt.fontSize};
89
+ font-weight: ${Bt.fontWeight};
90
+ letter-spacing: ${Bt.letterSpacing};
91
+ line-height: ${Bt.lineHeight};
92
+ text-transform: ${Bt.textTransform};
111
93
  }
112
94
  `,Wt=i.css`
95
+ .ft-typography--breadcrumb {
96
+ font-family: ${Ct};
97
+ font-size: ${Et};
98
+ font-weight: ${It};
99
+ letter-spacing: ${Dt};
100
+ line-height: ${Ft};
101
+ text-transform: ${Lt};
102
+ }
103
+ `,Gt=i.css`
104
+ .ft-typography--overline {
105
+ font-family: ${jt};
106
+ font-size: ${Mt};
107
+ font-weight: ${Tt};
108
+ letter-spacing: ${At};
109
+ line-height: ${Pt};
110
+ text-transform: ${Nt};
111
+ }
112
+ `,Xt=i.css`
113
113
  .ft-typography--button {
114
- font-family: ${Nt.fontFamily};
115
- font-size: ${Nt.fontSize};
116
- font-weight: ${Nt.fontWeight};
117
- letter-spacing: ${Nt.letterSpacing};
118
- line-height: ${Nt.lineHeight};
119
- text-transform: ${Nt.textTransform};
120
- }
121
- `;class Gt extends e.FtLitElement{constructor(){super(...arguments),this.variant=W.body1}render(){return this.element?V`
122
- <${K(this.element)}
114
+ font-family: ${Rt.fontFamily};
115
+ font-size: ${Rt.fontSize};
116
+ font-weight: ${Rt.fontWeight};
117
+ letter-spacing: ${Rt.letterSpacing};
118
+ line-height: ${Rt.lineHeight};
119
+ text-transform: ${Rt.textTransform};
120
+ }
121
+ `;class Jt extends e.FtLitElement{constructor(){super(...arguments),this.variant=X.body1}render(){return this.element?G`
122
+ <${V(this.element)}
123
123
  class="ft-typography ft-typography--${this.variant}">
124
124
  <slot></slot>
125
- </${K(this.element)}>
126
- `:V`
125
+ </${V(this.element)}>
126
+ `:G`
127
127
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
128
- `}}function Xt(t,e){return t.flatMap((t=>[t,...Xt(e(t),e)]))}function Jt(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Yt(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>Yt(e,t.selected))),value:t.value}}function Qt(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>Yt(t,!1)))}}Gt.styles=[Pt,Rt,_t,Ut,Zt,Ht,Kt,qt,Vt,Wt,i.css`
128
+ `}}function Yt(t,e){return t.flatMap((t=>[t,...Yt(e(t),e)]))}function Qt(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function te(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>te(e,t.selected))),value:t.value}}function ee(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>te(t,!1)))}}Jt.styles=[_t,Ut,Zt,Ht,Kt,qt,Vt,Wt,Gt,Xt,i.css`
129
129
  .ft-typography {
130
130
  vertical-align: inherit;
131
131
  }
132
- `],G([o.property()],Gt.prototype,"element",void 0),G([o.property()],Gt.prototype,"variant",void 0),e.customElement("ft-typography")(Gt);var te=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ee=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),ie={color:ee,backgroundColor:e.FtCssVariable.extend("--ft-ripple-background-color",ee),opacityContentOnSurfacePressed:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},oe=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),se=oe,ne=e.FtCssVariable.extend("--ft-ripple-background-color",oe),re=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),le=re,ae=e.FtCssVariable.extend("--ft-ripple-background-color",re);class ce extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
132
+ `],J([o.property()],Jt.prototype,"element",void 0),J([o.property()],Jt.prototype,"variant",void 0),e.customElement("ft-typography")(Jt);var ie=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const oe=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),se={color:oe,backgroundColor:e.FtCssVariable.extend("--ft-ripple-background-color",oe),opacityContentOnSurfacePressed:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},ne=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),re=ne,le=e.FtCssVariable.extend("--ft-ripple-background-color",ne),ae=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ce=ae,he=e.FtCssVariable.extend("--ft-ripple-background-color",ae);class pe extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
133
133
  <style>
134
134
  .ft-ripple .ft-ripple--effect,
135
135
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -146,7 +146,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
146
146
  <div class="ft-ripple--background"></div>
147
147
  <div class="ft-ripple--effect"></div>
148
148
  </div>
149
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ce.elementDefinitions={},ce.styles=i.css`
149
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}pe.elementDefinitions={},pe.styles=i.css`
150
150
  :host {
151
151
  display: contents;
152
152
  }
@@ -168,27 +168,27 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
168
168
  }
169
169
 
170
170
  .ft-ripple .ft-ripple--background {
171
- background-color: ${ie.backgroundColor};
171
+ background-color: ${se.backgroundColor};
172
172
  }
173
173
 
174
174
  .ft-ripple .ft-ripple--effect {
175
- background-color: ${ie.color};
175
+ background-color: ${se.color};
176
176
  }
177
177
 
178
178
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
179
- background-color: ${ae};
179
+ background-color: ${he};
180
180
  }
181
181
 
182
182
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
183
- background-color: ${le};
183
+ background-color: ${ce};
184
184
  }
185
185
 
186
186
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
187
- background-color: ${ne};
187
+ background-color: ${le};
188
188
  }
189
189
 
190
190
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
191
- background-color: ${se};
191
+ background-color: ${re};
192
192
  }
193
193
 
194
194
  .ft-ripple .ft-ripple--background {
@@ -220,22 +220,22 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
220
220
  }
221
221
 
222
222
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
223
- opacity: ${ie.opacityContentOnSurfaceHover};
223
+ opacity: ${se.opacityContentOnSurfaceHover};
224
224
  }
225
225
 
226
226
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
227
- opacity: ${ie.opacityContentOnSurfaceSelected};
227
+ opacity: ${se.opacityContentOnSurfaceSelected};
228
228
  }
229
229
 
230
230
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
231
- opacity: ${ie.opacityContentOnSurfaceFocused};
231
+ opacity: ${se.opacityContentOnSurfaceFocused};
232
232
  }
233
233
 
234
234
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
235
- opacity: ${ie.opacityContentOnSurfacePressed};
235
+ opacity: ${se.opacityContentOnSurfacePressed};
236
236
  transform: translate(-50%, -50%) scale(1);
237
237
  }
238
- `,te([o.property({type:Boolean})],ce.prototype,"primary",void 0),te([o.property({type:Boolean})],ce.prototype,"secondary",void 0),te([o.property({type:Boolean})],ce.prototype,"unbounded",void 0),te([o.property({type:Boolean})],ce.prototype,"activated",void 0),te([o.property({type:Boolean})],ce.prototype,"selected",void 0),te([o.property({type:Boolean})],ce.prototype,"disabled",void 0),te([o.state()],ce.prototype,"hovered",void 0),te([o.state()],ce.prototype,"focused",void 0),te([o.state()],ce.prototype,"pressed",void 0),te([o.state()],ce.prototype,"rippling",void 0),te([o.state()],ce.prototype,"rippleSize",void 0),te([o.state()],ce.prototype,"originX",void 0),te([o.state()],ce.prototype,"originY",void 0),te([o.query(".ft-ripple")],ce.prototype,"ripple",void 0),te([o.query(".ft-ripple--effect")],ce.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(ce);var he=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const pe=e.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),fe=e.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),de=e.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),ue=e.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),be=e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system");class ve extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}render(){return i.html`
238
+ `,ie([o.property({type:Boolean})],pe.prototype,"primary",void 0),ie([o.property({type:Boolean})],pe.prototype,"secondary",void 0),ie([o.property({type:Boolean})],pe.prototype,"unbounded",void 0),ie([o.property({type:Boolean})],pe.prototype,"activated",void 0),ie([o.property({type:Boolean})],pe.prototype,"selected",void 0),ie([o.property({type:Boolean})],pe.prototype,"disabled",void 0),ie([o.state()],pe.prototype,"hovered",void 0),ie([o.state()],pe.prototype,"focused",void 0),ie([o.state()],pe.prototype,"pressed",void 0),ie([o.state()],pe.prototype,"rippling",void 0),ie([o.state()],pe.prototype,"rippleSize",void 0),ie([o.state()],pe.prototype,"originX",void 0),ie([o.state()],pe.prototype,"originY",void 0),ie([o.query(".ft-ripple")],pe.prototype,"ripple",void 0),ie([o.query(".ft-ripple--effect")],pe.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(pe);var fe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const de=e.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),ue=e.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),be=e.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),ve=e.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),ge=e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system");class xe extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}render(){return i.html`
239
239
  <div part="container"
240
240
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
241
241
  @mouseenter=${this.onHover}
@@ -250,7 +250,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
250
250
  </div>
251
251
  <slot></slot>
252
252
  </div>
253
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}ve.elementDefinitions={"ft-typography":Gt},ve.styles=i.css`
253
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}xe.elementDefinitions={"ft-typography":Jt},xe.styles=i.css`
254
254
  .ft-tooltip--container {
255
255
  display: block;
256
256
  position: relative;
@@ -268,21 +268,21 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
268
268
  width: max-content;
269
269
  max-width: 150px;
270
270
  text-align: center;
271
- padding: ${pe};
272
- z-index: ${ue};
271
+ padding: ${de};
272
+ z-index: ${ve};
273
273
  }
274
274
 
275
275
  .ft-tooltip--content {
276
276
  padding: 4px 8px;
277
- border-radius: ${be};
278
- background-color: ${de};
279
- color: ${fe};
277
+ border-radius: ${ge};
278
+ background-color: ${be};
279
+ color: ${ue};
280
280
  top: -500px;
281
281
  left: -500px;
282
282
  position: relative;
283
283
  word-break: break-word;
284
284
  }
285
- `,he([o.property()],ve.prototype,"text",void 0),he([o.property({type:Boolean})],ve.prototype,"manual",void 0),he([o.property({type:Boolean})],ve.prototype,"inline",void 0),he([o.property({type:Number})],ve.prototype,"delay",void 0),he([o.property()],ve.prototype,"position",void 0),he([o.queryAssignedNodes("",!0)],ve.prototype,"slotNodes",void 0),he([o.query(".ft-tooltip--container")],ve.prototype,"container",void 0),he([o.query("slot")],ve.prototype,"target",void 0),he([o.query(".ft-tooltip")],ve.prototype,"tooltip",void 0),he([o.query(".ft-tooltip--content")],ve.prototype,"tooltipContent",void 0),he([o.state()],ve.prototype,"visible",void 0),e.customElement("ft-tooltip")(ve);const ge={color:e.FtCssVariable.extend("--ft-loader-color",e.designSystemVariables.colorPrimary),size:e.FtCssVariable.create("--ft-loader-size","SIZE","80px")};class xe extends e.FtLitElement{static get styles(){return i.css`
285
+ `,fe([o.property()],xe.prototype,"text",void 0),fe([o.property({type:Boolean})],xe.prototype,"manual",void 0),fe([o.property({type:Boolean})],xe.prototype,"inline",void 0),fe([o.property({type:Number})],xe.prototype,"delay",void 0),fe([o.property()],xe.prototype,"position",void 0),fe([o.queryAssignedNodes("",!0)],xe.prototype,"slotNodes",void 0),fe([o.query(".ft-tooltip--container")],xe.prototype,"container",void 0),fe([o.query("slot")],xe.prototype,"target",void 0),fe([o.query(".ft-tooltip")],xe.prototype,"tooltip",void 0),fe([o.query(".ft-tooltip--content")],xe.prototype,"tooltipContent",void 0),fe([o.state()],xe.prototype,"visible",void 0),e.customElement("ft-tooltip")(xe);const ye={color:e.FtCssVariable.extend("--ft-loader-color",e.designSystemVariables.colorPrimary),size:e.FtCssVariable.create("--ft-loader-size","SIZE","80px")};class me extends e.FtLitElement{static get styles(){return i.css`
286
286
  :host {
287
287
  line-height: 0;
288
288
  }
@@ -291,8 +291,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
291
291
  display: inline-block;
292
292
  position: relative;
293
293
 
294
- width: ${ge.size};
295
- height: ${ge.size};
294
+ width: ${ye.size};
295
+ height: ${ye.size};
296
296
  }
297
297
 
298
298
  .ft-loader div {
@@ -301,7 +301,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
301
301
  width: 25%;
302
302
  height: 25%;
303
303
  border-radius: 50%;
304
- background: ${ge.color};
304
+ background: ${ye.color};
305
305
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
306
306
  }
307
307
 
@@ -348,7 +348,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
348
348
  transform: translate(0, 0);
349
349
  }
350
350
  100% {
351
- transform: translate(calc(0.35 * ${ge.size}), 0);
351
+ transform: translate(calc(0.35 * ${ye.size}), 0);
352
352
  }
353
353
  }
354
354
  `}render(){return i.html`
@@ -358,21 +358,21 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
358
358
  <div></div>
359
359
  <div></div>
360
360
  </div>
361
- `}}var ye,me;e.customElement("ft-loader")(xe),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ye||(ye={})),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;"}(me||(me={}));const $e=new Map([...["abw"].map((t=>[t,me.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,me.AUDIO])),...["avi"].map((t=>[t,me.AVI])),...["chm","xhs"].map((t=>[t,me.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,me.CODE])),...["csv"].map((t=>[t,me.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,me.DITA])),...["epub"].map((t=>[t,me.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,me.EXCEL])),...["flac"].map((t=>[t,me.FLAC])),...["gif"].map((t=>[t,me.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,me.GZIP])),...["html","htm","xhtml"].map((t=>[t,me.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,me.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,me.JPEG])),...["json"].map((t=>[t,me.JSON])),...["m4a","m4p"].map((t=>[t,me.M4A])),...["mov","qt"].map((t=>[t,me.MOV])),...["mp3"].map((t=>[t,me.MP3])),...["mp4","m4v"].map((t=>[t,me.MP4])),...["ogg","oga"].map((t=>[t,me.OGG])),...["pdf","ps"].map((t=>[t,me.PDF])),...["png"].map((t=>[t,me.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,me.POWERPOINT])),...["rar"].map((t=>[t,me.RAR])),...["stp"].map((t=>[t,me.STP])),...["txt","rtf","md","mdown"].map((t=>[t,me.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,me.VIDEO])),...["wav"].map((t=>[t,me.WAV])),...["wma"].map((t=>[t,me.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,me.WORD])),...["xml","xsl","rdf"].map((t=>[t,me.XML])),...["yaml","yml","x-yaml"].map((t=>[t,me.YAML])),...["zip"].map((t=>[t,me.ZIP]))]),we=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var ke,Se=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ke||(ke={}));const ze={size:e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Oe extends e.FtLitElement{constructor(){super(...arguments),this.variant=ke.fluid_topics}render(){return i.html`
361
+ `}}var $e,we;e.customElement("ft-loader")(me),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}($e||($e={})),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;"}(we||(we={}));const ke=new Map([...["abw"].map((t=>[t,we.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,we.AUDIO])),...["avi"].map((t=>[t,we.AVI])),...["chm","xhs"].map((t=>[t,we.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,we.CODE])),...["csv"].map((t=>[t,we.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,we.DITA])),...["epub"].map((t=>[t,we.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,we.EXCEL])),...["flac"].map((t=>[t,we.FLAC])),...["gif"].map((t=>[t,we.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,we.GZIP])),...["html","htm","xhtml"].map((t=>[t,we.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,we.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,we.JPEG])),...["json"].map((t=>[t,we.JSON])),...["m4a","m4p"].map((t=>[t,we.M4A])),...["mov","qt"].map((t=>[t,we.MOV])),...["mp3"].map((t=>[t,we.MP3])),...["mp4","m4v"].map((t=>[t,we.MP4])),...["ogg","oga"].map((t=>[t,we.OGG])),...["pdf","ps"].map((t=>[t,we.PDF])),...["png"].map((t=>[t,we.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,we.POWERPOINT])),...["rar"].map((t=>[t,we.RAR])),...["stp"].map((t=>[t,we.STP])),...["txt","rtf","md","mdown"].map((t=>[t,we.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,we.VIDEO])),...["wav"].map((t=>[t,we.WAV])),...["wma"].map((t=>[t,we.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,we.WORD])),...["xml","xsl","rdf"].map((t=>[t,we.XML])),...["yaml","yml","x-yaml"].map((t=>[t,we.YAML])),...["zip"].map((t=>[t,we.ZIP]))]),Se=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var ze,Oe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ze||(ze={}));const Be={size:e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Ce extends e.FtLitElement{constructor(){super(...arguments),this.variant=ze.fluid_topics}render(){return i.html`
362
362
  <i class="ft-icon ${"ft-icon--"+this.variant}">
363
363
  ${r.unsafeHTML(this.getIcon())}
364
364
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
365
365
  </i>
366
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ke.file_format?null!==(t=me[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ke.fluid_topics?null!==(e=ye[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Oe.elementDefinitions={},Oe.styles=i.css`
366
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ze.file_format?null!==(t=we[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ze.fluid_topics?null!==(e=$e[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}Ce.elementDefinitions={},Ce.styles=i.css`
367
367
  :host, i.ft-icon {
368
368
  display: inline-block;
369
- width: ${ze.size};
370
- height: ${ze.size};
369
+ width: ${Be.size};
370
+ height: ${Be.size};
371
371
  text-align: center;
372
372
  }
373
373
 
374
374
  i.ft-icon {
375
- font-size: ${ze.size};
375
+ font-size: ${Be.size};
376
376
  line-height: 1;
377
377
  font-weight: normal;
378
378
  text-transform: none;
@@ -386,17 +386,17 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
386
386
  }
387
387
 
388
388
  .ft-icon--fluid-topics {
389
- font-family: ${ze.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
389
+ font-family: ${Be.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
390
390
  }
391
391
 
392
392
  .ft-icon--file-format {
393
- font-family: ${ze.fileFormatFontFamily}, ft-mime, sans-serif;
393
+ font-family: ${Be.fileFormatFontFamily}, ft-mime, sans-serif;
394
394
  }
395
395
 
396
396
  .ft-icon--material {
397
- font-family: ${ze.materialFontFamily}, "Material Icons", sans-serif;
397
+ font-family: ${Be.materialFontFamily}, "Material Icons", sans-serif;
398
398
  }
399
- `,Se([o.property()],Oe.prototype,"variant",void 0),Se([o.query("slot")],Oe.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Oe);var Be=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ce=e.FtCssVariable.extend("--ft-button-color",e.designSystemVariables.colorPrimary),Ee={backgroundColor:e.FtCssVariable.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariable.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:Ce,fontSize:e.FtCssVariable.extend("--ft-button-font-size",Nt.fontSize),iconSize:e.FtCssVariable.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariable.extend("--ft-button-ripple-color",Ce),opacityDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Ie=e.FtCssVariable.extend("--ft-button-primary-color",e.FtCssVariable.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),De={backgroundColor:e.FtCssVariable.extend("--ft-button-primary-background-color",e.FtCssVariable.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:Ie,rippleColor:e.FtCssVariable.extend("--ft-button-primary-ripple-color",Ie)},Fe=e.FtCssVariable.extend("--ft-button-dense-border-radius",e.FtCssVariable.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM));class Le extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[e.noTextSelect,i.css`
399
+ `,Oe([o.property()],Ce.prototype,"variant",void 0),Oe([o.query("slot")],Ce.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ce);var Ee=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ie=e.FtCssVariable.extend("--ft-button-color",e.designSystemVariables.colorPrimary),De={backgroundColor:e.FtCssVariable.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariable.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:Ie,fontSize:e.FtCssVariable.extend("--ft-button-font-size",Rt.fontSize),iconSize:e.FtCssVariable.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariable.extend("--ft-button-ripple-color",Ie),opacityDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Fe=e.FtCssVariable.extend("--ft-button-primary-color",e.FtCssVariable.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),Le={backgroundColor:e.FtCssVariable.extend("--ft-button-primary-background-color",e.FtCssVariable.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:Fe,rippleColor:e.FtCssVariable.extend("--ft-button-primary-ripple-color",Fe)},je=e.FtCssVariable.extend("--ft-button-dense-border-radius",e.FtCssVariable.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM));class Me extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[e.noTextSelect,i.css`
400
400
  :host {
401
401
  display: inline-block;
402
402
  max-width: 100%;
@@ -435,18 +435,18 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
435
435
  border: none;
436
436
  pointer-events: auto;
437
437
 
438
- --ft-button-internal-font-size: ${Ee.fontSize};
438
+ --ft-button-internal-font-size: ${De.fontSize};
439
439
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
440
- --ft-button-internal-color: ${Ee.color};
441
- ${e.setVariable(ze.size,Ee.iconSize)};
440
+ --ft-button-internal-color: ${De.color};
441
+ ${e.setVariable(Be.size,De.iconSize)};
442
442
  --ft-button-internal-vertical-padding: 6px;
443
443
  --ft-button-internal-horizontal-padding: 8px;
444
- ${e.setVariable(ie.color,Ee.rippleColor)};
445
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ee.iconSize});
444
+ ${e.setVariable(se.color,De.rippleColor)};
445
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${De.iconSize});
446
446
 
447
- border-radius: ${Ee.borderRadius};
447
+ border-radius: ${De.borderRadius};
448
448
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
449
- background-color: ${Ee.backgroundColor};
449
+ background-color: ${De.backgroundColor};
450
450
  color: var(--ft-button-internal-color);
451
451
  -webkit-mask-image: radial-gradient(white, black);
452
452
  }
@@ -458,7 +458,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
458
458
  .ft-button--dense {
459
459
  --ft-button-internal-vertical-padding: 2px;
460
460
  --ft-button-internal-horizontal-padding: 4px;
461
- border-radius: ${Fe};
461
+ border-radius: ${je};
462
462
  }
463
463
 
464
464
  .ft-button--round {
@@ -467,13 +467,13 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
467
467
 
468
468
  .ft-button[disabled] {
469
469
  filter: grayscale(1);
470
- opacity: ${Ee.opacityDisabled};
470
+ opacity: ${De.opacityDisabled};
471
471
  }
472
472
 
473
473
  .ft-button.ft-button--primary {
474
- background-color: ${De.backgroundColor};
475
- --ft-button-internal-color: ${De.color};
476
- ${e.setVariable(ie.color,De.rippleColor)};
474
+ background-color: ${Le.backgroundColor};
475
+ --ft-button-internal-color: ${Le.color};
476
+ ${e.setVariable(se.color,Le.rippleColor)};
477
477
  }
478
478
 
479
479
  .ft-button.ft-button--outlined {
@@ -492,8 +492,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
492
492
  text-overflow: ellipsis;
493
493
  display: block;
494
494
  margin: 0 var(--ft-button-internal-horizontal-padding);
495
- ${e.setVariable(Nt.fontSize,"var(--ft-button-internal-font-size)")};
496
- ${e.setVariable(Nt.lineHeight,"var(--ft-button-internal-content-height)")};
495
+ ${e.setVariable(Rt.fontSize,"var(--ft-button-internal-font-size)")};
496
+ ${e.setVariable(Rt.lineHeight,"var(--ft-button-internal-content-height)")};
497
497
  }
498
498
 
499
499
  .ft-button--safari-fix .ft-button--label {
@@ -526,8 +526,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
526
526
  }
527
527
 
528
528
  ft-loader {
529
- ${e.setVariable(ge.size,Ee.iconSize)};
530
- ${e.setVariable(ge.color,"var(--ft-button-internal-color)")};
529
+ ${e.setVariable(ye.size,De.iconSize)};
530
+ ${e.setVariable(ye.color,"var(--ft-button-internal-color)")};
531
531
  }
532
532
  `]}render(){const t={"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-button--safari-fix":e.isSafari,"ft-no-text-select":!0};return this.addTooltip(i.html`
533
533
  <button part="button"
@@ -551,7 +551,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
551
551
  </ft-tooltip>
552
552
  `}resolveIcon(){return this.loading?i.html`
553
553
  <ft-loader></ft-loader> `:this.icon?i.html`
554
- <ft-icon variant="material">${this.icon}</ft-icon> `:i.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Le.elementDefinitions={"ft-ripple":ce,"ft-tooltip":ve,"ft-typography":Gt,"ft-icon":Oe,"ft-loader":xe},Be([o.property({type:Boolean})],Le.prototype,"primary",void 0),Be([o.property({type:Boolean})],Le.prototype,"outlined",void 0),Be([o.property({type:Boolean})],Le.prototype,"disabled",void 0),Be([o.property({type:Boolean})],Le.prototype,"dense",void 0),Be([o.property({type:Boolean})],Le.prototype,"round",void 0),Be([o.property({type:String})],Le.prototype,"label",void 0),Be([o.property({type:String})],Le.prototype,"icon",void 0),Be([o.property({type:Boolean})],Le.prototype,"trailingIcon",void 0),Be([o.property({type:Boolean})],Le.prototype,"loading",void 0),Be([o.property({type:String})],Le.prototype,"tooltipPosition",void 0),Be([o.query(".ft-button")],Le.prototype,"button",void 0),Be([o.query(".ft-button--label slot")],Le.prototype,"slottedContent",void 0),e.customElement("ft-button")(Le);var je=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Me=e.FtCssVariable.extend("--ft-checkbox-text-color",e.designSystemVariables.colorOnSurfaceHigh),Ae=e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),Te=e.FtCssVariable.external(e.designSystemVariables.colorOnPrimary,"Design system"),Ne=e.FtCssVariable.extend("--ft-checkbox-border-color",e.designSystemVariables.colorOnSurfaceMedium),Pe=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system");class Re extends e.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return i.html`
554
+ <ft-icon variant="material">${this.icon}</ft-icon> `:i.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Me.elementDefinitions={"ft-ripple":pe,"ft-tooltip":xe,"ft-typography":Jt,"ft-icon":Ce,"ft-loader":me},Ee([o.property({type:Boolean})],Me.prototype,"primary",void 0),Ee([o.property({type:Boolean})],Me.prototype,"outlined",void 0),Ee([o.property({type:Boolean})],Me.prototype,"disabled",void 0),Ee([o.property({type:Boolean})],Me.prototype,"dense",void 0),Ee([o.property({type:Boolean})],Me.prototype,"round",void 0),Ee([o.property({type:String})],Me.prototype,"label",void 0),Ee([o.property({type:String})],Me.prototype,"icon",void 0),Ee([o.property({type:Boolean})],Me.prototype,"trailingIcon",void 0),Ee([o.property({type:Boolean})],Me.prototype,"loading",void 0),Ee([o.property({type:String})],Me.prototype,"tooltipPosition",void 0),Ee([o.query(".ft-button")],Me.prototype,"button",void 0),Ee([o.query(".ft-button--label slot")],Me.prototype,"slottedContent",void 0),e.customElement("ft-button")(Me);var Te=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ae=e.FtCssVariable.extend("--ft-checkbox-text-color",e.designSystemVariables.colorOnSurfaceHigh),Pe=e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),Ne=e.FtCssVariable.external(e.designSystemVariables.colorOnPrimary,"Design system"),Re=e.FtCssVariable.extend("--ft-checkbox-border-color",e.designSystemVariables.colorOnSurfaceMedium),_e=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system");class Ue extends e.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return i.html`
555
555
  <label class="${n.classMap(t)}">
556
556
  <div class="ft-checkbox--box-container">
557
557
  <input type="checkbox"
@@ -576,14 +576,14 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
576
576
  <slot></slot>
577
577
  </ft-typography>
578
578
  </label>
579
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Re.elementDefinitions={"ft-ripple":ce,"ft-typography":Gt},Re.styles=i.css`
579
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Ue.elementDefinitions={"ft-ripple":pe,"ft-typography":Jt},Ue.styles=i.css`
580
580
  * {
581
581
  box-sizing: border-box;
582
582
  }
583
583
 
584
584
  .ft-checkbox {
585
585
  box-sizing: border-box;
586
- color: ${Me};
586
+ color: ${Ae};
587
587
 
588
588
  display: inline-flex;
589
589
  align-items: center;
@@ -591,7 +591,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
591
591
  }
592
592
 
593
593
  .ft-checkbox--disabled {
594
- color: ${Pe};
594
+ color: ${_e};
595
595
  }
596
596
 
597
597
  input {
@@ -614,26 +614,27 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
614
614
  }
615
615
 
616
616
  .ft-checkbox--box {
617
- border: 2px solid ${Ne};
617
+ display: flex;
618
+ border: 2px solid ${Re};
618
619
  border-radius: 2px;
619
620
 
620
621
  width: 18px;
621
622
  height: 18px;
622
623
 
623
- color: ${Te};
624
+ color: ${Ne};
624
625
  }
625
626
 
626
627
 
627
628
  .ft-checkbox--checked .ft-checkbox--box,
628
629
  .ft-checkbox--indeterminate .ft-checkbox--box {
629
- border-color: ${Ae};
630
- background-color: ${Ae};
630
+ border-color: ${Pe};
631
+ background-color: ${Pe};
631
632
  }
632
633
 
633
634
  .ft-checkbox--disabled .ft-checkbox--box {
634
- border-color: ${Pe};
635
+ border-color: ${_e};
635
636
  background-color: transparent;
636
- color: ${Pe};
637
+ color: ${_e};
637
638
  }
638
639
 
639
640
  .ft-checkbox--checkmark {
@@ -652,7 +653,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
652
653
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
653
654
  opacity: 1;
654
655
  }
655
- `,je([o.property()],Re.prototype,"name",void 0),je([o.property({type:Boolean})],Re.prototype,"checked",void 0),je([o.property({type:Boolean})],Re.prototype,"indeterminate",void 0),je([o.property({type:Boolean})],Re.prototype,"disabled",void 0),je([o.query(".ft-checkbox")],Re.prototype,"container",void 0),je([o.query("ft-ripple")],Re.prototype,"ripple",void 0),e.customElement("ft-checkbox")(Re);var _e=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ue=e.FtCssVariable.extend("--ft-radio-text-color",e.designSystemVariables.colorOnSurfaceHigh),Ze=e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),He=(e.FtCssVariable.external(e.designSystemVariables.colorOnPrimary,"Design system"),e.FtCssVariable.extend("--ft-radio-border-color",e.designSystemVariables.colorOnSurfaceMedium)),Ke=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system");class qe extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Ve extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return i.html`
656
+ `,Te([o.property()],Ue.prototype,"name",void 0),Te([o.property({type:Boolean})],Ue.prototype,"checked",void 0),Te([o.property({type:Boolean})],Ue.prototype,"indeterminate",void 0),Te([o.property({type:Boolean})],Ue.prototype,"disabled",void 0),Te([o.query(".ft-checkbox")],Ue.prototype,"container",void 0),Te([o.query("ft-ripple")],Ue.prototype,"ripple",void 0),e.customElement("ft-checkbox")(Ue);var Ze=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const He=e.FtCssVariable.extend("--ft-radio-text-color",e.designSystemVariables.colorOnSurfaceHigh),Ke=e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),qe=(e.FtCssVariable.external(e.designSystemVariables.colorOnPrimary,"Design system"),e.FtCssVariable.extend("--ft-radio-border-color",e.designSystemVariables.colorOnSurfaceMedium)),Ve=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system");class We extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Ge extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return i.html`
656
657
  <div class="${n.classMap(t)}">
657
658
  <div class="ft-radio--box-container">
658
659
  <input id="radio-button"
@@ -677,14 +678,14 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
677
678
  </ft-typography>
678
679
  </label>
679
680
  </div>
680
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new qe(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new qe(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ve.elementDefinitions={"ft-ripple":ce,"ft-typography":Gt},Ve.styles=i.css`
681
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new We(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new We(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ge.elementDefinitions={"ft-ripple":pe,"ft-typography":Jt},Ge.styles=i.css`
681
682
  * {
682
683
  box-sizing: border-box;
683
684
  }
684
685
 
685
686
  .ft-radio {
686
687
  box-sizing: border-box;
687
- color: ${Ue};
688
+ color: ${He};
688
689
 
689
690
  display: inline-flex;
690
691
  align-items: center;
@@ -692,7 +693,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
692
693
  }
693
694
 
694
695
  .ft-radio--disabled {
695
- color: ${Ke};
696
+ color: ${Ve};
696
697
  }
697
698
 
698
699
  input {
@@ -715,7 +716,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
715
716
  }
716
717
 
717
718
  .ft-radio--box {
718
- border: 2px solid ${He};
719
+ border: 2px solid ${qe};
719
720
  border-radius: 50%;
720
721
 
721
722
  display: flex;
@@ -728,7 +729,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
728
729
 
729
730
  .ft-radio--box:after {
730
731
  content: " ";
731
- background-color: ${Ze};
732
+ background-color: ${Ke};
732
733
 
733
734
  border-radius: 50%;
734
735
 
@@ -740,7 +741,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
740
741
  }
741
742
 
742
743
  .ft-radio--checked .ft-radio--box {
743
- border-color: ${Ze};
744
+ border-color: ${Ke};
744
745
  }
745
746
 
746
747
 
@@ -749,24 +750,24 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
749
750
  }
750
751
 
751
752
  .ft-radio--disabled .ft-radio--box {
752
- border-color: ${Ke};
753
+ border-color: ${Ve};
753
754
  background-color: transparent;
754
755
  }
755
756
 
756
757
  .ft-radio--disabled .ft-radio--box:after {
757
- background-color: ${Ke};
758
+ background-color: ${Ve};
758
759
  }
759
- `,_e([o.property()],Ve.prototype,"value",void 0),_e([o.property()],Ve.prototype,"name",void 0),_e([o.property({type:Boolean})],Ve.prototype,"checked",void 0),_e([o.property({type:Boolean})],Ve.prototype,"disabled",void 0),_e([o.query(".ft-radio")],Ve.prototype,"container",void 0),_e([o.query("ft-ripple")],Ve.prototype,"ripple",void 0),_e([o.query("input")],Ve.prototype,"input",void 0);var We=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ge extends e.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return i.html`
760
+ `,Ze([o.property()],Ge.prototype,"value",void 0),Ze([o.property()],Ge.prototype,"name",void 0),Ze([o.property({type:Boolean})],Ge.prototype,"checked",void 0),Ze([o.property({type:Boolean})],Ge.prototype,"disabled",void 0),Ze([o.query(".ft-radio")],Ge.prototype,"container",void 0),Ze([o.query("ft-ripple")],Ge.prototype,"ripple",void 0),Ze([o.query("input")],Ge.prototype,"input",void 0);var Xe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Je extends e.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return i.html`
760
761
  <slot @slotchange=${this.onSlotChange}
761
762
  @change=${this.onChange}
762
763
  @keydown=${this.onKeyDown}
763
764
  @focusin=${this.onFocusIn}
764
765
  ></slot>
765
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ge.elementDefinitions={},Ge.styles=i.css`
766
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Je.elementDefinitions={},Je.styles=i.css`
766
767
  :host {
767
768
  display: contents;
768
769
  }
769
- `,We([o.property()],Ge.prototype,"name",void 0),We([o.queryAssignedElements()],Ge.prototype,"radioButtons",void 0),e.customElement("ft-radio")(Ve),e.customElement("ft-radio-group")(Ge);var Xe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Je={borderRadiusM:e.FtCssVariable.external(e.designSystemVariables.borderRadiusM,"Design system"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),colorOnSurface:e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:e.FtCssVariable.external(e.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:e.FtCssVariable.external(St.fontFamily,"Body2 typography"),fontSize:e.FtCssVariable.external(St.fontSize,"Body2 typography"),fontWeight:e.FtCssVariable.external(St.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariable.external(St.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariable.external(St.lineHeight,"Body2 typography"),textTransform:e.FtCssVariable.external(St.textTransform,"Body2 typography")};class Ye extends e.FtLitElement{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return i.html`
770
+ `,Xe([o.property()],Je.prototype,"name",void 0),Xe([o.queryAssignedElements()],Je.prototype,"radioButtons",void 0),e.customElement("ft-radio")(Ge),e.customElement("ft-radio-group")(Je);var Ye=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Qe={borderRadiusM:e.FtCssVariable.external(e.designSystemVariables.borderRadiusM,"Design system"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),colorOnSurface:e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:e.FtCssVariable.external(e.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:e.FtCssVariable.external(Ot.fontFamily,"Body2 typography"),fontSize:e.FtCssVariable.external(Ot.fontSize,"Body2 typography"),fontWeight:e.FtCssVariable.external(Ot.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariable.external(Ot.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariable.external(Ot.lineHeight,"Body2 typography"),textTransform:e.FtCssVariable.external(Ot.textTransform,"Body2 typography")};class ti extends e.FtLitElement{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return i.html`
770
771
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
771
772
  ${null==this.parent?null:i.html`
772
773
  <div tabindex="0"
@@ -805,7 +806,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
805
806
  <ft-checkbox name="${this.id}"
806
807
  .checked=${t.selected}
807
808
  .disabled=${this.disabled}
808
- .indeterminate=${Xt(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
809
+ .indeterminate=${Yt(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
809
810
  @change=${e=>this.optionsChanged(e,t)}>
810
811
  ${t.label}
811
812
  </ft-checkbox>
@@ -819,7 +820,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
819
820
 
820
821
  ${t.label}
821
822
  </ft-radio>
822
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ye.elementDefinitions={"ft-button":Le,"ft-ripple":ce,"ft-typography":Gt,"ft-checkbox":Re,"ft-icon":Oe,"ft-radio":Ve},Ye.styles=[i.css`
823
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}ti.elementDefinitions={"ft-button":Me,"ft-ripple":pe,"ft-typography":Jt,"ft-checkbox":Ue,"ft-icon":Ce,"ft-radio":Ge},ti.styles=[i.css`
823
824
  .ft-filter-level--container {
824
825
  display: flex;
825
826
  flex-direction: column;
@@ -833,14 +834,14 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
833
834
  flex-shrink: 0;
834
835
  text-decoration: none;
835
836
  position: relative;
836
- border-radius: ${Je.borderRadiusM};
837
+ border-radius: ${Qe.borderRadiusM};
837
838
  overflow: hidden;
838
839
  display: flex;
839
840
  align-items: center;
840
841
  padding: 4px 4px;
841
842
  gap: 4px;
842
843
  cursor: pointer;
843
- color: ${Je.colorOnSurface};
844
+ color: ${Qe.colorOnSurface};
844
845
  }
845
846
 
846
847
  .ft-filter-level--go-back:focus {
@@ -869,7 +870,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
869
870
  }
870
871
 
871
872
  ft-button {
872
- ${e.setVariable(Ee.color,Je.colorOnSurface)};
873
+ ${e.setVariable(De.color,Qe.colorOnSurface)};
873
874
  }
874
875
 
875
876
  ft-radio, ft-checkbox {
@@ -880,7 +881,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
880
881
  margin-left: -10px;
881
882
  word-break: break-word;
882
883
  }
883
- `],Xe([o.property({type:String})],Ye.prototype,"id",void 0),Xe([o.property({type:Object})],Ye.prototype,"parent",void 0),Xe([o.property({type:Array})],Ye.prototype,"options",void 0),Xe([o.property({type:Boolean})],Ye.prototype,"multivalued",void 0),Xe([o.property({type:Boolean})],Ye.prototype,"disabled",void 0),Xe([o.property({type:Boolean})],Ye.prototype,"hideSelectedOptions",void 0),Xe([o.property({type:Boolean})],Ye.prototype,"preventNavigation",void 0),Xe([o.property({type:String})],Ye.prototype,"filter",void 0),Xe([o.property({type:String})],Ye.prototype,"moreValuesButtonLabel",void 0),Xe([o.property({type:Number})],Ye.prototype,"displayedValuesLimit",void 0),Xe([o.query(".ft-filter-level--container")],Ye.prototype,"container",void 0),Xe([o.state()],Ye.prototype,"displayedPages",void 0);var Qe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ti={buttonsColor:e.FtCssVariable.extend("--ft-snap-scroll-buttons-color",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariable.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:e.FtCssVariable.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system")};class ei extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class ii extends e.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e.Debouncer(200),this.updateScrollDebouncer=new e.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=n.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":e.isSafari}),o=this.controls&&this.withScroll;return i.html`
884
+ `],Ye([o.property({type:String})],ti.prototype,"id",void 0),Ye([o.property({type:Object})],ti.prototype,"parent",void 0),Ye([o.property({type:Array})],ti.prototype,"options",void 0),Ye([o.property({type:Boolean})],ti.prototype,"multivalued",void 0),Ye([o.property({type:Boolean})],ti.prototype,"disabled",void 0),Ye([o.property({type:Boolean})],ti.prototype,"hideSelectedOptions",void 0),Ye([o.property({type:Boolean})],ti.prototype,"preventNavigation",void 0),Ye([o.property({type:String})],ti.prototype,"filter",void 0),Ye([o.property({type:String})],ti.prototype,"moreValuesButtonLabel",void 0),Ye([o.property({type:Number})],ti.prototype,"displayedValuesLimit",void 0),Ye([o.query(".ft-filter-level--container")],ti.prototype,"container",void 0),Ye([o.state()],ti.prototype,"displayedPages",void 0);var ei=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ii={buttonsColor:e.FtCssVariable.extend("--ft-snap-scroll-buttons-color",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariable.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:e.FtCssVariable.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system")};class oi extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class si extends e.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e.Debouncer(200),this.updateScrollDebouncer=new e.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=n.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":e.isSafari}),o=this.controls&&this.withScroll;return i.html`
884
885
  <div part="container" class="${t}">
885
886
  <ft-button
886
887
  class="ft-snap-scroll--previous"
@@ -904,7 +905,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
904
905
  @click=${this.next}
905
906
  ></ft-button>
906
907
  </div>
907
- `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ei(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}ii.elementDefinitions={"ft-button":Le},ii.styles=i.css`
908
+ `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new oi(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}si.elementDefinitions={"ft-button":Me},si.styles=i.css`
908
909
  .ft-snap-scroll {
909
910
  box-sizing: border-box;
910
911
  position: relative;
@@ -939,7 +940,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
939
940
  flex-wrap: nowrap;
940
941
  align-items: flex-start;
941
942
  justify-content: flex-start;
942
- gap: ${ti.gap};
943
+ gap: ${ii.gap};
943
944
  }
944
945
 
945
946
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -982,11 +983,11 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
982
983
  .ft-snap-scroll--next {
983
984
  position: absolute;
984
985
  display: flex;
985
- z-index: ${ti.buttonsZIndex};
986
+ z-index: ${ii.buttonsZIndex};
986
987
  opacity: 1;
987
988
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
988
- ${e.setVariable(Ee.backgroundColor,"transparent")};
989
- ${e.setVariable(Ee.color,ti.buttonsColor)};
989
+ ${e.setVariable(De.backgroundColor,"transparent")};
990
+ ${e.setVariable(De.color,ii.buttonsColor)};
990
991
  }
991
992
 
992
993
  .ft-snap-scroll--previous[hidden],
@@ -999,37 +1000,37 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
999
1000
  top: 0;
1000
1001
  left: -1px;
1001
1002
  bottom: 0;
1002
- background: linear-gradient(to right, ${ti.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1003
+ background: linear-gradient(to right, ${ii.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1003
1004
  }
1004
1005
 
1005
1006
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1006
1007
  top: -1px;
1007
1008
  left: 0;
1008
1009
  right: 0;
1009
- background: linear-gradient(to bottom, ${ti.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1010
+ background: linear-gradient(to bottom, ${ii.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1010
1011
  }
1011
1012
 
1012
1013
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1013
1014
  top: 0;
1014
1015
  right: -1px;
1015
1016
  bottom: 0;
1016
- background: linear-gradient(to left, ${ti.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1017
+ background: linear-gradient(to left, ${ii.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1017
1018
  }
1018
1019
 
1019
1020
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1020
1021
  left: 0;
1021
1022
  right: 0;
1022
1023
  bottom: -1px;
1023
- background: linear-gradient(to top, ${ti.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1024
+ background: linear-gradient(to top, ${ii.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1024
1025
  }
1025
1026
 
1026
1027
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1027
1028
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1028
1029
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1029
1030
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1030
- background-color: ${ti.colorSurface};
1031
+ background-color: ${ii.colorSurface};
1031
1032
  }
1032
- `,Qe([o.property({type:Boolean})],ii.prototype,"horizontal",void 0),Qe([o.property({type:Boolean})],ii.prototype,"hideScrollbar",void 0),Qe([o.property({type:Boolean})],ii.prototype,"controls",void 0),Qe([o.property({type:Boolean})],ii.prototype,"limitSize",void 0),Qe([o.state()],ii.prototype,"elements",void 0),Qe([o.state()],ii.prototype,"currentElement",void 0),Qe([o.state()],ii.prototype,"withScroll",void 0),Qe([o.state()],ii.prototype,"startReached",void 0),Qe([o.state()],ii.prototype,"endReached",void 0),Qe([o.query(".ft-snap-scroll--content")],ii.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(ii);var oi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const si=e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),ni=e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),ri=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),li=e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),ai=e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),ci=e.FtCssVariable.external(e.designSystemVariables.transitionDuration,"Design system"),hi=e.FtCssVariable.external(e.designSystemVariables.transitionTimingFunction,"Design system");class pi extends CustomEvent{constructor(t){super("change",{detail:t})}}class fi extends e.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e.Debouncer(300),this.changeDebouncer=new e.Debouncer(10)}get flatOptions(){return Xt(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const o=this.flatOptions.some((t=>t.selected));let s=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return i.html`
1033
+ `,ei([o.property({type:Boolean})],si.prototype,"horizontal",void 0),ei([o.property({type:Boolean})],si.prototype,"hideScrollbar",void 0),ei([o.property({type:Boolean})],si.prototype,"controls",void 0),ei([o.property({type:Boolean})],si.prototype,"limitSize",void 0),ei([o.state()],si.prototype,"elements",void 0),ei([o.state()],si.prototype,"currentElement",void 0),ei([o.state()],si.prototype,"withScroll",void 0),ei([o.state()],si.prototype,"startReached",void 0),ei([o.state()],si.prototype,"endReached",void 0),ei([o.query(".ft-snap-scroll--content")],si.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(si);var ni=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ri=e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),li=e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),ai=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),ci=e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),hi=e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),pi=e.FtCssVariable.external(e.designSystemVariables.transitionDuration,"Design system"),fi=e.FtCssVariable.external(e.designSystemVariables.transitionTimingFunction,"Design system");class di extends CustomEvent{constructor(t){super("change",{detail:t})}}class ui extends e.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e.Debouncer(300),this.changeDebouncer=new e.Debouncer(10)}get flatOptions(){return Yt(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const o=this.flatOptions.some((t=>t.selected));let s=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return i.html`
1033
1034
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1034
1035
  part="container">
1035
1036
  ${this.label||o?i.html`
@@ -1094,7 +1095,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1094
1095
  @display-level=${this.onDisplayLevel}
1095
1096
  part="values"
1096
1097
  ></ft-filter-level>
1097
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new pi(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(t){const e=t.composedPath()[0];this.filter=e.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}fi.elementDefinitions={"ft-button":Le,"ft-filter-level":Ye,"ft-snap-scroll":ii,"ft-typography":Gt},fi.styles=[Kt,i.css`
1098
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new di(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(t){const e=t.composedPath()[0];this.filter=e.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ui.elementDefinitions={"ft-button":Me,"ft-filter-level":ti,"ft-snap-scroll":si,"ft-typography":Jt},ui.styles=[Vt,i.css`
1098
1099
  :host {
1099
1100
  display: flex;
1100
1101
  max-height: 100%;
@@ -1107,8 +1108,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1107
1108
  flex-direction: column;
1108
1109
  max-height: 100%;
1109
1110
  max-width: 100%;
1110
- color: ${ni};
1111
- background: ${ai};
1111
+ color: ${li};
1112
+ background: ${hi};
1112
1113
  }
1113
1114
 
1114
1115
  .ft-filter--header {
@@ -1118,13 +1119,13 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1118
1119
  flex-shrink: 0;
1119
1120
  padding: 0 10px;
1120
1121
  margin-bottom: 8px;
1121
- ${e.setVariable(Y.fontSize,"14px")};
1122
+ ${e.setVariable(tt.fontSize,"14px")};
1122
1123
  }
1123
1124
 
1124
1125
  .ft-filter--header ft-button {
1125
1126
  flex-shrink: 0;
1126
1127
  margin-left: auto;
1127
- ${e.setVariable(Ee.iconSize,"18px")};
1128
+ ${e.setVariable(De.iconSize,"18px")};
1128
1129
  }
1129
1130
 
1130
1131
  .ft-filter--label {
@@ -1132,8 +1133,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1132
1133
  flex-shrink: 1;
1133
1134
  flex-grow: 1;
1134
1135
  word-break: break-word;
1135
- ${e.setVariable(Y.lineHeight,"22px")};
1136
- ${e.setVariable(Y.fontWeight,"bold")};
1136
+ ${e.setVariable(tt.lineHeight,"22px")};
1137
+ ${e.setVariable(tt.fontWeight,"bold")};
1137
1138
  }
1138
1139
 
1139
1140
  .ft-filter--filter {
@@ -1144,8 +1145,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1144
1145
  padding: 0 10px;
1145
1146
  overflow: hidden;
1146
1147
  height: 32px;
1147
- transition: height ${ci} ${hi},
1148
- margin ${ci} ${hi};
1148
+ transition: height ${pi} ${fi},
1149
+ margin ${pi} ${fi};
1149
1150
  transition-delay: 500ms;
1150
1151
  }
1151
1152
 
@@ -1158,11 +1159,11 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1158
1159
  display: block;
1159
1160
  width: 100%;
1160
1161
  border-radius: 4px;
1161
- border: 1px solid ${si};
1162
+ border: 1px solid ${ri};
1162
1163
  padding: 4px;
1163
- background-color: ${ai};
1164
- color: ${ri};
1165
- outline-color: ${li};
1164
+ background-color: ${hi};
1165
+ color: ${ai};
1166
+ outline-color: ${ci};
1166
1167
  }
1167
1168
 
1168
1169
  .ft-filter--values {
@@ -1174,7 +1175,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1174
1175
  }
1175
1176
 
1176
1177
  .ft-filter--separator {
1177
- border-top: 1px solid ${si};
1178
+ border-top: 1px solid ${ri};
1178
1179
  margin: 4px 10px;
1179
1180
  }
1180
1181
 
@@ -1199,17 +1200,17 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1199
1200
  slot {
1200
1201
  display: none;
1201
1202
  }
1202
- `],oi([o.property({type:String})],fi.prototype,"id",void 0),oi([o.property({type:String})],fi.prototype,"label",void 0),oi([o.property({type:String})],fi.prototype,"filterPlaceHolder",void 0),oi([o.property({type:String})],fi.prototype,"clearButtonLabel",void 0),oi([o.property({type:String})],fi.prototype,"moreValuesButtonLabel",void 0),oi([e.jsonProperty([])],fi.prototype,"options",void 0),oi([o.property({type:Boolean})],fi.prototype,"multivalued",void 0),oi([o.property({type:Boolean})],fi.prototype,"disabled",void 0),oi([o.property({type:Boolean})],fi.prototype,"raiseSelectedOptions",void 0),oi([o.property({type:Number})],fi.prototype,"displayedValuesLimit",void 0),oi([o.query(".ft-filter--slot")],fi.prototype,"slotElement",void 0),oi([o.query(".ft-filter--container")],fi.prototype,"container",void 0),oi([o.query(".ft-filter--values")],fi.prototype,"valuesContainer",void 0),oi([o.query(".ft-filter--levels")],fi.prototype,"levelsContainer",void 0),oi([o.query(".ft-filter--levels ft-filter-level:last-child")],fi.prototype,"lastLevel",void 0),oi([o.queryAll(".ft-filter--levels ft-filter-level")],fi.prototype,"levels",void 0),oi([o.state()],fi.prototype,"withScroll",void 0),oi([o.state()],fi.prototype,"filter",void 0),oi([o.state()],fi.prototype,"slideIn",void 0),oi([o.state()],fi.prototype,"slideOut",void 0);var di=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ui extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return i.html`
1203
+ `],ni([o.property({type:String})],ui.prototype,"id",void 0),ni([o.property({type:String})],ui.prototype,"label",void 0),ni([o.property({type:String})],ui.prototype,"filterPlaceHolder",void 0),ni([o.property({type:String})],ui.prototype,"clearButtonLabel",void 0),ni([o.property({type:String})],ui.prototype,"moreValuesButtonLabel",void 0),ni([e.jsonProperty([])],ui.prototype,"options",void 0),ni([o.property({type:Boolean})],ui.prototype,"multivalued",void 0),ni([o.property({type:Boolean})],ui.prototype,"disabled",void 0),ni([o.property({type:Boolean})],ui.prototype,"raiseSelectedOptions",void 0),ni([o.property({type:Number})],ui.prototype,"displayedValuesLimit",void 0),ni([o.query(".ft-filter--slot")],ui.prototype,"slotElement",void 0),ni([o.query(".ft-filter--container")],ui.prototype,"container",void 0),ni([o.query(".ft-filter--values")],ui.prototype,"valuesContainer",void 0),ni([o.query(".ft-filter--levels")],ui.prototype,"levelsContainer",void 0),ni([o.query(".ft-filter--levels ft-filter-level:last-child")],ui.prototype,"lastLevel",void 0),ni([o.queryAll(".ft-filter--levels ft-filter-level")],ui.prototype,"levels",void 0),ni([o.state()],ui.prototype,"withScroll",void 0),ni([o.state()],ui.prototype,"filter",void 0),ni([o.state()],ui.prototype,"slideIn",void 0),ni([o.state()],ui.prototype,"slideOut",void 0);var bi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class vi extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return i.html`
1203
1204
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1204
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ui.elementDefinitions={},di([o.property({type:String})],ui.prototype,"label",void 0),di([o.property({type:Object,converter:t=>t})],ui.prototype,"value",void 0),di([o.property({type:Boolean,reflect:!0})],ui.prototype,"selected",void 0),di([o.property({type:Object})],ui.prototype,"subOptions",void 0),di([o.query(".ft-filter-option--slot")],ui.prototype,"slotElement",void 0),e.customElement("ft-filter")(fi),e.customElement("ft-filter-option")(ui);var bi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class vi extends e.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return i.html`
1205
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}vi.elementDefinitions={},bi([o.property({type:String})],vi.prototype,"label",void 0),bi([o.property({type:Object,converter:t=>t})],vi.prototype,"value",void 0),bi([o.property({type:Boolean,reflect:!0})],vi.prototype,"selected",void 0),bi([o.property({type:Object})],vi.prototype,"subOptions",void 0),bi([o.query(".ft-filter-option--slot")],vi.prototype,"slotElement",void 0),e.customElement("ft-filter")(ui),e.customElement("ft-filter-option")(vi);var gi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class xi extends e.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return i.html`
1205
1206
  <div class="ft-accordion">
1206
1207
  <slot @activated=${this.onChange}></slot>
1207
1208
  </div>
1208
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}vi.elementDefinitions={},vi.styles=i.css`
1209
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}xi.elementDefinitions={},xi.styles=i.css`
1209
1210
  .ft-accordion {
1210
1211
  box-sizing: border-box;
1211
1212
  }
1212
- `,bi([o.property({type:Boolean})],vi.prototype,"multi",void 0),bi([o.query("slot")],vi.prototype,"content",void 0);var gi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const xi=e.FtCssVariable.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),yi=e.FtCssVariable.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),mi=e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system");class $i extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
1213
+ `,gi([o.property({type:Boolean})],xi.prototype,"multi",void 0),gi([o.query("slot")],xi.prototype,"content",void 0);var yi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const mi=e.FtCssVariable.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),$i=e.FtCssVariable.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),wi=e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system");class ki extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
1213
1214
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1214
1215
  <div class="ft-accordion-item--toggle"
1215
1216
  part="toggle"
@@ -1233,7 +1234,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1233
1234
  </div>
1234
1235
  <div class="ft-accordion-item--separator" part="separator"></div>
1235
1236
  </div>
1236
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}$i.elementDefinitions={"ft-ripple":ce,"ft-typography":Gt,"ft-icon":Oe},$i.styles=i.css`
1237
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}ki.elementDefinitions={"ft-ripple":pe,"ft-typography":Jt,"ft-icon":Ce},ki.styles=i.css`
1237
1238
  .ft-accordion-item {
1238
1239
  display: flex;
1239
1240
  flex-direction: column;
@@ -1246,8 +1247,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1246
1247
  display: flex;
1247
1248
  align-items: center;
1248
1249
  cursor: pointer;
1249
- padding: ${yi} ${xi};
1250
- gap: calc(${xi} / 2);
1250
+ padding: ${$i} ${mi};
1251
+ gap: calc(${mi} / 2);
1251
1252
  outline: none;
1252
1253
  }
1253
1254
 
@@ -1272,13 +1273,13 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1272
1273
  .ft-accordion-item--active .ft-accordion-item--content {
1273
1274
  height: initial;
1274
1275
  overflow: visible;
1275
- padding: ${yi} ${xi};
1276
+ padding: ${$i} ${mi};
1276
1277
  }
1277
1278
 
1278
1279
  .ft-accordion-item--separator {
1279
- border-bottom: 1px solid ${mi};
1280
+ border-bottom: 1px solid ${wi};
1280
1281
  }
1281
- `,gi([o.property({type:String})],$i.prototype,"icon",void 0),gi([o.property({type:String})],$i.prototype,"label",void 0),gi([o.property({type:Boolean,reflect:!0})],$i.prototype,"active",void 0),e.customElement("ft-accordion")(vi),e.customElement("ft-accordion-item")($i);var wi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ki=e.FtCssVariable.extend("--ft-chip-color",e.designSystemVariables.colorOnSurface),Si={backgroundColor:e.FtCssVariable.extend("--ft-chip-background-color",e.designSystemVariables.colorSurface),color:ki,fontSize:e.FtCssVariable.extend("--ft-chip-font-size",St.fontSize),iconSize:e.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:e.FtCssVariable.extend("--ft-chip-ripple-color",ki),horizontalPadding:e.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:e.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),opacityDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},zi=e.FtCssVariable.extend("--ft-chip-highlighted-color",e.FtCssVariable.extend("--ft-chip-color",e.designSystemVariables.colorOnPrimary)),Oi={backgroundColor:e.FtCssVariable.extend("--ft-chip-highlighted-background-color",e.FtCssVariable.extend("--ft-chip-background-color",e.designSystemVariables.colorPrimary)),color:zi,rippleColor:e.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",zi)},Bi=e.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Ci=e.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px");class Ei extends CustomEvent{constructor(){super("icon-click")}}class Ii extends e.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.icon=void 0,this.trailingIcon=!1}static get styles(){return[e.noTextSelect,i.css`
1282
+ `,yi([o.property({type:String})],ki.prototype,"icon",void 0),yi([o.property({type:String})],ki.prototype,"label",void 0),yi([o.property({type:Boolean,reflect:!0})],ki.prototype,"active",void 0),e.customElement("ft-accordion")(xi),e.customElement("ft-accordion-item")(ki);var Si=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const zi=e.FtCssVariable.extend("--ft-chip-color",e.designSystemVariables.colorOnSurface),Oi={backgroundColor:e.FtCssVariable.extend("--ft-chip-background-color",e.designSystemVariables.colorSurface),color:zi,fontSize:e.FtCssVariable.extend("--ft-chip-font-size",Ot.fontSize),iconSize:e.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:e.FtCssVariable.extend("--ft-chip-ripple-color",zi),horizontalPadding:e.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:e.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),opacityDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Bi=e.FtCssVariable.extend("--ft-chip-highlighted-color",e.FtCssVariable.extend("--ft-chip-color",e.designSystemVariables.colorOnPrimary)),Ci={backgroundColor:e.FtCssVariable.extend("--ft-chip-highlighted-background-color",e.FtCssVariable.extend("--ft-chip-background-color",e.designSystemVariables.colorPrimary)),color:Bi,rippleColor:e.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",Bi)},Ei=e.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Ii=e.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px");class Di extends CustomEvent{constructor(){super("icon-click")}}class Fi extends e.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.icon=void 0,this.trailingIcon=!1}static get styles(){return[e.noTextSelect,i.css`
1282
1283
  :host {
1283
1284
  display: inline-block;
1284
1285
  max-width: 100%;
@@ -1295,20 +1296,20 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1295
1296
  box-sizing: border-box;
1296
1297
  pointer-events: auto;
1297
1298
 
1298
- --ft-chip-internal-font-size: ${Si.fontSize};
1299
+ --ft-chip-internal-font-size: ${Oi.fontSize};
1299
1300
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1300
- ${e.setVariable(ze.size,Si.iconSize)};
1301
- --ft-chip-internal-vertical-padding: ${Si.verticalPadding};
1302
- --ft-chip-internal-horizontal-padding: ${Si.horizontalPadding};
1301
+ ${e.setVariable(Be.size,Oi.iconSize)};
1302
+ --ft-chip-internal-vertical-padding: ${Oi.verticalPadding};
1303
+ --ft-chip-internal-horizontal-padding: ${Oi.horizontalPadding};
1303
1304
  --ft-chip-internal-icon-padding: 3px;
1304
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Si.iconSize});
1305
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Oi.iconSize});
1305
1306
 
1306
- border: 1px solid ${Si.colorOutline};
1307
- color: ${Si.color};
1308
- ${e.setVariable(ie.color,Si.rippleColor)};
1307
+ border: 1px solid ${Oi.colorOutline};
1308
+ color: ${Oi.color};
1309
+ ${e.setVariable(se.color,Oi.rippleColor)};
1309
1310
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
1310
1311
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1311
- background-color: ${Si.backgroundColor};
1312
+ background-color: ${Oi.backgroundColor};
1312
1313
  line-height: var(--ft-chip-internal-content-height);
1313
1314
  }
1314
1315
 
@@ -1318,8 +1319,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1318
1319
 
1319
1320
  .ft-chip--dense {
1320
1321
  --ft-chip-internal-icon-padding: 3px;
1321
- --ft-chip-internal-vertical-padding: ${Ci};
1322
- --ft-chip-internal-horizontal-padding: ${Bi};
1322
+ --ft-chip-internal-vertical-padding: ${Ii};
1323
+ --ft-chip-internal-horizontal-padding: ${Ei};
1323
1324
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1324
1325
  }
1325
1326
 
@@ -1331,15 +1332,15 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1331
1332
  cursor: default;
1332
1333
  pointer-events: none;
1333
1334
  filter: grayscale(1);
1334
- opacity: ${Si.opacityDisabled};
1335
+ opacity: ${Oi.opacityDisabled};
1335
1336
  }
1336
1337
 
1337
1338
  .ft-chip--highlighted {
1338
1339
  border: none;
1339
1340
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1340
- background-color: ${Oi.backgroundColor};
1341
- ${e.setVariable(ie.color,Oi.rippleColor)};
1342
- color: ${Oi.color};
1341
+ background-color: ${Ci.backgroundColor};
1342
+ ${e.setVariable(se.color,Ci.rippleColor)};
1343
+ color: ${Ci.color};
1343
1344
  }
1344
1345
 
1345
1346
  .ft-chip--clickable {
@@ -1372,8 +1373,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1372
1373
  vertical-align: bottom;
1373
1374
  display: block;
1374
1375
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1375
- ${e.setVariable(St.fontSize,"var(--ft-chip-internal-font-size)")};
1376
- ${e.setVariable(St.lineHeight,"var(--ft-chip-internal-content-height)")};
1376
+ ${e.setVariable(Ot.fontSize,"var(--ft-chip-internal-font-size)")};
1377
+ ${e.setVariable(Ot.lineHeight,"var(--ft-chip-internal-content-height)")};
1377
1378
  }
1378
1379
 
1379
1380
  .ft-chip--safari-fix .ft-chip--label {
@@ -1427,7 +1428,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1427
1428
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
1428
1429
  <ft-icon variant="material">${this.internalIcon}</ft-icon>
1429
1430
  </div>
1430
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ei))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ei))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Ii.elementDefinitions={"ft-ripple":ce,"ft-typography":Gt,"ft-icon":Oe},wi([o.property({type:Boolean})],Ii.prototype,"highlighted",void 0),wi([o.property({type:Boolean})],Ii.prototype,"removable",void 0),wi([o.property({type:Boolean})],Ii.prototype,"disabled",void 0),wi([o.property({type:Boolean})],Ii.prototype,"clickable",void 0),wi([o.property({type:Boolean})],Ii.prototype,"iconClickable",void 0),wi([o.property({type:Boolean})],Ii.prototype,"dense",void 0),wi([o.property({type:Boolean})],Ii.prototype,"multiLine",void 0),wi([o.property({type:String})],Ii.prototype,"label",void 0),wi([o.property({type:String})],Ii.prototype,"icon",void 0),wi([o.property({type:Boolean})],Ii.prototype,"trailingIcon",void 0),wi([o.query("ft-typography slot")],Ii.prototype,"slottedContent",void 0),e.customElement("ft-chip")(Ii);var Di=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Fi={fontSize:e.FtCssVariable.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariable.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariable.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariable.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariable.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariable.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariable.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class Li extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
1431
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Di))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Di))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Fi.elementDefinitions={"ft-ripple":pe,"ft-typography":Jt,"ft-icon":Ce},Si([o.property({type:Boolean})],Fi.prototype,"highlighted",void 0),Si([o.property({type:Boolean})],Fi.prototype,"removable",void 0),Si([o.property({type:Boolean})],Fi.prototype,"disabled",void 0),Si([o.property({type:Boolean})],Fi.prototype,"clickable",void 0),Si([o.property({type:Boolean})],Fi.prototype,"iconClickable",void 0),Si([o.property({type:Boolean})],Fi.prototype,"dense",void 0),Si([o.property({type:Boolean})],Fi.prototype,"multiLine",void 0),Si([o.property({type:String})],Fi.prototype,"label",void 0),Si([o.property({type:String})],Fi.prototype,"icon",void 0),Si([o.property({type:Boolean})],Fi.prototype,"trailingIcon",void 0),Si([o.query("ft-typography slot")],Fi.prototype,"slottedContent",void 0),e.customElement("ft-chip")(Fi);var Li=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ji={fontSize:e.FtCssVariable.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariable.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariable.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariable.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariable.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariable.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariable.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class Mi extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
1431
1432
  <div class="${n.classMap(t)}">
1432
1433
  ${this.text?i.html`
1433
1434
  <div class="ft-input-label--text ft-typography--caption">
@@ -1436,7 +1437,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1436
1437
  </div>
1437
1438
  `:null}
1438
1439
  </div>
1439
- `}}Li.elementDefinitions={},Li.styles=[Kt,i.css`
1440
+ `}}Mi.elementDefinitions={},Mi.styles=[Vt,i.css`
1440
1441
  .ft-input-label {
1441
1442
  position: absolute;
1442
1443
  inset: 0;
@@ -1444,11 +1445,11 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1444
1445
  }
1445
1446
 
1446
1447
  .ft-input-label {
1447
- border-color: ${Fi.borderColor};
1448
+ border-color: ${ji.borderColor};
1448
1449
  }
1449
1450
 
1450
1451
  .ft-input-label.ft-input-label--in-error {
1451
- border-color: ${Fi.colorError}
1452
+ border-color: ${ji.colorError}
1452
1453
  }
1453
1454
 
1454
1455
  .ft-input-label:before,
@@ -1461,7 +1462,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1461
1462
  }
1462
1463
 
1463
1464
  .ft-input-label:before {
1464
- width: ${Fi.horizontalSpacing};
1465
+ width: ${ji.horizontalSpacing};
1465
1466
  flex-shrink: 0;
1466
1467
  }
1467
1468
 
@@ -1477,18 +1478,18 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1477
1478
  border-bottom-width: 1px;
1478
1479
  border-bottom-style: solid;
1479
1480
  border-color: inherit;
1480
- color: ${Fi.textColor};
1481
+ color: ${ji.textColor};
1481
1482
  transition: font-size 250ms, line-height 250ms, color 250ms;
1482
- ${e.setVariable(zt.fontSize,Fi.fontSize)};
1483
- ${e.setVariable(zt.lineHeight,Fi.fontSize)};
1483
+ ${e.setVariable(Bt.fontSize,ji.fontSize)};
1484
+ ${e.setVariable(Bt.lineHeight,ji.fontSize)};
1484
1485
  }
1485
1486
 
1486
1487
  .ft-input-label--in-error .ft-input-label--text {
1487
- color: ${Fi.colorError}
1488
+ color: ${ji.colorError}
1488
1489
  }
1489
1490
 
1490
1491
  .ft-input-label--disabled .ft-input-label--text {
1491
- color: ${Fi.disabledTextColor};
1492
+ color: ${ji.disabledTextColor};
1492
1493
  }
1493
1494
 
1494
1495
  .ft-input-label--hidden-text {
@@ -1504,17 +1505,17 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1504
1505
  overflow: hidden;
1505
1506
  white-space: nowrap;
1506
1507
  text-overflow: ellipsis;
1507
- padding: ${Fi.verticalSpacing} 4px;
1508
- margin: calc(${Fi.verticalSpacing} * -1) 0;
1508
+ padding: ${ji.verticalSpacing} 4px;
1509
+ margin: calc(${ji.verticalSpacing} * -1) 0;
1509
1510
  }
1510
1511
 
1511
1512
  .ft-input-label--raised .ft-input-label--text {
1512
- ${e.setVariable(zt.fontSize,Fi.raisedFontSize)};
1513
- ${e.setVariable(zt.lineHeight,Fi.raisedFontSize)};
1513
+ ${e.setVariable(Bt.fontSize,ji.raisedFontSize)};
1514
+ ${e.setVariable(Bt.lineHeight,ji.raisedFontSize)};
1514
1515
  }
1515
1516
 
1516
1517
  .ft-input-label--raised .ft-input-label--floating-text {
1517
- top: ${Fi.verticalSpacing};
1518
+ top: ${ji.verticalSpacing};
1518
1519
  }
1519
1520
 
1520
1521
  .ft-input-label--outlined .ft-input-label--text,
@@ -1527,27 +1528,27 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1527
1528
  .ft-input-label--outlined:before {
1528
1529
  border-left-width: 1px;
1529
1530
  border-left-style: solid;
1530
- border-radius: ${Fi.borderRadiusS} 0 0 ${Fi.borderRadiusS};
1531
+ border-radius: ${ji.borderRadiusS} 0 0 ${ji.borderRadiusS};
1531
1532
  }
1532
1533
 
1533
1534
  .ft-input-label--outlined:after {
1534
1535
  border-right-width: 1px;
1535
1536
  border-right-style: solid;
1536
- border-radius: 0 ${Fi.borderRadiusS} ${Fi.borderRadiusS} 0;
1537
+ border-radius: 0 ${ji.borderRadiusS} ${ji.borderRadiusS} 0;
1537
1538
  }
1538
1539
 
1539
1540
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
1540
1541
  padding: 2px 4px;
1541
- z-index: ${Fi.raisedZIndex};
1542
- background-color: ${Fi.colorSurface};
1543
- border-radius: ${Fi.borderRadiusS};
1542
+ z-index: ${ji.raisedZIndex};
1543
+ background-color: ${ji.colorSurface};
1544
+ border-radius: ${ji.borderRadiusS};
1544
1545
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
1545
1546
  }
1546
1547
 
1547
1548
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
1548
1549
  border-top: none;
1549
1550
  }
1550
- `],Di([o.property({type:String})],Li.prototype,"text",void 0),Di([o.property({type:Boolean})],Li.prototype,"raised",void 0),Di([o.property({type:Boolean})],Li.prototype,"outlined",void 0),Di([o.property({type:Boolean})],Li.prototype,"disabled",void 0),Di([o.property({type:Boolean})],Li.prototype,"error",void 0),e.customElement("ft-input-label")(Li);var ji=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Mi extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Mi.elementDefinitions={},ji([o.property({type:String})],Mi.prototype,"label",void 0),ji([o.property({type:Object,converter:t=>t})],Mi.prototype,"value",void 0),ji([o.property({type:Boolean,reflect:!0})],Mi.prototype,"selected",void 0);const Ai={labelSize:e.FtCssVariable.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariable.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariable.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:e.FtCssVariable.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariable.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariable.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariable.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class Ti extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,r,l;let a=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const h=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,p={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":a,"ft-select--has-option-selected":h,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html`
1551
+ `],Li([o.property({type:String})],Mi.prototype,"text",void 0),Li([o.property({type:Boolean})],Mi.prototype,"raised",void 0),Li([o.property({type:Boolean})],Mi.prototype,"outlined",void 0),Li([o.property({type:Boolean})],Mi.prototype,"disabled",void 0),Li([o.property({type:Boolean})],Mi.prototype,"error",void 0),e.customElement("ft-input-label")(Mi);var Ti=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ai extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return i.html``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ai.elementDefinitions={},Ti([o.property({type:String})],Ai.prototype,"label",void 0),Ti([o.property({type:Object,converter:t=>t})],Ai.prototype,"value",void 0),Ti([o.property({type:Boolean,reflect:!0})],Ai.prototype,"selected",void 0);const Pi={labelSize:e.FtCssVariable.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:e.FtCssVariable.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:e.FtCssVariable.create("--ft-select-vertical-spacing","SIZE","4px"),selectedOptionColor:e.FtCssVariable.extend("--ft-select-selected-option-color",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariable.extend("--ft-select-helper-color",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariable.extend("--ft-select-options-color",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariable.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class Ni extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,r,l;let a=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const h=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,p={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":a,"ft-select--has-option-selected":h,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return i.html`
1551
1552
  <div class="${n.classMap(p)}" part="container">
1552
1553
  <div class="ft-select--main-panel" part="main-panel">
1553
1554
  <ft-input-label text="${this.label}"
@@ -1594,7 +1595,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1594
1595
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
1595
1596
  ${t.label}
1596
1597
  </div>
1597
- `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ti.elementDefinitions={"ft-input-label":Li,"ft-typography":Gt,"ft-ripple":ce,"ft-icon":Oe},Ti.styles=[Ht,Kt,i.css`
1598
+ `}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,s,n;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ni.elementDefinitions={"ft-input-label":Mi,"ft-typography":Jt,"ft-ripple":pe,"ft-icon":Ce},Ni.styles=[qt,Vt,i.css`
1598
1599
  *:focus {
1599
1600
  outline: none;
1600
1601
  }
@@ -1608,7 +1609,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1608
1609
  .ft-select--main-panel {
1609
1610
  position: relative;
1610
1611
  display: flex;
1611
- height: calc(4 * ${Ai.verticalSpacing} + ${Ai.labelSize} + ${Ai.selectedOptionSize});
1612
+ height: calc(4 * ${Pi.verticalSpacing} + ${Pi.labelSize} + ${Pi.selectedOptionSize});
1612
1613
  }
1613
1614
 
1614
1615
  .ft-select--input-panel {
@@ -1620,14 +1621,14 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1620
1621
  padding-left: 16px;
1621
1622
  padding-right: 8px;
1622
1623
  gap: 8px;
1623
- color: ${Ai.selectedOptionColor};
1624
- ${e.setVariable(ie.color,Ai.selectedOptionColor)};
1624
+ color: ${Pi.selectedOptionColor};
1625
+ ${e.setVariable(se.color,Pi.selectedOptionColor)};
1625
1626
  }
1626
1627
 
1627
1628
  .ft-select--input-panel,
1628
1629
  .ft-select--option {
1629
- ${e.setVariable(ie.opacityContentOnSurfaceHover,"0.08")};
1630
- ${e.setVariable(ie.opacityContentOnSurfacePressed,"0.04")};
1630
+ ${e.setVariable(se.opacityContentOnSurfaceHover,"0.08")};
1631
+ ${e.setVariable(se.opacityContentOnSurfacePressed,"0.04")};
1631
1632
  }
1632
1633
 
1633
1634
  .ft-select--input-panel > *:not(ft-ripple),
@@ -1637,7 +1638,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1637
1638
 
1638
1639
  .ft-select--disabled .ft-select--input-panel,
1639
1640
  .ft-select--disabled .ft-select--option {
1640
- color: ${Ai.colorOnSurfaceDisabled};
1641
+ color: ${Pi.colorOnSurfaceDisabled};
1641
1642
  }
1642
1643
 
1643
1644
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -1646,18 +1647,18 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1646
1647
  }
1647
1648
 
1648
1649
  ft-input-label {
1649
- ${e.setVariable(Fi.fontSize,Ai.selectedOptionSize)};
1650
- ${e.setVariable(Fi.raisedFontSize,Ai.labelSize)};
1651
- ${e.setVariable(Fi.verticalSpacing,Ai.verticalSpacing)};
1650
+ ${e.setVariable(ji.fontSize,Pi.selectedOptionSize)};
1651
+ ${e.setVariable(ji.raisedFontSize,Pi.labelSize)};
1652
+ ${e.setVariable(ji.verticalSpacing,Pi.verticalSpacing)};
1652
1653
  }
1653
1654
 
1654
1655
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
1655
- color: ${Ai.colorPrimary};
1656
+ color: ${Pi.colorPrimary};
1656
1657
  }
1657
1658
 
1658
1659
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
1659
- ${e.setVariable(Fi.borderColor,Ai.colorPrimary)};
1660
- ${e.setVariable(Fi.textColor,Ai.colorPrimary)};
1660
+ ${e.setVariable(ji.borderColor,Pi.colorPrimary)};
1661
+ ${e.setVariable(ji.textColor,Pi.colorPrimary)};
1661
1662
  }
1662
1663
 
1663
1664
  .ft-select--selected-option {
@@ -1667,12 +1668,12 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1667
1668
  overflow: hidden;
1668
1669
  white-space: nowrap;
1669
1670
  text-overflow: ellipsis;
1670
- ${e.setVariable(kt.fontSize,Ai.selectedOptionSize)};
1671
- ${e.setVariable(kt.lineHeight,Ai.selectedOptionSize)};
1671
+ ${e.setVariable(zt.fontSize,Pi.selectedOptionSize)};
1672
+ ${e.setVariable(zt.lineHeight,Pi.selectedOptionSize)};
1672
1673
  }
1673
1674
 
1674
1675
  .ft-select--in-error .ft-select--selected-option {
1675
- color: ${Ai.colorError};
1676
+ color: ${Pi.colorError};
1676
1677
  }
1677
1678
 
1678
1679
  ft-icon {
@@ -1684,16 +1685,16 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1684
1685
  }
1685
1686
 
1686
1687
  .ft-select--filled .ft-select--input-panel {
1687
- border-radius: ${Ai.borderRadiusS} ${Ai.borderRadiusS} 0 0;
1688
+ border-radius: ${Pi.borderRadiusS} ${Pi.borderRadiusS} 0 0;
1688
1689
  }
1689
1690
 
1690
1691
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
1691
1692
  align-self: stretch;
1692
- padding-top: calc(${Ai.labelSize} + 2 * ${Ai.verticalSpacing});
1693
+ padding-top: calc(${Pi.labelSize} + 2 * ${Pi.verticalSpacing});
1693
1694
  }
1694
1695
 
1695
1696
  .ft-select--outlined .ft-select--input-panel {
1696
- border-radius: ${Ai.borderRadiusS};
1697
+ border-radius: ${Pi.borderRadiusS};
1697
1698
  }
1698
1699
 
1699
1700
  .ft-select--options {
@@ -1702,10 +1703,10 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1702
1703
  top: 100%;
1703
1704
  left: 0;
1704
1705
  right: 0;
1705
- color: ${Ai.optionsColor};
1706
- background: ${Ai.colorSurface};
1707
- z-index: ${Ai.optionsZIndex};
1708
- box-shadow: ${Ai.elevation02};
1706
+ color: ${Pi.optionsColor};
1707
+ background: ${Pi.colorSurface};
1708
+ z-index: ${Pi.optionsZIndex};
1709
+ box-shadow: ${Pi.elevation02};
1709
1710
  }
1710
1711
 
1711
1712
  .ft-select--fixed .ft-select--options {
@@ -1728,13 +1729,13 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1728
1729
 
1729
1730
  .ft-select--helper-text {
1730
1731
  padding: 0 12px 0 16px;
1731
- color: ${Ai.helperColor};
1732
+ color: ${Pi.helperColor};
1732
1733
  }
1733
1734
 
1734
1735
  .ft-select--in-error .ft-select--helper-text {
1735
- color: ${Ai.colorError};
1736
+ color: ${Pi.colorError};
1736
1737
  }
1737
- `],ji([o.property({type:String})],Ti.prototype,"label",void 0),ji([o.property({type:String})],Ti.prototype,"helper",void 0),ji([o.property({type:Boolean})],Ti.prototype,"outlined",void 0),ji([o.property({type:Boolean})],Ti.prototype,"disabled",void 0),ji([o.property({type:Boolean})],Ti.prototype,"error",void 0),ji([o.property({type:Boolean})],Ti.prototype,"fixedMenuPosition",void 0),ji([o.property({type:Array})],Ti.prototype,"options",void 0),ji([o.state()],Ti.prototype,"selectedOption",void 0),ji([o.state()],Ti.prototype,"optionsDisplayed",void 0),ji([o.state()],Ti.prototype,"focusOptions",void 0),ji([o.query(".ft-select")],Ti.prototype,"container",void 0),ji([o.query(".ft-select--options")],Ti.prototype,"optionsMenu",void 0),ji([o.query(".ft-select--input-panel")],Ti.prototype,"mainPanel",void 0),ji([o.query(".ft-select--option:first-child")],Ti.prototype,"firstOption",void 0),ji([o.query(".ft-select--option:focus")],Ti.prototype,"focusedOption",void 0),ji([o.query(".ft-select--option.ft-select--option-selected")],Ti.prototype,"selectedOptionElement",void 0),ji([o.query(".ft-select--option:last-child")],Ti.prototype,"lastOption",void 0),ji([o.query("slot")],Ti.prototype,"optionsSlot",void 0),e.customElement("ft-select")(Ti),e.customElement("ft-select-option")(Mi);const Ni={height:e.FtCssVariable.create("--ft-search-bar-height","SIZE","38px"),borderRadius:e.FtCssVariable.extend("--ft-search-bar-border-radius",e.designSystemVariables.borderRadiusS),mobileOpenPosition:e.FtCssVariable.create("--ft-search-bar-mobile-open-position","POSITION","fixed"),mobileOpenTop:e.FtCssVariable.create("--ft-search-bar-mobile-open-top","SIZE","0"),mobileOpenBottom:e.FtCssVariable.create("--ft-search-bar-mobile-open-bottom","SIZE","0"),mobileOpenLeft:e.FtCssVariable.create("--ft-search-bar-mobile-open-left","SIZE","0"),mobileOpenRight:e.FtCssVariable.create("--ft-search-bar-mobile-open-right","SIZE","0"),floatingZIndex:e.FtCssVariable.create("--ft-search-bar-floating-components-z-index","NUMBER","2"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurface:e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),buttonColor:e.FtCssVariable.external(Ee.color,"Button"),buttonRippleColor:e.FtCssVariable.external(Ee.rippleColor,"Button")},Pi=i.css`
1738
+ `],Ti([o.property({type:String})],Ni.prototype,"label",void 0),Ti([o.property({type:String})],Ni.prototype,"helper",void 0),Ti([o.property({type:Boolean})],Ni.prototype,"outlined",void 0),Ti([o.property({type:Boolean})],Ni.prototype,"disabled",void 0),Ti([o.property({type:Boolean})],Ni.prototype,"error",void 0),Ti([o.property({type:Boolean})],Ni.prototype,"fixedMenuPosition",void 0),Ti([o.property({type:Array})],Ni.prototype,"options",void 0),Ti([o.state()],Ni.prototype,"selectedOption",void 0),Ti([o.state()],Ni.prototype,"optionsDisplayed",void 0),Ti([o.state()],Ni.prototype,"focusOptions",void 0),Ti([o.query(".ft-select")],Ni.prototype,"container",void 0),Ti([o.query(".ft-select--options")],Ni.prototype,"optionsMenu",void 0),Ti([o.query(".ft-select--input-panel")],Ni.prototype,"mainPanel",void 0),Ti([o.query(".ft-select--option:first-child")],Ni.prototype,"firstOption",void 0),Ti([o.query(".ft-select--option:focus")],Ni.prototype,"focusedOption",void 0),Ti([o.query(".ft-select--option.ft-select--option-selected")],Ni.prototype,"selectedOptionElement",void 0),Ti([o.query(".ft-select--option:last-child")],Ni.prototype,"lastOption",void 0),Ti([o.query("slot")],Ni.prototype,"optionsSlot",void 0),e.customElement("ft-select")(Ni),e.customElement("ft-select-option")(Ai);const Ri={height:e.FtCssVariable.create("--ft-search-bar-height","SIZE","38px"),borderRadius:e.FtCssVariable.extend("--ft-search-bar-border-radius",e.designSystemVariables.borderRadiusS),mobileOpenPosition:e.FtCssVariable.create("--ft-search-bar-mobile-open-position","POSITION","fixed"),mobileOpenTop:e.FtCssVariable.create("--ft-search-bar-mobile-open-top","SIZE","0"),mobileOpenBottom:e.FtCssVariable.create("--ft-search-bar-mobile-open-bottom","SIZE","0"),mobileOpenLeft:e.FtCssVariable.create("--ft-search-bar-mobile-open-left","SIZE","0"),mobileOpenRight:e.FtCssVariable.create("--ft-search-bar-mobile-open-right","SIZE","0"),floatingZIndex:e.FtCssVariable.create("--ft-search-bar-floating-components-z-index","NUMBER","2"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurface:e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),elevation02:e.FtCssVariable.external(e.designSystemVariables.elevation02,"Design system"),buttonColor:e.FtCssVariable.external(De.color,"Button"),buttonRippleColor:e.FtCssVariable.external(De.rippleColor,"Button")},_i=i.css`
1738
1739
  * {
1739
1740
  box-sizing: border-box;
1740
1741
  }
@@ -1743,7 +1744,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1743
1744
  display: flex;
1744
1745
  flex-direction: column;
1745
1746
  gap: 8px;
1746
- color: ${Ni.colorOnSurface};
1747
+ color: ${Ri.colorOnSurface};
1747
1748
  outline: none;
1748
1749
  }
1749
1750
 
@@ -1752,14 +1753,14 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1752
1753
  }
1753
1754
 
1754
1755
  .ft-search-bar--mobile-menu-open {
1755
- position: ${Ni.mobileOpenPosition};
1756
- top: ${Ni.mobileOpenTop};
1757
- bottom: ${Ni.mobileOpenBottom};
1758
- left: ${Ni.mobileOpenLeft};
1759
- right: ${Ni.mobileOpenRight};
1760
- z-index: ${Ni.floatingZIndex};
1756
+ position: ${Ri.mobileOpenPosition};
1757
+ top: ${Ri.mobileOpenTop};
1758
+ bottom: ${Ri.mobileOpenBottom};
1759
+ left: ${Ri.mobileOpenLeft};
1760
+ right: ${Ri.mobileOpenRight};
1761
+ z-index: ${Ri.floatingZIndex};
1761
1762
  padding: 16px;
1762
- background: ${Ni.colorSurface};
1763
+ background: ${Ri.colorSurface};
1763
1764
  }
1764
1765
 
1765
1766
  .ft-search-bar {
@@ -1767,15 +1768,15 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1767
1768
  display: flex;
1768
1769
  flex-direction: row;
1769
1770
  align-items: center;
1770
- height: ${Ni.height};
1771
+ height: ${Ri.height};
1771
1772
 
1772
- background: ${Ni.colorSurface};
1773
- border: 1px solid ${Ni.colorOutline};
1774
- border-radius: ${Ni.borderRadius};
1773
+ background: ${Ri.colorSurface};
1774
+ border: 1px solid ${Ri.colorOutline};
1775
+ border-radius: ${Ri.borderRadius};
1775
1776
  }
1776
1777
 
1777
1778
  .ft-search-bar--floating-panel-open .ft-search-bar {
1778
- border-radius: ${Ni.borderRadius} ${Ni.borderRadius} 0 0;
1779
+ border-radius: ${Ri.borderRadius} ${Ri.borderRadius} 0 0;
1779
1780
  }
1780
1781
 
1781
1782
  .ft-search-bar--input-container {
@@ -1793,7 +1794,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1793
1794
  align-self: stretch;
1794
1795
  display: grid;
1795
1796
  padding: 0 8px;
1796
- border-radius: ${Ni.borderRadius};
1797
+ border-radius: ${Ri.borderRadius};
1797
1798
  }
1798
1799
 
1799
1800
  .ft-search-bar--dense .ft-search-bar--input-outline {
@@ -1802,7 +1803,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1802
1803
  }
1803
1804
 
1804
1805
  .ft-search-bar--input-container:focus-within .ft-search-bar--input-outline {
1805
- outline: 2px solid ${Ni.colorPrimary};
1806
+ outline: 2px solid ${Ri.colorPrimary};
1806
1807
  }
1807
1808
 
1808
1809
  .ft-search-bar--input {
@@ -1834,8 +1835,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1834
1835
  }
1835
1836
 
1836
1837
  .ft-search-bar--left-action {
1837
- ${e.setVariable(Ee.borderRadius,i.css`calc(${Ni.borderRadius} - 1px) 0 0 calc(${Ni.borderRadius} - 1px)`)};
1838
- border-right: 1px solid ${Ni.colorOutline};
1838
+ ${e.setVariable(De.borderRadius,i.css`calc(${Ri.borderRadius} - 1px) 0 0 calc(${Ri.borderRadius} - 1px)`)};
1839
+ border-right: 1px solid ${Ri.colorOutline};
1839
1840
  height: 100%;
1840
1841
  }
1841
1842
 
@@ -1844,7 +1845,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1844
1845
  }
1845
1846
 
1846
1847
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
1847
- ${e.setVariable(Ee.borderRadius,i.css`calc(${Ni.borderRadius} - 1px) 0 0 0`)};
1848
+ ${e.setVariable(De.borderRadius,i.css`calc(${Ri.borderRadius} - 1px) 0 0 0`)};
1848
1849
  }
1849
1850
 
1850
1851
  .ft-search-bar .ft-search-bar--launch-search,
@@ -1854,13 +1855,13 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1854
1855
 
1855
1856
  .ft-search-bar--separator {
1856
1857
  height: 20px;
1857
- border-right: 1px solid ${Ni.colorOutline};
1858
+ border-right: 1px solid ${Ri.colorOutline};
1858
1859
  }
1859
1860
 
1860
1861
  .ft-search-bar--left-action.ft-search-bar--content-locale {
1861
- ${e.setVariable(Fi.borderColor,"transparent")};
1862
- ${e.setVariable(Fi.borderRadiusS,i.css`calc(${Ni.borderRadius} - 1px)`)};
1863
- ${e.setVariable(Ai.selectedOptionColor,Ni.buttonColor)};
1862
+ ${e.setVariable(ji.borderColor,"transparent")};
1863
+ ${e.setVariable(ji.borderRadiusS,i.css`calc(${Ri.borderRadius} - 1px)`)};
1864
+ ${e.setVariable(Pi.selectedOptionColor,Ri.buttonColor)};
1864
1865
  }
1865
1866
 
1866
1867
  .ft-search-bar--left-action.ft-search-bar--content-locale,
@@ -1877,17 +1878,17 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1877
1878
  }
1878
1879
 
1879
1880
  .ft-search-bar--left-action.ft-search-bar--content-locale::part(selected-value) {
1880
- border-radius: calc(${Ni.borderRadius} - 1px) 0 0 calc(${Ni.borderRadius} - 1px);
1881
+ border-radius: calc(${Ri.borderRadius} - 1px) 0 0 calc(${Ri.borderRadius} - 1px);
1881
1882
  }
1882
1883
 
1883
- `,Ri=i.css`
1884
+ `,Ui=i.css`
1884
1885
  .ft-search-bar--floating-panel .ft-search-bar--presets {
1885
1886
  margin-right: auto;
1886
1887
  }
1887
1888
 
1888
1889
  .ft-search-bar--floating-panel .ft-search-bar--presets {
1889
1890
  min-width: 250px;
1890
- ${e.setVariable(Ai.optionsZIndex,"2")};
1891
+ ${e.setVariable(Pi.optionsZIndex,"2")};
1891
1892
  }
1892
1893
 
1893
1894
  .ft-search-bar--floating-panel {
@@ -1979,7 +1980,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1979
1980
 
1980
1981
  .ft-search-bar--filter-label > :last-child {
1981
1982
  flex-shrink: 1;
1982
- color: ${Ni.colorOnSurfaceMedium};
1983
+ color: ${Ri.colorOnSurfaceMedium};
1983
1984
  }
1984
1985
 
1985
1986
  ft-accordion-item::part(toggle) {
@@ -1999,7 +2000,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
1999
2000
  .ft-search-bar--floating-panel .ft-search-bar--launch-search {
2000
2001
  margin: 0;
2001
2002
  }
2002
- `,_i=i.css`
2003
+ `,Zi=i.css`
2003
2004
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
2004
2005
  flex-shrink: 0;
2005
2006
  display: flex;
@@ -2010,7 +2011,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2010
2011
 
2011
2012
  ft-snap-scroll.ft-search-bar--selected-filters {
2012
2013
  overflow: hidden;
2013
- ${e.setVariable(ti.gap,"4px")};
2014
+ ${e.setVariable(ii.gap,"4px")};
2014
2015
  }
2015
2016
 
2016
2017
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -2018,8 +2019,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2018
2019
  }
2019
2020
 
2020
2021
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
2021
- ${e.setVariable(Si.iconSize,"17px")};
2022
- ${e.setVariable(Si.fontSize,"12px")};
2022
+ ${e.setVariable(Oi.iconSize,"17px")};
2023
+ ${e.setVariable(Oi.fontSize,"12px")};
2023
2024
  }
2024
2025
 
2025
2026
  .ft-search-bar--selected-filters * {
@@ -2029,7 +2030,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2029
2030
  .ft-search-bar--selected-filters ft-chip {
2030
2031
  flex-grow: 0;
2031
2032
  }
2032
- `,Ui=i.css`
2033
+ `,Hi=i.css`
2033
2034
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2034
2035
  flex-grow: 1;
2035
2036
  flex-shrink: 1;
@@ -2038,7 +2039,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2038
2039
  }
2039
2040
 
2040
2041
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
2041
- border-top: 1px solid ${Ni.colorOutline};
2042
+ border-top: 1px solid ${Ri.colorOutline};
2042
2043
  }
2043
2044
 
2044
2045
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
@@ -2053,10 +2054,10 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2053
2054
  left: -1px;
2054
2055
  right: -1px;
2055
2056
  display: none;
2056
- background: ${Ni.colorSurface};
2057
- border: 1px solid ${Ni.colorOutline};
2058
- border-radius: 0 0 ${Ni.borderRadius} ${Ni.borderRadius};
2059
- box-shadow: ${Ni.elevation02};
2057
+ background: ${Ri.colorSurface};
2058
+ border: 1px solid ${Ri.colorOutline};
2059
+ border-radius: 0 0 ${Ri.borderRadius} ${Ri.borderRadius};
2060
+ box-shadow: ${Ri.elevation02};
2060
2061
  outline: none;
2061
2062
  }
2062
2063
 
@@ -2071,7 +2072,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2071
2072
  .ft-search-bar--no-suggestions {
2072
2073
  text-align: center;
2073
2074
  padding: 8px;
2074
- color: ${Ni.colorOnSurface};
2075
+ color: ${Ri.colorOnSurface};
2075
2076
  }
2076
2077
 
2077
2078
  .ft-search-bar--suggestion {
@@ -2082,7 +2083,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2082
2083
  padding: 8px;
2083
2084
  gap: 8px;
2084
2085
  cursor: pointer;
2085
- color: ${Ni.colorOnSurface};
2086
+ color: ${Ri.colorOnSurface};
2086
2087
  min-height: 52px;
2087
2088
  }
2088
2089
 
@@ -2099,7 +2100,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2099
2100
  }
2100
2101
 
2101
2102
  .ft-search-bar--recent-search + .ft-search-bar--suggestion:not(.ft-search-bar--recent-search) {
2102
- border-top: 1px solid ${Ni.colorOutline};
2103
+ border-top: 1px solid ${Ri.colorOutline};
2103
2104
  }
2104
2105
 
2105
2106
  .ft-search-bar--suggestion ft-typography {
@@ -2107,7 +2108,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2107
2108
  flex-grow: 1;
2108
2109
  flex-shrink: 1;
2109
2110
  }
2110
- `;var Zi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const Hi={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",searchButton:"Search",noSuggestions:"No results found…",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Preset",removeRecentSearch:"Remove",back:"Back"};class Ki extends CustomEvent{constructor(t){super("launch-search",{detail:t})}}class qi extends CustomEvent{constructor(t){super("change",{detail:t})}}class Vi extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(Hi,{}),this.displayedFilters=[],this.presets=[],this.searchRequestSerializer=t=>function(t,e){var i;const o=new URLSearchParams({"content-lang":null!==(i=e.contentLocale)&&void 0!==i?i:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");o.append("filters",t)}return new URL(`${t}/search/all?${o.toString()}`).href}(this.baseUrl,t),this.searchFilters=[],this.sizeCategory=l.S,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.knownFacetLabels={},this.query="",this.suggestions=[],this.suggestionsLoaded=!0,this.recentSearches=[],this.updateFacetsDebouncer=new e.Debouncer(500),this.suggestDebouncer=new e.Debouncer(300),this.facetsLoaded=!1,this.closeFloatingContainer=t=>{this.isMobile||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e)))))}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}get isMobile(){return this.sizeCategory===l.S}get hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets.length>0}get hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--dense":!this.isMobile&&this.dense,"ft-search-bar--mobile":this.isMobile,"ft-search-bar--desktop":!this.isMobile,"ft-search-bar--floating-panel-open":!this.isMobile&&this.displayFacets,"ft-search-bar--mobile-menu-open":this.mobileMenuOpen};return i.html`
2111
+ `;var Ki=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const qi={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",searchButton:"Search",noSuggestions:"No results found…",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Preset",removeRecentSearch:"Remove",back:"Back"};class Vi extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class Wi extends CustomEvent{constructor(t){super("change",{detail:t})}}class Gi extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(qi,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var i;const o=new URLSearchParams({"content-lang":null!==(i=e.contentLocale)&&void 0!==i?i:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");o.append("filters",t)}return new URL(`${t}/search/all?${o.toString()}`).href}(this.baseUrl,t),this.searchFilters=[],this.sizeCategory=l.S,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.knownFacetLabels={},this.query="",this.suggestions=[],this.suggestionsLoaded=!0,this.recentSearches=[],this.updateFacetsDebouncer=new e.Debouncer(500),this.suggestDebouncer=new e.Debouncer(300),this.facetsLoaded=!1,this.closeFloatingContainer=t=>{this.isMobile||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e)))))}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}get isMobile(){return this.sizeCategory===l.S}get hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}get hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--dense":!this.isMobile&&this.dense,"ft-search-bar--mobile":this.isMobile,"ft-search-bar--desktop":!this.isMobile,"ft-search-bar--floating-panel-open":!this.isMobile&&this.displayFacets,"ft-search-bar--mobile-menu-open":this.mobileMenuOpen};return i.html`
2111
2112
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2112
2113
  <div class="${n.classMap(t)}" part="container" tabindex="-1">
2113
2114
  ${this.isMobile?this.renderMobileSearchBar():this.renderDesktopSearchBar()}
@@ -2179,12 +2180,12 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2179
2180
  ></ft-filter>
2180
2181
  </ft-accordion-item>
2181
2182
  `:null}
2182
- ${s.repeat(this.facets,(t=>t.key),(t=>{const e=Qt(t);return i.html`
2183
+ ${s.repeat(this.facets,(t=>t.key),(t=>{const e=ee(t);return i.html`
2183
2184
  <ft-accordion-item data-facet-key="${t.key}">
2184
2185
  <div class="ft-search-bar--filter-label" slot="toggle">
2185
2186
  <ft-typography variant="button">${t.label}</ft-typography>
2186
2187
  <ft-typography variant="body2">
2187
- ${function(t){return Xt(t.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).filter((t=>t.selected)).map((t=>t.label))}(e).join(", ")}
2188
+ ${function(t){return Yt(t.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).filter((t=>t.selected)).map((t=>t.label))}(e).join(", ")}
2188
2189
  </ft-typography>
2189
2190
  </div>
2190
2191
  <ft-filter
@@ -2275,7 +2276,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2275
2276
  @click=${this.launchSearch}
2276
2277
  ></ft-button>
2277
2278
  </div>
2278
- `}renderFacetsActions(){return i.html`
2279
+ `}renderFacetsActions(){var t;return i.html`
2279
2280
  <div class="ft-search-bar--facets-actions">
2280
2281
  ${this.hasPresets?i.html`
2281
2282
  <ft-select
@@ -2284,7 +2285,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2284
2285
  label="${this.labelResolver.resolve("presetsSelector")}"
2285
2286
  outlined
2286
2287
  @change=${t=>this.selectedPreset=t.detail}>
2287
- ${s.repeat(this.presets,(t=>t.name),(t=>i.html`
2288
+ ${s.repeat(null!==(t=this.presets)&&void 0!==t?t:[],(t=>t.name),(t=>i.html`
2288
2289
  <ft-select-option value="${t.name}"
2289
2290
  label="${t.name}"
2290
2291
  ?selected=${t.name===this.selectedPreset}>
@@ -2313,7 +2314,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2313
2314
  @change=${t=>this.contentLocale=t.detail[0]}
2314
2315
  ></ft-filter>
2315
2316
  `:i.nothing}
2316
- ${s.repeat(this.facets,(t=>t.key),(t=>{const e=Qt(t),o=e.options.some((t=>{var e,i;return(null!==(i=null===(e=t.subOptions)||void 0===e?void 0:e.length)&&void 0!==i?i:0)>0}));return i.html`
2317
+ ${s.repeat(this.facets,(t=>t.key),(t=>{const e=ee(t),o=e.options.some((t=>{var e,i;return(null!==(i=null===(e=t.subOptions)||void 0===e?void 0:e.length)&&void 0!==i?i:0)>0}));return i.html`
2317
2318
  <ft-filter
2318
2319
  class="${o?"ft-search-bar--hierarchical-filter":""}"
2319
2320
  part="filters"
@@ -2339,7 +2340,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2339
2340
  ${this.getLocaleLabel(this.contentLocale)}
2340
2341
  </ft-chip>
2341
2342
  `:null}
2342
- ${s.repeat(this.facets,(t=>t.key),(e=>{const o=function(t){return Xt(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}(e);return s.repeat(o,(s=>{let n=e.label+": "+function(t){return Jt(t).split("|").join(" > ")}(s);const r=i.html`
2343
+ ${s.repeat(this.facets,(t=>t.key),(e=>{const o=function(t){return Yt(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}(e);return s.repeat(o,(s=>{let n=e.label+": "+function(t){return Qt(t).split("|").join(" > ")}(s);const r=i.html`
2343
2344
  <ft-chip
2344
2345
  part="selected-filters"
2345
2346
  ?dense=${this.dense&&!this.isMobile}
@@ -2350,7 +2351,7 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2350
2351
  title=${t?n:i.nothing}
2351
2352
  @click=${()=>this.openMobileFilters(e.key)}
2352
2353
  @icon-click=${()=>this.setFilter(e.key,o.filter((t=>t!==s)))}>
2353
- ${function(t){return Jt(t).split("|").pop()}(s)}
2354
+ ${function(t){return Qt(t).split("|").pop()}(s)}
2354
2355
  </ft-chip>
2355
2356
  `;return t?r:i.html`
2356
2357
  <ft-tooltip inline text="${n}">
@@ -2413,8 +2414,8 @@ const K=t=>({_$litStatic$:t}),q=new Map,V=(t=>(e,...i)=>{var o;const s=i.length;
2413
2414
  </ft-typography>
2414
2415
  `:null}
2415
2416
  </div>
2416
- `}getIcon(t){const e="DOCUMENT"===t.type?ke.file_format:ke.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?ye.BOOK:ye.ARTICLE;break;case"DOCUMENT":o=function(t,e){var i,o,s,n;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[r,l]=((null!==(i=we.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(n=null!==(s=null!==(o=$e.get(l))&&void 0!==o?o:$e.get(e))&&void 0!==s?s:$e.get(r))&&void 0!==n?n:me.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=ye.TOPICS}return i.html`
2417
+ `}getIcon(t){const e="DOCUMENT"===t.type?ze.file_format:ze.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?$e.BOOK:$e.ARTICLE;break;case"DOCUMENT":o=function(t,e){var i,o,s,n;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[r,l]=((null!==(i=Se.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(n=null!==(s=null!==(o=ke.get(l))&&void 0!==o?o:ke.get(e))&&void 0!==s?s:ke.get(r))&&void 0!==n?n:we.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=$e.TOPICS}return i.html`
2417
2418
  <ft-icon variant="${e}" part="suggestion-icon">
2418
2419
  ${o}
2419
2420
  </ft-icon>
2420
- `}openMobileFilters(t){this.isMobile&&(this.mobileMenuOpen=!0,this.displayFacets=!0,this.scrollToFacet=t)}async firstUpdated(t){var e,i;super.firstUpdated(t),this.initApi(),this.availableContentLocales=null!==(i=await(null===(e=this.api)||void 0===e?void 0:e.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[]))))&&void 0!==i?i:[]}update(t){var i,o,s;if(t.has("labels")&&(this.labelResolver=new e.ParametrizedLabelResolver(Hi,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const e=t=>this.availableContentLocales.some((e=>e.lang===t));e(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&e(t.get("contentLocale"))?t.get("contentLocale"):null===(i=this.availableContentLocales[0])||void 0===i?void 0:i.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.recentSearches=JSON.parse(null!==(o=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==o?o:"[]")),t.has("selectedPreset")){const t=this.presets.find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(s=this.presets.find((t=>this.compareRequests(t,this.request))))||void 0===s?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&this.setApi(),["uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.updateSuggestions(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchEvent(new qi(this.request))}contentAvailableCallback(t){var e,i,o;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(i=this.scrollingFiltersContainer)||void 0===i||i.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.setApi(),setTimeout((()=>this.initApi()),100))}setApi(){this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{var t,e;this.facets=null!==(e=await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets)).catch((()=>[]))))&&void 0!==e?e:[],this.facets.forEach((t=>this.knownFacetLabels[t.key]=t.label)),this.facetsLoaded=!0}))):this.facets=[]}updateSuggestions(){this.suggestionsLoaded=!1,this.suggestDebouncer.run((async()=>{this.suggestions=this.api&&this.query.length>2?await this.api.getSuggestions(this.suggestRequest).then((t=>t.suggestions)).catch((()=>[])):[],this.suggestionsLoaded=!0}))}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.query=e.value,"Enter"===t.key&&this.launchSearch()}onSearchBarKeyDown(t){var e,i;switch(t.key){case"Escape":this.mobileMenuOpen=!1,null===(e=this.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),null===(i=this.firstSuggestion)||void 0===i||i.focus()}}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}onSuggestClick(t,e){t.ctrlKey||t.metaKey||this.onSuggestSelected(t,e)}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),this.setQuery(e),this.launchSearch()}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new Ki(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}saveRecentSearches(){window.localStorage.setItem(this.recentSearchesStorageKey,JSON.stringify(this.recentSearches))}connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}getLocaleLabel(t){var e;return null!==(e=this.availableContentLocales.filter((e=>{var i;return(null!==(i=e.lang)&&void 0!==i?i:"").toLowerCase()===(null!=t?t:"").toLowerCase()})).map((t=>t.label)).pop())&&void 0!==e?e:t}setFilter(t,e){let i=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((i=>{i.key===t&&Xt(i.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=e.includes(t.value)))})),e.length&&i.push({key:t,negative:!1,values:e}),this.searchFilters=i,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>Xt(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}removeRecentSearch(t,e){var i,o,s,n;t.preventDefault(),t.stopPropagation();const r=null!==(n=null!==(o=null===(i=this.focusedSuggestion)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:null===(s=this.focusedSuggestion)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.input;null==r||r.focus(),this.recentSearches=this.recentSearches.filter((t=>t.toLowerCase()!==e.toLowerCase())),this.saveRecentSearches()}onSuggestKeyDown(t){var e,i,o,s,n,r;switch(t.key){case"ArrowUp":null===(o=null!==(i=null===(e=this.focusedSuggestion)||void 0===e?void 0:e.previousElementSibling)&&void 0!==i?i:this.lastSuggestion)||void 0===o||o.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(r=null!==(n=null===(s=this.focusedSuggestion)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstSuggestion)||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation()}}}Vi.elementDefinitions={"ft-accordion":vi,"ft-accordion-item":$i,"ft-button":Le,"ft-chip":Ii,"ft-filter":fi,"ft-filter-option":ui,"ft-icon":Oe,"ft-ripple":ce,"ft-select":Ti,"ft-select-option":Mi,"ft-size-watcher":p,"ft-snap-scroll":ii,"ft-tooltip":ve,"ft-typography":Gt},Vi.styles=[Ht,Pi,Ri,_i,Ui],Zi([o.property({type:Boolean})],Vi.prototype,"dense",void 0),Zi([o.property({type:String})],Vi.prototype,"baseUrl",void 0),Zi([o.property({type:String})],Vi.prototype,"apiIntegrationIdentifier",void 0),Zi([o.property({type:String})],Vi.prototype,"contentLocale",void 0),Zi([o.state()],Vi.prototype,"availableContentLocales",void 0),Zi([o.property({type:String})],Vi.prototype,"uiLocale",void 0),Zi([e.jsonProperty({})],Vi.prototype,"labels",void 0),Zi([e.jsonProperty([])],Vi.prototype,"displayedFilters",void 0),Zi([e.jsonProperty([])],Vi.prototype,"presets",void 0),Zi([o.property({type:String,reflect:!0})],Vi.prototype,"selectedPreset",void 0),Zi([o.property()],Vi.prototype,"searchRequestSerializer",void 0),Zi([o.state()],Vi.prototype,"searchFilters",void 0),Zi([o.state()],Vi.prototype,"sizeCategory",void 0),Zi([o.state()],Vi.prototype,"displayFacets",void 0),Zi([o.state()],Vi.prototype,"mobileMenuOpen",void 0),Zi([o.state()],Vi.prototype,"facets",void 0),Zi([o.query(".ft-search-bar--container")],Vi.prototype,"container",void 0),Zi([o.query(".ft-search-bar--filters-opener")],Vi.prototype,"filtersOpener",void 0),Zi([o.query(".ft-search-bar--floating-panel")],Vi.prototype,"floatingContainer",void 0),Zi([o.query("ft-snap-scroll.ft-search-bar--filters-container")],Vi.prototype,"scrollingFiltersContainer",void 0),Zi([o.query(".ft-search-bar--input")],Vi.prototype,"input",void 0),Zi([o.state()],Vi.prototype,"query",void 0),Zi([o.state()],Vi.prototype,"suggestions",void 0),Zi([o.state()],Vi.prototype,"suggestionsLoaded",void 0),Zi([o.state()],Vi.prototype,"recentSearches",void 0),Zi([o.state()],Vi.prototype,"scrollToFacet",void 0),Zi([o.query(".ft-search-bar--suggestion:first-child")],Vi.prototype,"firstSuggestion",void 0),Zi([o.query(".ft-search-bar--suggestion:focus-within")],Vi.prototype,"focusedSuggestion",void 0),Zi([o.query(".ft-search-bar--suggestion:last-child")],Vi.prototype,"lastSuggestion",void 0),Zi([o.state()],Vi.prototype,"api",void 0),e.customElement("ft-search-bar")(Vi),t.DEFAULT_LABELS=Hi,t.FtSearchBar=Vi,t.FtSearchBarCssVariables=Ni,t.LaunchSearchEvent=Ki,t.SearchStateChangeEvent=qi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
2421
+ `}openMobileFilters(t){this.isMobile&&(this.mobileMenuOpen=!0,this.displayFacets=!0,this.scrollToFacet=t)}async firstUpdated(t){var e,i;super.firstUpdated(t),this.initApi(),this.availableContentLocales=null!==(i=await(null===(e=this.api)||void 0===e?void 0:e.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[]))))&&void 0!==i?i:[]}update(t){var i,o,s,n,r;if(t.has("labels")&&(this.labelResolver=new e.ParametrizedLabelResolver(qi,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const e=t=>this.availableContentLocales.some((e=>e.lang===t));e(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&e(t.get("contentLocale"))?t.get("contentLocale"):null===(i=this.availableContentLocales[0])||void 0===i?void 0:i.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.recentSearches=JSON.parse(null!==(o=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==o?o:"[]")),t.has("selectedPreset")){const t=(null!==(s=this.presets)&&void 0!==s?s:[]).find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(r=(null!==(n=this.presets)&&void 0!==n?n:[]).find((t=>this.compareRequests(t,this.request))))||void 0===r?void 0:r.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&this.setApi(),["uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.updateSuggestions(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchEvent(new Wi(this.request))}contentAvailableCallback(t){var e,i,o;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(i=this.scrollingFiltersContainer)||void 0===i||i.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.setApi(),setTimeout((()=>this.initApi()),100))}setApi(){this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{var t,e;this.facets=null!==(e=await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets)).catch((()=>[]))))&&void 0!==e?e:[],this.facets.forEach((t=>this.knownFacetLabels[t.key]=t.label)),this.facetsLoaded=!0}))):this.facets=[]}updateSuggestions(){this.suggestionsLoaded=!1,this.suggestDebouncer.run((async()=>{this.suggestions=this.api&&this.query.length>2?await this.api.getSuggestions(this.suggestRequest).then((t=>t.suggestions)).catch((()=>[])):[],this.suggestionsLoaded=!0}))}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.query=e.value,"Enter"===t.key&&this.launchSearch()}onSearchBarKeyDown(t){var e,i;switch(t.key){case"Escape":this.mobileMenuOpen=!1,null===(e=this.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),null===(i=this.firstSuggestion)||void 0===i||i.focus()}}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}onSuggestClick(t,e){t.ctrlKey||t.metaKey||this.onSuggestSelected(t,e)}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),this.setQuery(e),this.launchSearch()}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new Vi(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}saveRecentSearches(){window.localStorage.setItem(this.recentSearchesStorageKey,JSON.stringify(this.recentSearches))}connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}getLocaleLabel(t){var e;return null!==(e=this.availableContentLocales.filter((e=>{var i;return(null!==(i=e.lang)&&void 0!==i?i:"").toLowerCase()===(null!=t?t:"").toLowerCase()})).map((t=>t.label)).pop())&&void 0!==e?e:t}setFilter(t,e){let i=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((i=>{i.key===t&&Yt(i.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=e.includes(t.value)))})),e.length&&i.push({key:t,negative:!1,values:e}),this.searchFilters=i,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>Yt(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}removeRecentSearch(t,e){var i,o,s,n;t.preventDefault(),t.stopPropagation();const r=null!==(n=null!==(o=null===(i=this.focusedSuggestion)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:null===(s=this.focusedSuggestion)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.input;null==r||r.focus(),this.recentSearches=this.recentSearches.filter((t=>t.toLowerCase()!==e.toLowerCase())),this.saveRecentSearches()}onSuggestKeyDown(t){var e,i,o,s,n,r;switch(t.key){case"ArrowUp":null===(o=null!==(i=null===(e=this.focusedSuggestion)||void 0===e?void 0:e.previousElementSibling)&&void 0!==i?i:this.lastSuggestion)||void 0===o||o.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(r=null!==(n=null===(s=this.focusedSuggestion)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstSuggestion)||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation()}}}Gi.elementDefinitions={"ft-accordion":xi,"ft-accordion-item":ki,"ft-button":Me,"ft-chip":Fi,"ft-filter":ui,"ft-filter-option":vi,"ft-icon":Ce,"ft-ripple":pe,"ft-select":Ni,"ft-select-option":Ai,"ft-size-watcher":p,"ft-snap-scroll":si,"ft-tooltip":xe,"ft-typography":Jt},Gi.styles=[qt,_i,Ui,Zi,Hi],Ki([o.property({type:Boolean})],Gi.prototype,"dense",void 0),Ki([o.property({type:String})],Gi.prototype,"baseUrl",void 0),Ki([o.property({type:String})],Gi.prototype,"apiIntegrationIdentifier",void 0),Ki([o.property({type:String})],Gi.prototype,"contentLocale",void 0),Ki([o.state()],Gi.prototype,"availableContentLocales",void 0),Ki([o.property({type:String})],Gi.prototype,"uiLocale",void 0),Ki([e.jsonProperty({})],Gi.prototype,"labels",void 0),Ki([e.jsonProperty([])],Gi.prototype,"displayedFilters",void 0),Ki([e.jsonProperty([])],Gi.prototype,"presets",void 0),Ki([o.property({type:String,reflect:!0})],Gi.prototype,"selectedPreset",void 0),Ki([e.jsonProperty([])],Gi.prototype,"priors",void 0),Ki([o.property()],Gi.prototype,"searchRequestSerializer",void 0),Ki([o.state()],Gi.prototype,"searchFilters",void 0),Ki([o.state()],Gi.prototype,"sizeCategory",void 0),Ki([o.state()],Gi.prototype,"displayFacets",void 0),Ki([o.state()],Gi.prototype,"mobileMenuOpen",void 0),Ki([o.state()],Gi.prototype,"facets",void 0),Ki([o.query(".ft-search-bar--container")],Gi.prototype,"container",void 0),Ki([o.query(".ft-search-bar--filters-opener")],Gi.prototype,"filtersOpener",void 0),Ki([o.query(".ft-search-bar--floating-panel")],Gi.prototype,"floatingContainer",void 0),Ki([o.query("ft-snap-scroll.ft-search-bar--filters-container")],Gi.prototype,"scrollingFiltersContainer",void 0),Ki([o.query(".ft-search-bar--input")],Gi.prototype,"input",void 0),Ki([o.state()],Gi.prototype,"query",void 0),Ki([o.state()],Gi.prototype,"suggestions",void 0),Ki([o.state()],Gi.prototype,"suggestionsLoaded",void 0),Ki([o.state()],Gi.prototype,"recentSearches",void 0),Ki([o.state()],Gi.prototype,"scrollToFacet",void 0),Ki([o.query(".ft-search-bar--suggestion:first-child")],Gi.prototype,"firstSuggestion",void 0),Ki([o.query(".ft-search-bar--suggestion:focus-within")],Gi.prototype,"focusedSuggestion",void 0),Ki([o.query(".ft-search-bar--suggestion:last-child")],Gi.prototype,"lastSuggestion",void 0),Ki([o.state()],Gi.prototype,"api",void 0),e.customElement("ft-search-bar")(Gi),t.DEFAULT_LABELS=qi,t.FtSearchBar=Gi,t.FtSearchBarCssVariables=Ri,t.LaunchSearchEvent=Vi,t.SearchStateChangeEvent=Wi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);