@fluid-topics/ft-radio 1.0.55 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(t,i,e,o,s){const r=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),n=r,h=i.FtCssVariableFactory.extend("--ft-ripple-background-color",r),l=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),p=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),a=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),f=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),d=i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px"),c=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),y=c,u=i.FtCssVariableFactory.extend("--ft-ripple-background-color",c),g=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),v=g,b=i.FtCssVariableFactory.extend("--ft-ripple-background-color",g),$=e.css`
1
+ !function(t,i,e,o,r){const s=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),n=s,p=i.FtCssVariableFactory.extend("--ft-ripple-background-color",s),l=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),h=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),a=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),f=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),d=i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px"),c=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),y=c,u=i.FtCssVariableFactory.extend("--ft-ripple-background-color",c),g=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),v=g,b=i.FtCssVariableFactory.extend("--ft-ripple-background-color",g),m=e.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -20,8 +20,32 @@
20
20
  opacity: 0;
21
21
  }
22
22
 
23
+ .ft-ripple .ft-ripple--effect {
24
+ aspect-ratio: 1;
25
+ width: auto;
26
+ height: auto;
27
+ min-width: 170%;
28
+ min-height: 170%;
29
+ }
30
+
31
+ .ft-ripple .ft-ripple--background{
32
+ width: 100%;
33
+ height: 100%;
34
+ }
35
+
36
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
37
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
38
+ aspect-ratio: 1;
39
+ width: auto;
40
+ height: auto;
41
+ max-width: unset;
42
+ max-height: unset;
43
+ min-width: 100%;
44
+ min-height: 100%;
45
+ }
46
+
23
47
  .ft-ripple .ft-ripple--background {
24
- background-color: ${h};
48
+ background-color: ${p};
25
49
  }
26
50
 
27
51
  .ft-ripple .ft-ripple--effect {
@@ -47,8 +71,6 @@
47
71
  .ft-ripple .ft-ripple--background {
48
72
  top: 0;
49
73
  left: 0;
50
- height: 100%;
51
- width: 100%;
52
74
  transition: opacity 75ms linear;
53
75
  }
54
76
 
@@ -73,7 +95,7 @@
73
95
  }
74
96
 
75
97
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
76
- opacity: ${p};
98
+ opacity: ${h};
77
99
  }
78
100
 
79
101
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
@@ -88,41 +110,35 @@
88
110
  opacity: ${l};
89
111
  transform: translate(-50%, -50%) scale(1);
90
112
  }
91
- `;var m,x=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class w extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0: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 e.html`
113
+ `;var $,x=function(t,i,e,o){for(var r,s=arguments.length,n=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(r=t[p])&&(n=(s<3?r(n):s>3?r(i,e,n):r(i,e))||n);return s>3&&n&&Object.defineProperty(i,e,n),n};class w extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:r}=this.getCoordinates(t),s=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=r?r-s.y:s.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(null==t?void 0: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 e.html`
92
114
  <style>
93
- .ft-ripple .ft-ripple--effect,
94
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
95
- width: ${this.rippleSize}px;
96
- height: ${this.rippleSize}px;
97
- }
98
-
99
115
  .ft-ripple .ft-ripple--effect {
100
116
  left: ${this.originX}px;
101
117
  top: ${this.originY}px;
102
118
  }
103
119
  </style>
104
- <div class="${s.classMap(t)}">
120
+ <div class="${r.classMap(t)}">
105
121
  <div class="ft-ripple--background"></div>
106
122
  <div class="ft-ripple--effect"></div>
107
123
  </div>
