@fluid-topics/ft-radio 0.2.15 → 0.2.18

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){var r=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const n=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),p=n,h=i.FtCssVariable.extend("--ft-ripple-background-color",n),l=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),a=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),f=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),d=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),c=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),y=c,u=i.FtCssVariable.extend("--ft-ripple-background-color",c),g=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),v=g,b=i.FtCssVariable.extend("--ft-ripple-background-color",g);class $ 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),r=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-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
1
+ !function(t,i,e,o,s){var r=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const n=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),h=n,l=i.FtCssVariable.extend("--ft-ripple-background-color",n),p=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),a=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),f=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),d=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),c=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),y=c,u=i.FtCssVariable.extend("--ft-ripple-background-color",c),g=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),v=g,b=i.FtCssVariable.extend("--ft-ripple-background-color",g);class $ 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),r=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-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return 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 m;$.elementDefinitions={},$.styles=e.css`
43
43
  }
44
44
 
45
45
  .ft-ripple .ft-ripple--background {
46
- background-color: ${h};
46
+ background-color: ${l};
47
47
  }
48
48
 
49
49
  .ft-ripple .ft-ripple--effect {
50
- background-color: ${p};
50
+ background-color: ${h};
51
51
  }
52
52
 
53
53
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -107,16 +107,16 @@ var m;$.elementDefinitions={},$.styles=e.css`
107
107
  }
108
108
 
