@fluid-topics/ft-text-field 0.2.4 → 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 r;const n=globalThis.trustedTypes,p=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,a="?"+f,h=`<${a}>`,d=document,c=(t="")=>d.createComment(t),x=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,b=/>/g,v=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,m=/'/g,$=/"/g,w=/^(?:script|style|textarea|title)$/i,k=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),E=new WeakMap,I=d.createTreeWalker(d,129,null,!1),O=(t,e)=>{const i=t.length-1,o=[];let l,s=2===e?"<svg>":"",r=y;for(let e=0;e<i;e++){const i=t[e];let n,p,a=-1,d=0;for(;d<i.length&&(r.lastIndex=d,p=r.exec(i),null!==p);)d=r.lastIndex,r===y?"!--"===p[1]?r=g:void 0!==p[1]?r=b:void 0!==p[2]?(w.test(p[2])&&(l=RegExp("</"+p[2],"g")),r=v):void 0!==p[3]&&(r=v):r===v?">"===p[0]?(r=null!=l?l:y,a=-1):void 0===p[1]?a=-2:(a=r.lastIndex-p[2].length,n=p[1],r=void 0===p[3]?v:'"'===p[3]?$:m):r===$||r===m?r=v:r===g||r===b?r=y:(r=v,l=void 0);const c=r===v&&t[e+1].startsWith("/>")?" ":"";s+=r===y?i+h:a>=0?(o.push(n),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(o.push(void 0),e):c)}const n=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==p?p.createHTML(n):n,o]};class j{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let l=0,s=0;const r=t.length-1,p=this.parts,[h,d]=O(t,e);if(this.el=j.createElement(h,i),I.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=I.nextNode())&&p.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(f)){const i=d[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(f),e=/([.?@])?(.*)/.exec(i);p.push({type:1,index:l,name:e[2],strings:t,ctor:"."===e[1]?Z:"?"===e[1]?D:"@"===e[1]?M:_})}else p.push({type:6,index:l})}for(const e of t)o.removeAttribute(e)}if(w.test(o.tagName)){const t=o.textContent.split(f),e=t.length-1;if(e>0){o.textContent=n?n.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],c()),I.nextNode(),p.push({type:2,index:++l});o.append(t[e],c())}}}else if(8===o.nodeType)if(o.data===a)p.push({type:2,index:l});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)p.push({type:7,index:l}),t+=f.length-1}l++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function C(t,e,i=t,o){var l,s,r,n;if(e===z)return e;let p=void 0!==o?null===(l=i._$Cl)||void 0===l?void 0:l[o]:i._$Cu;const f=x(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==f&&(null===(s=null==p?void 0:p._$AO)||void 0===s||s.call(p,!1),void 0===f?p=void 0:(p=new f(t),p._$AT(t,i,o)),void 0!==o?(null!==(r=(n=i)._$Cl)&&void 0!==r?r:n._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=C(t,p._$AS(t,e.values),p,o)),e}class N{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,l=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(i,!0);I.currentNode=l;let s=I.nextNode(),r=0,n=0,p=o[0];for(;void 0!==p;){if(r===p.index){let e;2===p.type?e=new A(s,s.nextSibling,this,t):1===p.type?e=new p.ctor(s,p.name,p.strings,this,t):6===p.type&&(e=new T(s,this,t)),this.v.push(e),p=o[++n]}r!==(null==p?void 0:p.index)&&(s=I.nextNode(),r++)}return l}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var l;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(l=null==o?void 0:o.isConnected)||void 0===l||l}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),x(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return u(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==S&&x(this._$AH)?this._$AA.nextSibling.data=t:this.S(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,l="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=j.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===l)this._$AH.m(i);else{const t=new N(l,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new j(t)),e}A(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const l of t)o===e.length?e.push(i=new A(this.M(c()),this.M(c()),this,this.options)):i=e[o],i._$AI(l),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,l){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=l,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const l=this.strings;let s=!1;if(void 0===l)t=C(this,t,e,0),s=!x(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const o=t;let r,n;for(t=l[0],r=0;r<l.length-1;r++)n=C(this,o[i+r],e,r),n===z&&(n=this._$AH[r]),s||(s=!x(n)||n!==this._$AH[r]),n===S?t=S:t!==S&&(t+=(null!=n?n:"")+l[r+1]),this._$AH[r]=n}s&&!o&&this.k(t)}k(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Z extends _{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===S?void 0:t}}const B=n?n.emptyScript:"";class D extends _{constructor(){super(...arguments),this.type=4}k(t){t&&t!==S?this.element.setAttribute(this.name,B):this.element.removeAttribute(this.name)}}class M extends _{constructor(t,e,i,o,l){super(t,e,i,o,l),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=C(this,t,e,0))&&void 0!==i?i:S)===z)return;const o=this._$AH,l=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==S&&(o===S||l);l&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class T{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){C(this,t)}}const U=window.litHtmlPolyfillSupport;null==U||U(j,A),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.1.3");
7
+ var r;const n=globalThis.trustedTypes,p=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,a="?"+f,h=`<${a}>`,d=document,c=(t="")=>d.createComment(t),x=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,b=/>/g,v=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,m=/'/g,$=/"/g,w=/^(?:script|style|textarea|title)$/i,k=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),C=new WeakMap,E=d.createTreeWalker(d,129,null,!1),I=(t,e)=>{const i=t.length-1,o=[];let l,s=2===e?"<svg>":"",r=y;for(let e=0;e<i;e++){const i=t[e];let n,p,a=-1,d=0;for(;d<i.length&&(r.lastIndex=d,p=r.exec(i),null!==p);)d=r.lastIndex,r===y?"!--"===p[1]?r=g:void 0!==p[1]?r=b:void 0!==p[2]?(w.test(p[2])&&(l=RegExp("</"+p[2],"g")),r=v):void 0!==p[3]&&(r=v):r===v?">"===p[0]?(r=null!=l?l:y,a=-1):void 0===p[1]?a=-2:(a=r.lastIndex-p[2].length,n=p[1],r=void 0===p[3]?v:'"'===p[3]?$:m):r===$||r===m?r=v:r===g||r===b?r=y:(r=v,l=void 0);const c=r===v&&t[e+1].startsWith("/>")?" ":"";s+=r===y?i+h:a>=0?(o.push(n),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(o.push(void 0),e):c)}const n=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==p?p.createHTML(n):n,o]};class O{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let l=0,s=0;const r=t.length-1,p=this.parts,[h,d]=I(t,e);if(this.el=O.createElement(h,i),E.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=E.nextNode())&&p.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(f)){const i=d[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(f),e=/([.?@])?(.*)/.exec(i);p.push({type:1,index:l,name:e[2],strings:t,ctor:"."===e[1]?Z:"?"===e[1]?D:"@"===e[1]?M:_})}else p.push({type:6,index:l})}for(const e of t)o.removeAttribute(e)}if(w.test(o.tagName)){const t=o.textContent.split(f),e=t.length-1;if(e>0){o.textContent=n?n.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],c()),E.nextNode(),p.push({type:2,index:++l});o.append(t[e],c())}}}else if(8===o.nodeType)if(o.data===a)p.push({type:2,index:l});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)p.push({type:7,index:l}),t+=f.length-1}l++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function j(t,e,i=t,o){var l,s,r,n;if(e===z)return e;let p=void 0!==o?null===(l=i._$Cl)||void 0===l?void 0:l[o]:i._$Cu;const f=x(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==f&&(null===(s=null==p?void 0:p._$AO)||void 0===s||s.call(p,!1),void 0===f?p=void 0:(p=new f(t),p._$AT(t,i,o)),void 0!==o?(null!==(r=(n=i)._$Cl)&&void 0!==r?r:n._$Cl=[])[o]=p:i._$Cu=p),void 0!==p&&(e=j(t,p._$AS(t,e.values),p,o)),e}class N{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,l=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(i,!0);E.currentNode=l;let s=E.nextNode(),r=0,n=0,p=o[0];for(;void 0!==p;){if(r===p.index){let e;2===p.type?e=new A(s,s.nextSibling,this,t):1===p.type?e=new p.ctor(s,p.name,p.strings,this,t):6===p.type&&(e=new T(s,this,t)),this.v.push(e),p=o[++n]}r!==(null==p?void 0:p.index)&&(s=E.nextNode(),r++)}return l}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var l;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(l=null==o?void 0:o.isConnected)||void 0===l||l}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=j(this,t,e),x(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return u(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==S&&x(this._$AH)?this._$AA.nextSibling.data=t:this.k(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,l="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=O.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===l)this._$AH.m(i);else{const t=new N(l,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new O(t)),e}S(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const l of t)o===e.length?e.push(i=new A(this.M(c()),this.M(c()),this,this.options)):i=e[o],i._$AI(l),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,l){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=l,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const l=this.strings;let s=!1;if(void 0===l)t=j(this,t,e,0),s=!x(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const o=t;let r,n;for(t=l[0],r=0;r<l.length-1;r++)n=j(this,o[i+r],e,r),n===z&&(n=this._$AH[r]),s||(s=!x(n)||n!==this._$AH[r]),n===S?t=S:t!==S&&(t+=(null!=n?n:"")+l[r+1]),this._$AH[r]=n}s&&!o&&this.C(t)}C(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Z extends _{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===S?void 0:t}}const B=n?n.emptyScript:"";class D extends _{constructor(){super(...arguments),this.type=4}C(t){t&&t!==S?this.element.setAttribute(this.name,B):this.element.removeAttribute(this.name)}}class M extends _{constructor(t,e,i,o,l){super(t,e,i,o,l),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=j(this,t,e,0))&&void 0!==i?i:S)===z)return;const o=this._$AH,l=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==S&&(o===S||l);l&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class T{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const U=window.litHtmlPolyfillSupport;null==U||U(O,A),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r: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 F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;let s,r;const n=[],p=[];let f,a=0,h=!1;for(;a<l;){for(f=e[a];a<l&&void 0!==(r=i[a],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)f+=s+e[++a],h=!0;p.push(r),n.push(f),a++}if(a===l&&n.push(e[l]),h){const t=n.join("$$lit$$");void 0===(e=W.get(t))&&(n.raw=n,W.set(t,e=n)),i=p}return t(e,...i)})(k);var G,H=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(G||(G={}));const K=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),V=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),q={fontFamily:V,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},P=e.FtCssVariable.extend("--ft-typography-title-font-family",K),L=e.FtCssVariable.extend("--ft-typography-title-font-size",q.fontSize,"20px"),X=e.FtCssVariable.extend("--ft-typography-title-font-weight",q.fontWeight,"normal"),Y=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",q.letterSpacing,"0.15px"),J=e.FtCssVariable.extend("--ft-typography-title-line-height",q.lineHeight,"24px"),Q=e.FtCssVariable.extend("--ft-typography-title-text-transform",q.textTransform,"inherit"),tt=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",K),et=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",q.fontSize,"14px"),it=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",q.fontWeight,"normal"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",q.letterSpacing,"0.105px"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",q.lineHeight,"24px"),st=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",q.textTransform,"inherit"),rt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",V),nt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",q.fontSize,"16px"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",q.fontWeight,"600"),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",q.letterSpacing,"0.144px"),at=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",q.lineHeight,"24px"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",q.textTransform,"inherit"),dt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",V),ct=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",q.fontSize,"14px"),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",q.fontWeight,"normal"),ut=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",q.letterSpacing,"0.098px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",q.lineHeight,"24px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",q.textTransform,"inherit"),bt={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",V),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",q.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",q.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",q.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",q.lineHeight,"24px"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",q.textTransform,"inherit")},vt=e.FtCssVariable.extend("--ft-typography-body2-font-family",V),mt=e.FtCssVariable.extend("--ft-typography-body2-font-size",q.fontSize,"14px"),$t=e.FtCssVariable.extend("--ft-typography-body2-font-weight",q.fontWeight,"normal"),wt=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",q.letterSpacing,"0.252px"),kt=e.FtCssVariable.extend("--ft-typography-body2-line-height",q.lineHeight,"20px"),zt=e.FtCssVariable.extend("--ft-typography-body2-text-transform",q.textTransform,"inherit"),St={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",V),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",q.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",q.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",q.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",q.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",q.textTransform,"inherit")},Et=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",V),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",q.fontSize,"10px"),Ot=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",q.fontWeight,"normal"),jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",q.letterSpacing,"0.33px"),Ct=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",q.lineHeight,"16px"),Nt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",q.textTransform,"inherit"),At=e.FtCssVariable.extend("--ft-typography-overline-font-family",V),_t=e.FtCssVariable.extend("--ft-typography-overline-font-size",q.fontSize,"10px"),Zt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",q.fontWeight,"normal"),Bt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",q.letterSpacing,"1.5px"),Dt=e.FtCssVariable.extend("--ft-typography-overline-line-height",q.lineHeight,"16px"),Mt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",q.textTransform,"uppercase"),Tt=e.FtCssVariable.extend("--ft-typography-button-font-family",V),Ut=e.FtCssVariable.extend("--ft-typography-button-font-size",q.fontSize,"14px"),Ft=e.FtCssVariable.extend("--ft-typography-button-font-weight",q.fontWeight,"600"),Wt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",q.letterSpacing,"1.246px"),Rt=e.FtCssVariable.extend("--ft-typography-button-line-height",q.lineHeight,"16px"),Gt=e.FtCssVariable.extend("--ft-typography-button-text-transform",q.textTransform,"uppercase"),Ht=i.css`
13
+ const F=Symbol.for(""),W=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===F)return null===(i=t)||void 0===i?void 0:i._$litStatic$},R=t=>({_$litStatic$:t,r:F}),G=new Map,H=(t=>(e,...i)=>{const o=i.length;let l,s;const r=[],n=[];let p,f=0,a=!1;for(;f<o;){for(p=e[f];f<o&&void 0!==(s=i[f],l=W(s));)p+=l+e[++f],a=!0;n.push(s),r.push(p),f++}if(f===o&&r.push(e[o]),a){const t=r.join("$$lit$$");void 0===(e=G.get(t))&&(r.raw=r,G.set(t,e=r)),i=n}return t(e,...i)})(k);var K,V=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(K||(K={}));const q=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),P=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:P,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},X=e.FtCssVariable.extend("--ft-typography-title-font-family",q),Y=e.FtCssVariable.extend("--ft-typography-title-font-size",L.fontSize,"20px"),J=e.FtCssVariable.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Q=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),tt=e.FtCssVariable.extend("--ft-typography-title-line-height",L.lineHeight,"24px"),et=e.FtCssVariable.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),it=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",q),ot=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),lt=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),st=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),rt=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",L.lineHeight,"24px"),nt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",P),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),at=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),dt=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"24px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",P),ut=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),bt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"24px"),vt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),mt={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",P),fontSize:e.FtCssVariable.extend("--ft-typography-body1-font-size",L.fontSize,"16px"),fontWeight:e.FtCssVariable.extend("--ft-typography-body1-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",L.letterSpacing,"0.496px"),lineHeight:e.FtCssVariable.extend("--ft-typography-body1-line-height",L.lineHeight,"24px"),textTransform:e.FtCssVariable.extend("--ft-typography-body1-text-transform",L.textTransform,"inherit")},$t=e.FtCssVariable.extend("--ft-typography-body2-font-family",P),wt=e.FtCssVariable.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),kt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),zt=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),St=e.FtCssVariable.extend("--ft-typography-body2-line-height",L.lineHeight,"20px"),Ct=e.FtCssVariable.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),Et={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",P),fontSize:e.FtCssVariable.extend("--ft-typography-caption-font-size",L.fontSize,"12px"),fontWeight:e.FtCssVariable.extend("--ft-typography-caption-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",L.letterSpacing,"0.396px"),lineHeight:e.FtCssVariable.extend("--ft-typography-caption-line-height",L.lineHeight,"16px"),textTransform:e.FtCssVariable.extend("--ft-typography-caption-text-transform",L.textTransform,"inherit")},It=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",P),Ot=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),Nt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),At=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"16px"),_t=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),Zt=e.FtCssVariable.extend("--ft-typography-overline-font-family",P),Bt=e.FtCssVariable.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Dt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),Mt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-line-height",L.lineHeight,"16px"),Ut=e.FtCssVariable.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Ft=e.FtCssVariable.extend("--ft-typography-button-font-family",P),Wt=e.FtCssVariable.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Rt=e.FtCssVariable.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Gt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Ht=e.FtCssVariable.extend("--ft-typography-button-line-height",L.lineHeight,"16px"),Kt=e.FtCssVariable.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Vt=i.css`
14
14
  .ft-typography--title {
15
- font-family: ${P};
16
- font-size: ${L};
17
- font-weight: ${X};
18
- letter-spacing: ${Y};
19
- line-height: ${J};
20
- text-transform: ${Q};
15
+ font-family: ${X};
16
+ font-size: ${Y};
17
+ font-weight: ${J};
18
+ letter-spacing: ${Q};
19
+ line-height: ${tt};
20
+ text-transform: ${et};
21
21
  }
