@fluid-topics/ft-filter 0.2.2 → 0.2.6

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.
@@ -4,115 +4,115 @@
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var l;const a=globalThis.trustedTypes,h=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,p=`lit$${(Math.random()+"").slice(9)}$`,f="?"+p,c=`<${f}>`,d=document,u=(t="")=>d.createComment(t),v=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,y=/>/g,m=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,$=/'/g,k=/"/g,w=/^(?:script|style|textarea|title)$/i,z=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),S=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),C=new WeakMap,B=d.createTreeWalker(d,129,null,!1),j=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=x;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,f=0;for(;f<e.length&&(r.lastIndex=f,a=r.exec(e),null!==a);)f=r.lastIndex,r===x?"!--"===a[1]?r=g:void 0!==a[1]?r=y:void 0!==a[2]?(w.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=m):void 0!==a[3]&&(r=m):r===m?">"===a[0]?(r=null!=s?s:x,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?m:'"'===a[3]?k:$):r===k||r===$?r=m:r===g||r===y?r=x:(r=m,s=void 0);const d=r===m&&t[i+1].startsWith("/>")?" ":"";n+=r===x?e+c:h>=0?(o.push(l),e.slice(0,h)+"$lit$"+e.slice(h)+p+d):e+p+(-2===h?(o.push(void 0),i):d)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==h?h.createHTML(l):l,o]};class D{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[h,c]=j(t,i);if(this.el=D.createElement(h,e),B.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=B.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(p)){const e=c[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(p),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?A:"?"===i[1]?N:"@"===i[1]?_:F})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(w.test(o.tagName)){const t=o.textContent.split(p),i=t.length-1;if(i>0){o.textContent=a?a.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],u()),B.nextNode(),l.push({type:2,index:++s});o.append(t[i],u())}}}else if(8===o.nodeType)if(o.data===f)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(p,t+1));)l.push({type:7,index:s}),t+=p.length-1}s++}}static createElement(t,i){const e=d.createElement("template");return e.innerHTML=t,e}}function E(t,i,e=t,o){var s,n,r,l;if(i===S)return i;let a=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const h=v(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=E(t,a._$AS(t,i.values),a,o)),i}class T{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:d).importNode(e,!0);B.currentNode=s;let n=B.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new M(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new L(n,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=B.nextNode(),r++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class M{constructor(t,i,e,o){var s;this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=E(this,t,i),v(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return b(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==O&&v(this._$AH)?this._$AA.nextSibling.data=t:this.S(d.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=D.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new T(s,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new D(t)),i}A(t){b(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new M(this.M(u()),this.M(u()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class F{constructor(t,i,e,o,s){this.type=1,this._$AH=O,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=O}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=E(this,t,i,0),n=!v(t)||t!==this._$AH&&t!==S,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=E(this,o[e+r],i,r),l===S&&(l=this._$AH[r]),n||(n=!v(l)||l!==this._$AH[r]),l===O?t=O:t!==O&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class A extends F{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===O?void 0:t}}const I=a?a.emptyScript:"";class N extends F{constructor(){super(...arguments),this.type=4}k(t){t&&t!==O?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name)}}class _ extends F{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=E(this,t,i,0))&&void 0!==e?e:O)===S)return;const o=this._$AH,s=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==O&&(o===O||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(D,M),(null!==(l=globalThis.litHtmlVersions)&&void 0!==l?l:globalThis.litHtmlVersions=[]).push("2.1.3");
7
+ var l;const a=globalThis.trustedTypes,h=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,p=`lit$${(Math.random()+"").slice(9)}$`,f="?"+p,c=`<${f}>`,d=document,u=(t="")=>d.createComment(t),v=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,y=/>/g,m=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,$=/'/g,k=/"/g,w=/^(?:script|style|textarea|title)$/i,z=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),S=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),C=new WeakMap,B=d.createTreeWalker(d,129,null,!1),j=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=x;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,f=0;for(;f<e.length&&(r.lastIndex=f,a=r.exec(e),null!==a);)f=r.lastIndex,r===x?"!--"===a[1]?r=g:void 0!==a[1]?r=y:void 0!==a[2]?(w.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=m):void 0!==a[3]&&(r=m):r===m?">"===a[0]?(r=null!=s?s:x,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?m:'"'===a[3]?k:$):r===k||r===$?r=m:r===g||r===y?r=x:(r=m,s=void 0);const d=r===m&&t[i+1].startsWith("/>")?" ":"";n+=r===x?e+c:h>=0?(o.push(l),e.slice(0,h)+"$lit$"+e.slice(h)+p+d):e+p+(-2===h?(o.push(void 0),i):d)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==h?h.createHTML(l):l,o]};class D{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[h,c]=j(t,i);if(this.el=D.createElement(h,e),B.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=B.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(p)){const e=c[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(p),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?I:"?"===i[1]?A:"@"===i[1]?_:F})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(w.test(o.tagName)){const t=o.textContent.split(p),i=t.length-1;if(i>0){o.textContent=a?a.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],u()),B.nextNode(),l.push({type:2,index:++s});o.append(t[i],u())}}}else if(8===o.nodeType)if(o.data===f)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(p,t+1));)l.push({type:7,index:s}),t+=p.length-1}s++}}static createElement(t,i){const e=d.createElement("template");return e.innerHTML=t,e}}function E(t,i,e=t,o){var s,n,r,l;if(i===S)return i;let a=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const h=v(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=E(t,a._$AS(t,i.values),a,o)),i}class T{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:d).importNode(e,!0);B.currentNode=s;let n=B.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new M(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new L(n,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=B.nextNode(),r++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class M{constructor(t,i,e,o){var s;this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=E(this,t,i),v(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return b(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==O&&v(this._$AH)?this._$AA.nextSibling.data=t:this.k(d.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=D.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new T(s,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new D(t)),i}S(t){b(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new M(this.M(u()),this.M(u()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class F{constructor(t,i,e,o,s){this.type=1,this._$AH=O,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=O}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=E(this,t,i,0),n=!v(t)||t!==this._$AH&&t!==S,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=E(this,o[e+r],i,r),l===S&&(l=this._$AH[r]),n||(n=!v(l)||l!==this._$AH[r]),l===O?t=O:t!==O&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class I extends F{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===O?void 0:t}}const N=a?a.emptyScript:"";class A extends F{constructor(){super(...arguments),this.type=4}C(t){t&&t!==O?this.element.setAttribute(this.name,N):this.element.removeAttribute(this.name)}}class _ extends F{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=E(this,t,i,0))&&void 0!==e?e:O)===S)return;const o=this._$AH,s=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==O&&(o===O||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const R=window.litHtmlPolyfillSupport;null==R||R(D,M),(null!==(l=globalThis.litHtmlVersions)&&void 0!==l?l:globalThis.litHtmlVersions=[]).push("2.2.4");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;let n,r;const l=[],a=[];let h,p=0,f=!1;for(;p<s;){for(h=i[p];p<s&&void 0!==(r=e[p],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+i[++p],f=!0;a.push(r),l.push(h),p++}if(p===s&&l.push(i[s]),f){const t=l.join("$$lit$$");void 0===(i=U.get(t))&&(l.raw=l,U.set(t,i=l)),e=a}return t(i,...e)})(z);var Z,V=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,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"}(Z||(Z={}));const P=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),K=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),G={fontFamily:K,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},q=i.FtCssVariable.extend("--ft-typography-title-font-family",P),X=i.FtCssVariable.extend("--ft-typography-title-font-size",G.fontSize,"20px"),Y=i.FtCssVariable.extend("--ft-typography-title-font-weight",G.fontWeight,"normal"),J=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",G.letterSpacing,"0.15px"),Q=i.FtCssVariable.extend("--ft-typography-title-line-height",G.lineHeight,"24px"),tt=i.FtCssVariable.extend("--ft-typography-title-text-transform",G.textTransform,"inherit"),it=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",P),et=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",G.fontSize,"14px"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",G.fontWeight,"normal"),st=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",G.letterSpacing,"0.105px"),nt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",G.lineHeight,"24px"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",G.textTransform,"inherit"),lt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",K),at=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",G.fontSize,"16px"),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",G.fontWeight,"600"),pt=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",G.letterSpacing,"0.144px"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",G.lineHeight,"24px"),ct=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",G.textTransform,"inherit"),dt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",K),ut=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",G.fontSize,"14px"),vt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",G.fontWeight,"normal"),bt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",G.letterSpacing,"0.098px"),xt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",G.lineHeight,"24px"),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",G.textTransform,"inherit"),yt=i.FtCssVariable.extend("--ft-typography-body1-font-family",K),mt=i.FtCssVariable.extend("--ft-typography-body1-font-size",G.fontSize,"16px"),$t=i.FtCssVariable.extend("--ft-typography-body1-font-weight",G.fontWeight,"normal"),kt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",G.letterSpacing,"0.496px"),wt=i.FtCssVariable.extend("--ft-typography-body1-line-height",G.lineHeight,"24px"),zt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",G.textTransform,"inherit"),St={fontFamily:i.FtCssVariable.extend("--ft-typography-body2-font-family",K),fontSize:i.FtCssVariable.extend("--ft-typography-body2-font-size",G.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-body2-font-weight",G.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",G.letterSpacing,"0.252px"),lineHeight:i.FtCssVariable.extend("--ft-typography-body2-line-height",G.lineHeight,"20px"),textTransform:i.FtCssVariable.extend("--ft-typography-body2-text-transform",G.textTransform,"inherit")},Ot=i.FtCssVariable.extend("--ft-typography-caption-font-family",K),Ct=i.FtCssVariable.extend("--ft-typography-caption-font-size",G.fontSize,"12px"),Bt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",G.fontWeight,"normal"),jt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",G.letterSpacing,"0.396px"),Dt=i.FtCssVariable.extend("--ft-typography-caption-line-height",G.lineHeight,"16px"),Et=i.FtCssVariable.extend("--ft-typography-caption-text-transform",G.textTransform,"inherit"),Tt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",K),Mt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",G.fontSize,"10px"),Ft=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",G.fontWeight,"normal"),At=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",G.letterSpacing,"0.33px"),It=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",G.lineHeight,"16px"),Nt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",G.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-overline-font-family",K),Lt=i.FtCssVariable.extend("--ft-typography-overline-font-size",G.fontSize,"10px"),Rt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",G.fontWeight,"normal"),Ht=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",G.letterSpacing,"1.5px"),Ut=i.FtCssVariable.extend("--ft-typography-overline-line-height",G.lineHeight,"16px"),Wt=i.FtCssVariable.extend("--ft-typography-overline-text-transform",G.textTransform,"uppercase"),Zt={fontFamily:i.FtCssVariable.extend("--ft-typography-button-font-family",K),fontSize:i.FtCssVariable.extend("--ft-typography-button-font-size",G.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-button-font-weight",G.fontWeight,"600"),letterSpacing:i.FtCssVariable.extend("--ft-typography-button-letter-spacing",G.letterSpacing,"1.246px"),lineHeight:i.FtCssVariable.extend("--ft-typography-button-line-height",G.lineHeight,"16px"),textTransform:i.FtCssVariable.extend("--ft-typography-button-text-transform",G.textTransform,"uppercase")},Vt=e.css`
13
+ const H=Symbol.for(""),U=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===H)return null===(e=t)||void 0===e?void 0:e._$litStatic$},W=t=>({_$litStatic$:t,r:H}),Z=new Map,V=(t=>(i,...e)=>{const o=e.length;let s,n;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=i[h];h<o&&void 0!==(n=e[h],s=U(n));)a+=s+i[++h],p=!0;l.push(n),r.push(a),h++}if(h===o&&r.push(i[o]),p){const t=r.join("$$lit$$");void 0===(i=Z.get(t))&&(r.raw=r,Z.set(t,i=r)),e=l}return t(i,...e)})(z);var P,K=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,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"}(P||(P={}));const G=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),X={fontFamily:q,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},Y=i.FtCssVariable.extend("--ft-typography-title-font-family",G),J=i.FtCssVariable.extend("--ft-typography-title-font-size",X.fontSize,"20px"),Q=i.FtCssVariable.extend("--ft-typography-title-font-weight",X.fontWeight,"normal"),tt=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",X.letterSpacing,"0.15px"),it=i.FtCssVariable.extend("--ft-typography-title-line-height",X.lineHeight,"24px"),et=i.FtCssVariable.extend("--ft-typography-title-text-transform",X.textTransform,"inherit"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",G),st=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",X.fontSize,"14px"),nt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",X.fontWeight,"normal"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",X.letterSpacing,"0.105px"),lt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",X.lineHeight,"24px"),at=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",X.textTransform,"inherit"),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",q),pt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",X.fontSize,"16px"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",X.fontWeight,"600"),ct=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",X.letterSpacing,"0.144px"),dt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",X.lineHeight,"24px"),ut=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",X.textTransform,"inherit"),vt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",q),bt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",X.fontSize,"14px"),xt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",X.fontWeight,"normal"),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",X.letterSpacing,"0.098px"),yt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",X.lineHeight,"24px"),mt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",X.textTransform,"inherit"),$t=i.FtCssVariable.extend("--ft-typography-body1-font-family",q),kt=i.FtCssVariable.extend("--ft-typography-body1-font-size",X.fontSize,"16px"),wt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",X.fontWeight,"normal"),zt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",X.letterSpacing,"0.496px"),St=i.FtCssVariable.extend("--ft-typography-body1-line-height",X.lineHeight,"24px"),Ot=i.FtCssVariable.extend("--ft-typography-body1-text-transform",X.textTransform,"inherit"),Ct={fontFamily:i.FtCssVariable.extend("--ft-typography-body2-font-family",q),fontSize:i.FtCssVariable.extend("--ft-typography-body2-font-size",X.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-body2-font-weight",X.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",X.letterSpacing,"0.252px"),lineHeight:i.FtCssVariable.extend("--ft-typography-body2-line-height",X.lineHeight,"20px"),textTransform:i.FtCssVariable.extend("--ft-typography-body2-text-transform",X.textTransform,"inherit")},Bt=i.FtCssVariable.extend("--ft-typography-caption-font-family",q),jt=i.FtCssVariable.extend("--ft-typography-caption-font-size",X.fontSize,"12px"),Dt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",X.fontWeight,"normal"),Et=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",X.letterSpacing,"0.396px"),Tt=i.FtCssVariable.extend("--ft-typography-caption-line-height",X.lineHeight,"16px"),Mt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",X.textTransform,"inherit"),Ft=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",q),It=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",X.fontSize,"10px"),Nt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",X.fontWeight,"normal"),At=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",X.letterSpacing,"0.33px"),_t=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",X.lineHeight,"16px"),Lt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",X.textTransform,"inherit"),Rt=i.FtCssVariable.extend("--ft-typography-overline-font-family",q),Ht=i.FtCssVariable.extend("--ft-typography-overline-font-size",X.fontSize,"10px"),Ut=i.FtCssVariable.extend("--ft-typography-overline-font-weight",X.fontWeight,"normal"),Wt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",X.letterSpacing,"1.5px"),Zt=i.FtCssVariable.extend("--ft-typography-overline-line-height",X.lineHeight,"16px"),Vt=i.FtCssVariable.extend("--ft-typography-overline-text-transform",X.textTransform,"uppercase"),Pt={fontFamily:i.FtCssVariable.extend("--ft-typography-button-font-family",q),fontSize:i.FtCssVariable.extend("--ft-typography-button-font-size",X.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-button-font-weight",X.fontWeight,"600"),letterSpacing:i.FtCssVariable.extend("--ft-typography-button-letter-spacing",X.letterSpacing,"1.246px"),lineHeight:i.FtCssVariable.extend("--ft-typography-button-line-height",X.lineHeight,"16px"),textTransform:i.FtCssVariable.extend("--ft-typography-button-text-transform",X.textTransform,"uppercase")},Kt=e.css`
14
14
  .ft-typography--title {
15
- font-family: ${q};
16
- font-size: ${X};
17
- font-weight: ${Y};
18
- letter-spacing: ${J};
19
- line-height: ${Q};
20
- text-transform: ${tt};
15
+ font-family: ${Y};
16
+ font-size: ${J};
17
+ font-weight: ${Q};
18
+ letter-spacing: ${tt};
19
+ line-height: ${it};
20
+ text-transform: ${et};
21
21
  }
22
- `,Pt=e.css`
22
+ `,Gt=e.css`
23
23
  .ft-typography--title-dense {
24
- font-family: ${it};
25
- font-size: ${et};
26
- font-weight: ${ot};
27
- letter-spacing: ${st};
28
- line-height: ${nt};
29
- text-transform: ${rt};
24
+ font-family: ${ot};
25
+ font-size: ${st};
26
+ font-weight: ${nt};
27
+ letter-spacing: ${rt};
28
+ line-height: ${lt};
29
+ text-transform: ${at};
30
30
  }
31
- `,Kt=e.css`
31
+ `,qt=e.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${lt};
34
- font-size: ${at};
35
- font-weight: ${ht};
36
- letter-spacing: ${pt};
37
- line-height: ${ft};
38
- text-transform: ${ct};
33
+ font-family: ${ht};
34
+ font-size: ${pt};
35
+ font-weight: ${ft};
36
+ letter-spacing: ${ct};
37
+ line-height: ${dt};
38
+ text-transform: ${ut};
39
39
  }
40
- `,Gt=e.css`
40
+ `,Xt=e.css`
41
41
  .ft-typography--subtitle2 {
42
- font-family: ${dt};
43
- font-size: ${ut};
44
- font-weight: ${vt};
45
- letter-spacing: ${bt};
46
- line-height: ${xt};
47
- text-transform: ${gt};
42
+ font-family: ${vt};
43
+ font-size: ${bt};
44
+ font-weight: ${xt};
45
+ letter-spacing: ${gt};
46
+ line-height: ${yt};
47
+ text-transform: ${mt};
48
48
  }
49
49
 
50
- `,qt=e.css`
50
+ `,Yt=e.css`
51
51
  .ft-typography--body1 {
52
- font-family: ${yt};
53
- font-size: ${mt};
54
- font-weight: ${$t};
55
- letter-spacing: ${kt};
56
- line-height: ${wt};
57
- text-transform: ${zt};
52
+ font-family: ${$t};
53
+ font-size: ${kt};
54
+ font-weight: ${wt};
55
+ letter-spacing: ${zt};
56
+ line-height: ${St};
57
+ text-transform: ${Ot};
58
58
  }
59
- `,Xt=e.css`
59
+ `,Jt=e.css`
60
60
  .ft-typography--body2 {
61
- font-family: ${St.fontFamily};
62
- font-size: ${St.fontSize};
63
- font-weight: ${St.fontWeight};
64
- letter-spacing: ${St.letterSpacing};
65
- line-height: ${St.lineHeight};
66
- text-transform: ${St.textTransform};
61
+ font-family: ${Ct.fontFamily};
62
+ font-size: ${Ct.fontSize};
63
+ font-weight: ${Ct.fontWeight};
64
+ letter-spacing: ${Ct.letterSpacing};
65
+ line-height: ${Ct.lineHeight};
66
+ text-transform: ${Ct.textTransform};
67
67
  }
68
- `,Yt=e.css`
68
+ `,Qt=e.css`
69
69
  .ft-typography--caption {
70
- font-family: ${Ot};
71
- font-size: ${Ct};
72
- font-weight: ${Bt};
73
- letter-spacing: ${jt};
74
- line-height: ${Dt};
75
- text-transform: ${Et};
70
+ font-family: ${Bt};
71
+ font-size: ${jt};
72
+ font-weight: ${Dt};
73
+ letter-spacing: ${Et};
74
+ line-height: ${Tt};
75
+ text-transform: ${Mt};
76
76
  }
77
- `,Jt=e.css`
77
+ `,ti=e.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Tt};
80
- font-size: ${Mt};
81
- font-weight: ${Ft};
79
+ font-family: ${Ft};
80
+ font-size: ${It};
81
+ font-weight: ${Nt};
82
82
  letter-spacing: ${At};
83
- line-height: ${It};
84
- text-transform: ${Nt};
83
+ line-height: ${_t};
84
+ text-transform: ${Lt};
85
85
  }