108
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}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");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}w.elementDefinitions={},w.styles=$,x([o.property({type:Boolean})],w.prototype,"primary",void 0),x([o.property({type:Boolean})],w.prototype,"secondary",void 0),x([o.property({type:Boolean})],w.prototype,"unbounded",void 0),x([o.property({type:Boolean})],w.prototype,"activated",void 0),x([o.property({type:Boolean})],w.prototype,"selected",void 0),x([o.property({type:Boolean})],w.prototype,"disabled",void 0),x([o.state()],w.prototype,"hovered",void 0),x([o.state()],w.prototype,"focused",void 0),x([o.state()],w.prototype,"pressed",void 0),x([o.state()],w.prototype,"rippling",void 0),x([o.state()],w.prototype,"rippleSize",void 0),x([o.state()],w.prototype,"originX",void 0),x([o.state()],w.prototype,"originY",void 0),x([o.query(".ft-ripple")],w.prototype,"ripple",void 0),x([o.query(".ft-ripple--effect")],w.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(w);const k=window,z=k.trustedTypes,A=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,_="?"+S,j=`<${_}>`,E=document,O=()=>E.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,B="[ \t\n\f\r]",R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,M=/>/g,T=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,F=/"/g,Z=/^(?:script|style|textarea|title)$/i,G=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,L=E.createTreeWalker(E,129,null,!1),P=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=R;for(let i=0;i<e;i++){const e=t[i];let h,l,p=-1,a=0;for(;a<e.length&&(n.lastIndex=a,l=n.exec(e),null!==l);)a=n.lastIndex,n===R?"!--"===l[1]?n=I:void 0!==l[1]?n=M:void 0!==l[2]?(Z.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=T):void 0!==l[3]&&(n=T):n===T?">"===l[0]?(n=null!=s?s:R,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,h=l[1],n=void 0===l[3]?T:'"'===l[3]?F:U):n===F||n===U?n=T:n===I||n===M?n=R:(n=T,s=void 0);const f=n===T&&t[i+1].startsWith("/>")?" ":"";r+=n===R?e+j:p>=0?(o.push(h),e.slice(0,p)+C+e.slice(p)+S+f):e+S+(-2===p?(o.push(void 0),i):f)}const h=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==A?A.createHTML(h):h,o]};class V{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,r=0;const n=t.length-1,h=this.parts,[l,p]=P(t,i);if(this.el=V.createElement(l,e),L.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=L.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(C)||i.startsWith(S)){const e=p[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+C).split(S),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?Q:"?"===i[1]?it:"@"===i[1]?et:J})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(Z.test(o.tagName)){const t=o.textContent.split(S),i=t.length-1;if(i>0){o.textContent=z?z.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],O()),L.nextNode(),h.push({type:2,index:++s});o.append(t[i],O())}}}else if(8===o.nodeType)if(o.data===_)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)h.push({type:7,index:s}),t+=S.length-1}s++}}static createElement(t,i){const e=E.createElement("template");return e.innerHTML=t,e}}function X(t,i,e=t,o){var s,r,n,h;if(i===W)return i;let l=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const p=N(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,e,o)),void 0!==o?(null!==(n=(h=e)._$Co)&&void 0!==n?n:h._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=X(t,l._$AS(t,i.values),l,o)),i}class Y{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:E).importNode(e,!0);L.currentNode=s;let r=L.nextNode(),n=0,h=0,l=o[0];for(;void 0!==l;){if(n===l.index){let i;2===l.type?i=new q(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new ot(r,this,t)),this._$AV.push(i),l=o[++h]}n!==(null==l?void 0:l.index)&&(r=L.nextNode(),n++)}return s}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class q{constructor(t,i,e,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=X(this,t,i),N(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(E.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.v(e);else{const t=new Y(s,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=K.get(t.strings);return void 0===i&&K.set(t.strings,i=new V(t)),i}T(t){D(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 q(this.k(O()),this.k(O()),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._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class J{constructor(t,i,e,o,s){this.type=1,this._$AH=H,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=H}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=X(this,t,i,0),r=!N(t)||t!==this._$AH&&t!==W,r&&(this._$AH=t);else{const o=t;let n,h;for(t=s[0],n=0;n<s.length-1;n++)h=X(this,o[e+n],i,n),h===W&&(h=this._$AH[n]),r||(r=!N(h)||h!==this._$AH[n]),h===H?t=H:t!==H&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends J{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}const tt=z?z.emptyScript:"";class it extends J{constructor(){super(...arguments),this.type=4}j(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class et extends J{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=X(this,t,i,0))&&void 0!==e?e:H)===W)return;const o=this._$AH,s=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==H&&(o===H||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 ot{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){X(this,t)}}const st=k.litHtmlPolyfillSupport;null==st||st(V,q),(null!==(m=k.litHtmlVersions)&&void 0!==m?m:k.litHtmlVersions=[]).push("2.7.3");
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 i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e)}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");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,r;return null!=i.x?({x:o,y:r}=i):null!=e.touches&&(o=e.touches[0].clientX,r=e.touches[0].clientY),{x:o,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}w.elementDefinitions={},w.styles=m,x([o.property({type:Boolean})],w.prototype,"primary",void 0),x([o.property({type:Boolean})],w.prototype,"secondary",void 0),x([o.property({type:Boolean})],w.prototype,"unbounded",void 0),x([o.property({type:Boolean})],w.prototype,"activated",void 0),x([o.property({type:Boolean})],w.prototype,"selected",void 0),x([o.property({type:Boolean})],w.prototype,"disabled",void 0),x([o.state()],w.prototype,"hovered",void 0),x([o.state()],w.prototype,"focused",void 0),x([o.state()],w.prototype,"pressed",void 0),x([o.state()],w.prototype,"rippling",void 0),x([o.state()],w.prototype,"originX",void 0),x([o.state()],w.prototype,"originY",void 0),x([o.query(".ft-ripple")],w.prototype,"ripple",void 0),x([o.query(".ft-ripple--effect")],w.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(w);const k=window,z=k.trustedTypes,A=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,j="?"+_,E=`<${j}>`,S=document,O=()=>S.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,B="[ \t\n\f\r]",I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,M=/>/g,R=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,F=/"/g,Z=/^(?:script|style|textarea|title)$/i,G=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,L=S.createTreeWalker(S,129,null,!1),P=(t,i)=>{const e=t.length-1,o=[];let r,s=2===i?"<svg>":"",n=I;for(let i=0;i<e;i++){const e=t[i];let p,l,h=-1,a=0;for(;a<e.length&&(n.lastIndex=a,l=n.exec(e),null!==l);)a=n.lastIndex,n===I?"!--"===l[1]?n=T:void 0!==l[1]?n=M:void 0!==l[2]?(Z.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=R):void 0!==l[3]&&(n=R):n===R?">"===l[0]?(n=null!=r?r:I,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,p=l[1],n=void 0===l[3]?R:'"'===l[3]?F:U):n===F||n===U?n=R:n===T||n===M?n=I:(n=R,r=void 0);const f=n===R&&t[i+1].startsWith("/>")?" ":"";s+=n===I?e+E:h>=0?(o.push(p),e.slice(0,h)+C+e.slice(h)+_+f):e+_+(-2===h?(o.push(void 0),i):f)}const p=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==A?A.createHTML(p):p,o]};class V{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let r=0,s=0;const n=t.length-1,p=this.parts,[l,h]=P(t,i);if(this.el=V.createElement(l,e),L.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=L.nextNode())&&p.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(C)||i.startsWith(_)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+C).split(_),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?Q:"?"===i[1]?it:"@"===i[1]?et:J})}else p.push({type:6,index:r})}for(const i of t)o.removeAttribute(i)}if(Z.test(o.tagName)){const t=o.textContent.split(_),i=t.length-1;if(i>0){o.textContent=z?z.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],O()),L.nextNode(),p.push({type:2,index:++r});o.append(t[i],O())}}}else if(8===o.nodeType)if(o.data===j)p.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(_,t+1));)p.push({type:7,index:r}),t+=_.length-1}r++}}static createElement(t,i){const e=S.createElement("template");return e.innerHTML=t,e}}function X(t,i,e=t,o){var r,s,n,p;if(i===W)return i;let l=void 0!==o?null===(r=e._$Co)||void 0===r?void 0:r[o]:e._$Cl;const h=N(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(n=(p=e)._$Co)&&void 0!==n?n:p._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=X(t,l._$AS(t,i.values),l,o)),i}class Y{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,r=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:S).importNode(e,!0);L.currentNode=r;let s=L.nextNode(),n=0,p=0,l=o[0];for(;void 0!==l;){if(n===l.index){let i;2===l.type?i=new q(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new ot(s,this,t)),this._$AV.push(i),l=o[++p]}n!==(null==l?void 0:l.index)&&(s=L.nextNode(),n++)}return r}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class q{constructor(t,i,e,o){var r;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=X(this,t,i),N(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(S.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===r)this._$AH.v(e);else{const t=new Y(r,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=K.get(t.strings);return void 0===i&&K.set(t.strings,i=new V(t)),i}T(t){D(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const r of t)o===i.length?i.push(e=new q(this.k(O()),this.k(O()),this,this.options)):e=i[o],e._$AI(r),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._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class J{constructor(t,i,e,o,r){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const r=this.strings;let s=!1;if(void 0===r)t=X(this,t,i,0),s=!N(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let n,p;for(t=r[0],n=0;n<r.length-1;n++)p=X(this,o[e+n],i,n),p===W&&(p=this._$AH[n]),s||(s=!N(p)||p!==this._$AH[n]),p===H?t=H:t!==H&&(t+=(null!=p?p:"")+r[n+1]),this._$AH[n]=p}s&&!o&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends J{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}const tt=z?z.emptyScript:"";class it extends J{constructor(){super(...arguments),this.type=4}j(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class et extends J{constructor(t,i,e,o,r){super(t,i,e,o,r),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=X(this,t,i,0))&&void 0!==e?e:H)===W)return;const o=this._$AH,r=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==H&&(o===H||r);r&&this.element.removeEventListener(this.name,this,o),s&&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 ot{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){X(this,t)}}const rt=k.litHtmlPolyfillSupport;null==rt||rt(V,q),(null!==($=k.litHtmlVersions)&&void 0!==$?$:k.litHtmlVersions=[]).push("2.7.3");
109
125
  /**
110
126
  * @license
111
127
  * Copyright 2020 Google LLC
112
128
  * SPDX-License-Identifier: BSD-3-Clause
113
129
  */
114
- const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void 0:t._$litStatic$},ht=t=>({_$litStatic$:t,r:rt}),lt=new Map,pt=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],h=[];let l,p=0,a=!1;for(;p<o;){for(l=i[p];p<o&&void 0!==(r=e[p],s=nt(r));)l+=s+i[++p],a=!0;p!==o&&h.push(r),n.push(l),p++}if(p===o&&n.push(i[o]),a){const t=n.join("$$lit$$");void 0===(i=lt.get(t))&&(n.raw=n,lt.set(t,i=n)),e=h}return t(i,...e)})(G);var at;!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"}(at||(at={}));const ft=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),dt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ct={fontFamily:dt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},yt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ft),ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ct.letterSpacing,"0.15px"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ct.lineHeight,"1.2"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ft),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ct.fontWeight,"normal"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ct.letterSpacing,"0.105px"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",dt),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"1.5"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",dt),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"1.7"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",dt),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ct.lineHeight,"1.5"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",dt),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ct.lineHeight,"1.4"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ct.textTransform,"inherit"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",dt),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ct.fontSize,"12px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ct.fontWeight,"normal"),Qt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ct.letterSpacing,"0.396px"),ti=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ct.lineHeight,"1.33"),ii=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",dt),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),ri=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"1.6"),hi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",dt),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),di=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ct.lineHeight,"1.6"),ci=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),yi=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",dt),ui=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),gi=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),vi=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ct.letterSpacing,"1.246px"),bi=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ct.lineHeight,"1.15"),$i=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),mi=e.css`
130
+ const st=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===st)return null==t?void 0:t._$litStatic$},pt=t=>({_$litStatic$:t,r:st}),lt=new Map,ht=(t=>(i,...e)=>{const o=e.length;let r,s;const n=[],p=[];let l,h=0,a=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],r=nt(s));)l+=r+i[++h],a=!0;h!==o&&p.push(s),n.push(l),h++}if(h===o&&n.push(i[o]),a){const t=n.join("$$lit$$");void 0===(i=lt.get(t))&&(n.raw=n,lt.set(t,i=n)),e=p}return t(i,...e)})(G);var at;!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"}(at||(at={}));const ft=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),dt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ct={fontFamily:dt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},yt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ft),ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ct.letterSpacing,"0.15px"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ct.lineHeight,"1.2"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ft),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ct.fontWeight,"normal"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ct.letterSpacing,"0.105px"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",dt),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"1.5"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",dt),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"1.7"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",dt),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ct.lineHeight,"1.5"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",dt),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ct.lineHeight,"1.4"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ct.textTransform,"inherit"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",dt),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ct.fontSize,"12px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ct.fontWeight,"normal"),Qt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ct.letterSpacing,"0.396px"),ti=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ct.lineHeight,"1.33"),ii=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",dt),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),ri=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"1.6"),pi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",dt),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),di=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ct.lineHeight,"1.6"),ci=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),yi=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",dt),ui=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),gi=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),vi=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ct.letterSpacing,"1.246px"),bi=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ct.lineHeight,"1.15"),mi=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),$i=e.css`
115
131
  .ft-typography--title {
116
132
  font-family: ${yt};
117
133
  font-size: ${ut};
118
134
  font-weight: ${gt};
119
135
  letter-spacing: ${vt};
120
136
  line-height: ${bt};
121
- text-transform: ${$t};
137
+ text-transform: ${mt};
122
138
  }
