@fluid-topics/ft-chip 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.
@@ -110,129 +110,129 @@ var x;y.elementDefinitions={},y.styles=e.css`
110
110
  opacity: ${l.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `,s([o.property({type:Boolean})],y.prototype,"primary",void 0),s([o.property({type:Boolean})],y.prototype,"secondary",void 0),s([o.property({type:Boolean})],y.prototype,"unbounded",void 0),s([o.property({type:Boolean})],y.prototype,"activated",void 0),s([o.property({type:Boolean})],y.prototype,"selected",void 0),s([o.property({type:Boolean})],y.prototype,"disabled",void 0),s([o.state()],y.prototype,"hovered",void 0),s([o.state()],y.prototype,"focused",void 0),s([o.state()],y.prototype,"pressed",void 0),s([o.state()],y.prototype,"rippling",void 0),s([o.state()],y.prototype,"rippleSize",void 0),s([o.state()],y.prototype,"originX",void 0),s([o.state()],y.prototype,"originY",void 0),s([o.query(".ft-ripple")],y.prototype,"ripple",void 0),s([o.query(".ft-ripple--effect")],y.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(y);const u=globalThis.trustedTypes,v=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,m=`lit$${(Math.random()+"").slice(9)}$`,b="?"+m,$=`<${b}>`,w=document,k=(t="")=>w.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,j=/>/g,O=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,N=/'/g,A=/"/g,E=/^(?:script|style|textarea|title)$/i,_=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),B=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),T=new WeakMap,F=w.createTreeWalker(w,129,null,!1),U=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=C;for(let i=0;i<e;i++){const e=t[i];let p,l,a=-1,h=0;for(;h<e.length&&(s.lastIndex=h,l=s.exec(e),null!==l);)h=s.lastIndex,s===C?"!--"===l[1]?s=I:void 0!==l[1]?s=j:void 0!==l[2]?(E.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=O):void 0!==l[3]&&(s=O):s===O?">"===l[0]?(s=null!=n?n:C,a=-1):void 0===l[1]?a=-2:(a=s.lastIndex-l[2].length,p=l[1],s=void 0===l[3]?O:'"'===l[3]?A:N):s===A||s===N?s=O:s===I||s===j?s=C:(s=O,n=void 0);const f=s===O&&t[i+1].startsWith("/>")?" ":"";r+=s===C?e+$:a>=0?(o.push(p),e.slice(0,a)+"$lit$"+e.slice(a)+m+f):e+m+(-2===a?(o.push(void 0),i):f)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==v?v.createHTML(p):p,o]};class Z{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,p=this.parts,[l,a]=U(t,i);if(this.el=Z.createElement(l,e),F.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=F.nextNode())&&p.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(m)){const e=a[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(m),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?P:"?"===i[1]?H:"@"===i[1]?L:G})}else p.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(E.test(o.tagName)){const t=o.textContent.split(m),i=t.length-1;if(i>0){o.textContent=u?u.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],k()),F.nextNode(),p.push({type:2,index:++n});o.append(t[i],k())}}}else if(8===o.nodeType)if(o.data===b)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(m,t+1));)p.push({type:7,index:n}),t+=m.length-1}n++}}static createElement(t,i){const e=w.createElement("template");return e.innerHTML=t,e}}function W(t,i,e=t,o){var n,r,s,p;if(i===B)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const a=z(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(p=e)._$Cl)&&void 0!==s?s:p._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=W(t,l._$AS(t,i.values),l,o)),i}class D{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:w).importNode(e,!0);F.currentNode=n;let r=F.nextNode(),s=0,p=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new K(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new q(r,this,t)),this.v.push(i),l=o[++p]}s!==(null==l?void 0:l.index)&&(r=F.nextNode(),s++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class K{constructor(t,i,e,o){var n;this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=W(this,t,i),z(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==B&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return S(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==M&&z(this._$AH)?this._$AA.nextSibling.data=t:this.S(w.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new D(n,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=T.get(t.strings);return void 0===i&&T.set(t.strings,i=new Z(t)),i}A(t){S(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new K(this.M(k()),this.M(k()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class G{constructor(t,i,e,o,n){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=M}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=W(this,t,i,0),r=!z(t)||t!==this._$AH&&t!==B,r&&(this._$AH=t);else{const o=t;let s,p;for(t=n[0],s=0;s<n.length-1;s++)p=W(this,o[e+s],i,s),p===B&&(p=this._$AH[s]),r||(r=!z(p)||p!==this._$AH[s]),p===M?t=M:t!==M&&(t+=(null!=p?p:"")+n[s+1]),this._$AH[s]=p}r&&!o&&this.k(t)}k(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends G{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===M?void 0:t}}const R=u?u.emptyScript:"";class H extends G{constructor(){super(...arguments),this.type=4}k(t){t&&t!==M?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class L extends G{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=W(this,t,i,0))&&void 0!==e?e:M)===B)return;const o=this._$AH,n=t===M&&o!==M||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==M&&(o===M||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}}const X=window.litHtmlPolyfillSupport;null==X||X(Z,K),(null!==(x=globalThis.litHtmlVersions)&&void 0!==x?x:globalThis.litHtmlVersions=[]).push("2.1.3");
113
+ `,s([o.property({type:Boolean})],y.prototype,"primary",void 0),s([o.property({type:Boolean})],y.prototype,"secondary",void 0),s([o.property({type:Boolean})],y.prototype,"unbounded",void 0),s([o.property({type:Boolean})],y.prototype,"activated",void 0),s([o.property({type:Boolean})],y.prototype,"selected",void 0),s([o.property({type:Boolean})],y.prototype,"disabled",void 0),s([o.state()],y.prototype,"hovered",void 0),s([o.state()],y.prototype,"focused",void 0),s([o.state()],y.prototype,"pressed",void 0),s([o.state()],y.prototype,"rippling",void 0),s([o.state()],y.prototype,"rippleSize",void 0),s([o.state()],y.prototype,"originX",void 0),s([o.state()],y.prototype,"originY",void 0),s([o.query(".ft-ripple")],y.prototype,"ripple",void 0),s([o.query(".ft-ripple--effect")],y.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(y);const u=globalThis.trustedTypes,v=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,m=`lit$${(Math.random()+"").slice(9)}$`,b="?"+m,$=`<${b}>`,w=document,k=(t="")=>w.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,j=/>/g,O=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,N=/'/g,E=/"/g,A=/^(?:script|style|textarea|title)$/i,_=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),B=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),T=new WeakMap,F=w.createTreeWalker(w,129,null,!1),U=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=C;for(let i=0;i<e;i++){const e=t[i];let p,l,a=-1,h=0;for(;h<e.length&&(s.lastIndex=h,l=s.exec(e),null!==l);)h=s.lastIndex,s===C?"!--"===l[1]?s=I:void 0!==l[1]?s=j:void 0!==l[2]?(A.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=O):void 0!==l[3]&&(s=O):s===O?">"===l[0]?(s=null!=n?n:C,a=-1):void 0===l[1]?a=-2:(a=s.lastIndex-l[2].length,p=l[1],s=void 0===l[3]?O:'"'===l[3]?E:N):s===E||s===N?s=O:s===I||s===j?s=C:(s=O,n=void 0);const f=s===O&&t[i+1].startsWith("/>")?" ":"";r+=s===C?e+$:a>=0?(o.push(p),e.slice(0,a)+"$lit$"+e.slice(a)+m+f):e+m+(-2===a?(o.push(void 0),i):f)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==v?v.createHTML(p):p,o]};class Z{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,p=this.parts,[l,a]=U(t,i);if(this.el=Z.createElement(l,e),F.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=F.nextNode())&&p.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(m)){const e=a[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(m),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?P:"?"===i[1]?H:"@"===i[1]?L:G})}else p.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(A.test(o.tagName)){const t=o.textContent.split(m),i=t.length-1;if(i>0){o.textContent=u?u.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],k()),F.nextNode(),p.push({type:2,index:++n});o.append(t[i],k())}}}else if(8===o.nodeType)if(o.data===b)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(m,t+1));)p.push({type:7,index:n}),t+=m.length-1}n++}}static createElement(t,i){const e=w.createElement("template");return e.innerHTML=t,e}}function W(t,i,e=t,o){var n,r,s,p;if(i===B)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const a=z(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(p=e)._$Cl)&&void 0!==s?s:p._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=W(t,l._$AS(t,i.values),l,o)),i}class D{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:w).importNode(e,!0);F.currentNode=n;let r=F.nextNode(),s=0,p=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new K(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new q(r,this,t)),this.v.push(i),l=o[++p]}s!==(null==l?void 0:l.index)&&(r=F.nextNode(),s++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class K{constructor(t,i,e,o){var n;this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=W(this,t,i),z(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==B&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return S(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==M&&z(this._$AH)?this._$AA.nextSibling.data=t:this.k(w.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new D(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=T.get(t.strings);return void 0===i&&T.set(t.strings,i=new Z(t)),i}S(t){S(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new K(this.M(k()),this.M(k()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class G{constructor(t,i,e,o,n){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=M}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=W(this,t,i,0),r=!z(t)||t!==this._$AH&&t!==B,r&&(this._$AH=t);else{const o=t;let s,p;for(t=n[0],s=0;s<n.length-1;s++)p=W(this,o[e+s],i,s),p===B&&(p=this._$AH[s]),r||(r=!z(p)||p!==this._$AH[s]),p===M?t=M:t!==M&&(t+=(null!=p?p:"")+n[s+1]),this._$AH[s]=p}r&&!o&&this.C(t)}C(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends G{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===M?void 0:t}}const R=u?u.emptyScript:"";class H extends G{constructor(){super(...arguments),this.type=4}C(t){t&&t!==M?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class L extends G{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=W(this,t,i,0))&&void 0!==e?e:M)===B)return;const o=this._$AH,n=t===M&&o!==M||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==M&&(o===M||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}}const X=window.litHtmlPolyfillSupport;null==X||X(Z,K),(null!==(x=globalThis.litHtmlVersions)&&void 0!==x?x:globalThis.litHtmlVersions=[]).push("2.2.4");
114
114
  /**
115
115
  * @license
116
116
  * Copyright 2020 Google LLC
117
117
  * SPDX-License-Identifier: BSD-3-Clause
118
118
  */
119
- const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;let r,s;const p=[],l=[];let a,h=0,f=!1;for(;h<n;){for(a=i[h];h<n&&void 0!==(s=e[h],r=null===(o=s)||void 0===o?void 0:o._$litStatic$);)a+=r+i[++h],f=!0;l.push(s),p.push(a),h++}if(h===n&&p.push(i[n]),f){const t=p.join("$$lit$$");void 0===(i=J.get(t))&&(p.raw=p,J.set(t,i=p)),e=l}return t(i,...e)})(_);var V,tt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!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"}(V||(V={}));const it=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),et=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ot={fontFamily:et,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},nt=i.FtCssVariable.extend("--ft-typography-title-font-family",it),rt=i.FtCssVariable.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),st=i.FtCssVariable.extend("--ft-typography-title-font-weight",ot.fontWeight,"normal"),pt=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",ot.letterSpacing,"0.15px"),lt=i.FtCssVariable.extend("--ft-typography-title-line-height",ot.lineHeight,"24px"),at=i.FtCssVariable.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),ht=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",it),ft=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",ot.fontSize,"14px"),ct=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",ot.fontWeight,"normal"),dt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",ot.letterSpacing,"0.105px"),gt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"24px"),yt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),xt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",et),ut=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),vt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),mt=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",ot.lineHeight,"24px"),$t=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",ot.textTransform,"inherit"),wt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",et),kt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",ot.fontSize,"14px"),zt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",ot.fontWeight,"normal"),St=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"24px"),It=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),jt=i.FtCssVariable.extend("--ft-typography-body1-font-family",et),Ot=i.FtCssVariable.extend("--ft-typography-body1-font-size",ot.fontSize,"16px"),Nt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",ot.fontWeight,"normal"),At=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",ot.letterSpacing,"0.496px"),Et=i.FtCssVariable.extend("--ft-typography-body1-line-height",ot.lineHeight,"24px"),_t=i.FtCssVariable.extend("--ft-typography-body1-text-transform",ot.textTransform,"inherit"),Bt={fontFamily:i.FtCssVariable.extend("--ft-typography-body2-font-family",et),fontSize:i.FtCssVariable.extend("--ft-typography-body2-font-size",ot.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-body2-font-weight",ot.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",ot.letterSpacing,"0.252px"),lineHeight:i.FtCssVariable.extend("--ft-typography-body2-line-height",ot.lineHeight,"20px"),textTransform:i.FtCssVariable.extend("--ft-typography-body2-text-transform",ot.textTransform,"inherit")},Mt=i.FtCssVariable.extend("--ft-typography-caption-font-family",et),Tt=i.FtCssVariable.extend("--ft-typography-caption-font-size",ot.fontSize,"12px"),Ft=i.FtCssVariable.extend("--ft-typography-caption-font-weight",ot.fontWeight,"normal"),Ut=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",ot.letterSpacing,"0.396px"),Zt=i.FtCssVariable.extend("--ft-typography-caption-line-height",ot.lineHeight,"16px"),Wt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",ot.textTransform,"inherit"),Dt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",et),Kt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",ot.fontSize,"10px"),Gt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",ot.fontWeight,"normal"),Pt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",ot.letterSpacing,"0.33px"),Rt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",ot.lineHeight,"16px"),Ht=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",ot.textTransform,"inherit"),Lt=i.FtCssVariable.extend("--ft-typography-overline-font-family",et),qt=i.FtCssVariable.extend("--ft-typography-overline-font-size",ot.fontSize,"10px"),Xt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",ot.fontWeight,"normal"),Yt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",ot.letterSpacing,"1.5px"),Jt=i.FtCssVariable.extend("--ft-typography-overline-line-height",ot.lineHeight,"16px"),Qt=i.FtCssVariable.extend("--ft-typography-overline-text-transform",ot.textTransform,"uppercase"),Vt=i.FtCssVariable.extend("--ft-typography-button-font-family",et),ti=i.FtCssVariable.extend("--ft-typography-button-font-size",ot.fontSize,"14px"),ii=i.FtCssVariable.extend("--ft-typography-button-font-weight",ot.fontWeight,"600"),ei=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",ot.letterSpacing,"1.246px"),oi=i.FtCssVariable.extend("--ft-typography-button-line-height",ot.lineHeight,"16px"),ni=i.FtCssVariable.extend("--ft-typography-button-text-transform",ot.textTransform,"uppercase"),ri=e.css`
119
+ const Y=Symbol.for(""),J=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===Y)return null===(e=t)||void 0===e?void 0:e._$litStatic$},Q=t=>({_$litStatic$:t,r:Y}),V=new Map,tt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],p=[];let l,a=0,h=!1;for(;a<o;){for(l=i[a];a<o&&void 0!==(r=e[a],n=J(r));)l+=n+i[++a],h=!0;p.push(r),s.push(l),a++}if(a===o&&s.push(i[o]),h){const t=s.join("$$lit$$");void 0===(i=V.get(t))&&(s.raw=s,V.set(t,i=s)),e=p}return t(i,...e)})(_);var it,et=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!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"}(it||(it={}));const ot=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),nt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),rt={fontFamily:nt,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},st=i.FtCssVariable.extend("--ft-typography-title-font-family",ot),pt=i.FtCssVariable.extend("--ft-typography-title-font-size",rt.fontSize,"20px"),lt=i.FtCssVariable.extend("--ft-typography-title-font-weight",rt.fontWeight,"normal"),at=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",rt.letterSpacing,"0.15px"),ht=i.FtCssVariable.extend("--ft-typography-title-line-height",rt.lineHeight,"24px"),ft=i.FtCssVariable.extend("--ft-typography-title-text-transform",rt.textTransform,"inherit"),ct=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",ot),dt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",rt.fontSize,"14px"),gt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",rt.fontWeight,"normal"),yt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",rt.letterSpacing,"0.105px"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",rt.lineHeight,"24px"),ut=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",rt.textTransform,"inherit"),vt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",nt),mt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",rt.fontSize,"16px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",rt.fontWeight,"600"),$t=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",rt.letterSpacing,"0.144px"),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",rt.lineHeight,"24px"),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",rt.textTransform,"inherit"),zt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",nt),St=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",rt.fontSize,"14px"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",rt.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",rt.letterSpacing,"0.098px"),jt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",rt.lineHeight,"24px"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",rt.textTransform,"inherit"),Nt=i.FtCssVariable.extend("--ft-typography-body1-font-family",nt),Et=i.FtCssVariable.extend("--ft-typography-body1-font-size",rt.fontSize,"16px"),At=i.FtCssVariable.extend("--ft-typography-body1-font-weight",rt.fontWeight,"normal"),_t=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",rt.letterSpacing,"0.496px"),Bt=i.FtCssVariable.extend("--ft-typography-body1-line-height",rt.lineHeight,"24px"),Mt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",rt.textTransform,"inherit"),Tt={fontFamily:i.FtCssVariable.extend("--ft-typography-body2-font-family",nt),fontSize:i.FtCssVariable.extend("--ft-typography-body2-font-size",rt.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-body2-font-weight",rt.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",rt.letterSpacing,"0.252px"),lineHeight:i.FtCssVariable.extend("--ft-typography-body2-line-height",rt.lineHeight,"20px"),textTransform:i.FtCssVariable.extend("--ft-typography-body2-text-transform",rt.textTransform,"inherit")},Ft=i.FtCssVariable.extend("--ft-typography-caption-font-family",nt),Ut=i.FtCssVariable.extend("--ft-typography-caption-font-size",rt.fontSize,"12px"),Zt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",rt.fontWeight,"normal"),Wt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",rt.letterSpacing,"0.396px"),Dt=i.FtCssVariable.extend("--ft-typography-caption-line-height",rt.lineHeight,"16px"),Kt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",rt.textTransform,"inherit"),Gt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",nt),Pt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",rt.fontSize,"10px"),Rt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",rt.fontWeight,"normal"),Ht=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",rt.letterSpacing,"0.33px"),Lt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",rt.lineHeight,"16px"),qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",rt.textTransform,"inherit"),Xt=i.FtCssVariable.extend("--ft-typography-overline-font-family",nt),Yt=i.FtCssVariable.extend("--ft-typography-overline-font-size",rt.fontSize,"10px"),Jt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",rt.fontWeight,"normal"),Qt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",rt.letterSpacing,"1.5px"),Vt=i.FtCssVariable.extend("--ft-typography-overline-line-height",rt.lineHeight,"16px"),ti=i.FtCssVariable.extend("--ft-typography-overline-text-transform",rt.textTransform,"uppercase"),ii=i.FtCssVariable.extend("--ft-typography-button-font-family",nt),ei=i.FtCssVariable.extend("--ft-typography-button-font-size",rt.fontSize,"14px"),oi=i.FtCssVariable.extend("--ft-typography-button-font-weight",rt.fontWeight,"600"),ni=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",rt.letterSpacing,"1.246px"),ri=i.FtCssVariable.extend("--ft-typography-button-line-height",rt.lineHeight,"16px"),si=i.FtCssVariable.extend("--ft-typography-button-text-transform",rt.textTransform,"uppercase"),pi=e.css`
120
120
  .ft-typography--title {
121
- font-family: ${nt};
122
- font-size: ${rt};
123
- font-weight: ${st};
124
- letter-spacing: ${pt};
125
- line-height: ${lt};
126
- text-transform: ${at};
121
+ font-family: ${st};
122
+ font-size: ${pt};
123
+ font-weight: ${lt};
124
+ letter-spacing: ${at};
125
+ line-height: ${ht};
126
+ text-transform: ${ft};
127
127
  }