86
- `,Qt=e.css`
86
+ `,ii=e.css`
87
87
  .ft-typography--overline {
88
- font-family: ${_t};
89
- font-size: ${Lt};
90
- font-weight: ${Rt};
91
- letter-spacing: ${Ht};
92
- line-height: ${Ut};
93
- text-transform: ${Wt};
88
+ font-family: ${Rt};
89
+ font-size: ${Ht};
90
+ font-weight: ${Ut};
91
+ letter-spacing: ${Wt};
92
+ line-height: ${Zt};
93
+ text-transform: ${Vt};
94
94
  }
95
- `,ti=e.css`
95
+ `,ei=e.css`
96
96
  .ft-typography--button {
97
- font-family: ${Zt.fontFamily};
98
- font-size: ${Zt.fontSize};
99
- font-weight: ${Zt.fontWeight};
100
- letter-spacing: ${Zt.letterSpacing};
101
- line-height: ${Zt.lineHeight};
102
- text-transform: ${Zt.textTransform};
97
+ font-family: ${Pt.fontFamily};
98
+ font-size: ${Pt.fontSize};
99
+ font-weight: ${Pt.fontWeight};
100
+ letter-spacing: ${Pt.letterSpacing};
101
+ line-height: ${Pt.lineHeight};
102
+ text-transform: ${Pt.textTransform};
103
103
  }
