@fluid-topics/ft-text-area 0.1.18 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,144 +1,156 @@
1
- !function(t,e,i,o,s){
1
+ !function(t,e,i,o,s,r){
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var r;const n=globalThis.trustedTypes,l=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,p="?"+a,h=`<${p}>`,f=document,d=(t="")=>f.createComment(t),c=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,x=/"/g,$=/^(?:script|style|textarea|title)$/i,w=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),k=new WeakMap,E=f.createTreeWalker(f,129,null,!1),O=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=y;for(let e=0;e<i;e++){const i=t[e];let l,p,f=-1,d=0;for(;d<i.length&&(n.lastIndex=d,p=n.exec(i),null!==p);)d=n.lastIndex,n===y?"!--"===p[1]?n=g:void 0!==p[1]?n=b:void 0!==p[2]?($.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=v):void 0!==p[3]&&(n=v):n===v?">"===p[0]?(n=null!=s?s:y,f=-1):void 0===p[1]?f=-2:(f=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?v:'"'===p[3]?x:m):n===x||n===m?n=v:n===g||n===b?n=y:(n=v,s=void 0);const c=n===v&&t[e+1].startsWith("/>")?" ":"";r+=n===y?i+h:f>=0?(o.push(l),i.slice(0,f)+"$lit$"+i.slice(f)+a+c):i+a+(-2===f?(o.push(void 0),e):c)}const p=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==l?l.createHTML(p):p,o]};class C{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const l=t.length-1,h=this.parts,[f,c]=O(t,e);if(this.el=C.createElement(f,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())&&h.length<l;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(a)){const i=c[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(a),e=/([.?@])?(.*)/.exec(i);h.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?N:"?"===e[1]?Z:"@"===e[1]?T:_})}else h.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if($.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=n?n.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],d()),E.nextNode(),h.push({type:2,index:++s});o.append(t[e],d())}}}else if(8===o.nodeType)if(o.data===p)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)h.push({type:7,index:s}),t+=a.length-1}s++}}static createElement(t,e){const i=f.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var s,r,n,l;if(e===z)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const p=c(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=I(t,a._$AS(t,e.values),a,o)),e}class D{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:f).importNode(i,!0);E.currentNode=s;let r=E.nextNode(),n=0,l=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new A(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new B(r,this,t)),this.v.push(e),a=o[++l]}n!==(null==a?void 0:a.index)&&(r=E.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var s;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),c(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&&c(this._$AH)?this._$AA.nextSibling.data=t:this.S(f.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=C.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new D(s,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=k.get(t.strings);return void 0===e&&k.set(t.strings,e=new C(t)),e}A(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new A(this.M(d()),this.M(d()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,s){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=I(this,t,e,0),r=!c(t)||t!==this._$AH&&t!==z,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=I(this,o[i+n],e,n),l===z&&(l=this._$AH[n]),r||(r=!c(l)||l!==this._$AH[n]),l===S?t=S:t!==S&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.k(t)}k(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class N extends _{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===S?void 0:t}}const j=n?n.emptyScript:"";class Z extends _{constructor(){super(...arguments),this.type=4}k(t){t&&t!==S?this.element.setAttribute(this.name,j):this.element.removeAttribute(this.name)}}class T extends _{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:S)===z)return;const o=this._$AH,s=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==S&&(o===S||s);s&&this.element.removeEventListener(this.name,this,o),r&&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 B{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){I(this,t)}}const F=window.litHtmlPolyfillSupport;null==F||F(C,A),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.1.3");
7
+ var n;const l=globalThis.trustedTypes,a=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,p=`lit$${(Math.random()+"").slice(9)}$`,h="?"+p,f=`<${h}>`,d=document,c=(t="")=>d.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,m=/>/g,b=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,v=/'/g,$=/"/g,w=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),S=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),O=new WeakMap,j=d.createTreeWalker(d,129,null,!1),E=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=y;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,d=0;for(;d<i.length&&(n.lastIndex=d,a=n.exec(i),null!==a);)d=n.lastIndex,n===y?"!--"===a[1]?n=g:void 0!==a[1]?n=m:void 0!==a[2]?(w.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=b):void 0!==a[3]&&(n=b):n===b?">"===a[0]?(n=null!=s?s:y,h=-1):void 0===a[1]?h=-2:(h=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?b:'"'===a[3]?$:v):n===$||n===v?n=b:n===g||n===m?n=y:(n=b,s=void 0);const c=n===b&&t[e+1].startsWith("/>")?" ":"";r+=n===y?i+f:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+p+c):i+p+(-2===h?(o.push(void 0),e):c)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(l):l,o]};class N{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,a=this.parts,[f,d]=E(t,e);if(this.el=N.createElement(f,i),j.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=j.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(p)){const i=d[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(p),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?_:"?"===e[1]?M:"@"===e[1]?T:A})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(w.test(o.tagName)){const t=o.textContent.split(p),e=t.length-1;if(e>0){o.textContent=l?l.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],c()),j.nextNode(),a.push({type:2,index:++s});o.append(t[e],c())}}}else if(8===o.nodeType)if(o.data===h)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(p,t+1));)a.push({type:7,index:s}),t+=p.length-1}s++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var s,r,n,l;if(e===S)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const p=u(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=I(t,a._$AS(t,e.values),a,o)),e}class C{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(i,!0);j.currentNode=s;let r=j.nextNode(),n=0,l=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new D(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new B(r,this,t)),this.v.push(e),a=o[++l]}n!==(null==a?void 0:a.index)&&(r=j.nextNode(),n++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{constructor(t,e,i,o){var s;this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),u(t)?t===k||null==t||""===t?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==S&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return x(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!==k&&u(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,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=N.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new C(s,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=O.get(t.strings);return void 0===e&&O.set(t.strings,e=new N(t)),e}A(t){x(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new D(this.M(c()),this.M(c()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class A{constructor(t,e,i,o,s){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=k}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=I(this,t,e,0),r=!u(t)||t!==this._$AH&&t!==S,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=I(this,o[i+n],e,n),l===S&&(l=this._$AH[n]),r||(r=!u(l)||l!==this._$AH[n]),l===k?t=k:t!==k&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.k(t)}k(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class _ extends A{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===k?void 0:t}}const Z=l?l.emptyScript:"";class M extends A{constructor(){super(...arguments),this.type=4}k(t){t&&t!==k?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class T extends A{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:k)===S)return;const o=this._$AH,s=t===k&&o!==k||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==k&&(o===k||s);s&&this.element.removeEventListener(this.name,this,o),r&&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 B{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){I(this,t)}}const F=window.litHtmlPolyfillSupport;null==F||F(N,D),(null!==(n=globalThis.litHtmlVersions)&&void 0!==n?n:globalThis.litHtmlVersions=[]).push("2.1.3");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const M=t=>({_$litStatic$:t}),R=new Map,U=(t=>(e,...i)=>{var o;const s=i.length;let r,n;const l=[],a=[];let p,h=0,f=!1;for(;h<s;){for(p=e[h];h<s&&void 0!==(n=i[h],r=null===(o=n)||void 0===o?void 0:o._$litStatic$);)p+=r+e[++h],f=!0;a.push(n),l.push(p),h++}if(h===s&&l.push(e[s]),f){const t=l.join("$$lit$$");void 0===(e=R.get(t))&&(l.raw=l,R.set(t,e=l)),i=a}return t(e,...i)})(w);var H,W=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!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"}(H||(H={}));const G=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),K=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:K,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",G),V=e.FtCssVariable.extend("--ft-typography-title-font-size",L.fontSize,"20px"),X=e.FtCssVariable.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Y=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),q=e.FtCssVariable.extend("--ft-typography-title-line-height",L.lineHeight,"24px"),J=e.FtCssVariable.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),Q=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",G),tt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),et=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),it=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",L.lineHeight,"24px"),st=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),rt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",K),nt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),lt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),at=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"24px"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),ft=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",K),dt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),ut=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"24px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),bt={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",K),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")},vt=e.FtCssVariable.extend("--ft-typography-body2-font-family",K),mt=e.FtCssVariable.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),xt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),$t=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),wt=e.FtCssVariable.extend("--ft-typography-body2-line-height",L.lineHeight,"20px"),zt=e.FtCssVariable.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),St={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",K),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")},kt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",K),Et=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),Ot=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),Ct=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"16px"),Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),At=e.FtCssVariable.extend("--ft-typography-overline-font-family",K),_t=e.FtCssVariable.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Nt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),jt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Zt=e.FtCssVariable.extend("--ft-typography-overline-line-height",L.lineHeight,"16px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Bt=e.FtCssVariable.extend("--ft-typography-button-font-family",K),Ft=e.FtCssVariable.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Mt=e.FtCssVariable.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Rt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Ut=e.FtCssVariable.extend("--ft-typography-button-line-height",L.lineHeight,"16px"),Ht=e.FtCssVariable.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Wt=i.css`
13
+ const U=t=>({_$litStatic$:t}),W=new Map,R=(t=>(e,...i)=>{var o;const s=i.length;let r,n;const l=[],a=[];let p,h=0,f=!1;for(;h<s;){for(p=e[h];h<s&&void 0!==(n=i[h],r=null===(o=n)||void 0===o?void 0:o._$litStatic$);)p+=r+e[++h],f=!0;a.push(n),l.push(p),h++}if(h===s&&l.push(e[s]),f){const t=l.join("$$lit$$");void 0===(e=W.get(t))&&(l.raw=l,W.set(t,e=l)),i=a}return t(e,...i)})(z);var H,K=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!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"}(H||(H={}));const G=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),q=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:q,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},P=e.FtCssVariable.extend("--ft-typography-title-font-family",G),V=e.FtCssVariable.extend("--ft-typography-title-font-size",L.fontSize,"20px"),X=e.FtCssVariable.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Y=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),J=e.FtCssVariable.extend("--ft-typography-title-line-height",L.lineHeight,"24px"),Q=e.FtCssVariable.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),tt=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",G),et=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),it=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),st=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",L.lineHeight,"24px"),rt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),nt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",q),lt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),at=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"24px"),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),dt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",q),ct=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),ut=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"24px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),mt={fontFamily:e.FtCssVariable.extend("--ft-typography-body1-font-family",q),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")},bt=e.FtCssVariable.extend("--ft-typography-body2-font-family",q),vt=e.FtCssVariable.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),$t=e.FtCssVariable.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),wt=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),zt=e.FtCssVariable.extend("--ft-typography-body2-line-height",L.lineHeight,"20px"),St=e.FtCssVariable.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),kt={fontFamily:e.FtCssVariable.extend("--ft-typography-caption-font-family",q),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")},Ot=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",q),jt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),Et=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),Nt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),It=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"16px"),Ct=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),Dt=e.FtCssVariable.extend("--ft-typography-overline-font-family",q),At=e.FtCssVariable.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),_t=e.FtCssVariable.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),Zt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Mt=e.FtCssVariable.extend("--ft-typography-overline-line-height",L.lineHeight,"16px"),Tt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Bt=e.FtCssVariable.extend("--ft-typography-button-font-family",q),Ft=e.FtCssVariable.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Ut=e.FtCssVariable.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Wt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Rt=e.FtCssVariable.extend("--ft-typography-button-line-height",L.lineHeight,"16px"),Ht=e.FtCssVariable.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Kt=i.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${P};
16
16
  font-size: ${V};
17
17
  font-weight: ${X};
18
18
  letter-spacing: ${Y};
19
- line-height: ${q};
20
- text-transform: ${J};
19
+ line-height: ${J};
20
+ text-transform: ${Q};
21
21
  }
22
22
  `,Gt=i.css`
23
23
  .ft-typography--title-dense {
24
- font-family: ${Q};
25
- font-size: ${tt};
26
- font-weight: ${et};
27
- letter-spacing: ${it};
28
- line-height: ${ot};
29
- text-transform: ${st};
24
+ font-family: ${tt};
25
+ font-size: ${et};
26
+ font-weight: ${it};
27
+ letter-spacing: ${ot};
28
+ line-height: ${st};
29
+ text-transform: ${rt};
30
30
  }
31
- `,Kt=i.css`
31
+ `,qt=i.css`
32
32
  .ft-typography--subtitle1 {
33
- font-family: ${rt};
34
- font-size: ${nt};
35
- font-weight: ${lt};
36
- letter-spacing: ${at};
37
- line-height: ${pt};
38
- text-transform: ${ht};
33
+ font-family: ${nt};
34
+ font-size: ${lt};
35
+ font-weight: ${at};
36
+ letter-spacing: ${pt};
37
+ line-height: ${ht};
38
+ text-transform: ${ft};
39
39
  }
40
40
  `,Lt=i.css`
41
41
  .ft-typography--subtitle2 {
42
- font-family: ${ft};
43
- font-size: ${dt};
44
- font-weight: ${ct};
45
- letter-spacing: ${ut};
42
+ font-family: ${dt};
43
+ font-size: ${ct};
44
+ font-weight: ${ut};
45
+ letter-spacing: ${xt};
46
46
  line-height: ${yt};
47
47
  text-transform: ${gt};
48
48
  }
49
49
 
50
50
  `,Pt=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