128
- `,si=e.css`
128
+ `,li=e.css`
129
129
  .ft-typography--title-dense {
130
- font-family: ${ht};
131
- font-size: ${ft};
132
- font-weight: ${ct};
133
- letter-spacing: ${dt};
134
- line-height: ${gt};
135
- text-transform: ${yt};
130
+ font-family: ${ct};
131
+ font-size: ${dt};
132
+ font-weight: ${gt};
133
+ letter-spacing: ${yt};
134
+ line-height: ${xt};
135
+ text-transform: ${ut};
136
136
  }
137
- `,pi=e.css`
137
+ `,ai=e.css`
138
138
  .ft-typography--subtitle1 {
139
- font-family: ${xt};
140
- font-size: ${ut};
141
- font-weight: ${vt};
142
- letter-spacing: ${mt};
143
- line-height: ${bt};
144
- text-transform: ${$t};
139
+ font-family: ${vt};
140
+ font-size: ${mt};
141
+ font-weight: ${bt};
142
+ letter-spacing: ${$t};
143
+ line-height: ${wt};
144
+ text-transform: ${kt};
145
145
  }
146
- `,li=e.css`
146
+ `,hi=e.css`
147
147
  .ft-typography--subtitle2 {
148
- font-family: ${wt};
149
- font-size: ${kt};
150
- font-weight: ${zt};
151
- letter-spacing: ${St};
152
- line-height: ${Ct};
153
- text-transform: ${It};
148
+ font-family: ${zt};
149
+ font-size: ${St};
150
+ font-weight: ${Ct};
151
+ letter-spacing: ${It};
152
+ line-height: ${jt};
153
+ text-transform: ${Ot};
154
154
  }