109
109
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
110
- opacity: ${l};
110
+ opacity: ${p};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `,r([o.property({type:Boolean})],$.prototype,"primary",void 0),r([o.property({type:Boolean})],$.prototype,"secondary",void 0),r([o.property({type:Boolean})],$.prototype,"unbounded",void 0),r([o.property({type:Boolean})],$.prototype,"activated",void 0),r([o.property({type:Boolean})],$.prototype,"selected",void 0),r([o.property({type:Boolean})],$.prototype,"disabled",void 0),r([o.state()],$.prototype,"hovered",void 0),r([o.state()],$.prototype,"focused",void 0),r([o.state()],$.prototype,"pressed",void 0),r([o.state()],$.prototype,"rippling",void 0),r([o.state()],$.prototype,"rippleSize",void 0),r([o.state()],$.prototype,"originX",void 0),r([o.state()],$.prototype,"originY",void 0),r([o.query(".ft-ripple")],$.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")($);const x=globalThis.trustedTypes,w=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,z="?"+k,A=`<${z}>`,C=document,S=(t="")=>C.createComment(t),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,E=/>/g,N=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,T=/'/g,I=/"/g,B=/^(?:script|style|textarea|title)$/i,M=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),R=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),F=new WeakMap,Z=C.createTreeWalker(C,129,null,!1),G=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=j;for(let i=0;i<e;i++){const e=t[i];let p,h,l=-1,a=0;for(;a<e.length&&(n.lastIndex=a,h=n.exec(e),null!==h);)a=n.lastIndex,n===j?"!--"===h[1]?n=D:void 0!==h[1]?n=E:void 0!==h[2]?(B.test(h[2])&&(s=RegExp("</"+h[2],"g")),n=N):void 0!==h[3]&&(n=N):n===N?">"===h[0]?(n=null!=s?s:j,l=-1):void 0===h[1]?l=-2:(l=n.lastIndex-h[2].length,p=h[1],n=void 0===h[3]?N:'"'===h[3]?I:T):n===I||n===T?n=N:n===D||n===E?n=j:(n=N,s=void 0);const f=n===N&&t[i+1].startsWith("/>")?" ":"";r+=n===j?e+A:l>=0?(o.push(p),e.slice(0,l)+"$lit$"+e.slice(l)+k+f):e+k+(-2===l?(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!==w?w.createHTML(p):p,o]};class W{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,r=0;const n=t.length-1,p=this.parts,[h,l]=G(t,i);if(this.el=W.createElement(h,e),Z.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Z.nextNode())&&p.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(k)){const e=l[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(k),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?X:"?"===i[1]?q:"@"===i[1]?J:P})}else p.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(B.test(o.tagName)){const t=o.textContent.split(k),i=t.length-1;if(i>0){o.textContent=x?x.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],S()),Z.nextNode(),p.push({type:2,index:++s});o.append(t[i],S())}}}else if(8===o.nodeType)if(o.data===z)p.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(k,t+1));)p.push({type:7,index:s}),t+=k.length-1}s++}}static createElement(t,i){const e=C.createElement("template");return e.innerHTML=t,e}}function K(t,i,e=t,o){var s,r,n,p;if(i===R)return i;let h=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const l=_(i)?void 0:i._$litDirective$;return(null==h?void 0:h.constructor)!==l&&(null===(r=null==h?void 0:h._$AO)||void 0===r||r.call(h,!1),void 0===l?h=void 0:(h=new l(t),h._$AT(t,e,o)),void 0!==o?(null!==(n=(p=e)._$Cl)&&void 0!==n?n:p._$Cl=[])[o]=h:e._$Cu=h),void 0!==h&&(i=K(t,h._$AS(t,i.values),h,o)),i}class H{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:C).importNode(e,!0);Z.currentNode=s;let r=Z.nextNode(),n=0,p=0,h=o[0];for(;void 0!==h;){if(n===h.index){let i;2===h.type?i=new L(r,r.nextSibling,this,t):1===h.type?i=new h.ctor(r,h.name,h.strings,this,t):6===h.type&&(i=new Q(r,this,t)),this.v.push(i),h=o[++p]}n!==(null==h?void 0:h.index)&&(r=Z.nextNode(),n++)}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 L{constructor(t,i,e,o){var s;this.type=2,this._$AH=U,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=K(this,t,i),_(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==R&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return O(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!==U&&_(this._$AH)?this._$AA.nextSibling.data=t:this.k(C.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=W.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 H(s,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=F.get(t.strings);return void 0===i&&F.set(t.strings,i=new W(t)),i}S(t){O(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 L(this.M(S()),this.M(S()),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 P{constructor(t,i,e,o,s){this.type=1,this._$AH=U,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=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let r=!1;if(void 0===s)t=K(this,t,i,0),r=!_(t)||t!==this._$AH&&t!==R,r&&(this._$AH=t);else{const o=t;let n,p;for(t=s[0],n=0;n<s.length-1;n++)p=K(this,o[e+n],i,n),p===R&&(p=this._$AH[n]),r||(r=!_(p)||p!==this._$AH[n]),p===U?t=U:t!==U&&(t+=(null!=p?p:"")+s[n+1]),this._$AH[n]=p}r&&!o&&this.C(t)}C(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends P{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===U?void 0:t}}const Y=x?x.emptyScript:"";class q extends P{constructor(){super(...arguments),this.type=4}C(t){t&&t!==U?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class J extends P{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=K(this,t,i,0))&&void 0!==e?e:U)===R)return;const o=this._$AH,s=t===U&&o!==U||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==U&&(o===U||s);s&&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){K(this,t)}}const V=window.litHtmlPolyfillSupport;null==V||V(W,L),(null!==(m=globalThis.litHtmlVersions)&&void 0!==m?m:globalThis.litHtmlVersions=[]).push("2.2.4");
113
+ `,r([o.property({type:Boolean})],$.prototype,"primary",void 0),r([o.property({type:Boolean})],$.prototype,"secondary",void 0),r([o.property({type:Boolean})],$.prototype,"unbounded",void 0),r([o.property({type:Boolean})],$.prototype,"activated",void 0),r([o.property({type:Boolean})],$.prototype,"selected",void 0),r([o.property({type:Boolean})],$.prototype,"disabled",void 0),r([o.state()],$.prototype,"hovered",void 0),r([o.state()],$.prototype,"focused",void 0),r([o.state()],$.prototype,"pressed",void 0),r([o.state()],$.prototype,"rippling",void 0),r([o.state()],$.prototype,"rippleSize",void 0),r([o.state()],$.prototype,"originX",void 0),r([o.state()],$.prototype,"originY",void 0),r([o.query(".ft-ripple")],$.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")($);const x=globalThis.trustedTypes,w=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,z="?"+k,A=`<${z}>`,C=document,_=(t="")=>C.createComment(t),O=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,D=/>/g,E=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,T=/'/g,B=/"/g,M=/^(?:script|style|textarea|title)$/i,I=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),R=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),F=new WeakMap,G=C.createTreeWalker(C,129,null,!1),W=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=j;for(let i=0;i<e;i++){const e=t[i];let h,l,p=-1,a=0;for(;a<e.length&&(n.lastIndex=a,l=n.exec(e),null!==l);)a=n.lastIndex,n===j?"!--"===l[1]?n=N:void 0!==l[1]?n=D:void 0!==l[2]?(M.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=E):void 0!==l[3]&&(n=E):n===E?">"===l[0]?(n=null!=s?s:j,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,h=l[1],n=void 0===l[3]?E:'"'===l[3]?B:T):n===B||n===T?n=E:n===N||n===D?n=j:(n=E,s=void 0);const f=n===E&&t[i+1].startsWith("/>")?" ":"";r+=n===j?e+A:p>=0?(o.push(h),e.slice(0,p)+"$lit$"+e.slice(p)+k+f):e+k+(-2===p?(o.push(void 0),i):f)}const h=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==w?w.createHTML(h):h,o]};class Z{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,r=0;const n=t.length-1,h=this.parts,[l,p]=W(t,i);if(this.el=Z.createElement(l,e),G.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=G.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(k)){const e=p[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(k),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?X:"?"===i[1]?q:"@"===i[1]?J:P})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(M.test(o.tagName)){const t=o.textContent.split(k),i=t.length-1;if(i>0){o.textContent=x?x.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],_()),G.nextNode(),h.push({type:2,index:++s});o.append(t[i],_())}}}else if(8===o.nodeType)if(o.data===z)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(k,t+1));)h.push({type:7,index:s}),t+=k.length-1}s++}}static createElement(t,i){const e=C.createElement("template");return e.innerHTML=t,e}}function K(t,i,e=t,o){var s,r,n,h;if(i===R)return i;let l=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const p=O(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,e,o)),void 0!==o?(null!==(n=(h=e)._$Cl)&&void 0!==n?n:h._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=K(t,l._$AS(t,i.values),l,o)),i}class H{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:C).importNode(e,!0);G.currentNode=s;let r=G.nextNode(),n=0,h=0,l=o[0];for(;void 0!==l;){if(n===l.index){let i;2===l.type?i=new L(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[++h]}n!==(null==l?void 0:l.index)&&(r=G.nextNode(),n++)}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 L{constructor(t,i,e,o){var s;this.type=2,this._$AH=U,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=K(this,t,i),O(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==R&&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!==U&&O(this._$AH)?this._$AA.nextSibling.data=t:this.k(C.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=Z.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 H(s,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=F.get(t.strings);return void 0===i&&F.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 s of t)o===i.length?i.push(e=new L(this.M(_()),this.M(_()),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 P{constructor(t,i,e,o,s){this.type=1,this._$AH=U,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=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let r=!1;if(void 0===s)t=K(this,t,i,0),r=!O(t)||t!==this._$AH&&t!==R,r&&(this._$AH=t);else{const o=t;let n,h;for(t=s[0],n=0;n<s.length-1;n++)h=K(this,o[e+n],i,n),h===R&&(h=this._$AH[n]),r||(r=!O(h)||h!==this._$AH[n]),h===U?t=U:t!==U&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.C(t)}C(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends P{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===U?void 0:t}}const Y=x?x.emptyScript:"";class q extends P{constructor(){super(...arguments),this.type=4}C(t){t&&t!==U?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class J extends P{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=K(this,t,i,0))&&void 0!==e?e:U)===R)return;const o=this._$AH,s=t===U&&o!==U||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==U&&(o===U||s);s&&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){K(this,t)}}const V=window.litHtmlPolyfillSupport;null==V||V(Z,L),(null!==(m=globalThis.litHtmlVersions)&&void 0!==m?m: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 tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===tt)return null===(e=t)||void 0===e?void 0:e._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),ot=new Map,st=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],p=[];let h,l=0,a=!1;for(;l<o;){for(h=i[l];l<o&&void 0!==(r=e[l],s=it(r));)h+=s+i[++l],a=!0;p.push(r),n.push(h),l++}if(l===o&&n.push(i[o]),a){const t=n.join("$$lit$$");void 0===(i=ot.get(t))&&(n.raw=n,ot.set(t,i=n)),e=p}return t(i,...e)})(M);var rt,nt=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(rt||(rt={}));const pt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),ht=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),lt={fontFamily:ht,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")},at=i.FtCssVariable.extend("--ft-typography-title-font-family",pt),ft=i.FtCssVariable.extend("--ft-typography-title-font-size",lt.fontSize,"20px"),dt=i.FtCssVariable.extend("--ft-typography-title-font-weight",lt.fontWeight,"normal"),ct=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",lt.letterSpacing,"0.15px"),yt=i.FtCssVariable.extend("--ft-typography-title-line-height",lt.lineHeight,"24px"),ut=i.FtCssVariable.extend("--ft-typography-title-text-transform",lt.textTransform,"inherit"),gt=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",pt),vt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",lt.fontSize,"14px"),bt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",lt.fontWeight,"normal"),$t=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",lt.letterSpacing,"0.105px"),mt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",lt.lineHeight,"24px"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",lt.textTransform,"inherit"),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",ht),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",lt.fontSize,"16px"),zt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",lt.fontWeight,"600"),At=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",lt.letterSpacing,"0.144px"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",lt.lineHeight,"24px"),St=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",lt.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",ht),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",lt.fontSize,"14px"),jt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",lt.fontWeight,"normal"),Dt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",lt.letterSpacing,"0.098px"),Et=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",lt.lineHeight,"24px"),Nt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",lt.textTransform,"inherit"),Tt=i.FtCssVariable.extend("--ft-typography-body1-font-family",ht),It=i.FtCssVariable.extend("--ft-typography-body1-font-size",lt.fontSize,"16px"),Bt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",lt.fontWeight,"normal"),Mt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",lt.letterSpacing,"0.496px"),Rt=i.FtCssVariable.extend("--ft-typography-body1-line-height",lt.lineHeight,"24px"),Ut=i.FtCssVariable.extend("--ft-typography-body1-text-transform",lt.textTransform,"inherit"),Ft=i.FtCssVariable.extend("--ft-typography-body2-font-family",ht),Zt=i.FtCssVariable.extend("--ft-typography-body2-font-size",lt.fontSize,"14px"),Gt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",lt.fontWeight,"normal"),Wt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",lt.letterSpacing,"0.252px"),Kt=i.FtCssVariable.extend("--ft-typography-body2-line-height",lt.lineHeight,"20px"),Ht=i.FtCssVariable.extend("--ft-typography-body2-text-transform",lt.textTransform,"inherit"),Lt=i.FtCssVariable.extend("--ft-typography-caption-font-family",ht),Pt=i.FtCssVariable.extend("--ft-typography-caption-font-size",lt.fontSize,"12px"),Xt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",lt.fontWeight,"normal"),Yt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",lt.letterSpacing,"0.396px"),qt=i.FtCssVariable.extend("--ft-typography-caption-line-height",lt.lineHeight,"16px"),Jt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",lt.textTransform,"inherit"),Qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",ht),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",lt.fontSize,"10px"),ti=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",lt.fontWeight,"normal"),ii=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",lt.letterSpacing,"0.33px"),ei=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",lt.lineHeight,"16px"),oi=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",lt.textTransform,"inherit"),si=i.FtCssVariable.extend("--ft-typography-overline-font-family",ht),ri=i.FtCssVariable.extend("--ft-typography-overline-font-size",lt.fontSize,"10px"),ni=i.FtCssVariable.extend("--ft-typography-overline-font-weight",lt.fontWeight,"normal"),pi=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",lt.letterSpacing,"1.5px"),hi=i.FtCssVariable.extend("--ft-typography-overline-line-height",lt.lineHeight,"16px"),li=i.FtCssVariable.extend("--ft-typography-overline-text-transform",lt.textTransform,"uppercase"),ai=i.FtCssVariable.extend("--ft-typography-button-font-family",ht),fi=i.FtCssVariable.extend("--ft-typography-button-font-size",lt.fontSize,"14px"),di=i.FtCssVariable.extend("--ft-typography-button-font-weight",lt.fontWeight,"600"),ci=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",lt.letterSpacing,"1.246px"),yi=i.FtCssVariable.extend("--ft-typography-button-line-height",lt.lineHeight,"16px"),ui=i.FtCssVariable.extend("--ft-typography-button-text-transform",lt.textTransform,"uppercase"),gi=e.css`
119
+ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===tt)return null===(e=t)||void 0===e?void 0:e._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),ot=new Map,st=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],h=[];let l,p=0,a=!1;for(;p<o;){for(l=i[p];p<o&&void 0!==(r=e[p],s=it(r));)l+=s+i[++p],a=!0;h.push(r),n.push(l),p++}if(p===o&&n.push(i[o]),a){const t=n.join("$$lit$$");void 0===(i=ot.get(t))&&(n.raw=n,ot.set(t,i=n)),e=h}return t(i,...e)})(I);var rt,nt=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(rt||(rt={}));const ht=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),lt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),pt={fontFamily:lt,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","NUMBER","1.5"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},at=i.FtCssVariable.extend("--ft-typography-title-font-family",ht),ft=i.FtCssVariable.extend("--ft-typography-title-font-size",pt.fontSize,"20px"),dt=i.FtCssVariable.extend("--ft-typography-title-font-weight",pt.fontWeight,"normal"),ct=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",pt.letterSpacing,"0.15px"),yt=i.FtCssVariable.extend("--ft-typography-title-line-height",pt.lineHeight,"1.2"),ut=i.FtCssVariable.extend("--ft-typography-title-text-transform",pt.textTransform,"inherit"),gt=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",ht),vt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",pt.fontSize,"14px"),bt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",pt.fontWeight,"normal"),$t=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",pt.letterSpacing,"0.105px"),mt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",pt.lineHeight,"1.7"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",pt.textTransform,"inherit"),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",lt),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",pt.fontSize,"16px"),zt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",pt.fontWeight,"600"),At=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",pt.letterSpacing,"0.144px"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",pt.lineHeight,"1.5"),_t=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",pt.textTransform,"inherit"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",lt),St=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",pt.fontSize,"14px"),jt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",pt.fontWeight,"normal"),Nt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",pt.letterSpacing,"0.098px"),Dt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",pt.lineHeight,"1.7"),Et=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",pt.textTransform,"inherit"),Tt=i.FtCssVariable.extend("--ft-typography-body1-font-family",lt),Bt=i.FtCssVariable.extend("--ft-typography-body1-font-size",pt.fontSize,"16px"),Mt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",pt.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",pt.letterSpacing,"0.496px"),Rt=i.FtCssVariable.extend("--ft-typography-body1-line-height",pt.lineHeight,"1.5"),Ut=i.FtCssVariable.extend("--ft-typography-body1-text-transform",pt.textTransform,"inherit"),Ft=i.FtCssVariable.extend("--ft-typography-body2-font-family",lt),Gt=i.FtCssVariable.extend("--ft-typography-body2-font-size",pt.fontSize,"14px"),Wt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",pt.fontWeight,"normal"),Zt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",pt.letterSpacing,"0.252px"),Kt=i.FtCssVariable.extend("--ft-typography-body2-line-height",pt.lineHeight,"1.4"),Ht=i.FtCssVariable.extend("--ft-typography-body2-text-transform",pt.textTransform,"inherit"),Lt=i.FtCssVariable.extend("--ft-typography-caption-font-family",lt),Pt=i.FtCssVariable.extend("--ft-typography-caption-font-size",pt.fontSize,"12px"),Xt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",pt.fontWeight,"normal"),Yt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",pt.letterSpacing,"0.396px"),qt=i.FtCssVariable.extend("--ft-typography-caption-line-height",pt.lineHeight,"1.33"),Jt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",pt.textTransform,"inherit"),Qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",lt),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",pt.fontSize,"10px"),ti=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",pt.fontWeight,"normal"),ii=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",pt.letterSpacing,"0.33px"),ei=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",pt.lineHeight,"1.6"),oi=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",pt.textTransform,"inherit"),si=i.FtCssVariable.extend("--ft-typography-overline-font-family",lt),ri=i.FtCssVariable.extend("--ft-typography-overline-font-size",pt.fontSize,"10px"),ni=i.FtCssVariable.extend("--ft-typography-overline-font-weight",pt.fontWeight,"normal"),hi=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",pt.letterSpacing,"1.5px"),li=i.FtCssVariable.extend("--ft-typography-overline-line-height",pt.lineHeight,"1.6"),pi=i.FtCssVariable.extend("--ft-typography-overline-text-transform",pt.textTransform,"uppercase"),ai=i.FtCssVariable.extend("--ft-typography-button-font-family",lt),fi=i.FtCssVariable.extend("--ft-typography-button-font-size",pt.fontSize,"14px"),di=i.FtCssVariable.extend("--ft-typography-button-font-weight",pt.fontWeight,"600"),ci=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",pt.letterSpacing,"1.246px"),yi=i.FtCssVariable.extend("--ft-typography-button-line-height",pt.lineHeight,"1.15"),ui=i.FtCssVariable.extend("--ft-typography-button-text-transform",pt.textTransform,"uppercase"),gi=e.css`
120
120
  .ft-typography--title {
121
121
  font-family: ${at};
122
122
  font-size: ${ft};
@@ -141,33 +141,33 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
141
141
  font-weight: ${zt};
142
142
  letter-spacing: ${At};
143
143
  line-height: ${Ct};
144
- text-transform: ${St};
144
+ text-transform: ${_t};
145
145
  }