123
139
  `,xi=e.css`
124
140
  .ft-typography--title-dense {
125
- font-family: ${mt};
141
+ font-family: ${$t};
126
142
  font-size: ${xt};
127
143
  font-weight: ${wt};
128
144
  letter-spacing: ${kt};
@@ -132,10 +148,10 @@ const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void
132
148
  `,wi=e.css`
133
149
  .ft-typography--subtitle1 {
134
150
  font-family: ${Ct};
135
- font-size: ${St};
136
- font-weight: ${_t};
137
- letter-spacing: ${jt};
138
- line-height: ${Et};
151
+ font-size: ${_t};
152
+ font-weight: ${jt};
153
+ letter-spacing: ${Et};
154
+ line-height: ${St};
139
155
  text-transform: ${Ot};
140
156
  }
141
157
  `,ki=e.css`
@@ -143,14 +159,14 @@ const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void
143
159
  font-family: ${Nt};
144
160
  font-size: ${Dt};
145
161
  font-weight: ${Bt};
146
- letter-spacing: ${Rt};
147
- line-height: ${It};
162
+ letter-spacing: ${It};
163
+ line-height: ${Tt};
148
164
  text-transform: ${Mt};
149
165
  }
150
166
 
151
167
  `,zi=e.css`
152
168
  .ft-typography--body1 {
153
- font-family: ${Tt};
169
+ font-family: ${Rt};
154
170
  font-size: ${Ut};
155
171
  font-weight: ${Ft};
156
172
  letter-spacing: ${Zt};
@@ -175,45 +191,45 @@ const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void
175
191
  line-height: ${ti};
176
192
  text-transform: ${ii};
177
193
  }
178
- `,Si=e.css`
194
+ `,_i=e.css`
179
195
  .ft-typography--breadcrumb {
180
196
  font-family: ${ei};
181
197
  font-size: ${oi};
182
- font-weight: ${si};
183
- letter-spacing: ${ri};
198
+ font-weight: ${ri};
199
+ letter-spacing: ${si};
184
200
  line-height: ${ni};
185
- text-transform: ${hi};
201
+ text-transform: ${pi};
186
202
  }
187
- `,_i=e.css`
203
+ `,ji=e.css`
188
204
  .ft-typography--overline {
189
205
  font-family: ${li};
190
- font-size: ${pi};
206
+ font-size: ${hi};
191
207
  font-weight: ${ai};
192
208
  letter-spacing: ${fi};
193
209
  line-height: ${di};
194
210
  text-transform: ${ci};
195
211
  }
196
- `,ji=e.css`
212
+ `,Ei=e.css`
197
213
  .ft-typography--button {
198
214
  font-family: ${yi};
199
215
  font-size: ${ui};
200
216
  font-weight: ${gi};
201
217
  letter-spacing: ${vi};
202
218
  line-height: ${bi};
203
- text-transform: ${$i};
219
+ text-transform: ${mi};
204
220
  }
205
- `,Ei=e.css`
221
+ `,Si=e.css`
206
222
  .ft-typography {
207
223
  vertical-align: inherit;
208
224
  }