22
- `,Kt=i.css`
22
+ `,qt=i.css`
23
23
  .ft-typography--title-dense {
24
- font-family: ${tt};
25
- font-size: ${et};
26
- font-weight: ${it};
27
- letter-spacing: ${ot};
28
- line-height: ${lt};
29
- text-transform: ${st};
24
+ font-family: ${it};
25
+ font-size: ${ot};
26
+ font-weight: ${lt};
27
+ letter-spacing: ${st};
28
+ line-height: ${rt};
29
+ text-transform: ${nt};
30
30
  }
31
- `,Vt=i.css`
31
+ `,Pt=i.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${rt};
34
- font-size: ${nt};
35
- font-weight: ${pt};
36
- letter-spacing: ${ft};
37
- line-height: ${at};
38
- text-transform: ${ht};
33
+ font-family: ${pt};
34
+ font-size: ${ft};
35
+ font-weight: ${at};
36
+ letter-spacing: ${ht};
37
+ line-height: ${dt};
38
+ text-transform: ${ct};
39
39
  }
40
- `,qt=i.css`
40
+ `,Lt=i.css`
41
41
  .ft-typography--subtitle2 {
42
- font-family: ${dt};
43
- font-size: ${ct};
44
- font-weight: ${xt};
45
- letter-spacing: ${ut};
46
- line-height: ${yt};
47
- text-transform: ${gt};
42
+ font-family: ${xt};
43
+ font-size: ${ut};
44
+ font-weight: ${yt};
45
+ letter-spacing: ${gt};
46
+ line-height: ${bt};
47
+ text-transform: ${vt};
48
48
  }
49
49
 
50
- `,Pt=i.css`
50
+ `,Xt=i.css`
51
51
  .ft-typography--body1 {
52
- font-family: ${bt.fontFamily};
53
- font-size: ${bt.fontSize};
54
- font-weight: ${bt.fontWeight};
55
- letter-spacing: ${bt.letterSpacing};
56
- line-height: ${bt.lineHeight};
57
- text-transform: ${bt.textTransform};
52
+ font-family: ${mt.fontFamily};
53
+ font-size: ${mt.fontSize};
54
+ font-weight: ${mt.fontWeight};
55
+ letter-spacing: ${mt.letterSpacing};
56
+ line-height: ${mt.lineHeight};
57
+ text-transform: ${mt.textTransform};
58
58
  }
59
- `,Lt=i.css`
59
+ `,Yt=i.css`
60
60
  .ft-typography--body2 {
61
- font-family: ${vt};
62
- font-size: ${mt};
63
- font-weight: ${$t};
64
- letter-spacing: ${wt};
65
- line-height: ${kt};
66
- text-transform: ${zt};
61
+ font-family: ${$t};
62
+ font-size: ${wt};
63
+ font-weight: ${kt};
64
+ letter-spacing: ${zt};
65
+ line-height: ${St};
66
+ text-transform: ${Ct};
67
67
  }
68
- `,Xt=i.css`
68
+ `,Jt=i.css`
69
69
  .ft-typography--caption {
70
- font-family: ${St.fontFamily};
71
- font-size: ${St.fontSize};
72
- font-weight: ${St.fontWeight};
73
- letter-spacing: ${St.letterSpacing};
74
- line-height: ${St.lineHeight};
75
- text-transform: ${St.textTransform};
70
+ font-family: ${Et.fontFamily};
71
+ font-size: ${Et.fontSize};
72
+ font-weight: ${Et.fontWeight};
73
+ letter-spacing: ${Et.letterSpacing};
74
+ line-height: ${Et.lineHeight};
75
+ text-transform: ${Et.textTransform};
76
76
  }
77
- `,Yt=i.css`
77
+ `,Qt=i.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Et};
80
- font-size: ${It};
81
- font-weight: ${Ot};
82
- letter-spacing: ${jt};
83
- line-height: ${Ct};
84
- text-transform: ${Nt};
79
+ font-family: ${It};
80
+ font-size: ${Ot};
81
+ font-weight: ${jt};
82
+ letter-spacing: ${Nt};
83
+ line-height: ${At};
84
+ text-transform: ${_t};
85
85
  }