59
  `,Vt=i.css`
60
60
  .ft-typography--body2 {
61
- font-family: ${vt};
62
- font-size: ${mt};
63
- font-weight: ${xt};
64
- letter-spacing: ${$t};
65
- line-height: ${wt};
66
- text-transform: ${zt};
61
+ font-family: ${bt};
62
+ font-size: ${vt};
63
+ font-weight: ${$t};
64
+ letter-spacing: ${wt};
65
+ line-height: ${zt};
66
+ text-transform: ${St};
67
67
  }
68
68
  `,Xt=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: ${kt.fontFamily};
71
+ font-size: ${kt.fontSize};
72
+ font-weight: ${kt.fontWeight};
73
+ letter-spacing: ${kt.letterSpacing};
74
+ line-height: ${kt.lineHeight};
75
+ text-transform: ${kt.textTransform};
76
76
  }
77
77
  `,Yt=i.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${kt};
80
- font-size: ${Et};
81
- font-weight: ${Ot};
82
- letter-spacing: ${Ct};
79
+ font-family: ${Ot};
80
+ font-size: ${jt};
81
+ font-weight: ${Et};
82
+ letter-spacing: ${Nt};
83
83
  line-height: ${It};
84
- text-transform: ${Dt};
84
+ text-transform: ${Ct};
85
85
  }
