@fluid-topics/ft-radio 2.2.4 → 2.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.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var ke=Object.create;var Ct=Object.defineProperty;var Ee=Object.getOwnPropertyDescriptor;var ze=Object.getOwnPropertyNames;var Be=Object.getPrototypeOf,De=Object.prototype.hasOwnProperty;var st=(r,t)=>()=>{try{return t||r((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var Oe=(r,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ze(t))!De.call(r,o)&&o!==e&&Ct(r,o,{get:()=>t[o],enumerable:!(i=Ee(t,o))||i.enumerable});return r};var d=(r,t,e)=>(e=r!=null?ke(Be(r)):{},Oe(t||!r||!r.__esModule?Ct(e,"default",{value:r,enumerable:!0}):e,r));var _=st((Ve,Ft)=>{Ft.exports=ftGlobals.wcUtils});var k=st((Me,Tt)=>{Tt.exports=ftGlobals.lit});var J=st((je,wt)=>{wt.exports=ftGlobals.litDecorators});var ft=st((Ue,Ht)=>{Ht.exports=ftGlobals.litClassMap});var He=d(_());var $e=d(k()),C=d(J()),Se=d(_()),_e=d(ft());var It=d(k()),x=d(J()),Lt=d(ft()),Q=d(_());var Ot=d(k()),y=d(_()),kt=y.FtCssVariableFactory.extend("--ft-ripple-color","",y.designSystemVariables.colorContent),O={color:kt,backgroundColor:y.FtCssVariableFactory.extend("--ft-ripple-background-color","",kt),opacityContentOnSurfacePressed:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:y.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Et=y.FtCssVariableFactory.extend("--ft-ripple-color","",y.designSystemVariables.colorPrimary),zt={color:Et,backgroundColor:y.FtCssVariableFactory.extend("--ft-ripple-background-color","",Et)},Bt=y.FtCssVariableFactory.extend("--ft-ripple-color","",y.designSystemVariables.colorSecondary),Dt={color:Bt,backgroundColor:y.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bt)},Rt=Ot.css`
1
+ "use strict";(()=>{var ke=Object.create;var Ct=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var Ee=Object.getOwnPropertyNames;var ze=Object.getPrototypeOf,Be=Object.prototype.hasOwnProperty;var st=(r,t)=>()=>{try{return t||r((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var Oe=(r,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ee(t))!Be.call(r,i)&&i!==e&&Ct(r,i,{get:()=>t[i],enumerable:!(o=De(t,i))||o.enumerable});return r};var d=(r,t,e)=>(e=r!=null?ke(ze(r)):{},Oe(t||!r||!r.__esModule?Ct(e,"default",{value:r,enumerable:!0}):e,r));var _=st((Ve,Ft)=>{Ft.exports=ftGlobals.wcUtils});var k=st((Me,Tt)=>{Tt.exports=ftGlobals.lit});var J=st((je,wt)=>{wt.exports=ftGlobals.litDecorators});var ct=st((Ue,Ht)=>{Ht.exports=ftGlobals.litClassMap});var He=d(_());var $e=d(k()),C=d(J()),Se=d(_()),_e=d(ct());var Nt=d(k()),x=d(J()),Wt=d(ct()),Q=d(_());var Ot=d(k()),y=d(_()),kt=y.FtCssVariableFactory.extend("--ft-ripple-color","",y.designSystemVariables.colorContent),O={color:kt,backgroundColor:y.FtCssVariableFactory.extend("--ft-ripple-background-color","",kt),opacityContentOnSurfacePressed:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:y.FtCssVariableFactory.external(y.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:y.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Dt=y.FtCssVariableFactory.extend("--ft-ripple-color","",y.designSystemVariables.colorPrimary),Et={color:Dt,backgroundColor:y.FtCssVariableFactory.extend("--ft-ripple-background-color","",Dt)},zt=y.FtCssVariableFactory.extend("--ft-ripple-color","",y.designSystemVariables.colorSecondary),Bt={color:zt,backgroundColor:y.FtCssVariableFactory.extend("--ft-ripple-background-color","",zt)},Rt=Ot.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -53,19 +53,19 @@
53
53
  }
54
54
 
55
55
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
56
- background-color: ${Dt.backgroundColor};
56
+ background-color: ${Bt.backgroundColor};
57
57
  }
58
58
 
59
59
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
60
- background-color: ${Dt.color};
60
+ background-color: ${Bt.color};
61
61
  }
62
62
 
63
63
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
- background-color: ${zt.backgroundColor};
64
+ background-color: ${Et.backgroundColor};
65
65
  }
66
66
 
67
67
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
68
- background-color: ${zt.color};
68
+ background-color: ${Et.color};
69
69
  }
70
70
 
71
71
  .ft-ripple .ft-ripple--background {
@@ -110,93 +110,101 @@
110
110
  opacity: ${O.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `;var b=function(r,t,e,i){var o=arguments.length,s=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,i);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(o<3?n(s):o>3?n(t,e,s):n(t,e))||s);return o>3&&s&&Object.defineProperty(t,e,s),s},u=class extends Q.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.originX=0,this.originY=0,this.debouncer=new Q.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Q.Debouncer(10),this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=(i=(e=this.ripple)===null||e===void 0?void 0:e.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(o!=null?o-n.x:n.width/2),this.originY=Math.round(s!=null?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!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 It.html`
113
+ `;var b=function(r,t,e,o){var i=arguments.length,s=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,e):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,o);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(i<3?n(s):i>3?n(t,e,s):n(t,e))||s);return i>3&&s&&Object.defineProperty(t,e,s),s},u=class extends Q.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.originX=0,this.originY=0,this.debouncer=new Q.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Q.Debouncer(10),this.moveRipple=t=>{var e,o;let{x:i,y:s}=this.getCoordinates(t),n=(o=(e=this.ripple)===null||e===void 0?void 0:e.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-n.x:n.width/2),this.originY=Math.round(s!=null?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!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 Nt.html`
114
114
  <style>
115
115
  .ft-ripple .ft-ripple--effect {
116
116
  left: ${this.originX}px;
117
117
  top: ${this.originY}px;
118
118
  }
119
119
  </style>
120
- <div class="${(0,Lt.classMap)(t)}">
120
+ <div class="${(0,Wt.classMap)(t)}">
121
121
  <div class="ft-ripple--background"></div>
122
122
  <div class="ft-ripple--effect"></div>
123
123
  </div>
124
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(e=this.target)===null||e===void 0||e.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,e;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((e=this.target)!==null&&e!==void 0?e:i)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let e=(...h)=>l=>{h.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(l)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=h=>{["Enter"," "].includes(h.key)&&e("keyup")(h)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",i,n),t.addEventListener("touchstart",o,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",s,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",i,n),t.removeEventListener("touchstart",o,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",s,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let e=t,i=t,o,s;return e.x!=null?{x:o,y:s}=e:i.touches!=null&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};u.elementDefinitions={};u.styles=Rt;b([(0,x.property)({type:Boolean})],u.prototype,"primary",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"secondary",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"unbounded",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"activated",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"selected",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"disabled",void 0);b([(0,x.state)()],u.prototype,"hovered",void 0);b([(0,x.state)()],u.prototype,"focused",void 0);b([(0,x.state)()],u.prototype,"pressed",void 0);b([(0,x.state)()],u.prototype,"rippling",void 0);b([(0,x.state)()],u.prototype,"originX",void 0);b([(0,x.state)()],u.prototype,"originY",void 0);b([(0,x.query)(".ft-ripple")],u.prototype,"ripple",void 0);b([(0,x.query)(".ft-ripple--effect")],u.prototype,"rippleEffect",void 0);var Wt=d(_());var Pt={"ft-ripple":u};(0,Wt.customElements)(Pt);var xt=globalThis,Nt=r=>r,at=xt.trustedTypes,Vt=at?at.createPolicy("lit-html",{createHTML:r=>r}):void 0,Yt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,qt="?"+E,Re=`<${qt}>`,L=document,pt=()=>L.createComment(""),et=r=>r===null||typeof r!="object"&&typeof r!="function",bt=Array.isArray,Ie=r=>bt(r)||typeof r?.[Symbol.iterator]=="function",ct=`[
125
- \f\r]`,tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,jt=/>/g,R=RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^
126
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ut=/'/g,Gt=/"/g,Kt=/^(?:script|style|textarea|title)$/i,vt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),Zt=vt(1),Jt=vt(2),Qt=vt(3),it=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),Xt=new WeakMap,I=L.createTreeWalker(L,129);function te(r,t){if(!bt(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vt!==void 0?Vt.createHTML(t):t}var Le=(r,t)=>{let e=r.length-1,i=[],o,s=t===2?"<svg>":t===3?"<math>":"",n=tt;for(let h=0;h<e;h++){let l=r[h],f,g,c=-1,F=0;for(;F<l.length&&(n.lastIndex=F,g=n.exec(l),g!==null);)F=n.lastIndex,n===tt?g[1]==="!--"?n=Mt:g[1]!==void 0?n=jt:g[2]!==void 0?(Kt.test(g[2])&&(o=RegExp("</"+g[2],"g")),n=R):g[3]!==void 0&&(n=R):n===R?g[0]===">"?(n=o??tt,c=-1):g[1]===void 0?c=-2:(c=n.lastIndex-g[2].length,f=g[1],n=g[3]===void 0?R:g[3]==='"'?Gt:Ut):n===Gt||n===Ut?n=R:n===Mt||n===jt?n=tt:(n=R,o=void 0);let H=n===R&&r[h+1].startsWith("/>")?" ":"";s+=n===tt?l+Re:c>=0?(i.push(f),l.slice(0,c)+Yt+l.slice(c)+E+H):l+E+(c===-2?h:H)}return[te(r,s+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},ot=class r{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0,h=t.length-1,l=this.parts,[f,g]=Le(t,e);if(this.el=r.createElement(f,i),I.currentNode=this.el.content,e===2||e===3){let c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(o=I.nextNode())!==null&&l.length<h;){if(o.nodeType===1){if(o.hasAttributes())for(let c of o.getAttributeNames())if(c.endsWith(Yt)){let F=g[n++],H=o.getAttribute(c).split(E),nt=/([.?@])?(.*)/.exec(F);l.push({type:1,index:s,name:nt[2],strings:H,ctor:nt[1]==="."?ut:nt[1]==="?"?yt:nt[1]==="@"?gt:W}),o.removeAttribute(c)}else c.startsWith(E)&&(l.push({type:6,index:s}),o.removeAttribute(c));if(Kt.test(o.tagName)){let c=o.textContent.split(E),F=c.length-1;if(F>0){o.textContent=at?at.emptyScript:"";for(let H=0;H<F;H++)o.append(c[H],pt()),I.nextNode(),l.push({type:2,index:++s});o.append(c[F],pt())}}}else if(o.nodeType===8)if(o.data===qt)l.push({type:2,index:s});else{let c=-1;for(;(c=o.data.indexOf(E,c+1))!==-1;)l.push({type:7,index:s}),c+=E.length-1}s++}}static createElement(t,e){let i=L.createElement("template");return i.innerHTML=t,i}};function P(r,t,e=r,i){if(t===it)return t;let o=i!==void 0?e._$Co?.[i]:e._$Cl,s=et(t)?void 0:t._$litDirective$;return o?.constructor!==s&&(o?._$AO?.(!1),s===void 0?o=void 0:(o=new s(r),o._$AT(r,e,i)),i!==void 0?(e._$Co??=[])[i]=o:e._$Cl=o),o!==void 0&&(t=P(r,o._$AS(r,t.values),o,i)),t}var dt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??L).importNode(e,!0);I.currentNode=o;let s=I.nextNode(),n=0,h=0,l=i[0];for(;l!==void 0;){if(n===l.index){let f;l.type===2?f=new lt(s,s.nextSibling,this,t):l.type===1?f=new l.ctor(s,l.name,l.strings,this,t):l.type===6&&(f=new mt(s,this,t)),this._$AV.push(f),l=i[++h]}n!==l?.index&&(s=I.nextNode(),n++)}return I.currentNode=L,o}p(t){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},lt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=P(this,t,e),et(t)?t===m||t==null||t===""?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==it&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ie(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==m&&et(this._$AH)?this._$AA.nextSibling.data=t:this.T(L.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=ot.createElement(te(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{let s=new dt(o,this),n=s.u(this.options);s.p(e),this.T(n),this._$AH=s}}_$AC(t){let e=Xt.get(t.strings);return e===void 0&&Xt.set(t.strings,e=new ot(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,o=0;for(let s of t)o===e.length?e.push(i=new r(this.O(pt()),this.O(pt()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let i=Nt(t).nextSibling;Nt(t).remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},W=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,s){this.type=1,this._$AH=m,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=m}_$AI(t,e=this,i,o){let s=this.strings,n=!1;if(s===void 0)t=P(this,t,e,0),n=!et(t)||t!==this._$AH&&t!==it,n&&(this._$AH=t);else{let h=t,l,f;for(t=s[0],l=0;l<s.length-1;l++)f=P(this,h[i+l],e,l),f===it&&(f=this._$AH[l]),n||=!et(f)||f!==this._$AH[l],f===m?t=m:t!==m&&(t+=(f??"")+s[l+1]),this._$AH[l]=f}n&&!o&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ut=class extends W{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}},yt=class extends W{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==m)}},gt=class extends W{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){if((t=P(this,t,e,0)??m)===it)return;let i=this._$AH,o=t===m&&i!==m||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==m&&(i===m||o);o&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}};var Pe=xt.litHtmlPolyfillSupport;Pe?.(ot,lt),(xt.litHtmlVersions??=[]).push("3.3.3");var ie=Symbol.for(""),We=r=>{if(r?.r===ie)return r?._$litStatic$},$t=r=>({_$litStatic$:r,r:ie});var ee=new Map,St=r=>(t,...e)=>{let i=e.length,o,s,n=[],h=[],l,f=0,g=!1;for(;f<i;){for(l=t[f];f<i&&(s=e[f],(o=We(s))!==void 0);)l+=o+t[++f],g=!0;f!==i&&h.push(s),n.push(l),f++}if(f===i&&n.push(t[i]),g){let c=n.join("$$lit$$");(t=ee.get(c))===void 0&&(n.raw=n,ee.set(c,t=n)),e=h}return r(t,...e)},_t=St(Zt),ni=St(Jt),si=St(Qt);var At=d(J()),ge=d(_());var N;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(N||(N={}));var S=d(k()),a=d(_()),oe=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.titleFont),T=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.contentFont),p={fontFamily:T,fontSize:a.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:a.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:a.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:a.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:a.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},V={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-font-family","",oe),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-font-size","",p.fontSize,"20px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",p.letterSpacing,"0.15px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-line-height","",p.lineHeight,"1.2"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",p.textTransform,"inherit")},M={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",oe),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",p.letterSpacing,"0.105px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",p.textTransform,"inherit")},j={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",p.letterSpacing,"0.144px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",p.textTransform,"inherit")},U={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",p.letterSpacing,"0.098px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",p.textTransform,"inherit")},G={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",p.letterSpacing,"0.496px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",p.textTransform,"inherit")},X={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",p.letterSpacing,"0.252px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",p.lineHeight,"1.4"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",p.textTransform,"inherit")},Y={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",p.fontSize,"12px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",p.letterSpacing,"0.396px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",p.lineHeight,"1.33"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",p.textTransform,"inherit")},q={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",p.letterSpacing,"0.33px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",p.textTransform,"inherit")},K={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",p.letterSpacing,"1.5px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",p.textTransform,"uppercase")},Z={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-button-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-button-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",p.letterSpacing,"1.246px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-button-line-height","",p.lineHeight,"1.15"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",p.textTransform,"uppercase")},re=S.css`
124
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(e=this.target)===null||e===void 0||e.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,e;let o=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;o&&this.setupFor((e=this.target)!==null&&e!==void 0?e:o)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let e=(...h)=>l=>{h.forEach(c=>window.addEventListener(c,this.endPress,{once:!0})),this.startPress(l)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),s=h=>{["Enter"," "].includes(h.key)&&e("keyup")(h)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",s,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",s,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let e=t,o=t,i,s;return e.x!=null?{x:i,y:s}=e:o.touches!=null&&(i=o.touches[0].clientX,s=o.touches[0].clientY),{x:i,y:s}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};u.elementDefinitions={};u.styles=Rt;b([(0,x.property)({type:Boolean})],u.prototype,"primary",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"secondary",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"unbounded",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"activated",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"selected",void 0);b([(0,x.property)({type:Boolean})],u.prototype,"disabled",void 0);b([(0,x.state)()],u.prototype,"hovered",void 0);b([(0,x.state)()],u.prototype,"focused",void 0);b([(0,x.state)()],u.prototype,"pressed",void 0);b([(0,x.state)()],u.prototype,"rippling",void 0);b([(0,x.state)()],u.prototype,"originX",void 0);b([(0,x.state)()],u.prototype,"originY",void 0);b([(0,x.query)(".ft-ripple")],u.prototype,"ripple",void 0);b([(0,x.query)(".ft-ripple--effect")],u.prototype,"rippleEffect",void 0);var Lt=d(_());var It={"ft-ripple":u};(0,Lt.customElements)(It);var xt=globalThis,Pt=r=>r,at=xt.trustedTypes,Vt=at?at.createPolicy("lit-html",{createHTML:r=>r}):void 0,Xt="$lit$",D=`lit$${Math.random().toFixed(9).slice(2)}$`,Yt="?"+D,Re=`<${Yt}>`,W=document,pt=()=>W.createComment(""),et=r=>r===null||typeof r!="object"&&typeof r!="function",bt=Array.isArray,Ne=r=>bt(r)||typeof r?.[Symbol.iterator]=="function",ft=`[
125
+ \f\r]`,tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,jt=/>/g,R=RegExp(`>|${ft}(?:([^\\s"'>=/]+)(${ft}*=${ft}*(?:[^
126
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ut=/'/g,Gt=/"/g,qt=/^(?:script|style|textarea|title)$/i,vt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),Zt=vt(1),Jt=vt(2),Qt=vt(3),ot=Symbol.for("lit-noChange"),m=Symbol.for("lit-nothing"),Kt=new WeakMap,N=W.createTreeWalker(W,129);function te(r,t){if(!bt(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vt!==void 0?Vt.createHTML(t):t}var We=(r,t)=>{let e=r.length-1,o=[],i,s=t===2?"<svg>":t===3?"<math>":"",n=tt;for(let h=0;h<e;h++){let l=r[h],c,g,f=-1,F=0;for(;F<l.length&&(n.lastIndex=F,g=n.exec(l),g!==null);)F=n.lastIndex,n===tt?g[1]==="!--"?n=Mt:g[1]!==void 0?n=jt:g[2]!==void 0?(qt.test(g[2])&&(i=RegExp("</"+g[2],"g")),n=R):g[3]!==void 0&&(n=R):n===R?g[0]===">"?(n=i??tt,f=-1):g[1]===void 0?f=-2:(f=n.lastIndex-g[2].length,c=g[1],n=g[3]===void 0?R:g[3]==='"'?Gt:Ut):n===Gt||n===Ut?n=R:n===Mt||n===jt?n=tt:(n=R,i=void 0);let H=n===R&&r[h+1].startsWith("/>")?" ":"";s+=n===tt?l+Re:f>=0?(o.push(c),l.slice(0,f)+Xt+l.slice(f)+D+H):l+D+(f===-2?h:H)}return[te(r,s+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},it=class r{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let s=0,n=0,h=t.length-1,l=this.parts,[c,g]=We(t,e);if(this.el=r.createElement(c,o),N.currentNode=this.el.content,e===2||e===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=N.nextNode())!==null&&l.length<h;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Xt)){let F=g[n++],H=i.getAttribute(f).split(D),nt=/([.?@])?(.*)/.exec(F);l.push({type:1,index:s,name:nt[2],strings:H,ctor:nt[1]==="."?ut:nt[1]==="?"?yt:nt[1]==="@"?gt:q}),i.removeAttribute(f)}else f.startsWith(D)&&(l.push({type:6,index:s}),i.removeAttribute(f));if(qt.test(i.tagName)){let f=i.textContent.split(D),F=f.length-1;if(F>0){i.textContent=at?at.emptyScript:"";for(let H=0;H<F;H++)i.append(f[H],pt()),N.nextNode(),l.push({type:2,index:++s});i.append(f[F],pt())}}}else if(i.nodeType===8)if(i.data===Yt)l.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(D,f+1))!==-1;)l.push({type:7,index:s}),f+=D.length-1}s++}}static createElement(t,e){let o=W.createElement("template");return o.innerHTML=t,o}};function Y(r,t,e=r,o){if(t===ot)return t;let i=o!==void 0?e._$Co?.[o]:e._$Cl,s=et(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(r),i._$AT(r,e,o)),o!==void 0?(e._$Co??=[])[o]=i:e._$Cl=i),i!==void 0&&(t=Y(r,i._$AS(r,t.values),i,o)),t}var dt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??W).importNode(e,!0);N.currentNode=i;let s=N.nextNode(),n=0,h=0,l=o[0];for(;l!==void 0;){if(n===l.index){let c;l.type===2?c=new lt(s,s.nextSibling,this,t):l.type===1?c=new l.ctor(s,l.name,l.strings,this,t):l.type===6&&(c=new mt(s,this,t)),this._$AV.push(c),l=o[++h]}n!==l?.index&&(s=N.nextNode(),n++)}return N.currentNode=W,i}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},lt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),et(t)?t===m||t==null||t===""?(this._$AH!==m&&this._$AR(),this._$AH=m):t!==this._$AH&&t!==ot&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ne(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==m&&et(this._$AH)?this._$AA.nextSibling.data=t:this.T(W.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,i=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=it.createElement(te(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{let s=new dt(i,this),n=s.u(this.options);s.p(e),this.T(n),this._$AH=s}}_$AC(t){let e=Kt.get(t.strings);return e===void 0&&Kt.set(t.strings,e=new it(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,i=0;for(let s of t)i===e.length?e.push(o=new r(this.O(pt()),this.O(pt()),this,this.options)):o=e[i],o._$AI(s),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Pt(t).nextSibling;Pt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,s){this.type=1,this._$AH=m,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=m}_$AI(t,e=this,o,i){let s=this.strings,n=!1;if(s===void 0)t=Y(this,t,e,0),n=!et(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{let h=t,l,c;for(t=s[0],l=0;l<s.length-1;l++)c=Y(this,h[o+l],e,l),c===ot&&(c=this._$AH[l]),n||=!et(c)||c!==this._$AH[l],c===m?t=m:t!==m&&(t+=(c??"")+s[l+1]),this._$AH[l]=c}n&&!i&&this.j(t)}j(t){t===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ut=class extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===m?void 0:t}},yt=class extends q{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==m)}},gt=class extends q{constructor(t,e,o,i,s){super(t,e,o,i,s),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??m)===ot)return;let o=this._$AH,i=t===m&&o!==m||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==m&&(o===m||i);i&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};var Ie=xt.litHtmlPolyfillSupport;Ie?.(it,lt),(xt.litHtmlVersions??=[]).push("3.3.3");var oe=Symbol.for(""),Le=r=>{if(r?.r===oe)return r?._$litStatic$},$t=r=>({_$litStatic$:r,r:oe});var ee=new Map,St=r=>(t,...e)=>{let o=e.length,i,s,n=[],h=[],l,c=0,g=!1;for(;c<o;){for(l=t[c];c<o&&(s=e[c],(i=Le(s))!==void 0);)l+=i+t[++c],g=!0;c!==o&&h.push(s),n.push(l),c++}if(c===o&&n.push(t[o]),g){let f=n.join("$$lit$$");(t=ee.get(f))===void 0&&(n.raw=n,ee.set(f,t=n)),e=h}return r(t,...e)},_t=St(Zt),no=St(Jt),so=St(Qt);var At=d(J()),ge=d(_());var Z;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(Z||(Z={}));var S=d(k()),a=d(_()),ie=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.titleFont),T=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.contentFont),p={fontFamily:T,fontSize:a.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:a.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:a.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:a.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:a.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:a.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},I={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ie),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-font-size","",p.fontSize,"20px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",p.letterSpacing,"0.15px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-line-height","",p.lineHeight,"1.2"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",p.textDecoration,"inherit")},L={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ie),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",p.letterSpacing,"0.105px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",p.textDecoration,"inherit")},P={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",p.letterSpacing,"0.144px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",p.textDecoration,"inherit")},V={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",p.letterSpacing,"0.098px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",p.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",p.textDecoration,"inherit")},M={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",p.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",p.letterSpacing,"0.496px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",p.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",p.textDecoration,"inherit")},j={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",p.letterSpacing,"0.252px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",p.lineHeight,"1.4"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",p.textDecoration,"inherit")},U={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",p.fontSize,"12px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",p.letterSpacing,"0.396px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",p.lineHeight,"1.33"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",p.textDecoration,"inherit")},G={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",p.letterSpacing,"0.33px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",p.textTransform,"inherit"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",p.textDecoration,"inherit")},K={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",p.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",p.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",p.letterSpacing,"1.5px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",p.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",p.textTransform,"uppercase"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",p.textDecoration,"inherit")},X={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-button-font-family","",T),fontSize:a.FtCssVariableFactory.extend("--ft-typography-button-font-size","",p.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",p.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",p.letterSpacing,"1.246px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-button-line-height","",p.lineHeight,"1.15"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",p.textTransform,"uppercase"),textDecoration:a.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",p.textDecoration,"inherit")},re=S.css`
127
127
  .ft-typography--title {
128
+ font-family: ${I.fontFamily};
129
+ font-size: ${I.fontSize};
130
+ font-weight: ${I.fontWeight};
131
+ letter-spacing: ${I.letterSpacing};
132
+ line-height: ${I.lineHeight};
133
+ text-transform: ${I.textTransform};
134
+ text-decoration: ${I.textDecoration};
135
+ }
136
+ `,ne=S.css`
137
+ .ft-typography--title-dense {
138
+ font-family: ${L.fontFamily};
139
+ font-size: ${L.fontSize};
140
+ font-weight: ${L.fontWeight};
141
+ letter-spacing: ${L.letterSpacing};
142
+ line-height: ${L.lineHeight};
143
+ text-transform: ${L.textTransform};
144
+ text-decoration: ${L.textDecoration};
145
+ }
146
+ `,se=S.css`
147
+ .ft-typography--subtitle1 {
148
+ font-family: ${P.fontFamily};
149
+ font-size: ${P.fontSize};
150
+ font-weight: ${P.fontWeight};
151
+ letter-spacing: ${P.letterSpacing};
152
+ line-height: ${P.lineHeight};
153
+ text-transform: ${P.textTransform};
154
+ text-decoration: ${P.textDecoration};
155
+ }
156
+ `,ae=S.css`
157
+ .ft-typography--subtitle2 {
128
158
  font-family: ${V.fontFamily};
129
159
  font-size: ${V.fontSize};
130
160
  font-weight: ${V.fontWeight};
131
161
  letter-spacing: ${V.letterSpacing};
132
162
  line-height: ${V.lineHeight};
133
163
  text-transform: ${V.textTransform};
164
+ text-decoration: ${V.textDecoration};
134
165
  }
135
- `,ne=S.css`
136
- .ft-typography--title-dense {
166
+
167
+ `,pe=S.css`
168
+ .ft-typography--body1 {
137
169
  font-family: ${M.fontFamily};
138
170
  font-size: ${M.fontSize};
139
171
  font-weight: ${M.fontWeight};
140
172
  letter-spacing: ${M.letterSpacing};
141
173
  line-height: ${M.lineHeight};
142
174
  text-transform: ${M.textTransform};
175
+ text-decoration: ${M.textDecoration};
143
176
  }
144
- `,se=S.css`
145
- .ft-typography--subtitle1 {
177
+ `,le=S.css`
178
+ .ft-typography--body2 {
146
179
  font-family: ${j.fontFamily};
147
180
  font-size: ${j.fontSize};
148
181
  font-weight: ${j.fontWeight};
149
182
  letter-spacing: ${j.letterSpacing};
150
183
  line-height: ${j.lineHeight};
151
184
  text-transform: ${j.textTransform};
185
+ text-decoration: ${j.textDecoration};
152
186
  }
153
- `,ae=S.css`
154
- .ft-typography--subtitle2 {
187
+ `,he=S.css`
188
+ .ft-typography--caption {
155
189
  font-family: ${U.fontFamily};
156
190
  font-size: ${U.fontSize};
157
191
  font-weight: ${U.fontWeight};
158
192
  letter-spacing: ${U.letterSpacing};
159
193
  line-height: ${U.lineHeight};
160
194
  text-transform: ${U.textTransform};
195
+ text-decoration: ${U.textDecoration};
161
196
  }
162
-
163
- `,pe=S.css`
164
- .ft-typography--body1 {
197
+ `,ce=S.css`
198
+ .ft-typography--breadcrumb {
165
199
  font-family: ${G.fontFamily};
166
200
  font-size: ${G.fontSize};
167
201
  font-weight: ${G.fontWeight};
168
202
  letter-spacing: ${G.letterSpacing};
169
203
  line-height: ${G.lineHeight};
170
204
  text-transform: ${G.textTransform};
171
- }
172
- `,le=S.css`
173
- .ft-typography--body2 {
174
- font-family: ${X.fontFamily};
175
- font-size: ${X.fontSize};
176
- font-weight: ${X.fontWeight};
177
- letter-spacing: ${X.letterSpacing};
178
- line-height: ${X.lineHeight};
179
- text-transform: ${X.textTransform};
180
- }
181
- `,he=S.css`
182
- .ft-typography--caption {
183
- font-family: ${Y.fontFamily};
184
- font-size: ${Y.fontSize};
185
- font-weight: ${Y.fontWeight};
186
- letter-spacing: ${Y.letterSpacing};
187
- line-height: ${Y.lineHeight};
188
- text-transform: ${Y.textTransform};
205
+ text-decoration: ${G.textDecoration};
189
206
  }
190
207
  `,fe=S.css`
191
- .ft-typography--breadcrumb {
192
- font-family: ${q.fontFamily};
193
- font-size: ${q.fontSize};
194
- font-weight: ${q.fontWeight};
195
- letter-spacing: ${q.letterSpacing};
196
- line-height: ${q.lineHeight};
197
- text-transform: ${q.textTransform};
198
- }
199
- `,ce=S.css`
200
208
  .ft-typography--overline {
201
209
  font-family: ${K.fontFamily};
202
210
  font-size: ${K.fontSize};
@@ -204,21 +212,23 @@
204
212
  letter-spacing: ${K.letterSpacing};
205
213
  line-height: ${K.lineHeight};
206
214
  text-transform: ${K.textTransform};
215
+ text-decoration: ${K.textDecoration};
207
216
  }
208
217
  `,de=S.css`
209
218
  .ft-typography--button {
210
- font-family: ${Z.fontFamily};
211
- font-size: ${Z.fontSize};
212
- font-weight: ${Z.fontWeight};
213
- letter-spacing: ${Z.letterSpacing};
214
- line-height: ${Z.lineHeight};
215
- text-transform: ${Z.textTransform};
219
+ font-family: ${X.fontFamily};
220
+ font-size: ${X.fontSize};
221
+ font-weight: ${X.fontWeight};
222
+ letter-spacing: ${X.letterSpacing};
223
+ line-height: ${X.lineHeight};
224
+ text-transform: ${X.textTransform};
225
+ text-decoration: ${X.textDecoration};
216
226
  }
217
227
  `,ue=S.css`
218
228
  .ft-typography {
219
229
  vertical-align: inherit;
220
230
  }
221
- `;var ye=function(r,t,e,i){var o=arguments.length,s=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,i);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(o<3?n(s):o>3?n(t,e,s):n(t,e))||s);return o>3&&s&&Object.defineProperty(t,e,s),s},w=class extends ge.FtLitElement{constructor(){super(...arguments),this.variant=N.body1}render(){return this.element?_t`
231
+ `;var ye=function(r,t,e,o){var i=arguments.length,s=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,e):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,o);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(i<3?n(s):i>3?n(t,e,s):n(t,e))||s);return i>3&&s&&Object.defineProperty(t,e,s),s},w=class extends ge.FtLitElement{constructor(){super(...arguments),this.variant=Z.body1}render(){return this.element?_t`
222
232
  <${$t(this.element)}
223
233
  part="text"
224
234
  class="ft-typography ft-typography--${this.variant}">
@@ -226,15 +236,15 @@
226
236
  </${$t(this.element)}>
227
237
  `:_t`
228
238
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
229
- `}};w.styles=[re,ne,se,ae,pe,le,he,fe,ce,de,ue];ye([(0,At.property)()],w.prototype,"element",void 0);ye([(0,At.property)()],w.prototype,"variant",void 0);var xe=d(_());var me={"ft-typography":w};(0,xe.customElements)(me);var be=d(k()),v=d(_());var z={textColor:v.FtCssVariableFactory.extend("--ft-radio-text-color","",v.designSystemVariables.colorOnSurfaceHigh),fontSize:v.FtCssVariableFactory.extend("--ft-radio-font-size","",p.fontSize),colorPrimary:v.FtCssVariableFactory.external(v.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:v.FtCssVariableFactory.external(v.designSystemVariables.colorOnPrimary,"Design system"),borderColor:v.FtCssVariableFactory.extend("--ft-radio-border-color","",v.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:v.FtCssVariableFactory.external(v.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ve=be.css`
239
+ `}};w.styles=[re,ne,se,ae,pe,le,he,ce,fe,de,ue];ye([(0,At.property)()],w.prototype,"element",void 0);ye([(0,At.property)()],w.prototype,"variant",void 0);var xe=d(_());var me={"ft-typography":w};(0,xe.customElements)(me);var be=d(k()),v=d(_());var E={textColor:v.FtCssVariableFactory.extend("--ft-radio-text-color","",v.designSystemVariables.colorOnSurfaceHigh),fontSize:v.FtCssVariableFactory.extend("--ft-radio-font-size","",p.fontSize),colorPrimary:v.FtCssVariableFactory.external(v.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:v.FtCssVariableFactory.external(v.designSystemVariables.colorOnPrimary,"Design system"),borderColor:v.FtCssVariableFactory.extend("--ft-radio-border-color","",v.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:v.FtCssVariableFactory.external(v.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ve=be.css`
230
240
  * {
231
241
  box-sizing: border-box;
232
242
  }
233
243
 
234
244
  .ft-radio {
235
245
  box-sizing: border-box;
236
- color: ${z.textColor};
237
- font-size: ${z.fontSize};
246
+ color: ${E.textColor};
247
+ font-size: ${E.fontSize};
238
248
 
239
249
  display: inline-flex;
240
250
  align-items: center;
@@ -242,7 +252,7 @@
242
252
  }
243
253
 
244
254
  .ft-radio--disabled {
245
- color: ${z.colorOnSurfaceDisabled};
255
+ color: ${E.colorOnSurfaceDisabled};
246
256
  }
247
257
 
248
258
  input {
@@ -265,7 +275,7 @@
265
275
  }
266
276
 
267
277
  .ft-radio--box {
268
- border: 2px solid ${z.borderColor};
278
+ border: 2px solid ${E.borderColor};
269
279
  border-radius: 50%;
270
280
 
271
281
  display: flex;
@@ -278,7 +288,7 @@
278
288
 
279
289
  .ft-radio--box:after {
280
290
  content: " ";
281
- background-color: ${z.colorPrimary};
291
+ background-color: ${E.colorPrimary};
282
292
 
283
293
  border-radius: 50%;
284
294
 
@@ -290,7 +300,7 @@
290
300
  }
291
301
 
292
302
  .ft-radio--checked .ft-radio--box {
293
- border-color: ${z.colorPrimary};
303
+ border-color: ${E.colorPrimary};
294
304
  }
295
305
 
296
306
 
@@ -299,12 +309,12 @@
299
309
  }
300
310
 
301
311
  .ft-radio--disabled .ft-radio--box {
302
- border-color: ${z.colorOnSurfaceDisabled};
312
+ border-color: ${E.colorOnSurfaceDisabled};
303
313
  background-color: transparent;
304
314
  }
305
315
 
306
316
  .ft-radio--disabled .ft-radio--box:after {
307
- background-color: ${z.colorOnSurfaceDisabled};
317
+ background-color: ${E.colorOnSurfaceDisabled};
308
318
  }
309
319
 
310
320
  .ft-radio:has(:focus-visible) {
@@ -315,7 +325,7 @@
315
325
  .ft-radio ft-typography {
316
326
  padding-right: 2px;
317
327
  }
318
- `;var B=function(r,t,e,i){var o=arguments.length,s=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,i);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(o<3?n(s):o>3?n(t,e,s):n(t,e))||s);return o>3&&s&&Object.defineProperty(t,e,s),s},ht=class extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}},$=class extends Se.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return $e.html`
328
+ `;var z=function(r,t,e,o){var i=arguments.length,s=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,e):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,o);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(i<3?n(s):i>3?n(t,e,s):n(t,e))||s);return i>3&&s&&Object.defineProperty(t,e,s),s},ht=class extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}},$=class extends Se.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return $e.html`
319
329
  <div class="${(0,_e.classMap)(this.radioClasses)}"
320
330
  @click=${this.onClick}>
321
331
  <div class="ft-radio--box-container">
@@ -336,12 +346,12 @@
336
346
  >
337
347
  </div>
338
348
  <label for="radio-button" inert>
339
- <ft-typography variant="${N.body2}">
349
+ <ft-typography variant="${Z.body2}">
340
350
  <slot></slot>
341
351
  </ft-typography>
342
352
  </label>
343
353
  </div>
344
- `}willUpdate(t){super.willUpdate(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new ht(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),(e=this.ripple)===null||e===void 0||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new ht(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus(),setTimeout(()=>{var e;return(e=this.ripple)===null||e===void 0?void 0:e.forceFocusUpdate()},0)}onClick(t){var e;t.target!==this.input&&(t.stopPropagation(),t.preventDefault(),(e=this.input)===null||e===void 0||e.click())}};$.elementDefinitions={"ft-ripple":u,"ft-typography":w};$.styles=ve;B([(0,C.property)()],$.prototype,"name",void 0);B([(0,C.property)()],$.prototype,"value",void 0);B([(0,C.property)({type:Boolean,reflect:!0})],$.prototype,"checked",void 0);B([(0,C.property)({attribute:"aria-checked",reflect:!0})],$.prototype,"ariaChecked",void 0);B([(0,C.property)({type:Boolean})],$.prototype,"disabled",void 0);B([(0,C.query)(".ft-radio")],$.prototype,"container",void 0);B([(0,C.query)("ft-ripple")],$.prototype,"ripple",void 0);B([(0,C.query)("input")],$.prototype,"input",void 0);var Fe=d(_()),D=d(J()),Te=d(k());var Ae=d(k());var Ce=Ae.css`
354
+ `}willUpdate(t){super.willUpdate(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new ht(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),(e=this.ripple)===null||e===void 0||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new ht(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus(),setTimeout(()=>{var e;return(e=this.ripple)===null||e===void 0?void 0:e.forceFocusUpdate()},0)}onClick(t){var e;t.target!==this.input&&(t.stopPropagation(),t.preventDefault(),(e=this.input)===null||e===void 0||e.click())}};$.elementDefinitions={"ft-ripple":u,"ft-typography":w};$.styles=ve;z([(0,C.property)()],$.prototype,"name",void 0);z([(0,C.property)()],$.prototype,"value",void 0);z([(0,C.property)({type:Boolean,reflect:!0})],$.prototype,"checked",void 0);z([(0,C.property)({attribute:"aria-checked",reflect:!0})],$.prototype,"ariaChecked",void 0);z([(0,C.property)({type:Boolean})],$.prototype,"disabled",void 0);z([(0,C.query)(".ft-radio")],$.prototype,"container",void 0);z([(0,C.query)("ft-ripple")],$.prototype,"ripple",void 0);z([(0,C.query)("input")],$.prototype,"input",void 0);var Fe=d(_()),B=d(J()),Te=d(k());var Ae=d(k());var Ce=Ae.css`
345
355
  :host {
346
356
  display: block;
347
357
  }
@@ -349,12 +359,12 @@
349
359
  :host(:focus-visible) {
350
360
  outline: none;
351
361
  }
352
- `;var rt=function(r,t,e,i){var o=arguments.length,s=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,i);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(o<3?n(s):o>3?n(t,e,s):n(t,e))||s);return o>3&&s&&Object.defineProperty(t,e,s),s},A=class extends Fe.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var t,e;return(e=(t=this.assignedElements)===null||t===void 0?void 0:t.flatMap(i=>i.matches("ft-radio,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&e!==void 0?e:[]}render(){return Te.html`
362
+ `;var rt=function(r,t,e,o){var i=arguments.length,s=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,e):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,e,o);else for(var h=r.length-1;h>=0;h--)(n=r[h])&&(s=(i<3?n(s):i>3?n(t,e,s):n(t,e))||s);return i>3&&s&&Object.defineProperty(t,e,s),s},A=class extends Fe.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var t,e;return(e=(t=this.assignedElements)===null||t===void 0?void 0:t.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&e!==void 0?e:[]}render(){return Te.html`
353
363
  <slot @slotchange=${this.onSlotChange}
354
364
  @change=${this.onChange}
355
365
  @keydown=${this.onKeyDown}
356
366
  ></slot>
357
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(e=>e.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(e=>e.checked=t.detail.value===e.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let e=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{e=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{e=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}e&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(e=>e.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};A.elementDefinitions={};A.styles=Ce;rt([(0,D.property)()],A.prototype,"name",void 0);rt([(0,D.property)({reflect:!0,attribute:"role"})],A.prototype,"role",void 0);rt([(0,D.property)({reflect:!0,attribute:"aria-labelledby"})],A.prototype,"ariaLabelledBy",void 0);rt([(0,D.queryAssignedElements)()],A.prototype,"assignedElements",void 0);rt([(0,D.state)()],A.prototype,"currentSelectedIndex",void 0);var we={"ft-radio":$,"ft-radio-group":A};(0,He.customElements)(we);})();
367
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(e=>e.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(e=>e.checked=t.detail.value===e.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let e=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{e=!0;let o=this.currentSelectedIndex-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select(),this.radioButtons[o<0?this.radioButtons.length-1:o].focus();break}case"ArrowDown":case"ArrowRight":{e=!0;let o=this.currentSelectedIndex+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}e&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(e=>e.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};A.elementDefinitions={};A.styles=Ce;rt([(0,B.property)()],A.prototype,"name",void 0);rt([(0,B.property)({reflect:!0,attribute:"role"})],A.prototype,"role",void 0);rt([(0,B.property)({reflect:!0,attribute:"aria-labelledby"})],A.prototype,"ariaLabelledBy",void 0);rt([(0,B.queryAssignedElements)()],A.prototype,"assignedElements",void 0);rt([(0,B.state)()],A.prototype,"currentSelectedIndex",void 0);var we={"ft-radio":$,"ft-radio-group":A};(0,He.customElements)(we);})();
358
368
  /*! Bundled license information:
359
369
 
360
370
  lit-html/lit-html.js: