@fluid-topics/ft-switch 0.2.4 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(t,i,e,o,s,n){var r=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const p=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),l={color:p,backgroundColor:i.FtCssVariable.extend("--ft-ripple-background-color",p),opacityContentOnSurfacePressed:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},h=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),a=h,f=i.FtCssVariable.extend("--ft-ripple-background-color",h),c=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),d=c,u=i.FtCssVariable.extend("--ft-ripple-background-color",c);class x extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),n=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
1
+ !function(t,i,e,o,s,n){var r=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const l=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),p={color:l,backgroundColor:i.FtCssVariable.extend("--ft-ripple-background-color",l),opacityContentOnSurfacePressed:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},h=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),a=h,f=i.FtCssVariable.extend("--ft-ripple-background-color",h),c=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),d=c,u=i.FtCssVariable.extend("--ft-ripple-background-color",c);class x extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),n=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
2
2
  <style>
3
3
  .ft-ripple .ft-ripple--effect,
4
4
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -43,11 +43,11 @@ var y;x.elementDefinitions={},x.styles=e.css`
43
43
  }
44
44
 
45
45
  .ft-ripple .ft-ripple--background {
46
- background-color: ${l.backgroundColor};
46
+ background-color: ${p.backgroundColor};
47
47
  }
48
48
 
49
49
  .ft-ripple .ft-ripple--effect {
50
- background-color: ${l.color};
50
+ background-color: ${p.color};
51
51
  }
52
52
 
53
53
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -95,130 +95,130 @@ var y;x.elementDefinitions={},x.styles=e.css`
95
95
  }
96
96
 
97
97
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
98
- opacity: ${l.opacityContentOnSurfaceHover};
98
+ opacity: ${p.opacityContentOnSurfaceHover};
99
99
  }
100
100
 
101
101
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
102
- opacity: ${l.opacityContentOnSurfaceSelected};
102
+ opacity: ${p.opacityContentOnSurfaceSelected};
103
103
  }
104
104
 
105
105
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
106
- opacity: ${l.opacityContentOnSurfaceFocused};
106
+ opacity: ${p.opacityContentOnSurfaceFocused};
107
107
  }
108
108
 