155
155
 
156
- `,ai=e.css`
156
+ `,fi=e.css`
157
157
  .ft-typography--body1 {
158
- font-family: ${jt};
159
- font-size: ${Ot};
160
- font-weight: ${Nt};
161
- letter-spacing: ${At};
162
- line-height: ${Et};
163
- text-transform: ${_t};
158
+ font-family: ${Nt};
159
+ font-size: ${Et};
160
+ font-weight: ${At};
161
+ letter-spacing: ${_t};
162
+ line-height: ${Bt};
163
+ text-transform: ${Mt};
164
164
  }
165
- `,hi=e.css`
165
+ `,ci=e.css`
166
166
  .ft-typography--body2 {
167
- font-family: ${Bt.fontFamily};
168
- font-size: ${Bt.fontSize};
169
- font-weight: ${Bt.fontWeight};
170
- letter-spacing: ${Bt.letterSpacing};
171
- line-height: ${Bt.lineHeight};
172
- text-transform: ${Bt.textTransform};
167
+ font-family: ${Tt.fontFamily};
168
+ font-size: ${Tt.fontSize};
169
+ font-weight: ${Tt.fontWeight};
170
+ letter-spacing: ${Tt.letterSpacing};
171
+ line-height: ${Tt.lineHeight};
172
+ text-transform: ${Tt.textTransform};
173
173
  }