104
- `;class ii extends i.FtLitElement{constructor(){super(...arguments),this.variant=Z.body1}render(){return this.element?W`
105
- <${H(this.element)}
104
+ `;class oi extends i.FtLitElement{constructor(){super(...arguments),this.variant=P.body1}render(){return this.element?V`
105
+ <${W(this.element)}
106
106
  class="ft-typography ft-typography--${this.variant}">
107
107
  <slot></slot>
108
- </${H(this.element)}>
109
- `:W`
108
+ </${W(this.element)}>
109
+ `:V`
110
110
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
111
- `}}function ei(t,i){return t.flatMap((t=>[t,...ei(i(t),i)]))}ii.styles=[Vt,Pt,Kt,Gt,qt,Xt,Yt,Jt,Qt,ti,e.css`
111
+ `}}function si(t,i){return t.flatMap((t=>[t,...si(i(t),i)]))}oi.styles=[Kt,Gt,qt,Xt,Yt,Jt,Qt,ti,ii,ei,e.css`
112
112
  .ft-typography {
113
113
  vertical-align: inherit;
114
114
  }
115
- `],V([o.property()],ii.prototype,"element",void 0),V([o.property()],ii.prototype,"variant",void 0),i.customElement("ft-typography")(ii);var oi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const si={color:i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),primaryColor:i.FtCssVariable.extend("--ft-ripple-primary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary)),secondaryColor:i.FtCssVariable.extend("--ft-ripple-secondary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary)),opacityContentOnSurfacePressed:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")};class ni extends i.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.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),n=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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 e.html`
115
+ `],K([o.property()],oi.prototype,"element",void 0),K([o.property()],oi.prototype,"variant",void 0),i.customElement("ft-typography")(oi);var ni=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const ri=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),li={color:ri,backgroundColor:i.FtCssVariable.extend("--ft-ripple-background-color",ri),opacityContentOnSurfacePressed:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},ai=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),hi=ai,pi=i.FtCssVariable.extend("--ft-ripple-background-color",ai),fi=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),ci=fi,di=i.FtCssVariable.extend("--ft-ripple-background-color",fi);class ui extends i.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 i.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 i,e;let{x:o,y:s}=this.getCoordinates(t),n=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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 e.html`
116
116
  <style>
117
117
  .ft-ripple .ft-ripple--effect,
118
118
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -129,7 +129,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
129
129
  <div class="ft-ripple--background"></div>
130
130
  <div class="ft-ripple--effect"></div>
131
131
  </div>
132
- `}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){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),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 i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),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",e),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 i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ni.elementDefinitions={},ni.styles=e.css`
132
+ `}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 i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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 i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),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",e),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 i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ui.elementDefinitions={},ui.styles=e.css`
133
133
  :host {
134
134
  display: contents;
135
135
  }
@@ -148,17 +148,30 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
148
148
  .ft-ripple .ft-ripple--effect {
149
149
  position: absolute;
150
150
  opacity: 0;
151
- background-color: ${si.color};
152
151
  }
153
152
 
154
- .ft-ripple.ft-ripple--secondary .ft-ripple--background,
153
+ .ft-ripple .ft-ripple--background {
154
+ background-color: ${li.backgroundColor};
155
+ }
156
+
157
+ .ft-ripple .ft-ripple--effect {
158
+ background-color: ${li.color};
159
+ }
160
+
161
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
162
+ background-color: ${di};
163
+ }
164
+
155
165
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
156
- background-color: ${si.secondaryColor};
166
+ background-color: ${ci};
167
+ }
168
+
169
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
170
+ background-color: ${pi};
157
171
  }
158
172
 
159
- .ft-ripple.ft-ripple--primary .ft-ripple--background,
160
173
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
161
- background-color: ${si.primaryColor};
174
+ background-color: ${hi};
162
175
  }
163
176
 
164
177
  .ft-ripple .ft-ripple--background {
@@ -166,6 +179,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
166
179
  left: 0;
167
180
  height: 100%;
168
181
  width: 100%;
182
+ transition: opacity 75ms linear;
169
183
  }
170
184
 
171
185
  .ft-ripple .ft-ripple--effect,
@@ -189,22 +203,22 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
189
203
  }
190
204
 
191
205
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
192
- opacity: ${si.opacityContentOnSurfaceHover};
206
+ opacity: ${li.opacityContentOnSurfaceHover};
193
207
  }
194
208
 
195
209
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
196
- opacity: ${si.opacityContentOnSurfaceSelected};
210
+ opacity: ${li.opacityContentOnSurfaceSelected};
197
211
  }
198
212
 
199
213
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
200
- opacity: ${si.opacityContentOnSurfaceFocused};
214
+ opacity: ${li.opacityContentOnSurfaceFocused};
201
215
  }
202
216
 
203
217
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
204
- opacity: ${si.opacityContentOnSurfacePressed};
218
+ opacity: ${li.opacityContentOnSurfacePressed};
205
219
  transform: translate(-50%, -50%) scale(1);
206
220
  }
207
- `,oi([o.property({type:Boolean})],ni.prototype,"primary",void 0),oi([o.property({type:Boolean})],ni.prototype,"secondary",void 0),oi([o.property({type:Boolean})],ni.prototype,"unbounded",void 0),oi([o.property({type:Boolean})],ni.prototype,"activated",void 0),oi([o.property({type:Boolean})],ni.prototype,"selected",void 0),oi([o.property({type:Boolean})],ni.prototype,"disabled",void 0),oi([o.state()],ni.prototype,"hovered",void 0),oi([o.state()],ni.prototype,"focused",void 0),oi([o.state()],ni.prototype,"pressed",void 0),oi([o.state()],ni.prototype,"rippling",void 0),oi([o.state()],ni.prototype,"rippleSize",void 0),oi([o.state()],ni.prototype,"originX",void 0),oi([o.state()],ni.prototype,"originY",void 0),oi([o.query(".ft-ripple")],ni.prototype,"ripple",void 0),oi([o.query(".ft-ripple--effect")],ni.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(ni);var ri=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const li=i.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),ai=i.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),hi=i.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),pi=i.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),fi=i.FtCssVariable.external(i.designSystemVariables.borderRadiusS,"Design system");class ci extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
221
+ `,ni([o.property({type:Boolean})],ui.prototype,"primary",void 0),ni([o.property({type:Boolean})],ui.prototype,"secondary",void 0),ni([o.property({type:Boolean})],ui.prototype,"unbounded",void 0),ni([o.property({type:Boolean})],ui.prototype,"activated",void 0),ni([o.property({type:Boolean})],ui.prototype,"selected",void 0),ni([o.property({type:Boolean})],ui.prototype,"disabled",void 0),ni([o.state()],ui.prototype,"hovered",void 0),ni([o.state()],ui.prototype,"focused",void 0),ni([o.state()],ui.prototype,"pressed",void 0),ni([o.state()],ui.prototype,"rippling",void 0),ni([o.state()],ui.prototype,"rippleSize",void 0),ni([o.state()],ui.prototype,"originX",void 0),ni([o.state()],ui.prototype,"originY",void 0),ni([o.query(".ft-ripple")],ui.prototype,"ripple",void 0),ni([o.query(".ft-ripple--effect")],ui.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(ui);var vi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const bi=i.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),xi=i.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),gi=i.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),yi=i.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),mi=i.FtCssVariable.external(i.designSystemVariables.borderRadiusS,"Design system");class $i extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
208
222
  <div part="container"
209
223
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
210
224
  @mouseenter=${this.onHover}
@@ -219,7 +233,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
219
233
  </div>
220
234
  <slot></slot>
221
235
  </div>
222
- `}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 i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.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=i.height+"px",s.left=o+"px";break;case"left":s.top=e+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=e+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.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())}}ci.elementDefinitions={"ft-typography":ii},ci.styles=e.css`
236
+ `}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 i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.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=i.height+"px",s.left=o+"px";break;case"left":s.top=e+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=e+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.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())}}$i.elementDefinitions={"ft-typography":oi},$i.styles=e.css`
223
237
  .ft-tooltip--container {
224
238
  display: block;
225
239
  position: relative;
@@ -237,21 +251,21 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
237
251
  width: max-content;
238
252
  max-width: 150px;
239
253
  text-align: center;
240
- padding: ${li};
241
- z-index: ${pi};
254
+ padding: ${bi};
255
+ z-index: ${yi};
242
256
  }
243
257
 
244
258
  .ft-tooltip--content {
245
259
  padding: 4px 8px;
246
- border-radius: ${fi};
247
- background-color: ${hi};
248
- color: ${ai};
260
+ border-radius: ${mi};
261
+ background-color: ${gi};
262
+ color: ${xi};
249
263
  top: -500px;
250
264
  left: -500px;
251
265
  position: relative;
252
266
  word-break: break-word;
253
267
  }