86
- `,qt=i.css`
86
+ `,Jt=i.css`
87
87
  .ft-typography--overline {
88
- font-family: ${At};
89
- font-size: ${_t};
90
- font-weight: ${Nt};
91
- letter-spacing: ${jt};
92
- line-height: ${Zt};
88
+ font-family: ${Dt};
89
+ font-size: ${At};
90
+ font-weight: ${_t};
91
+ letter-spacing: ${Zt};
92
+ line-height: ${Mt};
93
93
  text-transform: ${Tt};
94
94
  }
95
- `,Jt=i.css`
95
+ `,Qt=i.css`
96
96
  .ft-typography--button {
97
97
  font-family: ${Bt};
98
98
  font-size: ${Ft};
99
- font-weight: ${Mt};
100
- letter-spacing: ${Rt};
101
- line-height: ${Ut};
99
+ font-weight: ${Ut};
100
+ letter-spacing: ${Wt};
101
+ line-height: ${Rt};
102
102
  text-transform: ${Ht};
103
103
  }
104
- `;class Qt extends e.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?U`
105
- <${M(this.element)}
104
+ `;class te extends e.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?R`
105
+ <${U(this.element)}
106
106
  class="ft-typography ft-typography--${this.variant}">
107
107
  <slot></slot>
108
- </${M(this.element)}>
109
- `:U`
108
+ </${U(this.element)}>
109
+ `:R`
110
110
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
111
- `}}Qt.styles=[Wt,Gt,Kt,Lt,Pt,Vt,Xt,Yt,qt,Jt,i.css`
111
+ `}}var ee,ie;te.styles=[Kt,Gt,qt,Lt,Pt,Vt,Xt,Yt,Jt,Qt,i.css`
112
112
  .ft-typography {
113
113
  vertical-align: inherit;
114
114
  }