174
- `,fi=e.css`
174
+ `,di=e.css`
175
175
  .ft-typography--caption {
176
- font-family: ${Mt};
177
- font-size: ${Tt};
178
- font-weight: ${Ft};
179
- letter-spacing: ${Ut};
180
- line-height: ${Zt};
181
- text-transform: ${Wt};
176
+ font-family: ${Ft};
177
+ font-size: ${Ut};
178
+ font-weight: ${Zt};
179
+ letter-spacing: ${Wt};
180
+ line-height: ${Dt};
181
+ text-transform: ${Kt};
182
182
  }
183
- `,ci=e.css`
183
+ `,gi=e.css`
184
184
  .ft-typography--breadcrumb {
185
- font-family: ${Dt};
186
- font-size: ${Kt};
187
- font-weight: ${Gt};
188
- letter-spacing: ${Pt};
189
- line-height: ${Rt};
190
- text-transform: ${Ht};
185
+ font-family: ${Gt};
186
+ font-size: ${Pt};
187
+ font-weight: ${Rt};
188
+ letter-spacing: ${Ht};
189
+ line-height: ${Lt};
190
+ text-transform: ${qt};
191
191
  }
192
- `,di=e.css`
192
+ `,yi=e.css`
193
193
  .ft-typography--overline {
194
- font-family: ${Lt};
195
- font-size: ${qt};
196
- font-weight: ${Xt};
197
- letter-spacing: ${Yt};
198
- line-height: ${Jt};
199
- text-transform: ${Qt};
194
+ font-family: ${Xt};
195
+ font-size: ${Yt};
196
+ font-weight: ${Jt};
197
+ letter-spacing: ${Qt};
198
+ line-height: ${Vt};
199
+ text-transform: ${ti};
200
200
  }