86
- `,Jt=i.css`
86
+ `,te=i.css`
87
87
  .ft-typography--overline {
88
- font-family: ${At};
89
- font-size: ${_t};
90
- font-weight: ${Zt};
91
- letter-spacing: ${Bt};
92
- line-height: ${Dt};
93
- text-transform: ${Mt};
88
+ font-family: ${Zt};
89
+ font-size: ${Bt};
90
+ font-weight: ${Dt};
91
+ letter-spacing: ${Mt};
92
+ line-height: ${Tt};
93
+ text-transform: ${Ut};
94
94
  }
95
- `,Qt=i.css`
95
+ `,ee=i.css`
96
96
  .ft-typography--button {
97
- font-family: ${Tt};
98
- font-size: ${Ut};
99
- font-weight: ${Ft};
100
- letter-spacing: ${Wt};
101
- line-height: ${Rt};
102
- text-transform: ${Gt};
97
+ font-family: ${Ft};
98
+ font-size: ${Wt};
99
+ font-weight: ${Rt};
100
+ letter-spacing: ${Gt};
101
+ line-height: ${Ht};
102
+ text-transform: ${Kt};
103
103
  }
104
- `;class te extends e.FtLitElement{constructor(){super(...arguments),this.variant=G.body1}render(){return this.element?R`
105
- <${F(this.element)}
104
+ `;class ie extends e.FtLitElement{constructor(){super(...arguments),this.variant=K.body1}render(){return this.element?H`
105
+ <${R(this.element)}
106
106
  class="ft-typography ft-typography--${this.variant}">