115
- `],W([o.property()],Qt.prototype,"element",void 0),W([o.property()],Qt.prototype,"variant",void 0),e.customElement("ft-typography")(Qt);
116
- /**
117
- * @license
118
- * Copyright 2021 Google LLC
119
- * SPDX-LIcense-Identifier: Apache-2.0
120
- */
121
- const te=i.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`
122
- /**
123
- * @license
124
- * Copyright 2018 Google LLC
125
- * SPDX-License-Identifier: Apache-2.0
126
- */;let ee=class extends i.LitElement{render(){return i.html`<span><slot></slot></span>`}};ee.styles=[te],ee=
127
- /*! *****************************************************************************
128
- Copyright (c) Microsoft Corporation.
129
-
130
- Permission to use, copy, modify, and/or distribute this software for any
131
- purpose with or without fee is hereby granted.
132
-
133
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
134
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
135
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
136
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
137
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
138
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
139
- PERFORMANCE OF THIS SOFTWARE.
140
- ***************************************************************************** */
141
- function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n}([o.customElement("mwc-icon")],ee);var ie=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class oe extends CustomEvent{constructor(t,e){super("resize",{detail:{width:t,height:e}})}}const se=e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),re=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system");class ne extends e.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return i.html`
115
+ `],K([o.property()],te.prototype,"element",void 0),K([o.property()],te.prototype,"variant",void 0),e.customElement("ft-typography")(te),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;"}(ee||(ee={})),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;"}(ie||(ie={})),new Map([...["abw"].map((t=>[t,ie.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,ie.AUDIO])),...["avi"].map((t=>[t,ie.AVI])),...["chm","xhs"].map((t=>[t,ie.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,ie.CODE])),...["csv"].map((t=>[t,ie.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ie.DITA])),...["epub"].map((t=>[t,ie.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ie.EXCEL])),...["flac"].map((t=>[t,ie.FLAC])),...["gif"].map((t=>[t,ie.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ie.GZIP])),...["html","htm","xhtml"].map((t=>[t,ie.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,ie.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ie.JPEG])),...["json"].map((t=>[t,ie.JSON])),...["m4a","m4p"].map((t=>[t,ie.M4A])),...["mov","qt"].map((t=>[t,ie.MOV])),...["mp3"].map((t=>[t,ie.MP3])),...["mp4","m4v"].map((t=>[t,ie.MP4])),...["ogg","oga"].map((t=>[t,ie.OGG])),...["pdf","ps"].map((t=>[t,ie.PDF])),...["png"].map((t=>[t,ie.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ie.POWERPOINT])),...["rar"].map((t=>[t,ie.RAR])),...["stp"].map((t=>[t,ie.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ie.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,ie.VIDEO])),...["wav"].map((t=>[t,ie.WAV])),...["wma"].map((t=>[t,ie.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ie.WORD])),...["xml","xsl","rdf"].map((t=>[t,ie.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ie.YAML])),...["zip"].map((t=>[t,ie.ZIP]))]);var oe,se=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(oe||(oe={}));const re=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),ne=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),le=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ae=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class pe extends e.FtLitElement{constructor(){super(...arguments),this.variant=oe.fluid_topics}render(){return i.html`
116
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
117
+ ${r.unsafeHTML(this.getIcon())}
118
+ <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
119
+ </i>
120
+ `}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===oe.file_format?null!==(t=ie[o.toUpperCase()])&&void 0!==t?t:o:this.variant===oe.fluid_topics?null!==(e=ee[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}pe.elementDefinitions={},pe.styles=i.css`
121
+ :host, i.ft-icon {
122
+ display: inline-block;
123
+ width: ${re};
124
+ height: ${re};
125
+ text-align: center;
126
+ }
127
+
128
+ i.ft-icon {
129
+ font-size: ${re};
130
+ line-height: 1;
131
+ font-weight: normal;
132
+ text-transform: none;
133
+ font-style: normal;
134
+ font-variant: normal;
135
+ speak: none;
136
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
137
+ text-rendering: auto;
138
+ -webkit-font-smoothing: antialiased;
139
+ -moz-osx-font-smoothing: grayscale;
140
+ }
141
+
142
+ .ft-icon--fluid-topics {
143
+ font-family: ${ne}, ft-icons, fticons, sans-serif;
144
+ }
145
+
146
+ .ft-icon--file-format {
147
+ font-family: ${le}, ft-mime, sans-serif;
148
+ }
149
+
150
+ .ft-icon--material {
151
+ font-family: ${ae}, "Material Icons", sans-serif;
152
+ }
153
+ `,se([o.property()],pe.prototype,"variant",void 0),se([o.query("slot")],pe.prototype,"slottedContent",void 0),e.customElement("ft-icon")(pe);var he=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class fe extends CustomEvent{constructor(t,e){super("resize",{detail:{width:t,height:e}})}}const de=e.FtCssVariable.external(e.designSystemVariables.colorOutline,"Design system"),ce=e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system");class ue extends e.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return i.html`
142
154
  <style>