201
- `,gi=e.css`
201
+ `,xi=e.css`
202
202
  .ft-typography--button {
203
- font-family: ${Vt};
204
- font-size: ${ti};
205
- font-weight: ${ii};
206
- letter-spacing: ${ei};
207
- line-height: ${oi};
208
- text-transform: ${ni};
203
+ font-family: ${ii};
204
+ font-size: ${ei};
205
+ font-weight: ${oi};
206
+ letter-spacing: ${ni};
207
+ line-height: ${ri};
208
+ text-transform: ${si};
209
209
  }
210
- `;class yi extends i.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?Q`
211
- <${Y(this.element)}
210
+ `;class ui extends i.FtLitElement{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?tt`
211
+ <${Q(this.element)}
212
212
  class="ft-typography ft-typography--${this.variant}">
213
213
  <slot></slot>
214
- </${Y(this.element)}>
215
- `:Q`
214
+ </${Q(this.element)}>
215
+ `:tt`
216
216
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
217
- `}}var xi,ui;yi.styles=[ri,si,pi,li,ai,hi,fi,ci,di,gi,e.css`
217
+ `}}var vi,mi;ui.styles=[pi,li,ai,hi,fi,ci,di,gi,yi,xi,e.css`
218
218
  .ft-typography {
219
219
  vertical-align: inherit;
220
220
  }