109
109
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
110
- opacity: ${l.opacityContentOnSurfacePressed};
110
+ opacity: ${p.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `,r([o.property({type:Boolean})],x.prototype,"primary",void 0),r([o.property({type:Boolean})],x.prototype,"secondary",void 0),r([o.property({type:Boolean})],x.prototype,"unbounded",void 0),r([o.property({type:Boolean})],x.prototype,"activated",void 0),r([o.property({type:Boolean})],x.prototype,"selected",void 0),r([o.property({type:Boolean})],x.prototype,"disabled",void 0),r([o.state()],x.prototype,"hovered",void 0),r([o.state()],x.prototype,"focused",void 0),r([o.state()],x.prototype,"pressed",void 0),r([o.state()],x.prototype,"rippling",void 0),r([o.state()],x.prototype,"rippleSize",void 0),r([o.state()],x.prototype,"originX",void 0),r([o.state()],x.prototype,"originY",void 0),r([o.query(".ft-ripple")],x.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],x.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(x);const g=globalThis.trustedTypes,v=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,b=`lit$${(Math.random()+"").slice(9)}$`,m="?"+b,$=`<${m}>`,w=document,k=(t="")=>w.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,j=/>/g,N=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,I=/"/g,E=/^(?:script|style|textarea|title)$/i,T=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),F=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),M=new WeakMap,R=w.createTreeWalker(w,129,null,!1),B=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=S;for(let i=0;i<e;i++){const e=t[i];let p,l,h=-1,a=0;for(;a<e.length&&(r.lastIndex=a,l=r.exec(e),null!==l);)a=r.lastIndex,r===S?"!--"===l[1]?r=O:void 0!==l[1]?r=j:void 0!==l[2]?(E.test(l[2])&&(s=RegExp("</"+l[2],"g")),r=N):void 0!==l[3]&&(r=N):r===N?">"===l[0]?(r=null!=s?s:S,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,p=l[1],r=void 0===l[3]?N:'"'===l[3]?I:A):r===I||r===A?r=N:r===O||r===j?r=S:(r=N,s=void 0);const f=r===N&&t[i+1].startsWith("/>")?" ":"";n+=r===S?e+$:h>=0?(o.push(p),e.slice(0,h)+"$lit$"+e.slice(h)+b+f):e+b+(-2===h?(o.push(void 0),i):f)}const p=n+(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 U{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,p=this.parts,[l,h]=B(t,i);if(this.el=U.createElement(l,e),R.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=R.nextNode())&&p.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(b)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(b),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?K:"?"===i[1]?H:"@"===i[1]?q:L})}else p.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(E.test(o.tagName)){const t=o.textContent.split(b),i=t.length-1;if(i>0){o.textContent=g?g.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],k()),R.nextNode(),p.push({type:2,index:++s});o.append(t[i],k())}}}else if(8===o.nodeType)if(o.data===m)p.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(b,t+1));)p.push({type:7,index:s}),t+=b.length-1}s++}}static createElement(t,i){const e=w.createElement("template");return e.innerHTML=t,e}}function W(t,i,e=t,o){var s,n,r,p;if(i===F)return i;let l=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const h=z(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(p=e)._$Cl)&&void 0!==r?r:p._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=W(t,l._$AS(t,i.values),l,o)),i}class Z{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:w).importNode(e,!0);R.currentNode=s;let n=R.nextNode(),r=0,p=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new D(n,n.nextSibling,this,t):1===l.type?i=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(i=new P(n,this,t)),this.v.push(i),l=o[++p]}r!==(null==l?void 0:l.index)&&(n=R.nextNode(),r++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class D{constructor(t,i,e,o){var s;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=W(this,t,i),z(t)?t===_||null==t||""===t?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==F&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return C(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!==_&&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,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=U.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new Z(s,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=M.get(t.strings);return void 0===i&&M.set(t.strings,i=new U(t)),i}A(t){C(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new D(this.M(k()),this.M(k()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class L{constructor(t,i,e,o,s){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=W(this,t,i,0),n=!z(t)||t!==this._$AH&&t!==F,n&&(this._$AH=t);else{const o=t;let r,p;for(t=s[0],r=0;r<s.length-1;r++)p=W(this,o[e+r],i,r),p===F&&(p=this._$AH[r]),n||(n=!z(p)||p!==this._$AH[r]),p===_?t=_:t!==_&&(t+=(null!=p?p:"")+s[r+1]),this._$AH[r]=p}n&&!o&&this.k(t)}k(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class K extends L{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===_?void 0:t}}const G=g?g.emptyScript:"";class H extends L{constructor(){super(...arguments),this.type=4}k(t){t&&t!==_?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class q extends L{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=W(this,t,i,0))&&void 0!==e?e:_)===F)return;const o=this._$AH,s=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==_&&(o===_||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class P{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 V=window.litHtmlPolyfillSupport;null==V||V(U,D),(null!==(y=globalThis.litHtmlVersions)&&void 0!==y?y:globalThis.litHtmlVersions=[]).push("2.1.3");
113
+ `,r([o.property({type:Boolean})],x.prototype,"primary",void 0),r([o.property({type:Boolean})],x.prototype,"secondary",void 0),r([o.property({type:Boolean})],x.prototype,"unbounded",void 0),r([o.property({type:Boolean})],x.prototype,"activated",void 0),r([o.property({type:Boolean})],x.prototype,"selected",void 0),r([o.property({type:Boolean})],x.prototype,"disabled",void 0),r([o.state()],x.prototype,"hovered",void 0),r([o.state()],x.prototype,"focused",void 0),r([o.state()],x.prototype,"pressed",void 0),r([o.state()],x.prototype,"rippling",void 0),r([o.state()],x.prototype,"rippleSize",void 0),r([o.state()],x.prototype,"originX",void 0),r([o.state()],x.prototype,"originY",void 0),r([o.query(".ft-ripple")],x.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],x.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(x);const g=globalThis.trustedTypes,v=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,b=`lit$${(Math.random()+"").slice(9)}$`,m="?"+b,$=`<${m}>`,w=document,k=(t="")=>w.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,j=/>/g,N=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,I=/"/g,E=/^(?:script|style|textarea|title)$/i,T=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),F=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),M=new WeakMap,R=w.createTreeWalker(w,129,null,!1),B=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=S;for(let i=0;i<e;i++){const e=t[i];let l,p,h=-1,a=0;for(;a<e.length&&(r.lastIndex=a,p=r.exec(e),null!==p);)a=r.lastIndex,r===S?"!--"===p[1]?r=O:void 0!==p[1]?r=j:void 0!==p[2]?(E.test(p[2])&&(s=RegExp("</"+p[2],"g")),r=N):void 0!==p[3]&&(r=N):r===N?">"===p[0]?(r=null!=s?s:S,h=-1):void 0===p[1]?h=-2:(h=r.lastIndex-p[2].length,l=p[1],r=void 0===p[3]?N:'"'===p[3]?I:A):r===I||r===A?r=N:r===O||r===j?r=S:(r=N,s=void 0);const f=r===N&&t[i+1].startsWith("/>")?" ":"";n+=r===S?e+$:h>=0?(o.push(l),e.slice(0,h)+"$lit$"+e.slice(h)+b+f):e+b+(-2===h?(o.push(void 0),i):f)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==v?v.createHTML(l):l,o]};class U{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[p,h]=B(t,i);if(this.el=U.createElement(p,e),R.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=R.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(b)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(b),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?K:"?"===i[1]?H:"@"===i[1]?q:L})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(E.test(o.tagName)){const t=o.textContent.split(b),i=t.length-1;if(i>0){o.textContent=g?g.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],k()),R.nextNode(),l.push({type:2,index:++s});o.append(t[i],k())}}}else if(8===o.nodeType)if(o.data===m)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(b,t+1));)l.push({type:7,index:s}),t+=b.length-1}s++}}static createElement(t,i){const e=w.createElement("template");return e.innerHTML=t,e}}function W(t,i,e=t,o){var s,n,r,l;if(i===F)return i;let p=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const h=z(i)?void 0:i._$litDirective$;return(null==p?void 0:p.constructor)!==h&&(null===(n=null==p?void 0:p._$AO)||void 0===n||n.call(p,!1),void 0===h?p=void 0:(p=new h(t),p._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=p:e._$Cu=p),void 0!==p&&(i=W(t,p._$AS(t,i.values),p,o)),i}class Z{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:w).importNode(e,!0);R.currentNode=s;let n=R.nextNode(),r=0,l=0,p=o[0];for(;void 0!==p;){if(r===p.index){let i;2===p.type?i=new D(n,n.nextSibling,this,t):1===p.type?i=new p.ctor(n,p.name,p.strings,this,t):6===p.type&&(i=new P(n,this,t)),this.v.push(i),p=o[++l]}r!==(null==p?void 0:p.index)&&(n=R.nextNode(),r++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class D{constructor(t,i,e,o){var s;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=W(this,t,i),z(t)?t===_||null==t||""===t?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==F&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return C(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!==_&&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,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=U.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new Z(s,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=M.get(t.strings);return void 0===i&&M.set(t.strings,i=new U(t)),i}S(t){C(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new D(this.M(k()),this.M(k()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class L{constructor(t,i,e,o,s){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=W(this,t,i,0),n=!z(t)||t!==this._$AH&&t!==F,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=W(this,o[e+r],i,r),l===F&&(l=this._$AH[r]),n||(n=!z(l)||l!==this._$AH[r]),l===_?t=_:t!==_&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class K extends L{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===_?void 0:t}}const G=g?g.emptyScript:"";class H extends L{constructor(){super(...arguments),this.type=4}C(t){t&&t!==_?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class q extends L{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=W(this,t,i,0))&&void 0!==e?e:_)===F)return;const o=this._$AH,s=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==_&&(o===_||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class P{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 V=window.litHtmlPolyfillSupport;null==V||V(U,D),(null!==(y=globalThis.litHtmlVersions)&&void 0!==y?y: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 X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;let n,r;const p=[],l=[];let h,a=0,f=!1;for(;a<s;){for(h=i[a];a<s&&void 0!==(r=e[a],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+i[++a],f=!0;l.push(r),p.push(h),a++}if(a===s&&p.push(i[s]),f){const t=p.join("$$lit$$");void 0===(i=Y.get(t))&&(p.raw=p,Y.set(t,i=p)),e=l}return t(i,...e)})(T);var Q,tt=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Q||(Q={}));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")},st=i.FtCssVariable.extend("--ft-typography-title-font-family",it),nt=i.FtCssVariable.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),rt=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"),ht=i.FtCssVariable.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),at=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"),ut=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"24px"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),yt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",et),gt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),vt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),bt=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),mt=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"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),St=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"24px"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),jt=i.FtCssVariable.extend("--ft-typography-body1-font-family",et),Nt=i.FtCssVariable.extend("--ft-typography-body1-font-size",ot.fontSize,"16px"),At=i.FtCssVariable.extend("--ft-typography-body1-font-weight",ot.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",ot.letterSpacing,"0.496px"),Et=i.FtCssVariable.extend("--ft-typography-body1-line-height",ot.lineHeight,"24px"),Tt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",ot.textTransform,"inherit"),Ft=i.FtCssVariable.extend("--ft-typography-body2-font-family",et),_t=i.FtCssVariable.extend("--ft-typography-body2-font-size",ot.fontSize,"14px"),Mt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",ot.fontWeight,"normal"),Rt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",ot.letterSpacing,"0.252px"),Bt=i.FtCssVariable.extend("--ft-typography-body2-line-height",ot.lineHeight,"20px"),Ut=i.FtCssVariable.extend("--ft-typography-body2-text-transform",ot.textTransform,"inherit"),Wt=i.FtCssVariable.extend("--ft-typography-caption-font-family",et),Zt=i.FtCssVariable.extend("--ft-typography-caption-font-size",ot.fontSize,"12px"),Dt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",ot.fontWeight,"normal"),Lt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",ot.letterSpacing,"0.396px"),Kt=i.FtCssVariable.extend("--ft-typography-caption-line-height",ot.lineHeight,"16px"),Gt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",ot.textTransform,"inherit"),Ht=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",et),qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",ot.fontSize,"10px"),Pt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",ot.fontWeight,"normal"),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",ot.letterSpacing,"0.33px"),Xt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",ot.lineHeight,"16px"),Yt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",ot.textTransform,"inherit"),Jt=i.FtCssVariable.extend("--ft-typography-overline-font-family",et),Qt=i.FtCssVariable.extend("--ft-typography-overline-font-size",ot.fontSize,"10px"),ti=i.FtCssVariable.extend("--ft-typography-overline-font-weight",ot.fontWeight,"normal"),ii=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",ot.letterSpacing,"1.5px"),ei=i.FtCssVariable.extend("--ft-typography-overline-line-height",ot.lineHeight,"16px"),oi=i.FtCssVariable.extend("--ft-typography-overline-text-transform",ot.textTransform,"uppercase"),si={fontFamily:i.FtCssVariable.extend("--ft-typography-button-font-family",et),fontSize:i.FtCssVariable.extend("--ft-typography-button-font-size",ot.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-button-font-weight",ot.fontWeight,"600"),letterSpacing:i.FtCssVariable.extend("--ft-typography-button-letter-spacing",ot.letterSpacing,"1.246px"),lineHeight:i.FtCssVariable.extend("--ft-typography-button-line-height",ot.lineHeight,"16px"),textTransform:i.FtCssVariable.extend("--ft-typography-button-text-transform",ot.textTransform,"uppercase")},ni=e.css`
119
+ const X=Symbol.for(""),Y=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===X)return null===(e=t)||void 0===e?void 0:e._$litStatic$},J=t=>({_$litStatic$:t,r:X}),Q=new Map,tt=(t=>(i,...e)=>{const o=e.length;let s,n;const r=[],l=[];let p,h=0,a=!1;for(;h<o;){for(p=i[h];h<o&&void 0!==(n=e[h],s=Y(n));)p+=s+i[++h],a=!0;l.push(n),r.push(p),h++}if(h===o&&r.push(i[o]),a){const t=r.join("$$lit$$");void 0===(i=Q.get(t))&&(r.raw=r,Q.set(t,i=r)),e=l}return t(i,...e)})(T);var it,et=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(it||(it={}));const ot=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),st=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),nt={fontFamily:st,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")},rt=i.FtCssVariable.extend("--ft-typography-title-font-family",ot),lt=i.FtCssVariable.extend("--ft-typography-title-font-size",nt.fontSize,"20px"),pt=i.FtCssVariable.extend("--ft-typography-title-font-weight",nt.fontWeight,"normal"),ht=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",nt.letterSpacing,"0.15px"),at=i.FtCssVariable.extend("--ft-typography-title-line-height",nt.lineHeight,"24px"),ft=i.FtCssVariable.extend("--ft-typography-title-text-transform",nt.textTransform,"inherit"),ct=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",ot),dt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",nt.fontSize,"14px"),ut=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",nt.fontWeight,"normal"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",nt.letterSpacing,"0.105px"),yt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",nt.lineHeight,"24px"),gt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",nt.textTransform,"inherit"),vt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",st),bt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",nt.fontSize,"16px"),mt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",nt.fontWeight,"600"),$t=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",nt.letterSpacing,"0.144px"),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",nt.lineHeight,"24px"),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",nt.textTransform,"inherit"),zt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",st),Ct=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",nt.fontSize,"14px"),St=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",nt.fontWeight,"normal"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",nt.letterSpacing,"0.098px"),jt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",nt.lineHeight,"24px"),Nt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",nt.textTransform,"inherit"),At=i.FtCssVariable.extend("--ft-typography-body1-font-family",st),It=i.FtCssVariable.extend("--ft-typography-body1-font-size",nt.fontSize,"16px"),Et=i.FtCssVariable.extend("--ft-typography-body1-font-weight",nt.fontWeight,"normal"),Tt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",nt.letterSpacing,"0.496px"),Ft=i.FtCssVariable.extend("--ft-typography-body1-line-height",nt.lineHeight,"24px"),_t=i.FtCssVariable.extend("--ft-typography-body1-text-transform",nt.textTransform,"inherit"),Mt=i.FtCssVariable.extend("--ft-typography-body2-font-family",st),Rt=i.FtCssVariable.extend("--ft-typography-body2-font-size",nt.fontSize,"14px"),Bt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",nt.fontWeight,"normal"),Ut=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",nt.letterSpacing,"0.252px"),Wt=i.FtCssVariable.extend("--ft-typography-body2-line-height",nt.lineHeight,"20px"),Zt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",nt.textTransform,"inherit"),Dt=i.FtCssVariable.extend("--ft-typography-caption-font-family",st),Lt=i.FtCssVariable.extend("--ft-typography-caption-font-size",nt.fontSize,"12px"),Kt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",nt.fontWeight,"normal"),Gt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",nt.letterSpacing,"0.396px"),Ht=i.FtCssVariable.extend("--ft-typography-caption-line-height",nt.lineHeight,"16px"),qt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",nt.textTransform,"inherit"),Pt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",st),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",nt.fontSize,"10px"),Xt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",nt.fontWeight,"normal"),Yt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",nt.letterSpacing,"0.33px"),Jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",nt.lineHeight,"16px"),Qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",nt.textTransform,"inherit"),ti=i.FtCssVariable.extend("--ft-typography-overline-font-family",st),ii=i.FtCssVariable.extend("--ft-typography-overline-font-size",nt.fontSize,"10px"),ei=i.FtCssVariable.extend("--ft-typography-overline-font-weight",nt.fontWeight,"normal"),oi=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",nt.letterSpacing,"1.5px"),si=i.FtCssVariable.extend("--ft-typography-overline-line-height",nt.lineHeight,"16px"),ni=i.FtCssVariable.extend("--ft-typography-overline-text-transform",nt.textTransform,"uppercase"),ri={fontFamily:i.FtCssVariable.extend("--ft-typography-button-font-family",st),fontSize:i.FtCssVariable.extend("--ft-typography-button-font-size",nt.fontSize,"14px"),fontWeight:i.FtCssVariable.extend("--ft-typography-button-font-weight",nt.fontWeight,"600"),letterSpacing:i.FtCssVariable.extend("--ft-typography-button-letter-spacing",nt.letterSpacing,"1.246px"),lineHeight:i.FtCssVariable.extend("--ft-typography-button-line-height",nt.lineHeight,"16px"),textTransform:i.FtCssVariable.extend("--ft-typography-button-text-transform",nt.textTransform,"uppercase")},li=e.css`
120
120
  .ft-typography--title {
121
- font-family: ${st};
122
- font-size: ${nt};
123
- font-weight: ${rt};
124
- letter-spacing: ${pt};
125
- line-height: ${lt};
126
- text-transform: ${ht};
121
+ font-family: ${rt};
122
+ font-size: ${lt};
123
+ font-weight: ${pt};
124
+ letter-spacing: ${ht};
125
+ line-height: ${at};
126
+ text-transform: ${ft};
127
127
  }
128
- `,ri=e.css`
128
+ `,pi=e.css`
129
129
  .ft-typography--title-dense {
130
- font-family: ${at};
131
- font-size: ${ft};
132
- font-weight: ${ct};
133
- letter-spacing: ${dt};
134
- line-height: ${ut};
135
- text-transform: ${xt};
130
+ font-family: ${ct};
131
+ font-size: ${dt};
132
+ font-weight: ${ut};
133
+ letter-spacing: ${xt};
134
+ line-height: ${yt};
135
+ text-transform: ${gt};
136
136
  }
137
- `,pi=e.css`
137
+ `,hi=e.css`
138
138
  .ft-typography--subtitle1 {
139
- font-family: ${yt};
140
- font-size: ${gt};
141
- font-weight: ${vt};
142
- letter-spacing: ${bt};
143
- line-height: ${mt};
144
- text-transform: ${$t};
139
+ font-family: ${vt};
140
+ font-size: ${bt};
141
+ font-weight: ${mt};
142
+ letter-spacing: ${$t};
143
+ line-height: ${wt};
144
+ text-transform: ${kt};
145
145
  }
146
- `,li=e.css`
146
+ `,ai=e.css`
147
147
  .ft-typography--subtitle2 {
148
- font-family: ${wt};
149
- font-size: ${kt};
150
- font-weight: ${zt};
151
- letter-spacing: ${Ct};
152
- line-height: ${St};
153
- text-transform: ${Ot};
148
+ font-family: ${zt};
149
+ font-size: ${Ct};
150
+ font-weight: ${St};
151
+ letter-spacing: ${Ot};
152
+ line-height: ${jt};
153
+ text-transform: ${Nt};
154
154
  }
155
155
 
156
- `,hi=e.css`
156
+ `,fi=e.css`
157
157
  .ft-typography--body1 {
158
- font-family: ${jt};
159
- font-size: ${Nt};
160
- font-weight: ${At};
161
- letter-spacing: ${It};
162
- line-height: ${Et};
163
- text-transform: ${Tt};
158
+ font-family: ${At};
159
+ font-size: ${It};
160
+ font-weight: ${Et};
161
+ letter-spacing: ${Tt};
162
+ line-height: ${Ft};
163
+ text-transform: ${_t};
164
164
  }
165
- `,ai=e.css`
165
+ `,ci=e.css`
166
166
  .ft-typography--body2 {
167
- font-family: ${Ft};
168
- font-size: ${_t};
169
- font-weight: ${Mt};
170
- letter-spacing: ${Rt};
171
- line-height: ${Bt};
172
- text-transform: ${Ut};
167
+ font-family: ${Mt};
168
+ font-size: ${Rt};
169
+ font-weight: ${Bt};
170
+ letter-spacing: ${Ut};
171
+ line-height: ${Wt};
172
+ text-transform: ${Zt};
173
173
  }
174
- `,fi=e.css`
174
+ `,di=e.css`
175
175
  .ft-typography--caption {
176
- font-family: ${Wt};
177
- font-size: ${Zt};
178
- font-weight: ${Dt};
179
- letter-spacing: ${Lt};
180
- line-height: ${Kt};
181
- text-transform: ${Gt};
176
+ font-family: ${Dt};
177
+ font-size: ${Lt};
178
+ font-weight: ${Kt};
179
+ letter-spacing: ${Gt};
180
+ line-height: ${Ht};
181
+ text-transform: ${qt};
182
182
  }
183
- `,ci=e.css`
183
+ `,ui=e.css`
184
184
  .ft-typography--breadcrumb {
185
- font-family: ${Ht};
186
- font-size: ${qt};
187
- font-weight: ${Pt};
188
- letter-spacing: ${Vt};
189
- line-height: ${Xt};
190
- text-transform: ${Yt};
185
+ font-family: ${Pt};
186
+ font-size: ${Vt};
187
+ font-weight: ${Xt};
188
+ letter-spacing: ${Yt};
189
+ line-height: ${Jt};
190
+ text-transform: ${Qt};
191
191
  }
192
- `,di=e.css`
192
+ `,xi=e.css`
193
193
  .ft-typography--overline {
194
- font-family: ${Jt};
195
- font-size: ${Qt};
196
- font-weight: ${ti};
197
- letter-spacing: ${ii};
198
- line-height: ${ei};
199
- text-transform: ${oi};
194
+ font-family: ${ti};
195
+ font-size: ${ii};
196
+ font-weight: ${ei};
197
+ letter-spacing: ${oi};
198
+ line-height: ${si};
199
+ text-transform: ${ni};
200
200
  }
201
- `,ui=e.css`
201
+ `,yi=e.css`
202
202
  .ft-typography--button {
203
- font-family: ${si.fontFamily};
204
- font-size: ${si.fontSize};
205
- font-weight: ${si.fontWeight};
206
- letter-spacing: ${si.letterSpacing};
207
- line-height: ${si.lineHeight};
208
- text-transform: ${si.textTransform};
203
+ font-family: ${ri.fontFamily};
204
+ font-size: ${ri.fontSize};
205
+ font-weight: ${ri.fontWeight};
206
+ letter-spacing: ${ri.letterSpacing};
207
+ line-height: ${ri.lineHeight};
208
+ text-transform: ${ri.textTransform};
209
209
  }
210
- `;class xi extends i.FtLitElement{constructor(){super(...arguments),this.variant=Q.body1}render(){return this.element?J`
211
- <${X(this.element)}
210
+ `;class gi extends i.FtLitElement{constructor(){super(...arguments),this.variant=it.body1}render(){return this.element?tt`
211
+ <${J(this.element)}
212
212
  class="ft-typography ft-typography--${this.variant}">
213
213
  <slot></slot>
214
- </${X(this.element)}>
215
- `:J`
214
+ </${J(this.element)}>
215
+ `:tt`
216
216
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
217
- `}}xi.styles=[ni,ri,pi,li,hi,ai,fi,ci,di,ui,e.css`
217
+ `}}gi.styles=[li,pi,hi,ai,fi,ci,di,ui,xi,yi,e.css`
218
218
  .ft-typography {
219
219
  vertical-align: inherit;
220
220
  }
221
- `],tt([o.property()],xi.prototype,"element",void 0),tt([o.property()],xi.prototype,"variant",void 0),i.customElement("ft-typography")(xi);var yi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const gi=i.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),vi=i.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),bi=i.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),mi=i.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),$i=i.FtCssVariable.external(i.designSystemVariables.borderRadiusS,"Design system");class wi extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
221
+ `],et([o.property()],gi.prototype,"element",void 0),et([o.property()],gi.prototype,"variant",void 0),i.customElement("ft-typography")(gi);var vi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const bi=i.FtCssVariable.create("--ft-tooltip-distance","SIZE","4px"),mi=i.FtCssVariable.create("--ft-tooltip-color","COLOR","#FFFFFF"),$i=i.FtCssVariable.create("--ft-tooltip-background-color","COLOR","#666666"),wi=i.FtCssVariable.create("--ft-tooltip-z-index","NUMBER","1"),ki=i.FtCssVariable.external(i.designSystemVariables.borderRadiusS,"Design system");class zi extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}render(){return e.html`
222
222
  <div part="container"