143
155
  .ft-resizer {
144
156
  cursor: ${i.unsafeCSS(this.cursor)}
@@ -147,9 +159,9 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
147
159
  <div class="ft-resizer ft-no-text-select ${this.dragging?"ft-resizer--dragging":""}"
148
160
  @mousedown=${this.initDragFromMouse}
149
161
  @touchstart=${this.initDragFromTouch}>
150
- <mwc-icon>${this.icon}</mwc-icon>
162
+ <ft-icon variant="material">${this.icon}</ft-icon>
151
163
  </div>
152
- `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,e){this.dragging=!0,this.startX=t,this.startY=e,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,e){let i=this.fixedWidth+t-this.startX,o=this.fixedHeight+e-this.startY;this.dispatchEvent(new oe(i,o))}}ne.elementDefinitions={"mwc-icon":ee},ne.styles=[e.noTextSelect,i.css`
164
+ `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,e){this.dragging=!0,this.startX=t,this.startY=e,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,e){let i=this.fixedWidth+t-this.startX,o=this.fixedHeight+e-this.startY;this.dispatchEvent(new fe(i,o))}}ue.elementDefinitions={"ft-icon":pe},ue.styles=[e.noTextSelect,i.css`
153
165
  :host {
154
166
  display: block;
155
167
  }
@@ -158,16 +170,16 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
158
170
  display: flex;
159
171
  }
160
172
 
161
- mwc-icon {
173
+ ft-icon {
162
174
  transform: rotate(-45deg);
163
- color: ${se};
175
+ color: ${de};
164
176
  }
165
177
 
166
- .ft-resizer--dragging mwc-icon,
167
- .ft-resizer:hover mwc-icon {
168
- color: ${re};
178
+ .ft-resizer--dragging ft-icon,
179
+ .ft-resizer:hover ft-icon {
180
+ color: ${ce};
169
181
  }
170
- `],ie([o.property({type:Number})],ne.prototype,"initialWidth",void 0),ie([o.property({type:Number})],ne.prototype,"initialHeight",void 0),ie([o.property()],ne.prototype,"icon",void 0),ie([o.property()],ne.prototype,"cursor",void 0),ie([o.state()],ne.prototype,"dragging",void 0),e.customElement("ft-resizer")(ne);var le=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const ae={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")};class pe extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!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};return i.html`
182
+ `],he([o.property({type:Number})],ue.prototype,"initialWidth",void 0),he([o.property({type:Number})],ue.prototype,"initialHeight",void 0),he([o.property()],ue.prototype,"icon",void 0),he([o.property()],ue.prototype,"cursor",void 0),he([o.state()],ue.prototype,"dragging",void 0),e.customElement("ft-resizer")(ue);var xe=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const ye={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")};class ge extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!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};return i.html`
171
183
  <div class="${s.classMap(t)}">
172
184
  ${this.text?i.html`
173
185
  <div class="ft-input-label--text ft-typography--caption">
@@ -176,7 +188,7 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
176
188
  </div>
177
189
  `:null}
178
190
  </div>
179
- `}}pe.elementDefinitions={},pe.styles=[Xt,i.css`
191
+ `}}ge.elementDefinitions={},ge.styles=[Xt,i.css`
180
192
  .ft-input-label {
181
193
  position: absolute;
182
194
  inset: 0;
@@ -184,7 +196,7 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
184
196
  }
185
197
 
186
198
  .ft-input-label {
187
- border-color: ${ae.borderColor};
199
+ border-color: ${ye.borderColor};
188
200
  }
189
201
 
190
202
  .ft-input-label:before,
@@ -197,7 +209,7 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
197
209
  }
198
210
 
199
211
  .ft-input-label:before {
200
- width: ${ae.horizontalSpacing};
212
+ width: ${ye.horizontalSpacing};
201
213
  flex-shrink: 0;
202
214
  }
203
215
 
@@ -213,14 +225,14 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
213
225
  border-bottom-width: 1px;
214
226
  border-bottom-style: solid;
215
227
  border-color: inherit;
216
- color: ${ae.textColor};
228
+ color: ${ye.textColor};
217
229
  transition: font-size 250ms, line-height 250ms, color 250ms;
218
- ${e.setVariable(St.fontSize,ae.fontSize)};
219
- ${e.setVariable(St.lineHeight,ae.fontSize)};
230
+ ${e.setVariable(kt.fontSize,ye.fontSize)};
231
+ ${e.setVariable(kt.lineHeight,ye.fontSize)};
220
232
  }
221
233
 
222
234
  .ft-input-label--disabled .ft-input-label--text {
223
- color: ${ae.disabledTextColor};
235
+ color: ${ye.disabledTextColor};
224
236
  }
225
237
 