221
- `],tt([o.property()],yi.prototype,"element",void 0),tt([o.property()],yi.prototype,"variant",void 0),i.customElement("ft-typography")(yi),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;"}(xi||(xi={})),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;"}(ui||(ui={})),new Map([...["abw"].map((t=>[t,ui.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,ui.AUDIO])),...["avi"].map((t=>[t,ui.AVI])),...["chm","xhs"].map((t=>[t,ui.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,ui.CODE])),...["csv"].map((t=>[t,ui.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ui.DITA])),...["epub"].map((t=>[t,ui.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ui.EXCEL])),...["flac"].map((t=>[t,ui.FLAC])),...["gif"].map((t=>[t,ui.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ui.GZIP])),...["html","htm","xhtml"].map((t=>[t,ui.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,ui.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ui.JPEG])),...["json"].map((t=>[t,ui.JSON])),...["m4a","m4p"].map((t=>[t,ui.M4A])),...["mov","qt"].map((t=>[t,ui.MOV])),...["mp3"].map((t=>[t,ui.MP3])),...["mp4","m4v"].map((t=>[t,ui.MP4])),...["ogg","oga"].map((t=>[t,ui.OGG])),...["pdf","ps"].map((t=>[t,ui.PDF])),...["png"].map((t=>[t,ui.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ui.POWERPOINT])),...["rar"].map((t=>[t,ui.RAR])),...["stp"].map((t=>[t,ui.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ui.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,ui.VIDEO])),...["wav"].map((t=>[t,ui.WAV])),...["wma"].map((t=>[t,ui.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ui.WORD])),...["xml","xsl","rdf"].map((t=>[t,ui.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ui.YAML])),...["zip"].map((t=>[t,ui.ZIP]))]);var vi,mi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(vi||(vi={}));const bi={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class $i extends i.FtLitElement{constructor(){super(...arguments),this.variant=vi.fluid_topics}render(){return e.html`
221
+ `],et([o.property()],ui.prototype,"element",void 0),et([o.property()],ui.prototype,"variant",void 0),i.customElement("ft-typography")(ui),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(vi||(vi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(mi||(mi={})),new Map([...["abw"].map((t=>[t,mi.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,mi.AUDIO])),...["avi"].map((t=>[t,mi.AVI])),...["chm","xhs"].map((t=>[t,mi.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,mi.CODE])),...["csv"].map((t=>[t,mi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,mi.DITA])),...["epub"].map((t=>[t,mi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,mi.EXCEL])),...["flac"].map((t=>[t,mi.FLAC])),...["gif"].map((t=>[t,mi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,mi.GZIP])),...["html","htm","xhtml"].map((t=>[t,mi.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,mi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,mi.JPEG])),...["json"].map((t=>[t,mi.JSON])),...["m4a","m4p"].map((t=>[t,mi.M4A])),...["mov","qt"].map((t=>[t,mi.MOV])),...["mp3"].map((t=>[t,mi.MP3])),...["mp4","m4v"].map((t=>[t,mi.MP4])),...["ogg","oga"].map((t=>[t,mi.OGG])),...["pdf","ps"].map((t=>[t,mi.PDF])),...["png"].map((t=>[t,mi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,mi.POWERPOINT])),...["rar"].map((t=>[t,mi.RAR])),...["stp"].map((t=>[t,mi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,mi.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,mi.VIDEO])),...["wav"].map((t=>[t,mi.WAV])),...["wma"].map((t=>[t,mi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,mi.WORD])),...["xml","xsl","rdf"].map((t=>[t,mi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,mi.YAML])),...["zip"].map((t=>[t,mi.ZIP]))]);var bi,$i=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(bi||(bi={}));const wi={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class ki extends i.FtLitElement{constructor(){super(...arguments),this.variant=bi.fluid_topics}render(){return e.html`
222
222
  <i class="ft-icon ${"ft-icon--"+this.variant}">
223
223
  ${r.unsafeHTML(this.getIcon())}
224
224
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
225
225
  </i>