107
107
  <slot></slot>
108
- </${F(this.element)}>
109
- `:R`
108
+ </${R(this.element)}>
109
+ `:H`
110
110
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
111
- `}}te.styles=[Ht,Kt,Vt,qt,Pt,Lt,Xt,Yt,Jt,Qt,i.css`
111
+ `}}ie.styles=[Vt,qt,Pt,Lt,Xt,Yt,Jt,Qt,te,ee,i.css`
112
112
  .ft-typography {
113
113
  vertical-align: inherit;
114
114
  }
115
- `],H([o.property()],te.prototype,"element",void 0),H([o.property()],te.prototype,"variant",void 0),e.customElement("ft-typography")(te);var ee=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const ie={fontSize:e.FtCssVariable.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariable.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariable.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariable.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariable.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariable.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariable.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class oe extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
115
+ `],V([o.property()],ie.prototype,"element",void 0),V([o.property()],ie.prototype,"variant",void 0),e.customElement("ft-typography")(ie);var oe=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const le={fontSize:e.FtCssVariable.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariable.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariable.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariable.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariable.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariable.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariable.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system")};class se extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
116
116
  <div class="${l.classMap(t)}">
117
117
  ${this.text?i.html`
118
118
  <div class="ft-input-label--text ft-typography--caption">
@@ -121,7 +121,7 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
121
121
  </div>
122
122
  `:null}
123
123
  </div>
124
- `}}oe.elementDefinitions={},oe.styles=[Xt,i.css`
124
+ `}}se.elementDefinitions={},se.styles=[Jt,i.css`
125
125
  .ft-input-label {
126
126
  position: absolute;
127
127
  inset: 0;
@@ -129,11 +129,11 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
129
129
  }
130
130
 
131
131
  .ft-input-label {
132
- border-color: ${ie.borderColor};
132
+ border-color: ${le.borderColor};
133
133
  }
134
134
 
135
135
  .ft-input-label.ft-input-label--in-error {
136
- border-color: ${ie.colorError}
136
+ border-color: ${le.colorError}
137
137
  }
138
138
 
139
139
  .ft-input-label:before,
@@ -146,7 +146,7 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
146
146
  }
147
147
 