226
238
  .ft-input-label--hidden-text {
@@ -236,17 +248,17 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
236
248
  overflow: hidden;
237
249
  white-space: nowrap;
238
250
  text-overflow: ellipsis;
239
- padding: ${ae.verticalSpacing} 4px;
240
- margin: calc(${ae.verticalSpacing} * -1) 0;
251
+ padding: ${ye.verticalSpacing} 4px;
252
+ margin: calc(${ye.verticalSpacing} * -1) 0;
241
253
  }
242
254
 
243
255
  .ft-input-label--raised .ft-input-label--text {
244
- ${e.setVariable(St.fontSize,ae.raisedFontSize)};
245
- ${e.setVariable(St.lineHeight,ae.raisedFontSize)};
256
+ ${e.setVariable(kt.fontSize,ye.raisedFontSize)};
257
+ ${e.setVariable(kt.lineHeight,ye.raisedFontSize)};
246
258
  }
247
259
 
248
260
  .ft-input-label--raised .ft-input-label--floating-text {
249
- top: ${ae.verticalSpacing};
261
+ top: ${ye.verticalSpacing};
250
262
  }
251
263
 
252
264
  .ft-input-label--outlined .ft-input-label--text,
@@ -259,27 +271,27 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
259
271
  .ft-input-label--outlined:before {
260
272
  border-left-width: 1px;
261
273
  border-left-style: solid;
262
- border-radius: ${ae.borderRadiusS} 0 0 ${ae.borderRadiusS};
274
+ border-radius: ${ye.borderRadiusS} 0 0 ${ye.borderRadiusS};
263
275
  }
264
276
 
265
277
  .ft-input-label--outlined:after {
266
278
  border-right-width: 1px;
267
279
  border-right-style: solid;
268
- border-radius: 0 ${ae.borderRadiusS} ${ae.borderRadiusS} 0;
280
+ border-radius: 0 ${ye.borderRadiusS} ${ye.borderRadiusS} 0;
269
281
  }
270
282
 
271
283
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
272
284
  padding: 2px 4px;
273
- z-index: ${ae.raisedZIndex};
274
- background-color: ${ae.colorSurface};
275
- border-radius: ${ae.borderRadiusS};
285
+ z-index: ${ye.raisedZIndex};
286
+ background-color: ${ye.colorSurface};
287
+ border-radius: ${ye.borderRadiusS};
276
288
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
277
289
  }
278
290
 
279
291
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
280
292
  border-top: none;
281
293
  }
282
- `],le([o.property({type:String})],pe.prototype,"text",void 0),le([o.property({type:Boolean})],pe.prototype,"raised",void 0),le([o.property({type:Boolean})],pe.prototype,"outlined",void 0),le([o.property({type:Boolean})],pe.prototype,"disabled",void 0),e.customElement("ft-input-label")(pe);var he=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const fe={color:e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),primaryColor:e.FtCssVariable.extend("--ft-ripple-primary-color",e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary)),secondaryColor:e.FtCssVariable.extend("--ft-ripple-secondary-color",e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary)),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")};class de 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.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.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`
294
+ `],xe([o.property({type:String})],ge.prototype,"text",void 0),xe([o.property({type:Boolean})],ge.prototype,"raised",void 0),xe([o.property({type:Boolean})],ge.prototype,"outlined",void 0),xe([o.property({type:Boolean})],ge.prototype,"disabled",void 0),e.customElement("ft-input-label")(ge);var me=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const be={color:e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorContent),primaryColor:e.FtCssVariable.extend("--ft-ripple-primary-color",e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary)),secondaryColor:e.FtCssVariable.extend("--ft-ripple-secondary-color",e.FtCssVariable.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary)),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")};class ve 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.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.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`
283
295
  <style>
284
296
  .ft-ripple .ft-ripple--effect,
285
297
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -296,7 +308,7 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
296
308
  <div class="ft-ripple--background"></div>
297
309
  <div class="ft-ripple--effect"></div>
298
310
  </div>
299
- `}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 e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}de.elementDefinitions={},de.styles=i.css`
311
+ `}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 e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ve.elementDefinitions={},ve.styles=i.css`
300
312
  :host {
301
313
  display: contents;
302
314
  }
@@ -315,17 +327,17 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
315
327
  .ft-ripple .ft-ripple--effect {
316
328
  position: absolute;
317
329
  opacity: 0;
318
- background-color: ${fe.color};
330
+ background-color: ${be.color};
319
331
  }
320
332
 
321
333
  .ft-ripple.ft-ripple--secondary .ft-ripple--background,
322
334
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
323
- background-color: ${fe.secondaryColor};
335
+ background-color: ${be.secondaryColor};
324
336
  }
325
337
 
326
338
  .ft-ripple.ft-ripple--primary .ft-ripple--background,
327
339
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
328
- background-color: ${fe.primaryColor};
340
+ background-color: ${be.primaryColor};
329
341
  }
330
342
 
331
343
  .ft-ripple .ft-ripple--background {
@@ -356,25 +368,25 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
356
368
  }
357
369
 
358
370
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
359
- opacity: ${fe.opacityContentOnSurfaceHover};
371
+ opacity: ${be.opacityContentOnSurfaceHover};
360
372
  }
361
373
 