223
223
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
224
224
  @mouseenter=${this.onHover}
@@ -233,7 +233,7 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
233
233
  </div>
234
234
  <slot></slot>
235
235
  </div>
236
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=i.height+"px",s.left=o+"px";break;case"left":s.top=e+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=e+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}var ki,zi;wi.elementDefinitions={"ft-typography":xi},wi.styles=e.css`
236
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=i.height+"px",s.left=o+"px";break;case"left":s.top=e+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=e+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}var Ci,Si;zi.elementDefinitions={"ft-typography":gi},zi.styles=e.css`
237
237
  .ft-tooltip--container {
238
238
  display: block;
239
239
  position: relative;
@@ -251,35 +251,35 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
251
251
  width: max-content;
252
252
  max-width: 150px;
253
253
  text-align: center;
254
- padding: ${gi};
255
- z-index: ${mi};
254
+ padding: ${bi};
255
+ z-index: ${wi};
256
256
  }
257
257
 
258
258
  .ft-tooltip--content {
259
259
  padding: 4px 8px;
260
- border-radius: ${$i};
261
- background-color: ${bi};
262
- color: ${vi};
260
+ border-radius: ${ki};
261
+ background-color: ${$i};
262
+ color: ${mi};
263
263
  top: -500px;
264
264
  left: -500px;
265
265
  position: relative;
266
266
  word-break: break-word;
267
267
  }