146
146
  `,$i=e.css`
147
147
  .ft-typography--subtitle2 {
148
- font-family: ${_t};
149
- font-size: ${Ot};
148
+ font-family: ${Ot};
149
+ font-size: ${St};
150
150
  font-weight: ${jt};
151
- letter-spacing: ${Dt};
152
- line-height: ${Et};
153
- text-transform: ${Nt};
151
+ letter-spacing: ${Nt};
152
+ line-height: ${Dt};
153
+ text-transform: ${Et};
154
154
  }
155
155
 
156
156
  `,mi=e.css`
157
157
  .ft-typography--body1 {
158
158
  font-family: ${Tt};
159
- font-size: ${It};
160
- font-weight: ${Bt};
161
- letter-spacing: ${Mt};
159
+ font-size: ${Bt};
160
+ font-weight: ${Mt};
161
+ letter-spacing: ${It};
162
162
  line-height: ${Rt};
163
163
  text-transform: ${Ut};
164
164
  }
165
165
  `,xi=e.css`
166
166
  .ft-typography--body2 {
167
167
  font-family: ${Ft};
168
- font-size: ${Zt};
169
- font-weight: ${Gt};
170
- letter-spacing: ${Wt};
168
+ font-size: ${Gt};
169
+ font-weight: ${Wt};
170
+ letter-spacing: ${Zt};
171
171
  line-height: ${Kt};
172
172
  text-transform: ${Ht};
173
173
  }
