@fluid-topics/ft-radio 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,115 +110,115 @@ var m;$.elementDefinitions={},$.styles=e.css`
110
110
  opacity: ${l};
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}>`,_=document,C=(t="")=>_.createComment(t),O=t=>null===t||"object"!=typeof t&&"function"!=typeof t,S=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=_.createTreeWalker(_,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],C()),Z.nextNode(),p.push({type:2,index:++s});o.append(t[i],C())}}}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=_.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=O(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:_).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),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.S(t):(t=>{var i;return S(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==U&&O(this._$AH)?this._$AA.nextSibling.data=t:this.S(_.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.S(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}A(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(C()),this.M(C()),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,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=!O(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.k(t)}k(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}k(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}k(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.1.3");
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");
114
114
  /**
115
115
  * @license
116
116
  * Copyright 2020 Google LLC
117
117
  * SPDX-License-Identifier: BSD-3-Clause
118
118
  */
119
- const tt=t=>({_$litStatic$:t}),it=new Map,et=(t=>(i,...e)=>{var o;const s=e.length;let r,n;const p=[],h=[];let l,a=0,f=!1;for(;a<s;){for(l=i[a];a<s&&void 0!==(n=e[a],r=null===(o=n)||void 0===o?void 0:o._$litStatic$);)l+=r+i[++a],f=!0;h.push(n),p.push(l),a++}if(a===s&&p.push(i[s]),f){const t=p.join("$$lit$$");void 0===(i=it.get(t))&&(p.raw=p,it.set(t,i=p)),e=h}return t(i,...e)})(M);var ot,st=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"}(ot||(ot={}));const rt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),nt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),pt={fontFamily:nt,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},ht=i.FtCssVariable.extend("--ft-typography-title-font-family",rt),lt=i.FtCssVariable.extend("--ft-typography-title-font-size",pt.fontSize,"20px"),at=i.FtCssVariable.extend("--ft-typography-title-font-weight",pt.fontWeight,"normal"),ft=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",pt.letterSpacing,"0.15px"),dt=i.FtCssVariable.extend("--ft-typography-title-line-height",pt.lineHeight,"24px"),ct=i.FtCssVariable.extend("--ft-typography-title-text-transform",pt.textTransform,"inherit"),yt=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",rt),ut=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",pt.fontSize,"14px"),gt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",pt.fontWeight,"normal"),vt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",pt.letterSpacing,"0.105px"),bt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",pt.lineHeight,"24px"),$t=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",pt.textTransform,"inherit"),mt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",nt),xt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",pt.fontSize,"16px"),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",pt.fontWeight,"600"),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",pt.letterSpacing,"0.144px"),zt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",pt.lineHeight,"24px"),At=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",pt.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",nt),Ct=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",pt.fontSize,"14px"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",pt.fontWeight,"normal"),St=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",pt.letterSpacing,"0.098px"),jt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",pt.lineHeight,"24px"),Dt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",pt.textTransform,"inherit"),Et=i.FtCssVariable.extend("--ft-typography-body1-font-family",nt),Nt=i.FtCssVariable.extend("--ft-typography-body1-font-size",pt.fontSize,"16px"),Tt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",pt.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",pt.letterSpacing,"0.496px"),Bt=i.FtCssVariable.extend("--ft-typography-body1-line-height",pt.lineHeight,"24px"),Mt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",pt.textTransform,"inherit"),Rt=i.FtCssVariable.extend("--ft-typography-body2-font-family",nt),Ut=i.FtCssVariable.extend("--ft-typography-body2-font-size",pt.fontSize,"14px"),Ft=i.FtCssVariable.extend("--ft-typography-body2-font-weight",pt.fontWeight,"normal"),Zt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",pt.letterSpacing,"0.252px"),Gt=i.FtCssVariable.extend("--ft-typography-body2-line-height",pt.lineHeight,"20px"),Wt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",pt.textTransform,"inherit"),Kt=i.FtCssVariable.extend("--ft-typography-caption-font-family",nt),Ht=i.FtCssVariable.extend("--ft-typography-caption-font-size",pt.fontSize,"12px"),Lt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",pt.fontWeight,"normal"),Pt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",pt.letterSpacing,"0.396px"),Xt=i.FtCssVariable.extend("--ft-typography-caption-line-height",pt.lineHeight,"16px"),Yt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",pt.textTransform,"inherit"),qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",nt),Jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",pt.fontSize,"10px"),Qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",pt.fontWeight,"normal"),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",pt.letterSpacing,"0.33px"),ti=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",pt.lineHeight,"16px"),ii=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",pt.textTransform,"inherit"),ei=i.FtCssVariable.extend("--ft-typography-overline-font-family",nt),oi=i.FtCssVariable.extend("--ft-typography-overline-font-size",pt.fontSize,"10px"),si=i.FtCssVariable.extend("--ft-typography-overline-font-weight",pt.fontWeight,"normal"),ri=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",pt.letterSpacing,"1.5px"),ni=i.FtCssVariable.extend("--ft-typography-overline-line-height",pt.lineHeight,"16px"),pi=i.FtCssVariable.extend("--ft-typography-overline-text-transform",pt.textTransform,"uppercase"),hi=i.FtCssVariable.extend("--ft-typography-button-font-family",nt),li=i.FtCssVariable.extend("--ft-typography-button-font-size",pt.fontSize,"14px"),ai=i.FtCssVariable.extend("--ft-typography-button-font-weight",pt.fontWeight,"600"),fi=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",pt.letterSpacing,"1.246px"),di=i.FtCssVariable.extend("--ft-typography-button-line-height",pt.lineHeight,"16px"),ci=i.FtCssVariable.extend("--ft-typography-button-text-transform",pt.textTransform,"uppercase"),yi=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=[],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`
120
120
  .ft-typography--title {
121
- font-family: ${ht};
122
- font-size: ${lt};
123
- font-weight: ${at};
124
- letter-spacing: ${ft};
125
- line-height: ${dt};
126
- text-transform: ${ct};
121
+ font-family: ${at};
122
+ font-size: ${ft};
123
+ font-weight: ${dt};
124
+ letter-spacing: ${ct};
125
+ line-height: ${yt};
126
+ text-transform: ${ut};
127
127
  }
128
- `,ui=e.css`
128
+ `,vi=e.css`
129
129
  .ft-typography--title-dense {
130
- font-family: ${yt};
131
- font-size: ${ut};
132
- font-weight: ${gt};
133
- letter-spacing: ${vt};
134
- line-height: ${bt};
135
- text-transform: ${$t};
130
+ font-family: ${gt};
131
+ font-size: ${vt};
132
+ font-weight: ${bt};
133
+ letter-spacing: ${$t};
134
+ line-height: ${mt};
135
+ text-transform: ${xt};
136
136
  }
137
- `,gi=e.css`
137
+ `,bi=e.css`
138
138
  .ft-typography--subtitle1 {
139
- font-family: ${mt};
140
- font-size: ${xt};
141
- font-weight: ${wt};
142
- letter-spacing: ${kt};
143
- line-height: ${zt};
144
- text-transform: ${At};
139
+ font-family: ${wt};
140
+ font-size: ${kt};
141
+ font-weight: ${zt};
142
+ letter-spacing: ${At};
143
+ line-height: ${Ct};
144
+ text-transform: ${St};
145
145
  }
146
- `,vi=e.css`
146
+ `,$i=e.css`
147
147
  .ft-typography--subtitle2 {
148
148
  font-family: ${_t};
149
- font-size: ${Ct};
150
- font-weight: ${Ot};
151
- letter-spacing: ${St};
152
- line-height: ${jt};
153
- text-transform: ${Dt};
149
+ font-size: ${Ot};
150
+ font-weight: ${jt};
151
+ letter-spacing: ${Dt};
152
+ line-height: ${Et};
153
+ text-transform: ${Nt};
154
154
  }
155
155
 
156
- `,bi=e.css`
156
+ `,mi=e.css`
157
157
  .ft-typography--body1 {
158
- font-family: ${Et};
159
- font-size: ${Nt};
160
- font-weight: ${Tt};
161
- letter-spacing: ${It};
162
- line-height: ${Bt};
163
- text-transform: ${Mt};
158
+ font-family: ${Tt};
159
+ font-size: ${It};
160
+ font-weight: ${Bt};
161
+ letter-spacing: ${Mt};
162
+ line-height: ${Rt};
163
+ text-transform: ${Ut};
164
164
  }
165
- `,$i=e.css`
165
+ `,xi=e.css`
166
166
  .ft-typography--body2 {
167
- font-family: ${Rt};
168
- font-size: ${Ut};
169
- font-weight: ${Ft};
170
- letter-spacing: ${Zt};
171
- line-height: ${Gt};
172
- text-transform: ${Wt};
167
+ font-family: ${Ft};
168
+ font-size: ${Zt};
169
+ font-weight: ${Gt};
170
+ letter-spacing: ${Wt};
171
+ line-height: ${Kt};
172
+ text-transform: ${Ht};
173
173
  }
174
- `,mi=e.css`
174
+ `,wi=e.css`
175
175
  .ft-typography--caption {
176
- font-family: ${Kt};
177
- font-size: ${Ht};
178
- font-weight: ${Lt};
179
- letter-spacing: ${Pt};
180
- line-height: ${Xt};
181
- text-transform: ${Yt};
176
+ font-family: ${Lt};
177
+ font-size: ${Pt};
178
+ font-weight: ${Xt};
179
+ letter-spacing: ${Yt};
180
+ line-height: ${qt};
181
+ text-transform: ${Jt};
182
182
  }
183
- `,xi=e.css`
183
+ `,ki=e.css`
184
184
  .ft-typography--breadcrumb {
185
- font-family: ${qt};
186
- font-size: ${Jt};
187
- font-weight: ${Qt};
188
- letter-spacing: ${Vt};
189
- line-height: ${ti};
190
- text-transform: ${ii};
185
+ font-family: ${Qt};
186
+ font-size: ${Vt};
187
+ font-weight: ${ti};
188
+ letter-spacing: ${ii};
189
+ line-height: ${ei};
190
+ text-transform: ${oi};
191
191
  }
192
- `,wi=e.css`
192
+ `,zi=e.css`
193
193
  .ft-typography--overline {
194
- font-family: ${ei};
195
- font-size: ${oi};
196
- font-weight: ${si};
197
- letter-spacing: ${ri};
198
- line-height: ${ni};
199
- text-transform: ${pi};
194
+ font-family: ${si};
195
+ font-size: ${ri};
196
+ font-weight: ${ni};
197
+ letter-spacing: ${pi};
198
+ line-height: ${hi};
199
+ text-transform: ${li};
200
200
  }
201
- `,ki=e.css`
201
+ `,Ai=e.css`
202
202
  .ft-typography--button {
203
- font-family: ${hi};
204
- font-size: ${li};
205
- font-weight: ${ai};
206
- letter-spacing: ${fi};
207
- line-height: ${di};
208
- text-transform: ${ci};
203
+ font-family: ${ai};
204
+ font-size: ${fi};
205
+ font-weight: ${di};
206
+ letter-spacing: ${ci};
207
+ line-height: ${yi};
208
+ text-transform: ${ui};
209
209
  }
210
- `;class zi extends i.FtLitElement{constructor(){super(...arguments),this.variant=ot.body1}render(){return this.element?et`
211
- <${tt(this.element)}
210
+ `;class Ci extends i.FtLitElement{constructor(){super(...arguments),this.variant=rt.body1}render(){return this.element?st`
211
+ <${et(this.element)}
212
212
  class="ft-typography ft-typography--${this.variant}">
213
213
  <slot></slot>
214
- </${tt(this.element)}>
215
- `:et`
214
+ </${et(this.element)}>
215
+ `:st`
216
216
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
217
- `}}zi.styles=[yi,ui,gi,vi,bi,$i,mi,xi,wi,ki,e.css`
217
+ `}}Ci.styles=[gi,vi,bi,$i,mi,xi,wi,ki,zi,Ai,e.css`
218
218
  .ft-typography {
219
219
  vertical-align: inherit;
220
220
  }
221
- `],st([o.property()],zi.prototype,"element",void 0),st([o.property()],zi.prototype,"variant",void 0),i.customElement("ft-typography")(zi);var Ai=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 Ci extends CustomEvent{constructor(t,i){super("change",{detail:{value:t,checked:i},bubbles:!0,composed:!0})}}class Oi 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 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`
222
222
  <div class="${s.classMap(t)}">
223
223
  <div class="ft-radio--box-container">
224
224
  <input id="radio-button"
@@ -243,7 +243,7 @@ const tt=t=>({_$litStatic$:t}),it=new Map,et=(t=>(i,...e)=>{var o;const s=e.leng
243
243
  </ft-typography>
244
244
  </label>
245
245
  </div>
246
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ci(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 Ci(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Oi.elementDefinitions={"ft-ripple":$,"ft-typography":zi},Oi.styles=e.css`
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`
247
247
  * {
248
248
  box-sizing: border-box;
249
249
  }
@@ -322,14 +322,14 @@ const tt=t=>({_$litStatic$:t}),it=new Map,et=(t=>(i,...e)=>{var o;const s=e.leng
322
322
  .ft-radio--disabled .ft-radio--box:after {
323
323
  background-color: ${_i.colorOnSurfaceDisabled};
324
324
  }
325
- `,Ai([o.property()],Oi.prototype,"value",void 0),Ai([o.property()],Oi.prototype,"name",void 0),Ai([o.property({type:Boolean})],Oi.prototype,"checked",void 0),Ai([o.property({type:Boolean})],Oi.prototype,"disabled",void 0),Ai([o.query(".ft-radio")],Oi.prototype,"container",void 0),Ai([o.query("ft-ripple")],Oi.prototype,"ripple",void 0),Ai([o.query("input")],Oi.prototype,"input",void 0);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};class ji extends i.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
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`
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)}}ji.elementDefinitions={},ji.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)}}Ei.elementDefinitions={},Ei.styles=e.css`
332
332
  :host {
333
333
  display: contents;
334
334
  }
335
- `,Si([o.property()],ji.prototype,"name",void 0),Si([o.queryAssignedElements()],ji.prototype,"radioButtons",void 0),i.customElement("ft-radio")(Oi),i.customElement("ft-radio-group")(ji),t.FtRadio=Oi,t.FtRadioChangeEvent=Ci,t.FtRadioCssVariables=_i,t.FtRadioGroup=ji,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
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);