226
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===vi.file_format?null!==(t=ui[o.toUpperCase()])&&void 0!==t?t:o:this.variant===vi.fluid_topics?null!==(i=xi[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}$i.elementDefinitions={},$i.styles=e.css`
226
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===bi.file_format?null!==(t=mi[o.toUpperCase()])&&void 0!==t?t:o:this.variant===bi.fluid_topics?null!==(i=vi[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}ki.elementDefinitions={},ki.styles=e.css`
227
227
  :host, i.ft-icon {
228
228
  display: inline-block;
229
- width: ${bi.size};
230
- height: ${bi.size};
229
+ width: ${wi.size};
230
+ height: ${wi.size};
231
231
  text-align: center;
232
232
  }
233
233
 
234
234
  i.ft-icon {
235
- font-size: ${bi.size};
235
+ font-size: ${wi.size};
236
236
  line-height: 1;
237
237
  font-weight: normal;
238
238
  text-transform: none;
@@ -246,17 +246,17 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
246
246
  }
247
247
 
248
248
  .ft-icon--fluid-topics {
249
- font-family: ${bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
249
+ font-family: ${wi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
250
250
  }
251
251
 
252
252
  .ft-icon--file-format {
253
- font-family: ${bi.fileFormatFontFamily}, ft-mime, sans-serif;
253
+ font-family: ${wi.fileFormatFontFamily}, ft-mime, sans-serif;
254
254
  }
255
255
 
256
256
  .ft-icon--material {
257
- font-family: ${bi.materialFontFamily}, "Material Icons", sans-serif;
257
+ font-family: ${wi.materialFontFamily}, "Material Icons", sans-serif;
258
258
  }
259
- `,mi([o.property()],$i.prototype,"variant",void 0),mi([o.query("slot")],$i.prototype,"slottedContent",void 0),i.customElement("ft-icon")($i);var wi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const ki=i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),zi={backgroundColor:i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:ki,fontSize:i.FtCssVariable.extend("--ft-chip-font-size",Bt.fontSize),iconSize:i.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariable.extend("--ft-chip-ripple-color",ki),horizontalPadding:i.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Si=i.FtCssVariable.extend("--ft-chip-highlighted-color",i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),Ci={backgroundColor:i.FtCssVariable.extend("--ft-chip-highlighted-background-color",i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:Si,rippleColor:i.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",Si)},Ii={horizontalPadding:i.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:i.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px")};class ji extends CustomEvent{constructor(){super("icon-click")}}class Oi extends i.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}static get styles(){return[i.noTextSelect,e.css`
259
+ `,$i([o.property()],ki.prototype,"variant",void 0),$i([o.query("slot")],ki.prototype,"slottedContent",void 0),i.customElement("ft-icon")(ki);var zi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(n=t[p])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const Si=i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),Ci={backgroundColor:i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:Si,fontSize:i.FtCssVariable.extend("--ft-chip-font-size",Tt.fontSize),iconSize:i.FtCssVariable.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariable.extend("--ft-chip-ripple-color",Si),horizontalPadding:i.FtCssVariable.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariable.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariable.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Ii=i.FtCssVariable.extend("--ft-chip-highlighted-color",i.FtCssVariable.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),ji={backgroundColor:i.FtCssVariable.extend("--ft-chip-highlighted-background-color",i.FtCssVariable.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:Ii,rippleColor:i.FtCssVariable.extend("--ft-chip-highlighted-ripple-color",Ii)},Oi={horizontalPadding:i.FtCssVariable.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),verticalPadding:i.FtCssVariable.create("--ft-chip-dense-vertical-padding","SIZE","4px")};class Ni extends CustomEvent{constructor(){super("icon-click")}}class Ei extends i.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}static get styles(){return[i.noTextSelect,e.css`
260
260
  :host {
261
261
  display: inline-block;
262
262
  max-width: 100%;
@@ -273,20 +273,20 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
273
273
  box-sizing: border-box;
274
274
  pointer-events: auto;
275
275
 
276
- --ft-chip-internal-font-size: ${zi.fontSize};
276
+ --ft-chip-internal-font-size: ${Ci.fontSize};
277
277
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
278
- ${i.setVariable(bi.size,zi.iconSize)};
279
- --ft-chip-internal-vertical-padding: ${zi.verticalPadding};
280
- --ft-chip-internal-horizontal-padding: ${zi.horizontalPadding};
278
+ ${i.setVariable(wi.size,Ci.iconSize)};
279
+ --ft-chip-internal-vertical-padding: ${Ci.verticalPadding};
280
+ --ft-chip-internal-horizontal-padding: ${Ci.horizontalPadding};
281
281
  --ft-chip-internal-icon-padding: 3px;
282
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${zi.iconSize});
282
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ci.iconSize});
283
283
 
284
- border: 1px solid ${zi.colorOutline};
285
- color: ${zi.color};
286
- ${i.setVariable(l.color,zi.rippleColor)};
284
+ border: 1px solid ${Ci.colorOutline};
285
+ color: ${Ci.color};
286
+ ${i.setVariable(l.color,Ci.rippleColor)};
287
287
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
288
288
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
289
- background-color: ${zi.backgroundColor};
289
+ background-color: ${Ci.backgroundColor};
290
290
  line-height: var(--ft-chip-internal-content-height);
291
291
  }