254
- `,ri([o.property()],ci.prototype,"text",void 0),ri([o.property({type:Boolean})],ci.prototype,"manual",void 0),ri([o.property({type:Boolean})],ci.prototype,"inline",void 0),ri([o.property({type:Number})],ci.prototype,"delay",void 0),ri([o.property()],ci.prototype,"position",void 0),ri([o.queryAssignedNodes("",!0)],ci.prototype,"slotNodes",void 0),ri([o.query(".ft-tooltip--container")],ci.prototype,"container",void 0),ri([o.query("slot")],ci.prototype,"target",void 0),ri([o.query(".ft-tooltip")],ci.prototype,"tooltip",void 0),ri([o.query(".ft-tooltip--content")],ci.prototype,"tooltipContent",void 0),ri([o.state()],ci.prototype,"visible",void 0),i.customElement("ft-tooltip")(ci);const di={color:i.FtCssVariable.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariable.create("--ft-loader-size","SIZE","80px")};class ui extends i.FtLitElement{static get styles(){return e.css`
268
+ `,vi([o.property()],$i.prototype,"text",void 0),vi([o.property({type:Boolean})],$i.prototype,"manual",void 0),vi([o.property({type:Boolean})],$i.prototype,"inline",void 0),vi([o.property({type:Number})],$i.prototype,"delay",void 0),vi([o.property()],$i.prototype,"position",void 0),vi([o.queryAssignedNodes("",!0)],$i.prototype,"slotNodes",void 0),vi([o.query(".ft-tooltip--container")],$i.prototype,"container",void 0),vi([o.query("slot")],$i.prototype,"target",void 0),vi([o.query(".ft-tooltip")],$i.prototype,"tooltip",void 0),vi([o.query(".ft-tooltip--content")],$i.prototype,"tooltipContent",void 0),vi([o.state()],$i.prototype,"visible",void 0),i.customElement("ft-tooltip")($i);const ki={color:i.FtCssVariable.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariable.create("--ft-loader-size","SIZE","80px")};class wi extends i.FtLitElement{static get styles(){return e.css`
255
269
  :host {
256
270
  line-height: 0;
257
271
  }
@@ -260,8 +274,8 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
260
274
  display: inline-block;
261
275
  position: relative;
262
276
 
263
- width: ${di.size};
264
- height: ${di.size};
277
+ width: ${ki.size};
278
+ height: ${ki.size};
265
279
  }
266
280
 
267
281
  .ft-loader div {
@@ -270,7 +284,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
270
284
  width: 25%;
271
285
  height: 25%;
272
286
  border-radius: 50%;
273
- background: ${di.color};
287
+ background: ${ki.color};
274
288
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
275
289
  }
276
290
 
@@ -317,7 +331,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
317
331
  transform: translate(0, 0);
318
332
  }
319
333
  100% {
320
- transform: translate(calc(0.35 * ${di.size}), 0);
334
+ transform: translate(calc(0.35 * ${ki.size}), 0);
321
335
  }
322
336
  }
323
337
  `}render(){return e.html`
@@ -327,21 +341,21 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
327
341
  <div></div>
328
342
  <div></div>
329
343
  </div>
330
- `}}var vi,bi;i.customElement("ft-loader")(ui),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;"}(vi||(vi={})),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;"}(bi||(bi={})),new Map([...["abw"].map((t=>[t,bi.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,bi.AUDIO])),...["avi"].map((t=>[t,bi.AVI])),...["chm","xhs"].map((t=>[t,bi.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,bi.CODE])),...["csv"].map((t=>[t,bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,bi.DITA])),...["epub"].map((t=>[t,bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,bi.EXCEL])),...["flac"].map((t=>[t,bi.FLAC])),...["gif"].map((t=>[t,bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,bi.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,bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,bi.JPEG])),...["json"].map((t=>[t,bi.JSON])),...["m4a","m4p"].map((t=>[t,bi.M4A])),...["mov","qt"].map((t=>[t,bi.MOV])),...["mp3"].map((t=>[t,bi.MP3])),...["mp4","m4v"].map((t=>[t,bi.MP4])),...["ogg","oga"].map((t=>[t,bi.OGG])),...["pdf","ps"].map((t=>[t,bi.PDF])),...["png"].map((t=>[t,bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,bi.POWERPOINT])),...["rar"].map((t=>[t,bi.RAR])),...["stp"].map((t=>[t,bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,bi.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,bi.VIDEO])),...["wav"].map((t=>[t,bi.WAV])),...["wma"].map((t=>[t,bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,bi.YAML])),...["zip"].map((t=>[t,bi.ZIP]))]);var xi,gi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xi||(xi={}));const yi={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class mi extends i.FtLitElement{constructor(){super(...arguments),this.variant=xi.fluid_topics}render(){return e.html`
344
+ `}}var zi,Si;i.customElement("ft-loader")(wi),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;"}(zi||(zi={})),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;"}(Si||(Si={})),new Map([...["abw"].map((t=>[t,Si.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,Si.AUDIO])),...["avi"].map((t=>[t,Si.AVI])),...["chm","xhs"].map((t=>[t,Si.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,Si.CODE])),...["csv"].map((t=>[t,Si.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Si.DITA])),...["epub"].map((t=>[t,Si.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Si.EXCEL])),...["flac"].map((t=>[t,Si.FLAC])),...["gif"].map((t=>[t,Si.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Si.GZIP])),...["html","htm","xhtml"].map((t=>[t,Si.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,Si.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Si.JPEG])),...["json"].map((t=>[t,Si.JSON])),...["m4a","m4p"].map((t=>[t,Si.M4A])),...["mov","qt"].map((t=>[t,Si.MOV])),...["mp3"].map((t=>[t,Si.MP3])),...["mp4","m4v"].map((t=>[t,Si.MP4])),...["ogg","oga"].map((t=>[t,Si.OGG])),...["pdf","ps"].map((t=>[t,Si.PDF])),...["png"].map((t=>[t,Si.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Si.POWERPOINT])),...["rar"].map((t=>[t,Si.RAR])),...["stp"].map((t=>[t,Si.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Si.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,Si.VIDEO])),...["wav"].map((t=>[t,Si.WAV])),...["wma"].map((t=>[t,Si.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Si.WORD])),...["xml","xsl","rdf"].map((t=>[t,Si.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Si.YAML])),...["zip"].map((t=>[t,Si.ZIP]))]);var Oi,Ci=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oi||(Oi={}));const Bi={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class ji extends i.FtLitElement{constructor(){super(...arguments),this.variant=Oi.fluid_topics}render(){return e.html`
331
345
  <i class="ft-icon ${"ft-icon--"+this.variant}">
332
346
  ${r.unsafeHTML(this.getIcon())}
333
347
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
334
348
  </i>
335
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===xi.file_format?null!==(t=bi[o.toUpperCase()])&&void 0!==t?t:o:this.variant===xi.fluid_topics?null!==(i=vi[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}mi.elementDefinitions={},mi.styles=e.css`
349
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===Oi.file_format?null!==(t=Si[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Oi.fluid_topics?null!==(i=zi[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}ji.elementDefinitions={},ji.styles=e.css`
336
350
  :host, i.ft-icon {
337
351
  display: inline-block;
338
- width: ${yi.size};
339
- height: ${yi.size};
352
+ width: ${Bi.size};
353
+ height: ${Bi.size};
340
354
  text-align: center;
341
355
  }
342
356
 
343
357
  i.ft-icon {
344
- font-size: ${yi.size};
358
+ font-size: ${Bi.size};
345
359
  line-height: 1;
346
360
  font-weight: normal;
347
361
  text-transform: none;
@@ -355,17 +369,17 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
355
369
  }
356
370
 
357
371
  .ft-icon--fluid-topics {
358
- font-family: ${yi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
372
+ font-family: ${Bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
359
373
  }
360
374
 
361
375
  .ft-icon--file-format {
362
- font-family: ${yi.fileFormatFontFamily}, ft-mime, sans-serif;
376
+ font-family: ${Bi.fileFormatFontFamily}, ft-mime, sans-serif;
363
377
  }
364
378
 
365
379
  .ft-icon--material {
366
- font-family: ${yi.materialFontFamily}, "Material Icons", sans-serif;
380
+ font-family: ${Bi.materialFontFamily}, "Material Icons", sans-serif;
367
381
  }
368
- `,gi([o.property()],mi.prototype,"variant",void 0),gi([o.query("slot")],mi.prototype,"slottedContent",void 0),i.customElement("ft-icon")(mi);var $i=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const ki=i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorPrimary),wi={backgroundColor:i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:ki,fontSize:i.FtCssVariable.extend("--ft-button-font-size",Zt.fontSize),iconSize:i.FtCssVariable.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariable.extend("--ft-button-ripple-color",ki),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},zi=i.FtCssVariable.extend("--ft-button-primary-color",i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Si={backgroundColor:i.FtCssVariable.extend("--ft-button-primary-background-color",i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:zi,rippleColor:i.FtCssVariable.extend("--ft-button-primary-ripple-color",zi)},Oi=i.FtCssVariable.extend("--ft-button-dense-border-radius",i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Ci extends i.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[i.noTextSelect,e.css`
382
+ `,Ci([o.property()],ji.prototype,"variant",void 0),Ci([o.query("slot")],ji.prototype,"slottedContent",void 0),i.customElement("ft-icon")(ji);var Di=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Ei=i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Ti={backgroundColor:i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Ei,fontSize:i.FtCssVariable.extend("--ft-button-font-size",Pt.fontSize),iconSize:i.FtCssVariable.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariable.extend("--ft-button-ripple-color",Ei),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Mi=i.FtCssVariable.extend("--ft-button-primary-color",i.FtCssVariable.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Fi={backgroundColor:i.FtCssVariable.extend("--ft-button-primary-background-color",i.FtCssVariable.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Mi,rippleColor:i.FtCssVariable.extend("--ft-button-primary-ripple-color",Mi)},Ii=i.FtCssVariable.extend("--ft-button-dense-border-radius",i.FtCssVariable.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Ni extends i.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[i.noTextSelect,e.css`
369
383
  :host {
370
384
  display: inline-block;
371
385
  max-width: 100%;
@@ -404,18 +418,18 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
404
418
  border: none;
405
419
  pointer-events: auto;
406
420
 
407
- --ft-button-internal-font-size: ${wi.fontSize};
421
+ --ft-button-internal-font-size: ${Ti.fontSize};
408
422
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
409
- --ft-button-internal-color: ${wi.color};
410
- ${i.setVariable(yi.size,wi.iconSize)};
423
+ --ft-button-internal-color: ${Ti.color};
424
+ ${i.setVariable(Bi.size,Ti.iconSize)};
411
425
  --ft-button-internal-vertical-padding: 6px;
412
426
  --ft-button-internal-horizontal-padding: 8px;
413
- ${i.setVariable(si.color,wi.rippleColor)};
414
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${wi.iconSize});
427
+ ${i.setVariable(li.color,Ti.rippleColor)};
428
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ti.iconSize});
415
429
 
416
- border-radius: ${wi.borderRadius};
430
+ border-radius: ${Ti.borderRadius};
417
431
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
418
- background-color: ${wi.backgroundColor};
432
+ background-color: ${Ti.backgroundColor};
419
433
  color: var(--ft-button-internal-color);
420
434
  -webkit-mask-image: radial-gradient(white, black);
421
435
  }