148
148
  .ft-input-label:before {
149
- width: ${ie.horizontalSpacing};
149
+ width: ${le.horizontalSpacing};
150
150
  flex-shrink: 0;
151
151
  }
152
152
 
@@ -162,18 +162,18 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
162
162
  border-bottom-width: 1px;
163
163
  border-bottom-style: solid;
164
164
  border-color: inherit;
165
- color: ${ie.textColor};
165
+ color: ${le.textColor};
166
166
  transition: font-size 250ms, line-height 250ms, color 250ms;
167
- ${e.setVariable(St.fontSize,ie.fontSize)};
168
- ${e.setVariable(St.lineHeight,ie.fontSize)};
167
+ ${e.setVariable(Et.fontSize,le.fontSize)};
168
+ ${e.setVariable(Et.lineHeight,le.fontSize)};
169
169
  }
170
170
 
171
171
  .ft-input-label--in-error .ft-input-label--text {
172
- color: ${ie.colorError}
172
+ color: ${le.colorError}
173
173
  }
174
174
 
175
175
  .ft-input-label--disabled .ft-input-label--text {
176
- color: ${ie.disabledTextColor};
176
+ color: ${le.disabledTextColor};
177
177
  }
178
178
 
179
179
  .ft-input-label--hidden-text {
@@ -189,17 +189,17 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
189
189
  overflow: hidden;
190
190
  white-space: nowrap;
191
191
  text-overflow: ellipsis;
192
- padding: ${ie.verticalSpacing} 4px;
193
- margin: calc(${ie.verticalSpacing} * -1) 0;
192
+ padding: ${le.verticalSpacing} 4px;
193
+ margin: calc(${le.verticalSpacing} * -1) 0;
194
194
  }
195
195
 
196
196
  .ft-input-label--raised .ft-input-label--text {
197
- ${e.setVariable(St.fontSize,ie.raisedFontSize)};
198
- ${e.setVariable(St.lineHeight,ie.raisedFontSize)};
197
+ ${e.setVariable(Et.fontSize,le.raisedFontSize)};
198
+ ${e.setVariable(Et.lineHeight,le.raisedFontSize)};
199
199
  }
200
200
 
201
201
  .ft-input-label--raised .ft-input-label--floating-text {
202
- top: ${ie.verticalSpacing};
202
+ top: ${le.verticalSpacing};
203
203
  }
204
204
 
205
205
  .ft-input-label--outlined .ft-input-label--text,
@@ -212,27 +212,27 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
212
212
  .ft-input-label--outlined:before {
213
213
  border-left-width: 1px;
214
214
  border-left-style: solid;
215
- border-radius: ${ie.borderRadiusS} 0 0 ${ie.borderRadiusS};
215
+ border-radius: ${le.borderRadiusS} 0 0 ${le.borderRadiusS};
216
216
  }
217
217
 
218
218
  .ft-input-label--outlined:after {
219
219
  border-right-width: 1px;
220
220
  border-right-style: solid;
221
- border-radius: 0 ${ie.borderRadiusS} ${ie.borderRadiusS} 0;
221
+ border-radius: 0 ${le.borderRadiusS} ${le.borderRadiusS} 0;
222
222
  }
223
223
 
224
224
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
225
225
  padding: 2px 4px;
226
- z-index: ${ie.raisedZIndex};
227
- background-color: ${ie.colorSurface};
228
- border-radius: ${ie.borderRadiusS};
226
+ z-index: ${le.raisedZIndex};
227
+ background-color: ${le.colorSurface};
228
+ border-radius: ${le.borderRadiusS};
229
229
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
230
230
  }
231
231
 
232
232
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
233
233
  border-top: none;
234
234
  }
235
- `],ee([o.property({type:String})],oe.prototype,"text",void 0),ee([o.property({type:Boolean})],oe.prototype,"raised",void 0),ee([o.property({type:Boolean})],oe.prototype,"outlined",void 0),ee([o.property({type:Boolean})],oe.prototype,"disabled",void 0),ee([o.property({type:Boolean})],oe.prototype,"error",void 0),e.customElement("ft-input-label")(oe);var le=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const se=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),re={color:se,backgroundColor:e.FtCssVariable.extend("--ft-ripple-background-color",se),opacityContentOnSurfacePressed:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},ne=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),pe=ne,fe=e.FtCssVariable.extend("--ft-ripple-background-color",ne),ae=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),he=ae,de=e.FtCssVariable.extend("--ft-ripple-background-color",ae);class ce extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:l}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=l?l-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
235
+ `],oe([o.property({type:String})],se.prototype,"text",void 0),oe([o.property({type:Boolean})],se.prototype,"raised",void 0),oe([o.property({type:Boolean})],se.prototype,"outlined",void 0),oe([o.property({type:Boolean})],se.prototype,"disabled",void 0),oe([o.property({type:Boolean})],se.prototype,"error",void 0),e.customElement("ft-input-label")(se);var re=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const ne=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),pe={color:ne,backgroundColor:e.FtCssVariable.extend("--ft-ripple-background-color",ne),opacityContentOnSurfacePressed:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariable.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},fe=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),ae=fe,he=e.FtCssVariable.extend("--ft-ripple-background-color",fe),de=e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ce=de,xe=e.FtCssVariable.extend("--ft-ripple-background-color",de);class ue extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:l}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=l?l-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
236
236
  <style>
237
237
  .ft-ripple .ft-ripple--effect,
238
238
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -249,7 +249,7 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
249
249
  <div class="ft-ripple--background"></div>
250
250
  <div class="ft-ripple--effect"></div>
251
251
  </div>
252
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),l=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",l),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",l),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,l;return null!=e.x?({x:o,y:l}=e):null!=i.touches&&(o=i.touches[0].clientX,l=i.touches[0].clientY),{x:o,y:l}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}var xe,ue;ce.elementDefinitions={},ce.styles=i.css`
252
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),l=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",l),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",l),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,l;return null!=e.x?({x:o,y:l}=e):null!=i.touches&&(o=i.touches[0].clientX,l=i.touches[0].clientY),{x:o,y:l}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}var ye,ge;ue.elementDefinitions={},ue.styles=i.css`
253
253
  :host {
254
254
  display: contents;
255
255
  }
@@ -271,27 +271,27 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
271
271
  }
272
272
 
273
273
  .ft-ripple .ft-ripple--background {
274
- background-color: ${re.backgroundColor};
274
+ background-color: ${pe.backgroundColor};
275
275
  }