362
374
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
363
- opacity: ${fe.opacityContentOnSurfaceSelected};
375
+ opacity: ${be.opacityContentOnSurfaceSelected};
364
376
  }
365
377
 
366
378
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
367
- opacity: ${fe.opacityContentOnSurfaceFocused};
379
+ opacity: ${be.opacityContentOnSurfaceFocused};
368
380
  }
369
381
 
370
382
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
371
- opacity: ${fe.opacityContentOnSurfacePressed};
383
+ opacity: ${be.opacityContentOnSurfacePressed};
372
384
  transform: translate(-50%, -50%) scale(1);
373
385
  }
374
- `,he([o.property({type:Boolean})],de.prototype,"primary",void 0),he([o.property({type:Boolean})],de.prototype,"secondary",void 0),he([o.property({type:Boolean})],de.prototype,"unbounded",void 0),he([o.property({type:Boolean})],de.prototype,"activated",void 0),he([o.property({type:Boolean})],de.prototype,"selected",void 0),he([o.property({type:Boolean})],de.prototype,"disabled",void 0),he([o.state()],de.prototype,"hovered",void 0),he([o.state()],de.prototype,"focused",void 0),he([o.state()],de.prototype,"pressed",void 0),he([o.state()],de.prototype,"rippling",void 0),he([o.state()],de.prototype,"rippleSize",void 0),he([o.state()],de.prototype,"originX",void 0),he([o.state()],de.prototype,"originY",void 0),he([o.query(".ft-ripple")],de.prototype,"ripple",void 0),he([o.query(".ft-ripple--effect")],de.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(de);var ce=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const ue={fontSize:e.FtCssVariable.create("--ft-text-area-font-size","SIZE","14px"),labelSize:e.FtCssVariable.create("--ft-text-area-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariable.create("--ft-text-area-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-text-area-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariable.extend("--ft-text-area-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")};class ye extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label};return i.html`
386
+ `,me([o.property({type:Boolean})],ve.prototype,"primary",void 0),me([o.property({type:Boolean})],ve.prototype,"secondary",void 0),me([o.property({type:Boolean})],ve.prototype,"unbounded",void 0),me([o.property({type:Boolean})],ve.prototype,"activated",void 0),me([o.property({type:Boolean})],ve.prototype,"selected",void 0),me([o.property({type:Boolean})],ve.prototype,"disabled",void 0),me([o.state()],ve.prototype,"hovered",void 0),me([o.state()],ve.prototype,"focused",void 0),me([o.state()],ve.prototype,"pressed",void 0),me([o.state()],ve.prototype,"rippling",void 0),me([o.state()],ve.prototype,"rippleSize",void 0),me([o.state()],ve.prototype,"originX",void 0),me([o.state()],ve.prototype,"originY",void 0),me([o.query(".ft-ripple")],ve.prototype,"ripple",void 0),me([o.query(".ft-ripple--effect")],ve.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(ve);var $e=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const we={fontSize:e.FtCssVariable.create("--ft-text-area-font-size","SIZE","14px"),labelSize:e.FtCssVariable.create("--ft-text-area-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariable.create("--ft-text-area-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariable.create("--ft-text-area-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariable.extend("--ft-text-area-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")};class ze extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label};return i.html`
375
387
  <style>
376
388
  .ft-text-area--main-panel {
377
- height: calc(4 * ${ue.verticalSpacing} + ${ue.labelSize} + ${ue.fontSize} + ${this.height}px);
389
+ height: calc(4 * ${we.verticalSpacing} + ${we.labelSize} + ${we.fontSize} + ${this.height}px);
378
390
  }
379
391
  </style>
380
392
  <div class="${s.classMap(t)}">
@@ -408,7 +420,7 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
408
420
  ${this.helper}