268
- `,yi([o.property()],wi.prototype,"text",void 0),yi([o.property({type:Boolean})],wi.prototype,"manual",void 0),yi([o.property({type:Boolean})],wi.prototype,"inline",void 0),yi([o.property({type:Number})],wi.prototype,"delay",void 0),yi([o.property()],wi.prototype,"position",void 0),yi([o.queryAssignedNodes("",!0)],wi.prototype,"slotNodes",void 0),yi([o.query(".ft-tooltip--container")],wi.prototype,"container",void 0),yi([o.query("slot")],wi.prototype,"target",void 0),yi([o.query(".ft-tooltip")],wi.prototype,"tooltip",void 0),yi([o.query(".ft-tooltip--content")],wi.prototype,"tooltipContent",void 0),yi([o.state()],wi.prototype,"visible",void 0),i.customElement("ft-tooltip")(wi),function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ki||(ki={})),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;"}(zi||(zi={})),new Map([...["abw"].map((t=>[t,zi.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,zi.AUDIO])),...["avi"].map((t=>[t,zi.AVI])),...["chm","xhs"].map((t=>[t,zi.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,zi.CODE])),...["csv"].map((t=>[t,zi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,zi.DITA])),...["epub"].map((t=>[t,zi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,zi.EXCEL])),...["flac"].map((t=>[t,zi.FLAC])),...["gif"].map((t=>[t,zi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,zi.GZIP])),...["html","htm","xhtml"].map((t=>[t,zi.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,zi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,zi.JPEG])),...["json"].map((t=>[t,zi.JSON])),...["m4a","m4p"].map((t=>[t,zi.M4A])),...["mov","qt"].map((t=>[t,zi.MOV])),...["mp3"].map((t=>[t,zi.MP3])),...["mp4","m4v"].map((t=>[t,zi.MP4])),...["ogg","oga"].map((t=>[t,zi.OGG])),...["pdf","ps"].map((t=>[t,zi.PDF])),...["png"].map((t=>[t,zi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,zi.POWERPOINT])),...["rar"].map((t=>[t,zi.RAR])),...["stp"].map((t=>[t,zi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,zi.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,zi.VIDEO])),...["wav"].map((t=>[t,zi.WAV])),...["wma"].map((t=>[t,zi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,zi.WORD])),...["xml","xsl","rdf"].map((t=>[t,zi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,zi.YAML])),...["zip"].map((t=>[t,zi.ZIP]))]);var Ci,Si=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ci||(Ci={}));const Oi={size:i.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariable.extend("--ft-icon-file-format-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariable.extend("--ft-icon-material-font-family",i.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class ji extends i.FtLitElement{constructor(){super(...arguments),this.variant=Ci.fluid_topics}render(){return e.html`
268
+ `,vi([o.property()],zi.prototype,"text",void 0),vi([o.property({type:Boolean})],zi.prototype,"manual",void 0),vi([o.property({type:Boolean})],zi.prototype,"inline",void 0),vi([o.property({type:Number})],zi.prototype,"delay",void 0),vi([o.property()],zi.prototype,"position",void 0),vi([o.queryAssignedNodes("",!0)],zi.prototype,"slotNodes",void 0),vi([o.query(".ft-tooltip--container")],zi.prototype,"container",void 0),vi([o.query("slot")],zi.prototype,"target",void 0),vi([o.query(".ft-tooltip")],zi.prototype,"tooltip",void 0),vi([o.query(".ft-tooltip--content")],zi.prototype,"tooltipContent",void 0),vi([o.state()],zi.prototype,"visible",void 0),i.customElement("ft-tooltip")(zi),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;"}(Ci||(Ci={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Si||(Si={})),new Map([...["abw"].map((t=>[t,Si.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Si.AUDIO])),...["avi"].map((t=>[t,Si.AVI])),...["chm","xhs"].map((t=>[t,Si.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Si.CODE])),...["csv"].map((t=>[t,Si.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Si.DITA])),...["epub"].map((t=>[t,Si.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Si.EXCEL])),...["flac"].map((t=>[t,Si.FLAC])),...["gif"].map((t=>[t,Si.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Si.GZIP])),...["html","htm","xhtml"].map((t=>[t,Si.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Si.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Si.JPEG])),...["json"].map((t=>[t,Si.JSON])),...["m4a","m4p"].map((t=>[t,Si.M4A])),...["mov","qt"].map((t=>[t,Si.MOV])),...["mp3"].map((t=>[t,Si.MP3])),...["mp4","m4v"].map((t=>[t,Si.MP4])),...["ogg","oga"].map((t=>[t,Si.OGG])),...["pdf","ps"].map((t=>[t,Si.PDF])),...["png"].map((t=>[t,Si.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Si.POWERPOINT])),...["rar"].map((t=>[t,Si.RAR])),...["stp"].map((t=>[t,Si.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Si.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Si.VIDEO])),...["wav"].map((t=>[t,Si.WAV])),...["wma"].map((t=>[t,Si.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Si.WORD])),...["xml","xsl","rdf"].map((t=>[t,Si.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Si.YAML])),...["zip"].map((t=>[t,Si.ZIP]))]);var Oi,ji=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oi||(Oi={}));const Ni={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 Ai extends i.FtLitElement{constructor(){super(...arguments),this.variant=Oi.fluid_topics}render(){return e.html`
269
269
  <i class="ft-icon ${"ft-icon--"+this.variant}">