292
292
 
@@ -296,8 +296,8 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
296
296
 
297
297
  .ft-chip--dense {
298
298
  --ft-chip-internal-icon-padding: 3px;
299
- --ft-chip-internal-vertical-padding: ${Ii.verticalPadding};
300
- --ft-chip-internal-horizontal-padding: ${Ii.horizontalPadding};
299
+ --ft-chip-internal-vertical-padding: ${Oi.verticalPadding};
300
+ --ft-chip-internal-horizontal-padding: ${Oi.horizontalPadding};
301
301
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
302
302
  }
303
303
 
@@ -309,15 +309,15 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
309
309
  cursor: default;
310
310
  pointer-events: none;
311
311
  filter: grayscale(1);
312
- opacity: ${zi.opacityDisabled};
312
+ opacity: ${Ci.opacityDisabled};
313
313
  }
314
314
 
315
315
  .ft-chip--highlighted {
316
316
  border: none;
317
317
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
318
- background-color: ${Ci.backgroundColor};
319
- ${i.setVariable(l.color,Ci.rippleColor)};
320
- color: ${Ci.color};
318
+ background-color: ${ji.backgroundColor};
319
+ ${i.setVariable(l.color,ji.rippleColor)};
320
+ color: ${ji.color};
321
321
  }
322
322
 
323
323
  .ft-chip--clickable {
@@ -350,8 +350,8 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
350
350
  vertical-align: bottom;
351
351
  display: block;
352
352
  margin: 0 var(--ft-chip-internal-horizontal-padding);
353
- ${i.setVariable(Bt.fontSize,"var(--ft-chip-internal-font-size)")};
354
- ${i.setVariable(Bt.lineHeight,"var(--ft-chip-internal-content-height)")};
353
+ ${i.setVariable(Tt.fontSize,"var(--ft-chip-internal-font-size)")};
354
+ ${i.setVariable(Tt.lineHeight,"var(--ft-chip-internal-content-height)")};
355
355
  }
356
356
 
357
357
  .ft-chip--safari-fix .ft-chip--label {
@@ -405,4 +405,4 @@ const Y=t=>({_$litStatic$:t}),J=new Map,Q=(t=>(i,...e)=>{var o;const n=e.length;
405
405
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
406
406
  <ft-icon variant="material">${this.internalIcon}</ft-icon>
407
407
  </div>
408
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ji))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ji))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Oi.elementDefinitions={"ft-ripple":y,"ft-typography":yi,"ft-icon":$i},wi([o.property({type:Boolean})],Oi.prototype,"highlighted",void 0),wi([o.property({type:Boolean})],Oi.prototype,"removable",void 0),wi([o.property({type:Boolean})],Oi.prototype,"disabled",void 0),wi([o.property({type:Boolean})],Oi.prototype,"clickable",void 0),wi([o.property({type:Boolean})],Oi.prototype,"iconClickable",void 0),wi([o.property({type:Boolean})],Oi.prototype,"dense",void 0),wi([o.property({type:Boolean})],Oi.prototype,"multiLine",void 0),wi([o.property({type:String})],Oi.prototype,"label",void 0),wi([o.property({type:String})],Oi.prototype,"icon",void 0),wi([o.property({type:Boolean})],Oi.prototype,"trailingIcon",void 0),wi([o.query("ft-typography slot")],Oi.prototype,"slottedContent",void 0),i.customElement("ft-chip")(Oi),t.FtChip=Oi,t.FtChipCssVariables=zi,t.FtChipDenseCssVariables=Ii,t.FtChipHighlightedCssVariables=Ci,t.IconClickEvent=ji,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
408
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ni))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ni))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}Ei.elementDefinitions={"ft-ripple":y,"ft-typography":ui,"ft-icon":ki},zi([o.property({type:Boolean})],Ei.prototype,"highlighted",void 0),zi([o.property({type:Boolean})],Ei.prototype,"removable",void 0),zi([o.property({type:Boolean})],Ei.prototype,"disabled",void 0),zi([o.property({type:Boolean})],Ei.prototype,"clickable",void 0),zi([o.property({type:Boolean})],Ei.prototype,"iconClickable",void 0),zi([o.property({type:Boolean})],Ei.prototype,"dense",void 0),zi([o.property({type:Boolean})],Ei.prototype,"multiLine",void 0),zi([o.property({type:String})],Ei.prototype,"label",void 0),zi([o.property({type:String})],Ei.prototype,"icon",void 0),zi([o.property({type:Boolean})],Ei.prototype,"trailingIcon",void 0),zi([o.query("ft-typography slot")],Ei.prototype,"slottedContent",void 0),i.customElement("ft-chip")(Ei),t.FtChip=Ei,t.FtChipCssVariables=Ci,t.FtChipDenseCssVariables=Oi,t.FtChipHighlightedCssVariables=ji,t.IconClickEvent=Ni,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);