276
276
 
277
277
  .ft-ripple .ft-ripple--effect {
278
- background-color: ${re.color};
278
+ background-color: ${pe.color};
279
279
  }
280
280
 
281
281
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
282
- background-color: ${de};
282
+ background-color: ${xe};
283
283
  }
284
284
 
285
285
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
286
- background-color: ${he};
286
+ background-color: ${ce};
287
287
  }
288
288
 
289
289
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
290
- background-color: ${fe};
290
+ background-color: ${he};
291
291
  }
292
292
 
293
293
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
294
- background-color: ${pe};
294
+ background-color: ${ae};
295
295
  }
296
296
 
297
297
  .ft-ripple .ft-ripple--background {
@@ -323,36 +323,36 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
323
323
  }
324
324
 
325
325
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
326
- opacity: ${re.opacityContentOnSurfaceHover};
326
+ opacity: ${pe.opacityContentOnSurfaceHover};
327
327
  }
328
328
 
329
329
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
330
- opacity: ${re.opacityContentOnSurfaceSelected};
330
+ opacity: ${pe.opacityContentOnSurfaceSelected};
331
331
  }
332
332
 
333
333
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
334
- opacity: ${re.opacityContentOnSurfaceFocused};
334
+ opacity: ${pe.opacityContentOnSurfaceFocused};
335
335
  }
336
336
 
337
337
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
338
- opacity: ${re.opacityContentOnSurfacePressed};
338
+ opacity: ${pe.opacityContentOnSurfacePressed};
339
339
  transform: translate(-50%, -50%) scale(1);
340
340
  }
341
- `,le([o.property({type:Boolean})],ce.prototype,"primary",void 0),le([o.property({type:Boolean})],ce.prototype,"secondary",void 0),le([o.property({type:Boolean})],ce.prototype,"unbounded",void 0),le([o.property({type:Boolean})],ce.prototype,"activated",void 0),le([o.property({type:Boolean})],ce.prototype,"selected",void 0),le([o.property({type:Boolean})],ce.prototype,"disabled",void 0),le([o.state()],ce.prototype,"hovered",void 0),le([o.state()],ce.prototype,"focused",void 0),le([o.state()],ce.prototype,"pressed",void 0),le([o.state()],ce.prototype,"rippling",void 0),le([o.state()],ce.prototype,"rippleSize",void 0),le([o.state()],ce.prototype,"originX",void 0),le([o.state()],ce.prototype,"originY",void 0),le([o.query(".ft-ripple")],ce.prototype,"ripple",void 0),le([o.query(".ft-ripple--effect")],ce.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(ce),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;"}(xe||(xe={})),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;"}(ue||(ue={})),new Map([...["abw"].map((t=>[t,ue.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,ue.AUDIO])),...["avi"].map((t=>[t,ue.AVI])),...["chm","xhs"].map((t=>[t,ue.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,ue.CODE])),...["csv"].map((t=>[t,ue.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ue.DITA])),...["epub"].map((t=>[t,ue.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ue.EXCEL])),...["flac"].map((t=>[t,ue.FLAC])),...["gif"].map((t=>[t,ue.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ue.GZIP])),...["html","htm","xhtml"].map((t=>[t,ue.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,ue.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ue.JPEG])),...["json"].map((t=>[t,ue.JSON])),...["m4a","m4p"].map((t=>[t,ue.M4A])),...["mov","qt"].map((t=>[t,ue.MOV])),...["mp3"].map((t=>[t,ue.MP3])),...["mp4","m4v"].map((t=>[t,ue.MP4])),...["ogg","oga"].map((t=>[t,ue.OGG])),...["pdf","ps"].map((t=>[t,ue.PDF])),...["png"].map((t=>[t,ue.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ue.POWERPOINT])),...["rar"].map((t=>[t,ue.RAR])),...["stp"].map((t=>[t,ue.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ue.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,ue.VIDEO])),...["wav"].map((t=>[t,ue.WAV])),...["wma"].map((t=>[t,ue.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ue.WORD])),...["xml","xsl","rdf"].map((t=>[t,ue.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ue.YAML])),...["zip"].map((t=>[t,ue.ZIP]))]);var ye,ge=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ye||(ye={}));const be=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),ve=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),me=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),$e=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class we extends e.FtLitElement{constructor(){super(...arguments),this.variant=ye.fluid_topics}render(){return i.html`
341
+ `,re([o.property({type:Boolean})],ue.prototype,"primary",void 0),re([o.property({type:Boolean})],ue.prototype,"secondary",void 0),re([o.property({type:Boolean})],ue.prototype,"unbounded",void 0),re([o.property({type:Boolean})],ue.prototype,"activated",void 0),re([o.property({type:Boolean})],ue.prototype,"selected",void 0),re([o.property({type:Boolean})],ue.prototype,"disabled",void 0),re([o.state()],ue.prototype,"hovered",void 0),re([o.state()],ue.prototype,"focused",void 0),re([o.state()],ue.prototype,"pressed",void 0),re([o.state()],ue.prototype,"rippling",void 0),re([o.state()],ue.prototype,"rippleSize",void 0),re([o.state()],ue.prototype,"originX",void 0),re([o.state()],ue.prototype,"originY",void 0),re([o.query(".ft-ripple")],ue.prototype,"ripple",void 0),re([o.query(".ft-ripple--effect")],ue.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(ue),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ye||(ye={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ge||(ge={})),new Map([...["abw"].map((t=>[t,ge.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,ge.AUDIO])),...["avi"].map((t=>[t,ge.AVI])),...["chm","xhs"].map((t=>[t,ge.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,ge.CODE])),...["csv"].map((t=>[t,ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ge.DITA])),...["epub"].map((t=>[t,ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ge.EXCEL])),...["flac"].map((t=>[t,ge.FLAC])),...["gif"].map((t=>[t,ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,ge.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,ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ge.JPEG])),...["json"].map((t=>[t,ge.JSON])),...["m4a","m4p"].map((t=>[t,ge.M4A])),...["mov","qt"].map((t=>[t,ge.MOV])),...["mp3"].map((t=>[t,ge.MP3])),...["mp4","m4v"].map((t=>[t,ge.MP4])),...["ogg","oga"].map((t=>[t,ge.OGG])),...["pdf","ps"].map((t=>[t,ge.PDF])),...["png"].map((t=>[t,ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ge.POWERPOINT])),...["rar"].map((t=>[t,ge.RAR])),...["stp"].map((t=>[t,ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ge.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,ge.VIDEO])),...["wav"].map((t=>[t,ge.WAV])),...["wma"].map((t=>[t,ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ge.YAML])),...["zip"].map((t=>[t,ge.ZIP]))]);var be,ve=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(be||(be={}));const me=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),$e=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),we=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ke=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class ze extends e.FtLitElement{constructor(){super(...arguments),this.variant=be.fluid_topics}render(){return i.html`
342
342
  <i class="ft-icon ${"ft-icon--"+this.variant}">