@@ -194,9 +194,9 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
194
194
  font-family: ${si};
195
195
  font-size: ${ri};
196
196
  font-weight: ${ni};
197
- letter-spacing: ${pi};
198
- line-height: ${hi};
199
- text-transform: ${li};
197
+ letter-spacing: ${hi};
198
+ line-height: ${li};
199
+ text-transform: ${pi};
200
200
  }
201
201
  `,Ai=e.css`
202
202
  .ft-typography--button {
@@ -218,7 +218,7 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
218
218
  .ft-typography {
219
219
  vertical-align: inherit;
220
220
  }
221
- `],nt([o.property()],Ci.prototype,"element",void 0),nt([o.property()],Ci.prototype,"variant",void 0),i.customElement("ft-typography")(Ci);var Si=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const _i={textColor:i.FtCssVariable.extend("--ft-radio-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariable.extend("--ft-radio-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")};class Oi extends CustomEvent{constructor(t,i){super("change",{detail:{value:t,checked:i},bubbles:!0,composed:!0})}}class ji extends i.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return e.html`
221
+ `],nt([o.property()],Ci.prototype,"element",void 0),nt([o.property()],Ci.prototype,"variant",void 0),i.customElement("ft-typography")(Ci);var _i=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const Oi={textColor:i.FtCssVariable.extend("--ft-radio-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariable.extend("--ft-radio-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")};class Si extends CustomEvent{constructor(t,i){super("change",{detail:{value:t,checked:i},bubbles:!0,composed:!0})}}class ji extends i.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return e.html`
222
222
  <div class="${s.classMap(t)}">
223
223
  <div class="ft-radio--box-container">
224
224
  <input id="radio-button"
@@ -243,14 +243,14 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
243
243
  </ft-typography>
244
244
  </label>
245
245
  </div>
246
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Oi(this.value,this.checked))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Oi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}ji.elementDefinitions={"ft-ripple":$,"ft-typography":Ci},ji.styles=e.css`
246
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Si(this.value,this.checked))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Si(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}ji.elementDefinitions={"ft-ripple":$,"ft-typography":Ci},ji.styles=e.css`
247
247
  * {
248
248
  box-sizing: border-box;
249
249
  }