270
270
  ${n.unsafeHTML(this.getIcon())}
271
271
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
272
272
  </i>
273
- `}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===Ci.file_format?null!==(t=zi[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Ci.fluid_topics?null!==(i=ki[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}ji.elementDefinitions={},ji.styles=e.css`
273
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let o=this.textContent;return this.variant===Oi.file_format?null!==(t=Si[o.toUpperCase()])&&void 0!==t?t:o:this.variant===Oi.fluid_topics?null!==(i=Ci[o.toUpperCase()])&&void 0!==i?i:o:e.nothing}}Ai.elementDefinitions={},Ai.styles=e.css`
274
274
  :host, i.ft-icon {
275
275
  display: inline-block;
276
- width: ${Oi.size};
277
- height: ${Oi.size};
276
+ width: ${Ni.size};
277
+ height: ${Ni.size};
278
278
  text-align: center;
279
279
  }
280
280
 
281
281
  i.ft-icon {
282
- font-size: ${Oi.size};
282
+ font-size: ${Ni.size};
283
283
  line-height: 1;
284
284
  font-weight: normal;
285
285
  text-transform: none;
@@ -293,17 +293,17 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
293
293
  }
294
294
 
295
295
  .ft-icon--fluid-topics {
296
- font-family: ${Oi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
296
+ font-family: ${Ni.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
297
297
  }
298
298
 
299
299
  .ft-icon--file-format {
300
- font-family: ${Oi.fileFormatFontFamily}, ft-mime, sans-serif;
300
+ font-family: ${Ni.fileFormatFontFamily}, ft-mime, sans-serif;
301
301
  }
302
302
 
303
303
  .ft-icon--material {
304
- font-family: ${Oi.materialFontFamily}, "Material Icons", sans-serif;
304
+ font-family: ${Ni.materialFontFamily}, "Material Icons", sans-serif;
305
305
  }
306
- `,Si([o.property()],ji.prototype,"variant",void 0),Si([o.query("slot")],ji.prototype,"slottedContent",void 0),i.customElement("ft-icon")(ji);const Ni={textColor:i.FtCssVariable.extend("--ft-switch-text-color",i.designSystemVariables.colorOnSurfaceHigh),backgroundColor:i.FtCssVariable.extend("--ft-switch-background-color",i.designSystemVariables.colorSurface),selectedTextColor:i.FtCssVariable.extend("--ft-switch-selected-text-color",i.designSystemVariables.colorPrimary),selectedBackgroundColor:i.FtCssVariable.extend("--ft-switch-selected-background-color",i.designSystemVariables.colorPrimary),borderColor:i.FtCssVariable.extend("--ft-switch-border-color",i.designSystemVariables.colorOutline),borderRadius:i.FtCssVariable.extend("--ft-switch-border-radius",i.designSystemVariables.borderRadiusL),fontSize:i.FtCssVariable.extend("--ft-switch-font-size",si.fontSize),iconSize:i.FtCssVariable.create("--ft-switch-icon-size","SIZE","24px"),iconColor:i.FtCssVariable.extend("--ft-switch-text-color",i.designSystemVariables.colorOnSurfaceMedium),rippleColor:i.FtCssVariable.extend("--ft-switch-ripple-color",i.designSystemVariables.colorPrimary),outlineColor:i.FtCssVariable.extend("--ft-switch-outline-color",i.designSystemVariables.colorPrimary)},Ai={borderRadiusLeft:i.FtCssVariable.extend("--ft-switch-option-border-radius-left",i.designSystemVariables.borderRadiusL),borderRadiusRight:i.FtCssVariable.extend("--ft-switch-option-border-radius-right",i.designSystemVariables.borderRadiusL),borderWidthLeft:i.FtCssVariable.create("--ft-switch-option-border-width-left","SIZE","1px"),borderWidthRight:i.FtCssVariable.create("--ft-switch-option-border-width-right","SIZE","1px"),borderWidthVertical:i.FtCssVariable.create("--ft-switch-option-border-width-vertical","SIZE","1px")};var Ii=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Ei extends CustomEvent{constructor(){super("option-change",{bubbles:!0})}}class Ti extends i.FtLitElement{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1}static get styles(){return e.css`
306
+ `,ji([o.property()],Ai.prototype,"variant",void 0),ji([o.query("slot")],Ai.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Ai);const Ii={textColor:i.FtCssVariable.extend("--ft-switch-text-color",i.designSystemVariables.colorOnSurfaceHigh),backgroundColor:i.FtCssVariable.extend("--ft-switch-background-color",i.designSystemVariables.colorSurface),selectedTextColor:i.FtCssVariable.extend("--ft-switch-selected-text-color",i.designSystemVariables.colorPrimary),selectedBackgroundColor:i.FtCssVariable.extend("--ft-switch-selected-background-color",i.designSystemVariables.colorPrimary),borderColor:i.FtCssVariable.extend("--ft-switch-border-color",i.designSystemVariables.colorOutline),borderRadius:i.FtCssVariable.extend("--ft-switch-border-radius",i.designSystemVariables.borderRadiusL),fontSize:i.FtCssVariable.extend("--ft-switch-font-size",ri.fontSize),iconSize:i.FtCssVariable.create("--ft-switch-icon-size","SIZE","24px"),iconColor:i.FtCssVariable.extend("--ft-switch-text-color",i.designSystemVariables.colorOnSurfaceMedium),rippleColor:i.FtCssVariable.extend("--ft-switch-ripple-color",i.designSystemVariables.colorPrimary),outlineColor:i.FtCssVariable.extend("--ft-switch-outline-color",i.designSystemVariables.colorPrimary)},Ei={borderRadiusLeft:i.FtCssVariable.extend("--ft-switch-option-border-radius-left",i.designSystemVariables.borderRadiusL),borderRadiusRight:i.FtCssVariable.extend("--ft-switch-option-border-radius-right",i.designSystemVariables.borderRadiusL),borderWidthLeft:i.FtCssVariable.create("--ft-switch-option-border-width-left","SIZE","1px"),borderWidthRight:i.FtCssVariable.create("--ft-switch-option-border-width-right","SIZE","1px"),borderWidthVertical:i.FtCssVariable.create("--ft-switch-option-border-width-vertical","SIZE","1px")};var Ti=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Fi extends CustomEvent{constructor(){super("option-change",{bubbles:!0})}}class _i extends i.FtLitElement{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1}static get styles(){return e.css`
307
307
  .ft-switch-option {
308
308
  position: relative;
309
309
  display: inline-block;
@@ -317,21 +317,21 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
317
317
  }
318
318
 
319
319
  .ft-switch-option--content {
320
- --ft-switch-option-internal-line-height: calc(${Ni.fontSize} + 2px);
321
- --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${Ni.iconSize});
320
+ --ft-switch-option-internal-line-height: calc(${Ii.fontSize} + 2px);
321
+ --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${Ii.iconSize});
322
322
 
323
323
  border-style: solid;
324
- border-color: ${Ni.borderColor};
325
- border-width: ${Ai.borderWidthVertical} ${Ai.borderWidthRight} ${Ai.borderWidthVertical} ${Ai.borderWidthLeft};
326
- border-radius: ${Ai.borderRadiusLeft} ${Ai.borderRadiusRight} ${Ai.borderRadiusRight} ${Ai.borderRadiusLeft};
324
+ border-color: ${Ii.borderColor};
325
+ border-width: ${Ei.borderWidthVertical} ${Ei.borderWidthRight} ${Ei.borderWidthVertical} ${Ei.borderWidthLeft};
326
+ border-radius: ${Ei.borderRadiusLeft} ${Ei.borderRadiusRight} ${Ei.borderRadiusRight} ${Ei.borderRadiusLeft};
327
327
  display: flex;
328
328
  align-items: center;
329
329
  justify-content: center;
330
330
  overflow: hidden;
331
331
 
332
- ${i.setVariable(Oi.size,Ni.iconSize)};
332
+ ${i.setVariable(Ni.size,Ii.iconSize)};
333
333
  padding: 6px 8px;
334
- background-color: ${Ni.backgroundColor};
334
+ background-color: ${Ii.backgroundColor};
335
335
  -webkit-mask-image: radial-gradient(white, black);
336
336
  }
337
337
 
@@ -340,8 +340,8 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
340
340
  }
341
341
 
342
342
  .ft-switch-option--input:checked + .ft-switch-option--content:before {
343
- background-color: ${Ni.selectedBackgroundColor};
344
- border-radius: ${Ai.borderRadiusLeft} ${Ai.borderRadiusRight} ${Ai.borderRadiusRight} ${Ai.borderRadiusLeft};
343
+ background-color: ${Ii.selectedBackgroundColor};
344
+ border-radius: ${Ei.borderRadiusLeft} ${Ei.borderRadiusRight} ${Ei.borderRadiusRight} ${Ei.borderRadiusLeft};
345
345
  position: absolute;
346
346
  inset: 0;
347
347
  content: "";
@@ -350,18 +350,18 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
350
350
  }
351
351
 
352
352
  .ft-switch-option--label {
353
- color: ${Ni.textColor};
353
+ color: ${Ii.textColor};
354
354
  overflow: hidden;
355
355
  white-space: nowrap;
356
356
  text-overflow: ellipsis;
357
357
  display: block;
358
358
  margin: 0 8px;
359
- ${i.setVariable(si.fontSize,Ni.fontSize)};
360
- ${i.setVariable(si.lineHeight,"var(--ft-switch-option-internal-content-height)")}
359
+ ${i.setVariable(ri.fontSize,Ii.fontSize)};
360
+ ${i.setVariable(ri.lineHeight,"var(--ft-switch-option-internal-content-height)")}
361
361
  }
362
362
 
363
363
  .ft-switch-option--input:checked + .ft-switch-option--content .ft-switch-option--label {
364
- color: ${Ni.selectedTextColor};
364
+ color: ${Ii.selectedTextColor};
365
365
  }
366
366
 
367
367
  .ft-switch-option--label[hidden] {
@@ -369,7 +369,7 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
369
369
  }
370
370
 
371
371
  .ft-switch-option--ripple {
372
- ${i.setVariable(l.color,Ni.rippleColor)};
372
+ ${i.setVariable(p.color,Ii.rippleColor)};
373
373
  }
374
374
 
375
375
  ft-icon, ft-ripple, ft-typography {
@@ -382,13 +382,13 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
382
382
 
383
383
  ft-icon {
384
384
  flex-shrink: 0;
385
- color: ${Ni.iconColor};
385
+ color: ${Ii.iconColor};
386
386
  }
387
387
 
388
388
  .ft-switch-option--input:checked + .ft-switch-option--content ft-icon {
389
- color: ${Ni.selectedTextColor};
389
+ color: ${Ii.selectedTextColor};
390
390
  }
391
- `}focus(){this.input.focus()}updated(t){super.updated(t),t.has("selected")&&this.dispatchEvent(new Ei)}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon};return this.addTooltip(e.html`
391
+ `}focus(){this.input.focus()}updated(t){super.updated(t),t.has("selected")&&this.dispatchEvent(new Fi)}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon};return this.addTooltip(e.html`
392
392
  <label for="input" class=${s.classMap(t)}>
393
393
  <input id="input" type="radio" class="ft-switch-option--input"
394
394
  .checked=${this.selected}
@@ -409,14 +409,14 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
409
409
  ${t}
410
410
  </ft-tooltip>
411
411
  `}onChange(){this.selected=!0}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?e.html`
412
- <ft-icon variant="material">${this.icon}</ft-icon> `:e.nothing}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()}}Ti.elementDefinitions={"ft-ripple":x,"ft-typography":xi,"ft-tooltip":wi,"ft-icon":ji},Ii([o.property({type:String})],Ti.prototype,"value",void 0),Ii([o.property({type:String})],Ti.prototype,"icon",void 0),Ii([o.property({type:String})],Ti.prototype,"label",void 0),Ii([o.property({type:String})],Ti.prototype,"tooltipPosition",void 0),Ii([o.property({type:Boolean,reflect:!0})],Ti.prototype,"selected",void 0),Ii([o.property({type:Boolean})],Ti.prototype,"trailingIcon",void 0),Ii([o.query(".ft-switch-option--content slot")],Ti.prototype,"slottedContent",void 0),Ii([o.query(".ft-switch-option--input")],Ti.prototype,"input",void 0);var Fi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class _i extends CustomEvent{constructor(t){super("change",{detail:t})}}class Mi extends i.FtLitElement{constructor(){super(...arguments),this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}updated(t){var i;super.updated(t),t.has("selectedOption")&&(this.updateOptions(),this.dispatchEvent(new _i(null===(i=this.selectedOption)||void 0===i?void 0:i.value)))}static get styles(){return e.css`
412
+ <ft-icon variant="material">${this.icon}</ft-icon> `:e.nothing}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()}}_i.elementDefinitions={"ft-ripple":x,"ft-typography":gi,"ft-tooltip":zi,"ft-icon":Ai},Ti([o.property({type:String})],_i.prototype,"value",void 0),Ti([o.property({type:String})],_i.prototype,"icon",void 0),Ti([o.property({type:String})],_i.prototype,"label",void 0),Ti([o.property({type:String})],_i.prototype,"tooltipPosition",void 0),Ti([o.property({type:Boolean,reflect:!0})],_i.prototype,"selected",void 0),Ti([o.property({type:Boolean})],_i.prototype,"trailingIcon",void 0),Ti([o.query(".ft-switch-option--content slot")],_i.prototype,"slottedContent",void 0),Ti([o.query(".ft-switch-option--input")],_i.prototype,"input",void 0);var Mi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Ri extends CustomEvent{constructor(t){super("change",{detail:t})}}class Bi extends i.FtLitElement{constructor(){super(...arguments),this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}updated(t){var i;super.updated(t),t.has("selectedOption")&&(this.updateOptions(),this.dispatchEvent(new Ri(null===(i=this.selectedOption)||void 0===i?void 0:i.value)))}static get styles(){return e.css`
413
413
  :host {
414
414
  display: inline-block;
415
415
  }
416
416
 
417
417
  .ft-switch {
418
- border-radius: ${Ni.borderRadius};
419
- outline-color: ${Ni.outlineColor};
418
+ border-radius: ${Ii.borderRadius};
419
+ outline-color: ${Ii.outlineColor};
420
420
  }
421
421
 
422
422
  .ft-switch slot {
@@ -425,22 +425,22 @@ const X=t=>({_$litStatic$:t}),Y=new Map,J=(t=>(i,...e)=>{var o;const s=e.length;
425
425
  }
426
426
 
427
427
  .ft-switch slot::slotted(ft-switch-option) {
428
- ${i.setVariable(Ai.borderRadiusLeft,"0")};
429
- ${i.setVariable(Ai.borderRadiusRight,"0")};
430
- ${i.setVariable(Ai.borderWidthLeft,"0")};
428
+ ${i.setVariable(Ei.borderRadiusLeft,"0")};
429
+ ${i.setVariable(Ei.borderRadiusRight,"0")};
430
+ ${i.setVariable(Ei.borderWidthLeft,"0")};
431
431
  }
432
432
 
433
433
  .ft-switch slot::slotted(ft-switch-option:first-child) {
434
- ${i.setVariable(Ai.borderRadiusLeft,Ni.borderRadius)};
435
- ${i.setVariable(Ai.borderWidthLeft,"1px")};
434
+ ${i.setVariable(Ei.borderRadiusLeft,Ii.borderRadius)};
435
+ ${i.setVariable(Ei.borderWidthLeft,"1px")};
436
436
  }
437
437
 
438
438
  .ft-switch slot::slotted(ft-switch-option:last-child) {
439
- ${i.setVariable(Ai.borderRadiusRight,Ni.borderRadius)};
439
+ ${i.setVariable(Ei.borderRadiusRight,Ii.borderRadius)};
440
440
  }
441
441
  `}render(){return e.html`
442
442
  <div class="ft-switch" @keydown=${this.onKeyDown} tabindex="0">
443
443
  <slot @slotchange=${this.onSlotchange}
444
444
  @option-change=${this.onOptionChange}></slot>
445
445
  </div>
446
- `}onKeyDown(t){let i;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(i=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(i=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=i&&(t.preventDefault(),this.options[this.fixIndex(i)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof Ti&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),this.options.push(t)}onOptionChange(t){let i=t.target;i.selected?this.selectedOption=i:this.selectedOption=this.options.find((t=>t.selected))}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach((t=>{t.selected=t==this.selectedOption}))}}Mi.elementDefinitions={},Fi([o.query(".ft-switch slot")],Mi.prototype,"slottedContent",void 0),Fi([o.state()],Mi.prototype,"selectedOption",void 0),Fi([o.query(".ft-switch")],Mi.prototype,"ftSwitchDiv",void 0),i.customElement("ft-switch")(Mi),i.customElement("ft-switch-option")(Ti),t.FtSwitch=Mi,t.FtSwitchChange=_i,t.FtSwitchCssVariables=Ni,t.FtSwitchOption=Ti,t.SwitchOptionChange=Ei,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
446
+ `}onKeyDown(t){let i;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(i=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(i=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=i&&(t.preventDefault(),this.options[this.fixIndex(i)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof _i&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),this.options.push(t)}onOptionChange(t){let i=t.target;i.selected?this.selectedOption=i:this.selectedOption=this.options.find((t=>t.selected))}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach((t=>{t.selected=t==this.selectedOption}))}}Bi.elementDefinitions={},Mi([o.query(".ft-switch slot")],Bi.prototype,"slottedContent",void 0),Mi([o.state()],Bi.prototype,"selectedOption",void 0),Mi([o.query(".ft-switch")],Bi.prototype,"ftSwitchDiv",void 0),i.customElement("ft-switch")(Bi),i.customElement("ft-switch-option")(_i),t.FtSwitch=Bi,t.FtSwitchChange=Ri,t.FtSwitchCssVariables=Ii,t.FtSwitchOption=_i,t.SwitchOptionChange=Fi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);