343
343
  ${s.unsafeHTML(this.getIcon())}
344
344
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
345
345
  </i>
346
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===ye.file_format?null!==(t=ue[o.toUpperCase()])&&void 0!==t?t:o:this.variant===ye.fluid_topics?null!==(e=xe[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}we.elementDefinitions={},we.styles=i.css`
346
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===be.file_format?null!==(t=ge[o.toUpperCase()])&&void 0!==t?t:o:this.variant===be.fluid_topics?null!==(e=ye[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}ze.elementDefinitions={},ze.styles=i.css`
347
347
  :host, i.ft-icon {
348
348
  display: inline-block;
349
- width: ${be};
350
- height: ${be};
349
+ width: ${me};
350
+ height: ${me};
351
351
  text-align: center;
352
352
  }
353
353
 
354
354
  i.ft-icon {
355
- font-size: ${be};
355
+ font-size: ${me};
356
356
  line-height: 1;
357
357
  font-weight: normal;
358
358
  text-transform: none;
@@ -366,17 +366,17 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
366
366
  }
367
367
 
368
368
  .ft-icon--fluid-topics {
369
- font-family: ${ve}, ft-icons, fticons, sans-serif;
369
+ font-family: ${$e}, ft-icons, fticons, sans-serif;
370
370
  }
371
371
 
372
372
  .ft-icon--file-format {
373
- font-family: ${me}, ft-mime, sans-serif;
373
+ font-family: ${we}, ft-mime, sans-serif;
374
374
  }
375
375
 
376
376
  .ft-icon--material {
377
- font-family: ${$e}, "Material Icons", sans-serif;
377
+ font-family: ${ke}, "Material Icons", sans-serif;
378
378
  }
379
- `,ge([o.property()],we.prototype,"variant",void 0),ge([o.query("slot")],we.prototype,"slottedContent",void 0),e.customElement("ft-icon")(we);var ke=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const ze={fontSize:e.FtCssVariable.create("--ft-text-field-font-size","SIZE","14px"),labelSize:e.FtCssVariable.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariable.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariable.extend("--ft-text-field-helper-color",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system"),prefixColor:e.FtCssVariable.extend("--ft-text-field-prefix-color",e.designSystemVariables.colorOnSurfaceMedium),iconColor:e.FtCssVariable.extend("--ft-text-field-icon-color",e.designSystemVariables.colorOnSurfaceMedium)};class Se extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return i.html`
379
+ `,ve([o.property()],ze.prototype,"variant",void 0),ve([o.query("slot")],ze.prototype,"slottedContent",void 0),e.customElement("ft-icon")(ze);var Se=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Ce={fontSize:e.FtCssVariable.create("--ft-text-field-font-size","SIZE","14px"),labelSize:e.FtCssVariable.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariable.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariable.extend("--ft-text-field-helper-color",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariable.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariable.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariable.external(e.designSystemVariables.colorError,"Design system"),prefixColor:e.FtCssVariable.extend("--ft-text-field-prefix-color",e.designSystemVariables.colorOnSurfaceMedium),iconColor:e.FtCssVariable.extend("--ft-text-field-icon-color",e.designSystemVariables.colorOnSurfaceMedium)};class Ee extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return i.html`
380
380
  <div class="${l.classMap(t)}">
381
381
  <div class="ft-text-field--main-panel">
382
382
  <ft-input-label text="${this.label}"
@@ -411,7 +411,7 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
411
411
  <ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
412
412
  </ft-typography>`:void 0}
413
413
  </div>
414
- `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}Se.elementDefinitions={"ft-input-label":oe,"ft-ripple":ce,"ft-typography":te,"ft-icon":we},Se.styles=[Pt,i.css`
414
+ `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}Ee.elementDefinitions={"ft-input-label":se,"ft-ripple":ue,"ft-typography":ie,"ft-icon":ze},Ee.styles=[Xt,i.css`
415
415
  *:focus {
416
416
  outline: none;
417
417
  }
@@ -423,16 +423,16 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
423
423
  }
424
424
 
425
425
  ft-input-label {
426
- ${e.setVariable(ie.fontSize,ze.fontSize)};
427
- ${e.setVariable(ie.raisedFontSize,ze.labelSize)};
428
- ${e.setVariable(ie.verticalSpacing,ze.verticalSpacing)};
429
- ${e.setVariable(ie.horizontalSpacing,i.css`calc(${ze.horizontalSpacing} - 4px)`)};
426
+ ${e.setVariable(le.fontSize,Ce.fontSize)};
427
+ ${e.setVariable(le.raisedFontSize,Ce.labelSize)};
428
+ ${e.setVariable(le.verticalSpacing,Ce.verticalSpacing)};
429
+ ${e.setVariable(le.horizontalSpacing,i.css`calc(${Ce.horizontalSpacing} - 4px)`)};
430
430
  }
431
431
 
432
432
  .ft-text-field--main-panel {
433
433
  position: relative;
434
434
  display: flex;
435
- height: calc(4 * ${ze.verticalSpacing} + ${ze.labelSize} + ${ze.fontSize});
435
+ height: calc(4 * ${Ce.verticalSpacing} + ${Ce.labelSize} + ${Ce.fontSize});
436
436
  }
437
437
 
438
438
  .ft-text-field--input-panel {
@@ -444,8 +444,8 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
444
444
  }
445
445
 
446
446
  .ft-text-field--input-panel ft-ripple {
447
- ${e.setVariable(re.opacityContentOnSurfaceHover,"0.08")};
448
- ${e.setVariable(re.opacityContentOnSurfacePressed,"0.04")};
447
+ ${e.setVariable(pe.opacityContentOnSurfaceHover,"0.08")};
448
+ ${e.setVariable(pe.opacityContentOnSurfacePressed,"0.04")};
449
449
  }
450
450
 
451
451
  .ft-text-field--input-wrapper {
@@ -455,20 +455,20 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
455
455
  display: flex;
456
456
  align-items: center;
457
457
 
458
- ${e.setVariable(bt.fontSize,ze.fontSize)};
459
- ${e.setVariable(bt.lineHeight,ze.fontSize)};
458
+ ${e.setVariable(mt.fontSize,Ce.fontSize)};
459
+ ${e.setVariable(mt.lineHeight,Ce.fontSize)};
460
460
 
461
- padding: 0 ${ze.horizontalSpacing};
461
+ padding: 0 ${Ce.horizontalSpacing};
462
462
  }
463
463
 
464
464
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input-wrapper {
465
465
  align-items: flex-end;
466
- padding: 0 ${ze.horizontalSpacing} ${ze.verticalSpacing} ${ze.horizontalSpacing};
466
+ padding: 0 ${Ce.horizontalSpacing} ${Ce.verticalSpacing} ${Ce.horizontalSpacing};
467
467
  }
468
468
 
469
469
  .ft-text-field--prefix {
470
470
  display: none;
471
- color: ${ze.prefixColor}
471
+ color: ${Ce.prefixColor}
472
472
  }
473
473
 
474
474
  .ft-text-field--with-prefix.ft-text-field--raised-label .ft-text-field--prefix {
@@ -482,15 +482,15 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
482
482
  flex-shrink: 1;
483
483
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
484
484
 
485
- color: ${ze.colorOnSurface};
486
- padding: calc(2 * ${ze.verticalSpacing}) 0;
485
+ color: ${Ce.colorOnSurface};
486
+ padding: calc(2 * ${Ce.verticalSpacing}) 0;
487
487
  border: none;
488
488
  background: none;
489
489
  }
490
490
 
491
491
  .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
492
492
  padding-bottom: 0;
493
- padding-top: calc(${ze.labelSize} + 2 * ${ze.verticalSpacing});
493
+ padding-top: calc(${Ce.labelSize} + 2 * ${Ce.verticalSpacing});
494
494
  }
495
495
 
496
496
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -499,7 +499,7 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
499
499
  }
500
500
 
501
501
  .ft-text-field--disabled .ft-text-field--input {
502
- color: ${ze.colorOnSurfaceDisabled};
502
+ color: ${Ce.colorOnSurfaceDisabled};
503
503
  }
504
504
 
505
505
  .ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
@@ -507,31 +507,31 @@ const F=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const l=i.length;
507
507
  }
508
508
 
509
509
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
510
- ${e.setVariable(ie.borderColor,ze.colorPrimary)};
511
- ${e.setVariable(ie.textColor,ze.colorPrimary)};
510
+ ${e.setVariable(le.borderColor,Ce.colorPrimary)};
511
+ ${e.setVariable(le.textColor,Ce.colorPrimary)};
512
512
  }
513
513
 
514
514
  .ft-text-field--filled .ft-text-field--input-panel {
515
- border-radius: ${ze.borderRadiusS} ${ze.borderRadiusS} 0 0;
515
+ border-radius: ${Ce.borderRadiusS} ${Ce.borderRadiusS} 0 0;
516
516
  }
517
517
 
518
518
  .ft-text-field--outlined .ft-text-field--input-panel {
519
- border-radius: ${ze.borderRadiusS};
519
+ border-radius: ${Ce.borderRadiusS};
520
520
  }
521
521
 
522
522
  .ft-text-field--helper-text {
523
- padding: 0 12px 0 ${ze.horizontalSpacing};
524
- color: ${ze.helperColor};
523
+ padding: 0 12px 0 ${Ce.horizontalSpacing};
524
+ color: ${Ce.helperColor};
525
525
  }
526
526
 
527
527
  .ft-text-field--in-error .ft-text-field--input,
528
528
  .ft-text-field--in-error .ft-text-field--helper-text,
529
529
  .ft-text-field--in-error .ft-text-field--prefix {
530
- color: ${ze.colorError};
530
+ color: ${Ce.colorError};
531
531
  }
532
532
 
533
533
  .ft-text-field--icon {
534
- padding-right: ${ze.horizontalSpacing};
535
- color: ${ze.iconColor};
534
+ padding-right: ${Ce.horizontalSpacing};
535
+ color: ${Ce.iconColor};
536
536
  }
537
- `],ke([o.property({type:String})],Se.prototype,"label",void 0),ke([o.property({reflect:!0})],Se.prototype,"value",void 0),ke([o.property({type:String})],Se.prototype,"helper",void 0),ke([o.property({type:Boolean})],Se.prototype,"outlined",void 0),ke([o.property({type:Boolean})],Se.prototype,"disabled",void 0),ke([o.property({type:Boolean})],Se.prototype,"error",void 0),ke([o.query(".ft-text-field--input")],Se.prototype,"input",void 0),ke([o.property({type:String})],Se.prototype,"prefix",void 0),ke([o.property({type:String})],Se.prototype,"icon",void 0),ke([o.property({type:String})],Se.prototype,"iconVariant",void 0),ke([o.state()],Se.prototype,"focused",void 0),e.customElement("ft-text-field")(Se),t.FtTextField=Se,t.FtTextFieldCssVariables=ze,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
537
+ `],Se([o.property({type:String})],Ee.prototype,"label",void 0),Se([o.property({reflect:!0})],Ee.prototype,"value",void 0),Se([o.property({type:String})],Ee.prototype,"helper",void 0),Se([o.property({type:Boolean})],Ee.prototype,"outlined",void 0),Se([o.property({type:Boolean})],Ee.prototype,"disabled",void 0),Se([o.property({type:Boolean})],Ee.prototype,"error",void 0),Se([o.query(".ft-text-field--input")],Ee.prototype,"input",void 0),Se([o.property({type:String})],Ee.prototype,"prefix",void 0),Se([o.property({type:String})],Ee.prototype,"icon",void 0),Se([o.property({type:String})],Ee.prototype,"iconVariant",void 0),Se([o.state()],Ee.prototype,"focused",void 0),e.customElement("ft-text-field")(Ee),t.FtTextField=Ee,t.FtTextFieldCssVariables=Ce,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);