409
421
  </ft-typography>`:void 0}
410
422
  </div>
411
- `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||""}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}ye.elementDefinitions={"ft-input-label":pe,"ft-resizer":ne,"ft-ripple":de,"ft-typography":Qt},ye.styles=[Pt,i.css`
423
+ `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||""}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}ze.elementDefinitions={"ft-input-label":ge,"ft-resizer":ue,"ft-ripple":ve,"ft-typography":te},ze.styles=[Pt,i.css`
412
424
  *:focus {
413
425
  outline: none;
414
426
  }
@@ -420,10 +432,10 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
420
432
  }
421
433
 
422
434
  ft-input-label {
423
- ${e.setVariable(ae.fontSize,ue.fontSize)};
424
- ${e.setVariable(ae.raisedFontSize,ue.labelSize)};
425
- ${e.setVariable(ae.verticalSpacing,ue.verticalSpacing)};
426
- ${e.setVariable(ae.horizontalSpacing,i.css`calc(${ue.horizontalSpacing} - 4px)`)};
435
+ ${e.setVariable(ye.fontSize,we.fontSize)};
436
+ ${e.setVariable(ye.raisedFontSize,we.labelSize)};
437
+ ${e.setVariable(ye.verticalSpacing,we.verticalSpacing)};
438
+ ${e.setVariable(ye.horizontalSpacing,i.css`calc(${we.horizontalSpacing} - 4px)`)};
427
439
  }
428
440
 
429
441
  .ft-text-area--main-panel {
@@ -441,8 +453,8 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
441
453
  }
442
454
 
443
455
  .ft-text-area--input-panel ft-ripple {
444
- ${e.setVariable(fe.opacityContentOnSurfaceHover,"0.08")};
445
- ${e.setVariable(fe.opacityContentOnSurfacePressed,"0.04")};
456
+ ${e.setVariable(be.opacityContentOnSurfaceHover,"0.08")};
457
+ ${e.setVariable(be.opacityContentOnSurfacePressed,"0.04")};
446
458
  }
447
459
 
448
460
  .ft-text-area--input {
@@ -453,12 +465,12 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
453
465
  align-self: stretch;
454
466
  resize: none;
455
467
 
456
- ${e.setVariable(bt.fontSize,ue.fontSize)};
457
- ${e.setVariable(bt.lineHeight,ue.fontSize)};
458
- color: ${ue.colorOnSurface};
468
+ ${e.setVariable(mt.fontSize,we.fontSize)};
469
+ ${e.setVariable(mt.lineHeight,we.fontSize)};
470
+ color: ${we.colorOnSurface};
459
471
 
460
- padding: 0 ${ue.horizontalSpacing};
461
- margin: calc(${ue.verticalSpacing} + ${ue.labelSize} / 2) 0 ${ue.verticalSpacing} 0;
472
+ padding: 0 ${we.horizontalSpacing};
473
+ margin: calc(${we.verticalSpacing} + ${we.labelSize} / 2) 0 ${we.verticalSpacing} 0;
462
474
 
463
475
  border: none;
464
476
  background: none;
@@ -467,7 +479,7 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
467
479
  }
468
480
 
469
481
  .ft-text-area--disabled .ft-text-area--input {
470
- color: ${ue.colorOnSurfaceDisabled};
482
+ color: ${we.colorOnSurfaceDisabled};
471
483
  }
472
484
 
473
485
  .ft-text-area:not(.ft-text-area--disabled) .ft-text-area--input-panel {
@@ -475,27 +487,27 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
475
487
  }
476
488
 
477
489
  .ft-text-area:not(.ft-text-area--disabled):focus-within ft-input-label {
478
- ${e.setVariable(ae.borderColor,ue.colorPrimary)};
479
- ${e.setVariable(ae.textColor,ue.colorPrimary)};
490
+ ${e.setVariable(ye.borderColor,we.colorPrimary)};
491
+ ${e.setVariable(ye.textColor,we.colorPrimary)};
480
492
  }
481
493
 
482
494
  .ft-text-area--filled .ft-text-area--input-panel {
483
- border-radius: ${ue.borderRadiusS} ${ue.borderRadiusS} 0 0;
495
+ border-radius: ${we.borderRadiusS} ${we.borderRadiusS} 0 0;
484
496
  }
485
497
 
486
498
  .ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
487
499
  align-self: stretch;
488
- margin-bottom: ${ue.verticalSpacing};
489
- margin-top: calc(${ue.labelSize} + 2 * ${ue.verticalSpacing});
500
+ margin-bottom: ${we.verticalSpacing};
501
+ margin-top: calc(${we.labelSize} + 2 * ${we.verticalSpacing});
490
502
  }
491
503
 
492
504
  .ft-text-area--outlined .ft-text-area--input-panel {
493
- border-radius: ${ue.borderRadiusS};
505
+ border-radius: ${we.borderRadiusS};
494
506
  }
495
507
 
496
508
  .ft-text-area--helper-text {
497
- padding: 0 12px 0 ${ue.horizontalSpacing};
498
- color: ${ue.helperColor};
509
+ padding: 0 12px 0 ${we.horizontalSpacing};
510
+ color: ${we.helperColor};
499
511
  }
500
512
 
501
513
  ft-resizer {
@@ -503,4 +515,4 @@ function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnP
503
515
  right: 0;
504
516
  bottom: 0;
505
517
  }
506
- `],ce([o.property({type:String})],ye.prototype,"label",void 0),ce([o.property({reflect:!0})],ye.prototype,"value",void 0),ce([o.property({type:String})],ye.prototype,"helper",void 0),ce([o.property({type:Boolean})],ye.prototype,"outlined",void 0),ce([o.property({type:Boolean})],ye.prototype,"disabled",void 0),ce([o.property({type:Number,reflect:!0})],ye.prototype,"height",void 0),ce([o.query("textarea")],ye.prototype,"textarea",void 0),ce([o.state()],ye.prototype,"focused",void 0),e.customElement("ft-text-area")(ye),t.FtTextArea=ye,t.FtTextAreaCssVariables=ue,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
518
+ `],$e([o.property({type:String})],ze.prototype,"label",void 0),$e([o.property({reflect:!0})],ze.prototype,"value",void 0),$e([o.property({type:String})],ze.prototype,"helper",void 0),$e([o.property({type:Boolean})],ze.prototype,"outlined",void 0),$e([o.property({type:Boolean})],ze.prototype,"disabled",void 0),$e([o.property({type:Number,reflect:!0})],ze.prototype,"height",void 0),$e([o.query("textarea")],ze.prototype,"textarea",void 0),$e([o.state()],ze.prototype,"focused",void 0),e.customElement("ft-text-area")(ze),t.FtTextArea=ze,t.FtTextAreaCssVariables=we,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);