209
- `;var Oi=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Ni extends i.FtLitElement{constructor(){super(...arguments),this.variant=at.body1}render(){return this.element?pt`
210
- <${ht(this.element)}
225
+ `;var Oi=function(t,i,e,o){for(var r,s=arguments.length,n=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(r=t[p])&&(n=(s<3?r(n):s>3?r(i,e,n):r(i,e))||n);return s>3&&n&&Object.defineProperty(i,e,n),n};class Ni extends i.FtLitElement{constructor(){super(...arguments),this.variant=at.body1}render(){return this.element?ht`
226
+ <${pt(this.element)}
211
227
  class="ft-typography ft-typography--${this.variant}">
212
228
  <slot></slot>
213
- </${ht(this.element)}>
214
- `:pt`
229
+ </${pt(this.element)}>
230
+ `:ht`
215
231
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
216
- `}}Ni.styles=[mi,xi,wi,ki,zi,Ai,Ci,Si,_i,ji,Ei],Oi([o.property()],Ni.prototype,"element",void 0),Oi([o.property()],Ni.prototype,"variant",void 0),i.customElement("ft-typography")(Ni);const Di={textColor:i.FtCssVariableFactory.extend("--ft-radio-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariableFactory.extend("--ft-radio-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Bi=e.css`
232
+ `}}Ni.styles=[$i,xi,wi,ki,zi,Ai,Ci,_i,ji,Ei,Si],Oi([o.property()],Ni.prototype,"element",void 0),Oi([o.property()],Ni.prototype,"variant",void 0),i.customElement("ft-typography")(Ni);const Di={textColor:i.FtCssVariableFactory.extend("--ft-radio-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariableFactory.extend("--ft-radio-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Bi=e.css`
217
233
  * {
218
234
  box-sizing: border-box;
219
235
  }
@@ -292,8 +308,8 @@ const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void
292
308
  .ft-radio--disabled .ft-radio--box:after {
293
309
  background-color: ${Di.colorOnSurfaceDisabled};
294
310
  }
295
- `;var Ri=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Ii extends CustomEvent{constructor(t,i){super("change",{detail:{value:t,checked:i},bubbles:!0,composed:!0})}}class Mi 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`
296
- <div class="${s.classMap(t)}">
311
+ `;var Ii=function(t,i,e,o){for(var r,s=arguments.length,n=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(r=t[p])&&(n=(s<3?r(n):s>3?r(i,e,n):r(i,e))||n);return s>3&&n&&Object.defineProperty(i,e,n),n};class Ti extends CustomEvent{constructor(t,i){super("change",{detail:{value:t,checked:i},bubbles:!0,composed:!0})}}class Mi 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`
312
+ <div class="${r.classMap(t)}">
297
313
  <div class="ft-radio--box-container">
298
314
  <ft-ripple
299
315
  ?disabled=${this.disabled}
@@ -317,13 +333,13 @@ const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void
317
333
  </ft-typography>
318
334
  </label>
319
335
  </div>