250
250
 
251
251
  .ft-radio {
252
252
  box-sizing: border-box;
253
- color: ${_i.textColor};
253
+ color: ${Oi.textColor};
254
254
 
255
255
  display: inline-flex;
256
256
  align-items: center;
@@ -258,7 +258,7 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
258
258
  }
259
259
 
260
260
  .ft-radio--disabled {
261
- color: ${_i.colorOnSurfaceDisabled};
261
+ color: ${Oi.colorOnSurfaceDisabled};
262
262
  }
263
263
 
264
264
  input {
@@ -281,7 +281,7 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
281
281
  }
282
282
 
283
283
  .ft-radio--box {
284
- border: 2px solid ${_i.borderColor};
284
+ border: 2px solid ${Oi.borderColor};
285
285
  border-radius: 50%;
286
286
 
287
287
  display: flex;
@@ -294,7 +294,7 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
294
294
 
295
295
  .ft-radio--box:after {
296
296
  content: " ";
297
- background-color: ${_i.colorPrimary};
297
+ background-color: ${Oi.colorPrimary};
298
298
 
299
299
  border-radius: 50%;
300
300
 
@@ -306,7 +306,7 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
306
306
  }
307
307
 
308
308
  .ft-radio--checked .ft-radio--box {
309
- border-color: ${_i.colorPrimary};
309
+ border-color: ${Oi.colorPrimary};
310
310
  }
311
311
 
312
312
 
@@ -315,21 +315,21 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
315
315
  }