@@ -427,7 +441,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
427
441
  .ft-button--dense {
428
442
  --ft-button-internal-vertical-padding: 2px;
429
443
  --ft-button-internal-horizontal-padding: 4px;
430
- border-radius: ${Oi};
444
+ border-radius: ${Ii};
431
445
  }
432
446
 
433
447
  .ft-button--round {
@@ -436,13 +450,13 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
436
450
 
437
451
  .ft-button[disabled] {
438
452
  filter: grayscale(1);
439
- opacity: ${wi.opacityDisabled};
453
+ opacity: ${Ti.opacityDisabled};
440
454
  }
441
455
 
442
456
  .ft-button.ft-button--primary {
443
- background-color: ${Si.backgroundColor};
444
- --ft-button-internal-color: ${Si.color};
445
- ${i.setVariable(si.color,Si.rippleColor)};
457
+ background-color: ${Fi.backgroundColor};
458
+ --ft-button-internal-color: ${Fi.color};
459
+ ${i.setVariable(li.color,Fi.rippleColor)};
446
460
  }
447
461
 
448
462
  .ft-button.ft-button--outlined {
@@ -455,13 +469,14 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
455
469
  }
456
470
 
457
471
  .ft-button--label {
472
+ position: relative;
458
473
  overflow: hidden;
459
474
  white-space: nowrap;
460
475
  text-overflow: ellipsis;
461
476
  display: block;
462
477
  margin: 0 var(--ft-button-internal-horizontal-padding);
463
- ${i.setVariable(Zt.fontSize,"var(--ft-button-internal-font-size)")};
464
- ${i.setVariable(Zt.lineHeight,"var(--ft-button-internal-content-height)")};
478
+ ${i.setVariable(Pt.fontSize,"var(--ft-button-internal-font-size)")};
479
+ ${i.setVariable(Pt.lineHeight,"var(--ft-button-internal-content-height)")};
465
480
  }
466
481
 
467
482
  .ft-button--safari-fix .ft-button--label {
@@ -480,6 +495,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
480
495
 
481
496
  ft-icon {
482
497
  flex-shrink: 0;
498
+ position: relative;
483
499
  }
484
500
 
485
501
  .ft-button--label[hidden] + ft-icon {
@@ -493,8 +509,8 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
493
509
  }
494
510
 
495
511
  ft-loader {
496
- ${i.setVariable(di.size,wi.iconSize)};
497
- ${i.setVariable(di.color,"var(--ft-button-internal-color)")};
512
+ ${i.setVariable(ki.size,Ti.iconSize)};
513
+ ${i.setVariable(ki.color,"var(--ft-button-internal-color)")};
498
514
  }
499
515
  `]}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":i.isSafari,"ft-no-text-select":!0};return this.addTooltip(e.html`
500
516
  <button part="button"
@@ -518,7 +534,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
518
534
  </ft-tooltip>
519
535
  `}resolveIcon(){return this.loading?e.html`
520
536
  <ft-loader></ft-loader> `:this.icon?e.html`
521
- <ft-icon variant="material">${this.icon}</ft-icon> `:e.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}}Ci.elementDefinitions={"ft-ripple":ni,"ft-tooltip":ci,"ft-typography":ii,"ft-icon":mi,"ft-loader":ui},$i([o.property({type:Boolean})],Ci.prototype,"primary",void 0),$i([o.property({type:Boolean})],Ci.prototype,"outlined",void 0),$i([o.property({type:Boolean})],Ci.prototype,"disabled",void 0),$i([o.property({type:Boolean})],Ci.prototype,"dense",void 0),$i([o.property({type:Boolean})],Ci.prototype,"round",void 0),$i([o.property({type:String})],Ci.prototype,"label",void 0),$i([o.property({type:String})],Ci.prototype,"icon",void 0),$i([o.property({type:Boolean})],Ci.prototype,"trailingIcon",void 0),$i([o.property({type:Boolean})],Ci.prototype,"loading",void 0),$i([o.property({type:String})],Ci.prototype,"tooltipPosition",void 0),$i([o.query(".ft-button")],Ci.prototype,"button",void 0),$i([o.query(".ft-button--label slot")],Ci.prototype,"slottedContent",void 0),i.customElement("ft-button")(Ci);var Bi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const ji=i.FtCssVariable.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),Di=i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),Ei=i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),Ti=i.FtCssVariable.extend("--ft-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),Mi=i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system");class Fi extends i.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 e.html`
537
+ <ft-icon variant="material">${this.icon}</ft-icon> `:e.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}}Ni.elementDefinitions={"ft-ripple":ui,"ft-tooltip":$i,"ft-typography":oi,"ft-icon":ji,"ft-loader":wi},Di([o.property({type:Boolean})],Ni.prototype,"primary",void 0),Di([o.property({type:Boolean})],Ni.prototype,"outlined",void 0),Di([o.property({type:Boolean})],Ni.prototype,"disabled",void 0),Di([o.property({type:Boolean})],Ni.prototype,"dense",void 0),Di([o.property({type:Boolean})],Ni.prototype,"round",void 0),Di([o.property({type:String})],Ni.prototype,"label",void 0),Di([o.property({type:String})],Ni.prototype,"icon",void 0),Di([o.property({type:Boolean})],Ni.prototype,"trailingIcon",void 0),Di([o.property({type:Boolean})],Ni.prototype,"loading",void 0),Di([o.property({type:String})],Ni.prototype,"tooltipPosition",void 0),Di([o.query(".ft-button")],Ni.prototype,"button",void 0),Di([o.query(".ft-button--label slot")],Ni.prototype,"slottedContent",void 0),i.customElement("ft-button")(Ni);var Ai=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const _i=i.FtCssVariable.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),Li=i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),Ri=i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),Hi=i.FtCssVariable.extend("--ft-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),Ui=i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system");class Wi extends i.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 e.html`
522
538
  <label class="${n.classMap(t)}">
523
539
  <div class="ft-checkbox--box-container">
524
540
  <input type="checkbox"
@@ -543,14 +559,14 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
543
559
  <slot></slot>
544
560
  </ft-typography>
545
561
  </label>
546
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}}Fi.elementDefinitions={"ft-ripple":ni,"ft-typography":ii},Fi.styles=e.css`
562
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}}Wi.elementDefinitions={"ft-ripple":ui,"ft-typography":oi},Wi.styles=e.css`
547
563
  * {
548
564
  box-sizing: border-box;
549
565
  }
550
566
 
551
567
  .ft-checkbox {
552
568
  box-sizing: border-box;
553
- color: ${ji};
569
+ color: ${_i};
554
570
 
555
571
  display: inline-flex;
556
572
  align-items: center;
@@ -558,7 +574,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
558
574
  }
559
575
 
560
576
  .ft-checkbox--disabled {
561
- color: ${Mi};
577
+ color: ${Ui};
562
578
  }
563
579
 
564
580
  input {
@@ -581,26 +597,26 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
581
597
  }
582
598
 
583
599
  .ft-checkbox--box {
584
- border: 2px solid ${Ti};
600
+ border: 2px solid ${Hi};
585
601
  border-radius: 2px;
586
602
 
587
603
  width: 18px;
588
604
  height: 18px;
589
605
 
590
- color: ${Ei};
606
+ color: ${Ri};
591
607
  }
592
608
 
593
609
 
594
610
  .ft-checkbox--checked .ft-checkbox--box,
595
611
  .ft-checkbox--indeterminate .ft-checkbox--box {
596
- border-color: ${Di};
597
- background-color: ${Di};
612
+ border-color: ${Li};
613
+ background-color: ${Li};
598
614
  }
599
615
 
600
616
  .ft-checkbox--disabled .ft-checkbox--box {
601
- border-color: ${Mi};
617
+ border-color: ${Ui};
602
618
  background-color: transparent;
603
- color: ${Mi};
619
+ color: ${Ui};
604
620
  }
605
621
 
606
622
  .ft-checkbox--checkmark {
@@ -619,7 +635,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
619
635
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
620
636
  opacity: 1;
621
637
  }