320
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ii(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 Ii(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Mi.elementDefinitions={"ft-ripple":w,"ft-typography":Ni},Mi.styles=Bi,Ri([o.property()],Mi.prototype,"value",void 0),Ri([o.property()],Mi.prototype,"name",void 0),Ri([o.property({type:Boolean,reflect:!0})],Mi.prototype,"checked",void 0),Ri([o.property({type:Boolean})],Mi.prototype,"disabled",void 0),Ri([o.query(".ft-radio")],Mi.prototype,"container",void 0),Ri([o.query("ft-ripple")],Mi.prototype,"ripple",void 0),Ri([o.query("input")],Mi.prototype,"input",void 0);const Ti=e.css`
336
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ti(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 Ti(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Mi.elementDefinitions={"ft-ripple":w,"ft-typography":Ni},Mi.styles=Bi,Ii([o.property()],Mi.prototype,"value",void 0),Ii([o.property()],Mi.prototype,"name",void 0),Ii([o.property({type:Boolean,reflect:!0})],Mi.prototype,"checked",void 0),Ii([o.property({type:Boolean})],Mi.prototype,"disabled",void 0),Ii([o.query(".ft-radio")],Mi.prototype,"container",void 0),Ii([o.query("ft-ripple")],Mi.prototype,"ripple",void 0),Ii([o.query("input")],Mi.prototype,"input",void 0);const Ri=e.css`
321
337
  :host {
322
338
  display: contents;
323
339
  }
324
- `;var Ui=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Fi extends i.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
340
+ `;var Ui=function(t,i,e,o){for(var r,s=arguments.length,n=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,p=t.length-1;p>=0;p--)(r=t[p])&&(n=(s<3?r(n):s>3?r(i,e,n):r(i,e))||n);return s>3&&n&&Object.defineProperty(i,e,n),n};class Fi extends i.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
325
341
  <slot @slotchange=${this.onSlotChange}
326
342
  @change=${this.onChange}
327
343
  @keydown=${this.onKeyDown}
328
344
  ></slot>
329
- `}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})),this.focusCurrentValue()}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))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Fi.elementDefinitions={},Fi.styles=Ti,Ui([o.property()],Fi.prototype,"name",void 0),Ui([o.queryAssignedElements()],Fi.prototype,"radioButtons",void 0),i.customElement("ft-radio")(Mi),i.customElement("ft-radio-group")(Fi),t.FtRadio=Mi,t.FtRadioChangeEvent=Ii,t.FtRadioCssVariables=Di,t.FtRadioGroup=Fi,t.FtRadioGroupCssVariables={},t.groupStyles=Ti,t.styles=Bi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
345
+ `}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})),this.focusCurrentValue()}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))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Fi.elementDefinitions={},Fi.styles=Ri,Ui([o.property()],Fi.prototype,"name",void 0),Ui([o.queryAssignedElements()],Fi.prototype,"radioButtons",void 0),i.customElement("ft-radio")(Mi),i.customElement("ft-radio-group")(Fi),t.FtRadio=Mi,t.FtRadioChangeEvent=Ti,t.FtRadioCssVariables=Di,t.FtRadioGroup=Fi,t.FtRadioGroupCssVariables={},t.groupStyles=Ri,t.styles=Bi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
@@ -56,13 +56,13 @@ const p=window,f=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var R;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(x=w.reactiveElementVersions)&&void 0!==x?x:w.reactiveElementVersions=[]).push("1.6.1");const M=window,U=M.trustedTypes,F=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,L="?"+j,B=`<${L}>`,P=document,z=()=>P.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,T="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,K=/>/g,I=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,Z=/"/g,J=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=P.createTreeWalker(P,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=W;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,l=n.exec(i),null!==l);)c=n.lastIndex,n===W?"!--"===l[1]?n=H:void 0!==l[1]?n=K:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=I):void 0!==l[3]&&(n=I):n===I?">"===l[0]?(n=null!=r?r:W,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?I:'"'===l[3]?Z:V):n===Z||n===V?n=I:n===H||n===K?n=W:(n=I,r=void 0);const p=n===I&&t[e+1].startsWith("/>")?" ":"";s+=n===W?i+B:h>=0?(o.push(a),i.slice(0,h)+A+i.slice(h)+j+p):i+j+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(A)||e.startsWith(j)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+A).split(j),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?nt:"?"===e[1]?lt:"@"===e[1]?ht:st})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(j),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],z()),Q.nextNode(),a.push({type:2,index:++r});o.append(t[e],z())}}}else if(8===o.nodeType)if(o.data===L)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(j,t+1));)a.push({type:7,index:r}),t+=j.length-1}r++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var r,s,n,a;if(e===q)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const h=D(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{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){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);Q.currentNode=r;let s=Q.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new rt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ct(s,this,t)),this._$AV.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=Q.nextNode(),n++)}return r}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class rt{constructor(t,e,i,o){var r;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),D(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Y&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new ot(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}T(t){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new rt(this.k(z()),this.k(z()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,i,o,r){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=it(this,t,e,0),s=!D(t)||t!==this._$AH&&t!==q,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=it(this,o[i+n],e,n),a===q&&(a=this._$AH[n]),s||(s=!D(a)||a!==this._$AH[n]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=U?U.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends st{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===q)return;const o=this._$AH,r=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Y&&(o===Y||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{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){it(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(et,rt),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.7.3");
59
+ var R;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(x=w.reactiveElementVersions)&&void 0!==x?x:w.reactiveElementVersions=[]).push("1.6.1");const M=window,U=M.trustedTypes,F=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,L="?"+j,B=`<${L}>`,P=document,D=()=>P.createComment(""),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,T="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,K=/>/g,I=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,Z=/"/g,J=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=P.createTreeWalker(P,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=W;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,l=n.exec(i),null!==l);)c=n.lastIndex,n===W?"!--"===l[1]?n=H:void 0!==l[1]?n=K:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=I):void 0!==l[3]&&(n=I):n===I?">"===l[0]?(n=null!=r?r:W,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?I:'"'===l[3]?Z:V):n===Z||n===V?n=I:n===H||n===K?n=W:(n=I,r=void 0);const p=n===I&&t[e+1].startsWith("/>")?" ":"";s+=n===W?i+B:h>=0?(o.push(a),i.slice(0,h)+A+i.slice(h)+j+p):i+j+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(A)||e.startsWith(j)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+A).split(j),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?nt:"?"===e[1]?lt:"@"===e[1]?ht:st})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(j),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],D()),Q.nextNode(),a.push({type:2,index:++r});o.append(t[e],D())}}}else if(8===o.nodeType)if(o.data===L)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(j,t+1));)a.push({type:7,index:r}),t+=j.length-1}r++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var r,s,n,a;if(e===q)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const h=z(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Co)&&void 0!==n?n:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{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){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);Q.currentNode=r;let s=Q.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new rt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ct(s,this,t)),this._$AV.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=Q.nextNode(),n++)}return r}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class rt{constructor(t,e,i,o){var r;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),z(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Y&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new ot(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}T(t){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new rt(this.k(D()),this.k(D()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,i,o,r){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=it(this,t,e,0),s=!z(t)||t!==this._$AH&&t!==q,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=it(this,o[i+n],e,n),a===q&&(a=this._$AH[n]),s||(s=!z(a)||a!==this._$AH[n]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=U?U.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends st{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===q)return;const o=this._$AH,r=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Y&&(o===Y||r);r&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{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){it(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(et,rt),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.7.3");
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new rt(e.insertBefore(z(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}};ut.finalized=!0,ut._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");class vt{static create(t,e,i){let o=t=>v(null!=t?t:i),r=g`var(${v(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>g`var(${v(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=g`var(${v(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>g`var(${v(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):v(null!=e?e:t.defaultValue),o=g`var(${v(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>g`var(${v(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const gt={colorPrimary:vt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:vt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:vt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:vt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:vt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:vt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vt.create("--ft-color-error","COLOR","#B00020"),colorOutline:vt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:vt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:vt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:vt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:vt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:vt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:vt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:vt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:vt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:vt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:vt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:vt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:vt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:vt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:vt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:vt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:vt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:vt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:vt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:vt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:vt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:vt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:vt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:vt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:vt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:vt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:vt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:vt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:vt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:vt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:vt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:vt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class bt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return b(i,t.elementStyles),i}}var mt,xt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const wt=Symbol("constructorPrototype"),$t=Symbol("constructorName"),Ot=Symbol("exportpartsDebouncer");class St extends bt{constructor(){super(),this[mt]=new e(5),this[$t]=this.constructor.name,this[wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$t]&&Object.setPrototypeOf(this,this[wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ot].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,s,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(n=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var kt,Ct;mt=Ot,xt([o()],St.prototype,"exportpartsPrefix",void 0),xt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!h(t,e),...null!=e?e:{}})}([])],St.prototype,"exportpartsPrefixes",void 0),xt([o()],St.prototype,"customStylesheet",void 0),g`
65
+ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new rt(e.insertBefore(D(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}};ut.finalized=!0,ut._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");class vt{static create(t,e,i){let o=t=>v(null!=t?t:i),r=g`var(${v(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>g`var(${v(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=g`var(${v(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>g`var(${v(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):v(null!=e?e:t.defaultValue),o=g`var(${v(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>g`var(${v(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const gt={colorPrimary:vt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:vt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:vt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:vt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:vt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:vt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vt.create("--ft-color-error","COLOR","#B00020"),colorOutline:vt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:vt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:vt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:vt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:vt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:vt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:vt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:vt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:vt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:vt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:vt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:vt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:vt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:vt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:vt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:vt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:vt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:vt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:vt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:vt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:vt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:vt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:vt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:vt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:vt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:vt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:vt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:vt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:vt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:vt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:vt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:vt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class bt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return b(i,t.elementStyles),i}}var mt,xt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const wt=Symbol("constructorPrototype"),$t=Symbol("constructorName"),Ot=Symbol("exportpartsDebouncer");class St extends bt{constructor(){super(),this[mt]=new e(5),this[$t]=this.constructor.name,this[wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$t]&&Object.setPrototypeOf(this,this[wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ot].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,s,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(n=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var kt,Ct;mt=Ot,xt([o()],St.prototype,"exportpartsPrefix",void 0),xt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!h(t,e),...null!=e?e:{}})}([])],St.prototype,"exportpartsPrefixes",void 0),xt([o()],St.prototype,"customStylesheet",void 0),g`
66
66
  .ft-no-text-select {
67
67
  -webkit-touch-callout: none;
68
68
  -webkit-user-select: none;
@@ -105,7 +105,7 @@ const Nt=1;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
105
105
  * @license
106
106
  * Copyright 2018 Google LLC
107
107
  * SPDX-License-Identifier: BSD-3-Clause
108
- */const Rt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends Et{constructor(t){var e;if(super(t),t.type!==Nt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return q}}),Mt=vt.extend("--ft-ripple-color",gt.colorContent),Ut=Mt,Ft=vt.extend("--ft-ripple-background-color",Mt),At=vt.external(gt.opacityContentOnSurfacePressed,"Design system"),jt=vt.external(gt.opacityContentOnSurfaceHover,"Design system"),Lt=vt.external(gt.opacityContentOnSurfaceFocused,"Design system"),Bt=vt.external(gt.opacityContentOnSurfaceSelected,"Design system"),Pt=vt.create("--ft-ripple-border-radius","SIZE","0px"),zt=vt.extend("--ft-ripple-color",gt.colorPrimary),Dt=zt,_t=vt.extend("--ft-ripple-background-color",zt),Tt=vt.extend("--ft-ripple-color",gt.colorSecondary),Wt=Tt,Ht=vt.extend("--ft-ripple-background-color",Tt),Kt=g`
108
+ */const Rt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends Et{constructor(t){var e;if(super(t),t.type!==Nt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return q}}),Mt=vt.extend("--ft-ripple-color",gt.colorContent),Ut=Mt,Ft=vt.extend("--ft-ripple-background-color",Mt),At=vt.external(gt.opacityContentOnSurfacePressed,"Design system"),jt=vt.external(gt.opacityContentOnSurfaceHover,"Design system"),Lt=vt.external(gt.opacityContentOnSurfaceFocused,"Design system"),Bt=vt.external(gt.opacityContentOnSurfaceSelected,"Design system"),Pt=vt.create("--ft-ripple-border-radius","SIZE","0px"),Dt=vt.extend("--ft-ripple-color",gt.colorPrimary),zt=Dt,_t=vt.extend("--ft-ripple-background-color",Dt),Tt=vt.extend("--ft-ripple-color",gt.colorSecondary),Wt=Tt,Ht=vt.extend("--ft-ripple-background-color",Tt),Kt=g`
109
109
  :host {
110
110
  display: contents;
111
111
  }
@@ -127,6 +127,30 @@ const Nt=1;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
127
127
  opacity: 0;
128
128
  }
129
129
 
130
+ .ft-ripple .ft-ripple--effect {
131
+ aspect-ratio: 1;
132
+ width: auto;
133
+ height: auto;
134
+ min-width: 170%;
135
+ min-height: 170%;
136
+ }
137
+
138
+ .ft-ripple .ft-ripple--background{
139
+ width: 100%;
140
+ height: 100%;
141
+ }
142
+
143
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
144
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
145
+ aspect-ratio: 1;
146
+ width: auto;
147
+ height: auto;
148
+ max-width: unset;
149
+ max-height: unset;
150
+ min-width: 100%;
151
+ min-height: 100%;
152
+ }
153
+
130
154
  .ft-ripple .ft-ripple--background {
131
155
  background-color: ${Ft};
132
156
  }
@@ -148,14 +172,12 @@ const Nt=1;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
148
172
  }
149
173
 
150
174
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
151
- background-color: ${Dt};
175
+ background-color: ${zt};
152
176
  }
153
177
 
154
178
  .ft-ripple .ft-ripple--background {
155
179
  top: 0;
156
180
  left: 0;
157
- height: 100%;
158
- width: 100%;
159
181
  transition: opacity 75ms linear;
160
182
  }
161
183
 
@@ -195,14 +217,8 @@ const Nt=1;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
195
217
  opacity: ${At};
196
218
  transform: translate(-50%, -50%) scale(1);
197
219
  }
198
- `;var It=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Vt extends St{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:r}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=r?r-s.y:s.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(null==t?void 0: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 X`
220
+ `;var It=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Vt extends St{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 e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:r}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=r?r-s.y:s.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(null==t?void 0: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 X`
199
221
  <style>
200
- .ft-ripple .ft-ripple--effect,
201
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
202
- width: ${this.rippleSize}px;
203
- height: ${this.rippleSize}px;
204
- }
205
-
206
222
  .ft-ripple .ft-ripple--effect {
207
223
  left: ${this.originX}px;
208
224
  top: ${this.originY}px;
@@ -212,13 +228,13 @@ const Nt=1;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
212
228
  <div class="ft-ripple--background"></div>
213
229
  <div class="ft-ripple--effect"></div>
214
230
  </div>
215
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),this.setRippleSize()}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");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)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.resizeObserver.disconnect(),this.endRipple()}}Vt.elementDefinitions={},Vt.styles=Kt,It([o({type:Boolean})],Vt.prototype,"primary",void 0),It([o({type:Boolean})],Vt.prototype,"secondary",void 0),It([o({type:Boolean})],Vt.prototype,"unbounded",void 0),It([o({type:Boolean})],Vt.prototype,"activated",void 0),It([o({type:Boolean})],Vt.prototype,"selected",void 0),It([o({type:Boolean})],Vt.prototype,"disabled",void 0),It([r()],Vt.prototype,"hovered",void 0),It([r()],Vt.prototype,"focused",void 0),It([r()],Vt.prototype,"pressed",void 0),It([r()],Vt.prototype,"rippling",void 0),It([r()],Vt.prototype,"rippleSize",void 0),It([r()],Vt.prototype,"originX",void 0),It([r()],Vt.prototype,"originY",void 0),It([n(".ft-ripple")],Vt.prototype,"ripple",void 0),It([n(".ft-ripple--effect")],Vt.prototype,"rippleEffect",void 0),c("ft-ripple")(Vt);
231
+ `}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(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||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;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}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");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)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()}}Vt.elementDefinitions={},Vt.styles=Kt,It([o({type:Boolean})],Vt.prototype,"primary",void 0),It([o({type:Boolean})],Vt.prototype,"secondary",void 0),It([o({type:Boolean})],Vt.prototype,"unbounded",void 0),It([o({type:Boolean})],Vt.prototype,"activated",void 0),It([o({type:Boolean})],Vt.prototype,"selected",void 0),It([o({type:Boolean})],Vt.prototype,"disabled",void 0),It([r()],Vt.prototype,"hovered",void 0),It([r()],Vt.prototype,"focused",void 0),It([r()],Vt.prototype,"pressed",void 0),It([r()],Vt.prototype,"rippling",void 0),It([r()],Vt.prototype,"originX",void 0),It([r()],Vt.prototype,"originY",void 0),It([n(".ft-ripple")],Vt.prototype,"ripple",void 0),It([n(".ft-ripple--effect")],Vt.prototype,"rippleEffect",void 0),c("ft-ripple")(Vt);
216
232
  /**
217
233
  * @license
218
234
  * Copyright 2020 Google LLC
219
235
  * SPDX-License-Identifier: BSD-3-Clause
220
236
  */
221
- const Zt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===Zt)return null==t?void 0:t._$litStatic$},Xt=t=>({_$litStatic$:t,r:Zt}),qt=new Map,Yt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=Jt(s));)l+=r+e[++h],c=!0;h!==o&&a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=qt.get(t))&&(n.raw=n,qt.set(t,e=n)),i=a}return t(e,...i)})(X);var Gt;!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"}(Gt||(Gt={}));const Qt=vt.extend("--ft-typography-font-family",gt.titleFont),te=vt.extend("--ft-typography-font-family",gt.contentFont),ee={fontFamily:te,fontSize:vt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:vt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:vt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:vt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:vt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ie=vt.extend("--ft-typography-title-font-family",Qt),oe=vt.extend("--ft-typography-title-font-size",ee.fontSize,"20px"),re=vt.extend("--ft-typography-title-font-weight",ee.fontWeight,"normal"),se=vt.extend("--ft-typography-title-letter-spacing",ee.letterSpacing,"0.15px"),ne=vt.extend("--ft-typography-title-line-height",ee.lineHeight,"1.2"),ae=vt.extend("--ft-typography-title-text-transform",ee.textTransform,"inherit"),le=vt.extend("--ft-typography-title-dense-font-family",Qt),he=vt.extend("--ft-typography-title-dense-font-size",ee.fontSize,"14px"),ce=vt.extend("--ft-typography-title-dense-font-weight",ee.fontWeight,"normal"),pe=vt.extend("--ft-typography-title-dense-letter-spacing",ee.letterSpacing,"0.105px"),fe=vt.extend("--ft-typography-title-dense-line-height",ee.lineHeight,"1.7"),de=vt.extend("--ft-typography-title-dense-text-transform",ee.textTransform,"inherit"),ue=vt.extend("--ft-typography-subtitle1-font-family",te),ye=vt.extend("--ft-typography-subtitle1-font-size",ee.fontSize,"16px"),ve=vt.extend("--ft-typography-subtitle1-font-weight",ee.fontWeight,"600"),ge=vt.extend("--ft-typography-subtitle1-letter-spacing",ee.letterSpacing,"0.144px"),be=vt.extend("--ft-typography-subtitle1-line-height",ee.lineHeight,"1.5"),me=vt.extend("--ft-typography-subtitle1-text-transform",ee.textTransform,"inherit"),xe=vt.extend("--ft-typography-subtitle2-font-family",te),we=vt.extend("--ft-typography-subtitle2-font-size",ee.fontSize,"14px"),$e=vt.extend("--ft-typography-subtitle2-font-weight",ee.fontWeight,"normal"),Oe=vt.extend("--ft-typography-subtitle2-letter-spacing",ee.letterSpacing,"0.098px"),Se=vt.extend("--ft-typography-subtitle2-line-height",ee.lineHeight,"1.7"),ke=vt.extend("--ft-typography-subtitle2-text-transform",ee.textTransform,"inherit"),Ce=vt.extend("--ft-typography-body1-font-family",te),Ne=vt.extend("--ft-typography-body1-font-size",ee.fontSize,"16px"),Ee=vt.extend("--ft-typography-body1-font-weight",ee.fontWeight,"normal"),Re=vt.extend("--ft-typography-body1-letter-spacing",ee.letterSpacing,"0.496px"),Me=vt.extend("--ft-typography-body1-line-height",ee.lineHeight,"1.5"),Ue=vt.extend("--ft-typography-body1-text-transform",ee.textTransform,"inherit"),Fe=vt.extend("--ft-typography-body2-font-family",te),Ae=vt.extend("--ft-typography-body2-font-size",ee.fontSize,"14px"),je=vt.extend("--ft-typography-body2-font-weight",ee.fontWeight,"normal"),Le=vt.extend("--ft-typography-body2-letter-spacing",ee.letterSpacing,"0.252px"),Be=vt.extend("--ft-typography-body2-line-height",ee.lineHeight,"1.4"),Pe=vt.extend("--ft-typography-body2-text-transform",ee.textTransform,"inherit"),ze=vt.extend("--ft-typography-caption-font-family",te),De=vt.extend("--ft-typography-caption-font-size",ee.fontSize,"12px"),_e=vt.extend("--ft-typography-caption-font-weight",ee.fontWeight,"normal"),Te=vt.extend("--ft-typography-caption-letter-spacing",ee.letterSpacing,"0.396px"),We=vt.extend("--ft-typography-caption-line-height",ee.lineHeight,"1.33"),He=vt.extend("--ft-typography-caption-text-transform",ee.textTransform,"inherit"),Ke=vt.extend("--ft-typography-breadcrumb-font-family",te),Ie=vt.extend("--ft-typography-breadcrumb-font-size",ee.fontSize,"10px"),Ve=vt.extend("--ft-typography-breadcrumb-font-weight",ee.fontWeight,"normal"),Ze=vt.extend("--ft-typography-breadcrumb-letter-spacing",ee.letterSpacing,"0.33px"),Je=vt.extend("--ft-typography-breadcrumb-line-height",ee.lineHeight,"1.6"),Xe=vt.extend("--ft-typography-breadcrumb-text-transform",ee.textTransform,"inherit"),qe=vt.extend("--ft-typography-overline-font-family",te),Ye=vt.extend("--ft-typography-overline-font-size",ee.fontSize,"10px"),Ge=vt.extend("--ft-typography-overline-font-weight",ee.fontWeight,"normal"),Qe=vt.extend("--ft-typography-overline-letter-spacing",ee.letterSpacing,"1.5px"),ti=vt.extend("--ft-typography-overline-line-height",ee.lineHeight,"1.6"),ei=vt.extend("--ft-typography-overline-text-transform",ee.textTransform,"uppercase"),ii=vt.extend("--ft-typography-button-font-family",te),oi=vt.extend("--ft-typography-button-font-size",ee.fontSize,"14px"),ri=vt.extend("--ft-typography-button-font-weight",ee.fontWeight,"600"),si=vt.extend("--ft-typography-button-letter-spacing",ee.letterSpacing,"1.246px"),ni=vt.extend("--ft-typography-button-line-height",ee.lineHeight,"1.15"),ai=vt.extend("--ft-typography-button-text-transform",ee.textTransform,"uppercase"),li=g`
237
+ const Zt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===Zt)return null==t?void 0:t._$litStatic$},Xt=t=>({_$litStatic$:t,r:Zt}),qt=new Map,Yt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=Jt(s));)l+=r+e[++h],c=!0;h!==o&&a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=qt.get(t))&&(n.raw=n,qt.set(t,e=n)),i=a}return t(e,...i)})(X);var Gt;!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"}(Gt||(Gt={}));const Qt=vt.extend("--ft-typography-font-family",gt.titleFont),te=vt.extend("--ft-typography-font-family",gt.contentFont),ee={fontFamily:te,fontSize:vt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:vt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:vt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:vt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:vt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ie=vt.extend("--ft-typography-title-font-family",Qt),oe=vt.extend("--ft-typography-title-font-size",ee.fontSize,"20px"),re=vt.extend("--ft-typography-title-font-weight",ee.fontWeight,"normal"),se=vt.extend("--ft-typography-title-letter-spacing",ee.letterSpacing,"0.15px"),ne=vt.extend("--ft-typography-title-line-height",ee.lineHeight,"1.2"),ae=vt.extend("--ft-typography-title-text-transform",ee.textTransform,"inherit"),le=vt.extend("--ft-typography-title-dense-font-family",Qt),he=vt.extend("--ft-typography-title-dense-font-size",ee.fontSize,"14px"),ce=vt.extend("--ft-typography-title-dense-font-weight",ee.fontWeight,"normal"),pe=vt.extend("--ft-typography-title-dense-letter-spacing",ee.letterSpacing,"0.105px"),fe=vt.extend("--ft-typography-title-dense-line-height",ee.lineHeight,"1.7"),de=vt.extend("--ft-typography-title-dense-text-transform",ee.textTransform,"inherit"),ue=vt.extend("--ft-typography-subtitle1-font-family",te),ye=vt.extend("--ft-typography-subtitle1-font-size",ee.fontSize,"16px"),ve=vt.extend("--ft-typography-subtitle1-font-weight",ee.fontWeight,"600"),ge=vt.extend("--ft-typography-subtitle1-letter-spacing",ee.letterSpacing,"0.144px"),be=vt.extend("--ft-typography-subtitle1-line-height",ee.lineHeight,"1.5"),me=vt.extend("--ft-typography-subtitle1-text-transform",ee.textTransform,"inherit"),xe=vt.extend("--ft-typography-subtitle2-font-family",te),we=vt.extend("--ft-typography-subtitle2-font-size",ee.fontSize,"14px"),$e=vt.extend("--ft-typography-subtitle2-font-weight",ee.fontWeight,"normal"),Oe=vt.extend("--ft-typography-subtitle2-letter-spacing",ee.letterSpacing,"0.098px"),Se=vt.extend("--ft-typography-subtitle2-line-height",ee.lineHeight,"1.7"),ke=vt.extend("--ft-typography-subtitle2-text-transform",ee.textTransform,"inherit"),Ce=vt.extend("--ft-typography-body1-font-family",te),Ne=vt.extend("--ft-typography-body1-font-size",ee.fontSize,"16px"),Ee=vt.extend("--ft-typography-body1-font-weight",ee.fontWeight,"normal"),Re=vt.extend("--ft-typography-body1-letter-spacing",ee.letterSpacing,"0.496px"),Me=vt.extend("--ft-typography-body1-line-height",ee.lineHeight,"1.5"),Ue=vt.extend("--ft-typography-body1-text-transform",ee.textTransform,"inherit"),Fe=vt.extend("--ft-typography-body2-font-family",te),Ae=vt.extend("--ft-typography-body2-font-size",ee.fontSize,"14px"),je=vt.extend("--ft-typography-body2-font-weight",ee.fontWeight,"normal"),Le=vt.extend("--ft-typography-body2-letter-spacing",ee.letterSpacing,"0.252px"),Be=vt.extend("--ft-typography-body2-line-height",ee.lineHeight,"1.4"),Pe=vt.extend("--ft-typography-body2-text-transform",ee.textTransform,"inherit"),De=vt.extend("--ft-typography-caption-font-family",te),ze=vt.extend("--ft-typography-caption-font-size",ee.fontSize,"12px"),_e=vt.extend("--ft-typography-caption-font-weight",ee.fontWeight,"normal"),Te=vt.extend("--ft-typography-caption-letter-spacing",ee.letterSpacing,"0.396px"),We=vt.extend("--ft-typography-caption-line-height",ee.lineHeight,"1.33"),He=vt.extend("--ft-typography-caption-text-transform",ee.textTransform,"inherit"),Ke=vt.extend("--ft-typography-breadcrumb-font-family",te),Ie=vt.extend("--ft-typography-breadcrumb-font-size",ee.fontSize,"10px"),Ve=vt.extend("--ft-typography-breadcrumb-font-weight",ee.fontWeight,"normal"),Ze=vt.extend("--ft-typography-breadcrumb-letter-spacing",ee.letterSpacing,"0.33px"),Je=vt.extend("--ft-typography-breadcrumb-line-height",ee.lineHeight,"1.6"),Xe=vt.extend("--ft-typography-breadcrumb-text-transform",ee.textTransform,"inherit"),qe=vt.extend("--ft-typography-overline-font-family",te),Ye=vt.extend("--ft-typography-overline-font-size",ee.fontSize,"10px"),Ge=vt.extend("--ft-typography-overline-font-weight",ee.fontWeight,"normal"),Qe=vt.extend("--ft-typography-overline-letter-spacing",ee.letterSpacing,"1.5px"),ti=vt.extend("--ft-typography-overline-line-height",ee.lineHeight,"1.6"),ei=vt.extend("--ft-typography-overline-text-transform",ee.textTransform,"uppercase"),ii=vt.extend("--ft-typography-button-font-family",te),oi=vt.extend("--ft-typography-button-font-size",ee.fontSize,"14px"),ri=vt.extend("--ft-typography-button-font-weight",ee.fontWeight,"600"),si=vt.extend("--ft-typography-button-letter-spacing",ee.letterSpacing,"1.246px"),ni=vt.extend("--ft-typography-button-line-height",ee.lineHeight,"1.15"),ai=vt.extend("--ft-typography-button-text-transform",ee.textTransform,"uppercase"),li=g`
222
238
  .ft-typography--title {
223
239
  font-family: ${ie};
224
240
  font-size: ${oe};
@@ -275,8 +291,8 @@ const Zt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===Zt)return null==t?void
275
291
  }
276
292
  `,ui=g`
277
293
  .ft-typography--caption {
278
- font-family: ${ze};
279
- font-size: ${De};
294
+ font-family: ${De};
295
+ font-size: ${ze};
280
296
  font-weight: ${_e};
281
297
  letter-spacing: ${Te};
282
298
  line-height: ${We};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-radio",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "description": "A radio component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-ripple": "1.0.55",
23
- "@fluid-topics/ft-typography": "1.0.55",
24
- "@fluid-topics/ft-wc-utils": "1.0.55",
22
+ "@fluid-topics/ft-ripple": "1.0.57",
23
+ "@fluid-topics/ft-typography": "1.0.57",
24
+ "@fluid-topics/ft-wc-utils": "1.0.57",
25
25
  "lit": "2.7.2"
26
26
  },
27
- "gitHead": "4eca32ed1fec3fd25b6d76b26895a6318cfa8ca2"
27
+ "gitHead": "f4480503246fb16f02f9e0265e15b7e53e09a23a"
28
28
  }