316
316
 
317
317
  .ft-radio--disabled .ft-radio--box {
318
- border-color: ${_i.colorOnSurfaceDisabled};
318
+ border-color: ${Oi.colorOnSurfaceDisabled};
319
319
  background-color: transparent;
320
320
  }
321
321
 
322
322
  .ft-radio--disabled .ft-radio--box:after {
323
- background-color: ${_i.colorOnSurfaceDisabled};
323
+ background-color: ${Oi.colorOnSurfaceDisabled};
324
324
  }
325
- `,Si([o.property()],ji.prototype,"value",void 0),Si([o.property()],ji.prototype,"name",void 0),Si([o.property({type:Boolean})],ji.prototype,"checked",void 0),Si([o.property({type:Boolean})],ji.prototype,"disabled",void 0),Si([o.query(".ft-radio")],ji.prototype,"container",void 0),Si([o.query("ft-ripple")],ji.prototype,"ripple",void 0),Si([o.query("input")],ji.prototype,"input",void 0);var Di=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(s=t[p])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Ei extends i.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
325
+ `,_i([o.property()],ji.prototype,"value",void 0),_i([o.property()],ji.prototype,"name",void 0),_i([o.property({type:Boolean})],ji.prototype,"checked",void 0),_i([o.property({type:Boolean})],ji.prototype,"disabled",void 0),_i([o.query(".ft-radio")],ji.prototype,"container",void 0),_i([o.query("ft-ripple")],ji.prototype,"ripple",void 0),_i([o.query("input")],ji.prototype,"input",void 0);var Ni=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Di extends i.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
326
326
  <slot @slotchange=${this.onSlotChange}