622
- `,Bi([o.property()],Fi.prototype,"name",void 0),Bi([o.property({type:Boolean})],Fi.prototype,"checked",void 0),Bi([o.property({type:Boolean})],Fi.prototype,"indeterminate",void 0),Bi([o.property({type:Boolean})],Fi.prototype,"disabled",void 0),Bi([o.query(".ft-checkbox")],Fi.prototype,"container",void 0),Bi([o.query("ft-ripple")],Fi.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Fi);var Ai=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Ii=i.FtCssVariable.extend("--ft-radio-text-color",i.designSystemVariables.colorOnSurfaceHigh),Ni=i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),_i=(i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),i.FtCssVariable.extend("--ft-radio-border-color",i.designSystemVariables.colorOnSurfaceMedium)),Li=i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system");class Ri extends CustomEvent{constructor(t,i){super("change",{detail:{value:t,checked:i},bubbles:!0,composed:!0})}}class Hi extends i.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 e.html`
638
+ `,Ai([o.property()],Wi.prototype,"name",void 0),Ai([o.property({type:Boolean})],Wi.prototype,"checked",void 0),Ai([o.property({type:Boolean})],Wi.prototype,"indeterminate",void 0),Ai([o.property({type:Boolean})],Wi.prototype,"disabled",void 0),Ai([o.query(".ft-checkbox")],Wi.prototype,"container",void 0),Ai([o.query("ft-ripple")],Wi.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Wi);var Zi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Vi=i.FtCssVariable.extend("--ft-radio-text-color",i.designSystemVariables.colorOnSurfaceHigh),Pi=i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),Ki=(i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),i.FtCssVariable.extend("--ft-radio-border-color",i.designSystemVariables.colorOnSurfaceMedium)),Gi=i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system");class qi extends CustomEvent{constructor(t,i){super("change",{detail:{value:t,checked:i},bubbles:!0,composed:!0})}}class Xi extends i.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 e.html`
623
639
  <div class="${n.classMap(t)}">
624
640
  <div class="ft-radio--box-container">
625
641
  <input id="radio-button"
@@ -644,14 +660,14 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
644
660
  </ft-typography>
645
661
  </label>
646
662
  </div>
647
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ri(this.value,this.checked))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ri(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Hi.elementDefinitions={"ft-ripple":ni,"ft-typography":ii},Hi.styles=e.css`
663
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new qi(this.value,this.checked))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new qi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Xi.elementDefinitions={"ft-ripple":ui,"ft-typography":oi},Xi.styles=e.css`
648
664
  * {
649
665
  box-sizing: border-box;
650
666
  }
651
667
 
652
668
  .ft-radio {
653
669
  box-sizing: border-box;
654
- color: ${Ii};
670
+ color: ${Vi};
655
671
 
656
672
  display: inline-flex;
657
673
  align-items: center;
@@ -659,7 +675,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
659
675
  }
660
676
 
661
677
  .ft-radio--disabled {
662
- color: ${Li};
678
+ color: ${Gi};
663
679
  }
664
680
 
665
681
  input {
@@ -682,7 +698,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
682
698
  }
683
699
 
684
700
  .ft-radio--box {
685
- border: 2px solid ${_i};
701
+ border: 2px solid ${Ki};
686
702
  border-radius: 50%;
687
703
 
688
704
  display: flex;
@@ -695,7 +711,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
695
711
 
696
712
  .ft-radio--box:after {
697
713
  content: " ";
698
- background-color: ${Ni};
714
+ background-color: ${Pi};
699
715
 
700
716
  border-radius: 50%;
701
717
 
@@ -707,7 +723,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
707
723
  }
708
724
 
709
725
  .ft-radio--checked .ft-radio--box {
710
- border-color: ${Ni};
726
+ border-color: ${Pi};
711
727
  }
712
728
 
713
729
 
@@ -716,24 +732,24 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
716
732
  }
717
733
 
718
734
  .ft-radio--disabled .ft-radio--box {
719
- border-color: ${Li};
735
+ border-color: ${Gi};
720
736
  background-color: transparent;
721
737
  }
722
738
 
723
739
  .ft-radio--disabled .ft-radio--box:after {
724
- background-color: ${Li};
740
+ background-color: ${Gi};
725
741
  }
726
- `,Ai([o.property()],Hi.prototype,"value",void 0),Ai([o.property()],Hi.prototype,"name",void 0),Ai([o.property({type:Boolean})],Hi.prototype,"checked",void 0),Ai([o.property({type:Boolean})],Hi.prototype,"disabled",void 0),Ai([o.query(".ft-radio")],Hi.prototype,"container",void 0),Ai([o.query("ft-ripple")],Hi.prototype,"ripple",void 0),Ai([o.query("input")],Hi.prototype,"input",void 0);var Ui=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Wi extends i.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
742
+ `,Zi([o.property()],Xi.prototype,"value",void 0),Zi([o.property()],Xi.prototype,"name",void 0),Zi([o.property({type:Boolean})],Xi.prototype,"checked",void 0),Zi([o.property({type:Boolean})],Xi.prototype,"disabled",void 0),Zi([o.query(".ft-radio")],Xi.prototype,"container",void 0),Zi([o.query("ft-ripple")],Xi.prototype,"ripple",void 0),Zi([o.query("input")],Xi.prototype,"input",void 0);var Yi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Ji extends i.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
727
743
  <slot @slotchange=${this.onSlotChange}
728
744
  @change=${this.onChange}
729
745
  @keydown=${this.onKeyDown}
730
746
  @focusin=${this.onFocusIn}
731
747
  ></slot>
732
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((i=>i.checked=t.detail.value===i.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let i=this.findFtRadio(t),e=this.radioButtons.indexOf(i)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].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)}}Wi.elementDefinitions={},Wi.styles=e.css`
748
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((i=>i.checked=t.detail.value===i.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let i=this.findFtRadio(t),e=this.radioButtons.indexOf(i)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].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)}}Ji.elementDefinitions={},Ji.styles=e.css`
733
749
  :host {
734
750
  display: contents;
735
751
  }
736
- `,Ui([o.property()],Wi.prototype,"name",void 0),Ui([o.queryAssignedElements()],Wi.prototype,"radioButtons",void 0),i.customElement("ft-radio")(Hi),i.customElement("ft-radio-group")(Wi);var Zi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Vi={borderRadiusM:i.FtCssVariable.external(i.designSystemVariables.borderRadiusM,"Design system"),colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),colorOnSurface:i.FtCssVariable.external(i.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:i.FtCssVariable.external(St.fontFamily,"Body2 typography"),fontSize:i.FtCssVariable.external(St.fontSize,"Body2 typography"),fontWeight:i.FtCssVariable.external(St.fontWeight,"Body2 typography"),letterSpacing:i.FtCssVariable.external(St.letterSpacing,"Body2 typography"),lineHeight:i.FtCssVariable.external(St.lineHeight,"Body2 typography"),textTransform:i.FtCssVariable.external(St.textTransform,"Body2 typography")};class Pi extends i.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,i;return null!==(i=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==i?i: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 i=t.slice(0,this.limit);return e.html`
752
+ `,Yi([o.property()],Ji.prototype,"name",void 0),Yi([o.queryAssignedElements()],Ji.prototype,"radioButtons",void 0),i.customElement("ft-radio")(Xi),i.customElement("ft-radio-group")(Ji);var Qi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const te={borderRadiusM:i.FtCssVariable.external(i.designSystemVariables.borderRadiusM,"Design system"),colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),colorOnSurface:i.FtCssVariable.external(i.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:i.FtCssVariable.external(Ct.fontFamily,"Body2 typography"),fontSize:i.FtCssVariable.external(Ct.fontSize,"Body2 typography"),fontWeight:i.FtCssVariable.external(Ct.fontWeight,"Body2 typography"),letterSpacing:i.FtCssVariable.external(Ct.letterSpacing,"Body2 typography"),lineHeight:i.FtCssVariable.external(Ct.lineHeight,"Body2 typography"),textTransform:i.FtCssVariable.external(Ct.textTransform,"Body2 typography")};class ie extends i.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,i;return null!==(i=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==i?i: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 i=t.slice(0,this.limit);return e.html`
737
753
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
738
754
  ${null==this.parent?null:e.html`
739
755
  <div tabindex="0"
@@ -772,7 +788,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
772
788
  <ft-checkbox name="${this.id}"
773
789
  .checked=${t.selected}
774
790
  .disabled=${this.disabled}
775
- .indeterminate=${ei(null!==(i=t.subOptions)&&void 0!==i?i:[],(t=>{var i;return null!==(i=t.subOptions)&&void 0!==i?i:[]})).some((t=>t.selected))}
791
+ .indeterminate=${si(null!==(i=t.subOptions)&&void 0!==i?i:[],(t=>{var i;return null!==(i=t.subOptions)&&void 0!==i?i:[]})).some((t=>t.selected))}
776
792
  @change=${i=>this.optionsChanged(i,t)}>
777
793
  ${t.label}
778
794
  </ft-checkbox>
@@ -786,7 +802,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
786
802
 
787
803
  ${t.label}
788
804
  </ft-radio>
789
- `}onRadioKeyUp(t,i){i.selected&&" "===t.key&&this.optionsChanged(t,i)}optionsChanged(t,i){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:i}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Pi.elementDefinitions={"ft-button":Ci,"ft-ripple":ni,"ft-typography":ii,"ft-checkbox":Fi,"ft-icon":mi,"ft-radio":Hi},Pi.styles=[e.css`
805
+ `}onRadioKeyUp(t,i){i.selected&&" "===t.key&&this.optionsChanged(t,i)}optionsChanged(t,i){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:i}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}ie.elementDefinitions={"ft-button":Ni,"ft-ripple":ui,"ft-typography":oi,"ft-checkbox":Wi,"ft-icon":ji,"ft-radio":Xi},ie.styles=[e.css`
790
806
  .ft-filter-level--container {
791
807
  display: flex;
792
808
  flex-direction: column;
@@ -800,14 +816,14 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
800
816
  flex-shrink: 0;
801
817
  text-decoration: none;
802
818
  position: relative;
803
- border-radius: ${Vi.borderRadiusM};
819
+ border-radius: ${te.borderRadiusM};
804
820
  overflow: hidden;
805
821
  display: flex;
806
822
  align-items: center;
807
823
  padding: 4px 4px;
808
824
  gap: 4px;
809
825
  cursor: pointer;
810
- color: ${Vi.colorOnSurface};
826
+ color: ${te.colorOnSurface};
811
827
  }
812
828
 
813
829
  .ft-filter-level--go-back:focus {
@@ -836,7 +852,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
836
852
  }
837
853
 
838
854
  ft-button {
839
- ${i.setVariable(wi.color,Vi.colorOnSurface)};
855
+ ${i.setVariable(Ti.color,te.colorOnSurface)};
840
856
  }
841
857
 
842
858
  ft-radio, ft-checkbox {
@@ -847,7 +863,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
847
863
  margin-left: -10px;
848
864
  word-break: break-word;
849
865
  }
850
- `],Zi([o.property({type:String})],Pi.prototype,"id",void 0),Zi([o.property({type:Object})],Pi.prototype,"parent",void 0),Zi([o.property({type:Array})],Pi.prototype,"options",void 0),Zi([o.property({type:Boolean})],Pi.prototype,"multivalued",void 0),Zi([o.property({type:Boolean})],Pi.prototype,"disabled",void 0),Zi([o.property({type:Boolean})],Pi.prototype,"hideSelectedOptions",void 0),Zi([o.property({type:Boolean})],Pi.prototype,"preventNavigation",void 0),Zi([o.property({type:String})],Pi.prototype,"filter",void 0),Zi([o.property({type:String})],Pi.prototype,"moreValuesButtonLabel",void 0),Zi([o.property({type:Number})],Pi.prototype,"displayedValuesLimit",void 0),Zi([o.query(".ft-filter-level--container")],Pi.prototype,"container",void 0),Zi([o.state()],Pi.prototype,"displayedPages",void 0);var Ki=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Gi={buttonsColor:i.FtCssVariable.extend("--ft-snap-scroll-buttons-color",i.designSystemVariables.colorPrimary),buttonsZIndex:i.FtCssVariable.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:i.FtCssVariable.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:i.FtCssVariable.external(i.designSystemVariables.colorSurface,"Design system")};class qi extends CustomEvent{constructor(t,i){super("current-element-change",{detail:{index:t,element:i}})}}class Xi extends i.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 i.Debouncer(200),this.updateScrollDebouncer=new i.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let i=this.elements[t];if(i){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(i[this.offsetAttribute]<e||i[this.offsetAttribute]+i[this.sizeAttribute]>t)&&this.scrollToElement(i)}}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":i.isSafari}),o=this.controls&&this.withScroll;return e.html`
866
+ `],Qi([o.property({type:String})],ie.prototype,"id",void 0),Qi([o.property({type:Object})],ie.prototype,"parent",void 0),Qi([o.property({type:Array})],ie.prototype,"options",void 0),Qi([o.property({type:Boolean})],ie.prototype,"multivalued",void 0),Qi([o.property({type:Boolean})],ie.prototype,"disabled",void 0),Qi([o.property({type:Boolean})],ie.prototype,"hideSelectedOptions",void 0),Qi([o.property({type:Boolean})],ie.prototype,"preventNavigation",void 0),Qi([o.property({type:String})],ie.prototype,"filter",void 0),Qi([o.property({type:String})],ie.prototype,"moreValuesButtonLabel",void 0),Qi([o.property({type:Number})],ie.prototype,"displayedValuesLimit",void 0),Qi([o.query(".ft-filter-level--container")],ie.prototype,"container",void 0),Qi([o.state()],ie.prototype,"displayedPages",void 0);var ee=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const oe={buttonsColor:i.FtCssVariable.extend("--ft-snap-scroll-buttons-color",i.designSystemVariables.colorPrimary),buttonsZIndex:i.FtCssVariable.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:i.FtCssVariable.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:i.FtCssVariable.external(i.designSystemVariables.colorSurface,"Design system")};class se extends CustomEvent{constructor(t,i){super("current-element-change",{detail:{index:t,element:i}})}}class ne extends i.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 i.Debouncer(200),this.updateScrollDebouncer=new i.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let i=this.elements[t];if(i){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(i[this.offsetAttribute]<e||i[this.offsetAttribute]+i[this.sizeAttribute]>t)&&this.scrollToElement(i)}}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":i.isSafari}),o=this.controls&&this.withScroll;return e.html`
851
867
  <div part="container" class="${t}">
852
868
  <ft-button
853
869
  class="ft-snap-scroll--previous"
@@ -871,7 +887,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
871
887
  @click=${this.next}
872
888
  ></ft-button>
873
889
  </div>
874
- `}updated(t){var i;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===(i=this.listenedContainer)||void 0===i||i.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 qi(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const i=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<i&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var i,e;t&&(this.horizontal?null===(i=this.contentSlot)||void 0===i||i.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,i;this.elements=null!==(i=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==i?i:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let i=0;i<this.elements.length;i++)(t<0||this.getDistanceFromStart(this.elements[i])<this.getDistanceFromStart(this.elements[t]))&&(t=i);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 i=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-i)}}Xi.elementDefinitions={"ft-button":Ci},Xi.styles=e.css`
890
+ `}updated(t){var i;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===(i=this.listenedContainer)||void 0===i||i.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 se(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const i=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<i&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var i,e;t&&(this.horizontal?null===(i=this.contentSlot)||void 0===i||i.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,i;this.elements=null!==(i=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==i?i:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let i=0;i<this.elements.length;i++)(t<0||this.getDistanceFromStart(this.elements[i])<this.getDistanceFromStart(this.elements[t]))&&(t=i);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 i=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-i)}}ne.elementDefinitions={"ft-button":Ni},ne.styles=e.css`
875
891
  .ft-snap-scroll {
876
892
  box-sizing: border-box;
877
893
  position: relative;
@@ -906,7 +922,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
906
922
  flex-wrap: nowrap;
907
923
  align-items: flex-start;
908
924
  justify-content: flex-start;
909
- gap: ${Gi.gap};
925
+ gap: ${oe.gap};
910
926
  }
911
927
 
912
928
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -949,11 +965,11 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
949
965
  .ft-snap-scroll--next {
950
966
  position: absolute;
951
967
  display: flex;
952
- z-index: ${Gi.buttonsZIndex};
968
+ z-index: ${oe.buttonsZIndex};
953
969
  opacity: 1;
954
970
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
955
- ${i.setVariable(wi.backgroundColor,"transparent")};
956
- ${i.setVariable(wi.color,Gi.buttonsColor)};
971
+ ${i.setVariable(Ti.backgroundColor,"transparent")};
972
+ ${i.setVariable(Ti.color,oe.buttonsColor)};
957
973
  }
958
974
 
959
975
  .ft-snap-scroll--previous[hidden],
@@ -966,37 +982,37 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
966
982
  top: 0;
967
983
  left: -1px;
968
984
  bottom: 0;