327
327
  @change=${this.onChange}
328
328
  @keydown=${this.onKeyDown}
329
329
  @focusin=${this.onFocusIn}
330
330
  ></slot>
331
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((i=>i.checked=t.detail.value===i.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let i=this.findFtRadio(t),e=this.radioButtons.indexOf(i)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ei.elementDefinitions={},Ei.styles=e.css`
331
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((i=>i.checked=t.detail.value===i.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let i=this.findFtRadio(t),e=this.radioButtons.indexOf(i)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Di.elementDefinitions={},Di.styles=e.css`
332
332
  :host {
333
333
  display: contents;
334
334
  }
335
- `,Di([o.property()],Ei.prototype,"name",void 0),Di([o.queryAssignedElements()],Ei.prototype,"radioButtons",void 0),i.customElement("ft-radio")(ji),i.customElement("ft-radio-group")(Ei),t.FtRadio=ji,t.FtRadioChangeEvent=Oi,t.FtRadioCssVariables=_i,t.FtRadioGroup=Ei,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
335
+ `,Ni([o.property()],Di.prototype,"name",void 0),Ni([o.queryAssignedElements()],Di.prototype,"radioButtons",void 0),i.customElement("ft-radio")(ji),i.customElement("ft-radio-group")(Di),t.FtRadio=ji,t.FtRadioChangeEvent=Si,t.FtRadioCssVariables=Oi,t.FtRadioGroup=Di,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);