969
- background: linear-gradient(to right, ${Gi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
985
+ background: linear-gradient(to right, ${oe.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
970
986
  }
971
987
 
972
988
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
973
989
  top: -1px;
974
990
  left: 0;
975
991
  right: 0;
976
- background: linear-gradient(to bottom, ${Gi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
992
+ background: linear-gradient(to bottom, ${oe.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
977
993
  }
978
994
 
979
995
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
980
996
  top: 0;
981
997
  right: -1px;
982
998
  bottom: 0;
983
- background: linear-gradient(to left, ${Gi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
999
+ background: linear-gradient(to left, ${oe.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
984
1000
  }
985
1001
 
986
1002
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
987
1003
  left: 0;
988
1004
  right: 0;
989
1005
  bottom: -1px;
990
- background: linear-gradient(to top, ${Gi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1006
+ background: linear-gradient(to top, ${oe.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
991
1007
  }
992
1008
 
993
1009
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
994
1010
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
995
1011
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
996
1012
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
997
- background-color: ${Gi.colorSurface};
1013
+ background-color: ${oe.colorSurface};
998
1014
  }
999
- `,Ki([o.property({type:Boolean})],Xi.prototype,"horizontal",void 0),Ki([o.property({type:Boolean})],Xi.prototype,"hideScrollbar",void 0),Ki([o.property({type:Boolean})],Xi.prototype,"controls",void 0),Ki([o.property({type:Boolean})],Xi.prototype,"limitSize",void 0),Ki([o.state()],Xi.prototype,"elements",void 0),Ki([o.state()],Xi.prototype,"currentElement",void 0),Ki([o.state()],Xi.prototype,"withScroll",void 0),Ki([o.state()],Xi.prototype,"startReached",void 0),Ki([o.state()],Xi.prototype,"endReached",void 0),Ki([o.query(".ft-snap-scroll--content")],Xi.prototype,"contentSlot",void 0),i.customElement("ft-snap-scroll")(Xi);var Yi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Ji={colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),colorOnSurface:i.FtCssVariable.external(i.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorSurface:i.FtCssVariable.external(i.designSystemVariables.colorSurface,"Design system"),transitionDuration:i.FtCssVariable.external(i.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:i.FtCssVariable.external(i.designSystemVariables.transitionTimingFunction,"Design system")};class Qi extends CustomEvent{constructor(t){super("change",{detail:t})}}class te extends i.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 i.Debouncer(300),this.changeDebouncer=new i.Debouncer(10)}get flatOptions(){return ei(this.options,(t=>{var i;return null!==(i=t.subOptions)&&void 0!==i?i:[]}))}render(){var t,i;const o=this.flatOptions.some((t=>t.selected));let s=this.withScroll||this.filter||null!==(i=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==i&&i;return e.html`
1015
+ `,ee([o.property({type:Boolean})],ne.prototype,"horizontal",void 0),ee([o.property({type:Boolean})],ne.prototype,"hideScrollbar",void 0),ee([o.property({type:Boolean})],ne.prototype,"controls",void 0),ee([o.property({type:Boolean})],ne.prototype,"limitSize",void 0),ee([o.state()],ne.prototype,"elements",void 0),ee([o.state()],ne.prototype,"currentElement",void 0),ee([o.state()],ne.prototype,"withScroll",void 0),ee([o.state()],ne.prototype,"startReached",void 0),ee([o.state()],ne.prototype,"endReached",void 0),ee([o.query(".ft-snap-scroll--content")],ne.prototype,"contentSlot",void 0),i.customElement("ft-snap-scroll")(ne);var re=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const le={colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),colorOnSurface:i.FtCssVariable.external(i.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorSurface:i.FtCssVariable.external(i.designSystemVariables.colorSurface,"Design system"),transitionDuration:i.FtCssVariable.external(i.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:i.FtCssVariable.external(i.designSystemVariables.transitionTimingFunction,"Design system")};class ae extends CustomEvent{constructor(t){super("change",{detail:t})}}class he extends i.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 i.Debouncer(300),this.changeDebouncer=new i.Debouncer(10)}get flatOptions(){return si(this.options,(t=>{var i;return null!==(i=t.subOptions)&&void 0!==i?i:[]}))}render(){var t,i;const o=this.flatOptions.some((t=>t.selected));let s=this.withScroll||this.filter||null!==(i=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==i&&i;return e.html`
1000
1016
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1001
1017
  part="container">
1002
1018
  ${this.label||o?e.html`
@@ -1061,7 +1077,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1061
1077
  @display-level=${this.onDisplayLevel}
1062
1078
  part="values"
1063
1079
  ></ft-filter-level>
1064
- `}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 i;t.stopPropagation();const e=this.flatOptions.find((i=>i.value===t.detail.value));e.selected=!e.selected;const o=t=>{var i;t!==e&&(t.selected=!1),null===(i=t.subOptions)||void 0===i||i.forEach(o)};this.multivalued?null===(i=e.subOptions)||void 0===i||i.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const i=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new Qi(i)),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 i=t.composedPath()[0];this.filter=i.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}te.elementDefinitions={"ft-button":Ci,"ft-filter-level":Pi,"ft-snap-scroll":Xi,"ft-typography":ii},te.styles=[Yt,e.css`
1080
+ `}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 i;t.stopPropagation();const e=this.flatOptions.find((i=>i.value===t.detail.value));e.selected=!e.selected;const o=t=>{var i;t!==e&&(t.selected=!1),null===(i=t.subOptions)||void 0===i||i.forEach(o)};this.multivalued?null===(i=e.subOptions)||void 0===i||i.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const i=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new ae(i)),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 i=t.composedPath()[0];this.filter=i.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}he.elementDefinitions={"ft-button":Ni,"ft-filter-level":ie,"ft-snap-scroll":ne,"ft-typography":oi},he.styles=[Qt,e.css`
1065
1081
  :host {
1066
1082
  display: flex;
1067
1083
  max-height: 100%;
@@ -1074,8 +1090,8 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1074
1090
  flex-direction: column;
1075
1091
  max-height: 100%;
1076
1092
  max-width: 100%;
1077
- color: ${Ji.colorOnSurface};
1078
- background: ${Ji.colorSurface};
1093
+ color: ${le.colorOnSurface};
1094
+ background: ${le.colorSurface};
1079
1095
  }
1080
1096
 
1081
1097
  .ft-filter--header {
@@ -1085,13 +1101,13 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1085
1101
  flex-shrink: 0;
1086
1102
  padding: 0 10px;
1087
1103
  margin-bottom: 8px;
1088
- ${i.setVariable(G.fontSize,"14px")};
1104
+ ${i.setVariable(X.fontSize,"14px")};
1089
1105
  }
1090
1106
 
1091
1107
  .ft-filter--header ft-button {
1092
1108
  flex-shrink: 0;
1093
1109
  margin-left: auto;
1094
- ${i.setVariable(wi.iconSize,"18px")};
1110
+ ${i.setVariable(Ti.iconSize,"18px")};
1095
1111
  }
1096
1112
 
1097
1113
  .ft-filter--label {
@@ -1099,8 +1115,8 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1099
1115
  flex-shrink: 1;
1100
1116
  flex-grow: 1;
1101
1117
  word-break: break-word;
1102
- ${i.setVariable(G.lineHeight,"22px")};
1103
- ${i.setVariable(G.fontWeight,"bold")};
1118
+ ${i.setVariable(X.lineHeight,"22px")};
1119
+ ${i.setVariable(X.fontWeight,"bold")};
1104
1120
  }
1105
1121
 
1106
1122
  .ft-filter--filter {
@@ -1111,8 +1127,8 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1111
1127
  padding: 0 10px;
1112
1128
  overflow: hidden;
1113
1129
  height: 32px;
1114
- transition: height ${Ji.transitionDuration} ${Ji.transitionTimingFunction},
1115
- margin ${Ji.transitionDuration} ${Ji.transitionTimingFunction};
1130
+ transition: height ${le.transitionDuration} ${le.transitionTimingFunction},
1131
+ margin ${le.transitionDuration} ${le.transitionTimingFunction};
1116
1132
  transition-delay: 500ms;
1117
1133
  }
1118
1134
 
@@ -1125,11 +1141,11 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1125
1141
  display: block;
1126
1142
  width: 100%;
1127
1143
  border-radius: 4px;
1128
- border: 1px solid ${Ji.colorOutline};
1144
+ border: 1px solid ${le.colorOutline};
1129
1145
  padding: 4px;
1130
- background-color: ${Ji.colorSurface};
1131
- color: ${Ji.colorOnSurfaceMedium};
1132
- outline-color: ${Ji.colorPrimary};
1146
+ background-color: ${le.colorSurface};
1147
+ color: ${le.colorOnSurfaceMedium};
1148
+ outline-color: ${le.colorPrimary};
1133
1149
  }
1134
1150
 
1135
1151
  .ft-filter--values {
@@ -1141,7 +1157,7 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1141
1157
  }
1142
1158
 
1143
1159
  .ft-filter--separator {
1144
- border-top: 1px solid ${Ji.colorOutline};
1160
+ border-top: 1px solid ${le.colorOutline};
1145
1161
  margin: 4px 10px;
1146
1162
  }
1147
1163
 
@@ -1166,6 +1182,6 @@ const H=t=>({_$litStatic$:t}),U=new Map,W=(t=>(i,...e)=>{var o;const s=e.length;
1166
1182
  slot {
1167
1183
  display: none;
1168
1184
  }
1169
- `],Yi([o.property({type:String})],te.prototype,"id",void 0),Yi([o.property({type:String})],te.prototype,"label",void 0),Yi([o.property({type:String})],te.prototype,"filterPlaceHolder",void 0),Yi([o.property({type:String})],te.prototype,"clearButtonLabel",void 0),Yi([o.property({type:String})],te.prototype,"moreValuesButtonLabel",void 0),Yi([i.jsonProperty([])],te.prototype,"options",void 0),Yi([o.property({type:Boolean})],te.prototype,"multivalued",void 0),Yi([o.property({type:Boolean})],te.prototype,"disabled",void 0),Yi([o.property({type:Boolean})],te.prototype,"raiseSelectedOptions",void 0),Yi([o.property({type:Number})],te.prototype,"displayedValuesLimit",void 0),Yi([o.query(".ft-filter--slot")],te.prototype,"slotElement",void 0),Yi([o.query(".ft-filter--container")],te.prototype,"container",void 0),Yi([o.query(".ft-filter--values")],te.prototype,"valuesContainer",void 0),Yi([o.query(".ft-filter--levels")],te.prototype,"levelsContainer",void 0),Yi([o.query(".ft-filter--levels ft-filter-level:last-child")],te.prototype,"lastLevel",void 0),Yi([o.queryAll(".ft-filter--levels ft-filter-level")],te.prototype,"levels",void 0),Yi([o.state()],te.prototype,"withScroll",void 0),Yi([o.state()],te.prototype,"filter",void 0),Yi([o.state()],te.prototype,"slideIn",void 0),Yi([o.state()],te.prototype,"slideOut",void 0);var ie=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class ee extends i.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
1185
+ `],re([o.property({type:String})],he.prototype,"id",void 0),re([o.property({type:String})],he.prototype,"label",void 0),re([o.property({type:String})],he.prototype,"filterPlaceHolder",void 0),re([o.property({type:String})],he.prototype,"clearButtonLabel",void 0),re([o.property({type:String})],he.prototype,"moreValuesButtonLabel",void 0),re([i.jsonProperty([])],he.prototype,"options",void 0),re([o.property({type:Boolean})],he.prototype,"multivalued",void 0),re([o.property({type:Boolean})],he.prototype,"disabled",void 0),re([o.property({type:Boolean})],he.prototype,"raiseSelectedOptions",void 0),re([o.property({type:Number})],he.prototype,"displayedValuesLimit",void 0),re([o.query(".ft-filter--slot")],he.prototype,"slotElement",void 0),re([o.query(".ft-filter--container")],he.prototype,"container",void 0),re([o.query(".ft-filter--values")],he.prototype,"valuesContainer",void 0),re([o.query(".ft-filter--levels")],he.prototype,"levelsContainer",void 0),re([o.query(".ft-filter--levels ft-filter-level:last-child")],he.prototype,"lastLevel",void 0),re([o.queryAll(".ft-filter--levels ft-filter-level")],he.prototype,"levels",void 0),re([o.state()],he.prototype,"withScroll",void 0),re([o.state()],he.prototype,"filter",void 0),re([o.state()],he.prototype,"slideIn",void 0),re([o.state()],he.prototype,"slideOut",void 0);var pe=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class fe extends i.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
1170
1186
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1171
- `}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}))}}ee.elementDefinitions={},ie([o.property({type:String})],ee.prototype,"label",void 0),ie([o.property({type:Object,converter:t=>t})],ee.prototype,"value",void 0),ie([o.property({type:Boolean,reflect:!0})],ee.prototype,"selected",void 0),ie([o.property({type:Object})],ee.prototype,"subOptions",void 0),ie([o.query(".ft-filter-option--slot")],ee.prototype,"slotElement",void 0),i.customElement("ft-filter")(te),i.customElement("ft-filter-option")(ee),t.FtFilter=te,t.FtFilterChangeEvent=Qi,t.FtFilterCssVariables=Ji,t.FtFilterOption=ee,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
1187
+ `}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}))}}fe.elementDefinitions={},pe([o.property({type:String})],fe.prototype,"label",void 0),pe([o.property({type:Object,converter:t=>t})],fe.prototype,"value",void 0),pe([o.property({type:Boolean,reflect:!0})],fe.prototype,"selected",void 0),pe([o.property({type:Object})],fe.prototype,"subOptions",void 0),pe([o.query(".ft-filter-option--slot")],fe.prototype,"slotElement",void 0),i.customElement("ft-filter")(he),i.customElement("ft-filter-option")(fe),t.FtFilter=he,t.FtFilterChangeEvent=ae,t.FtFilterCssVariables=le,t.FtFilterOption=fe,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);