@fluid-topics/ft-checkbox 0.3.71 → 1.0.0-alpha.1

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.
@@ -6,4 +6,3 @@ export declare const FtCheckboxCssVariables: {
6
6
  colorOnSurfaceDisabled: import("@fluid-topics/ft-wc-utils").FtCssVariable;
7
7
  };
8
8
  export declare const styles: import("lit").CSSResult;
9
- //# sourceMappingURL=ft-checkbox.css.d.ts.map
@@ -86,4 +86,3 @@ export const styles = css `
86
86
  opacity: 1;
87
87
  }
88
88
  `;
89
- //# sourceMappingURL=ft-checkbox.css.js.map
@@ -14,4 +14,3 @@ export declare class FtCheckbox extends FtLitElement implements FtCheckboxProper
14
14
  private onChange;
15
15
  protected contentAvailableCallback(props: PropertyValues): void;
16
16
  }
17
- //# sourceMappingURL=ft-checkbox.d.ts.map
@@ -11,7 +11,7 @@ import { classMap } from "lit/directives/class-map.js";
11
11
  import { FtRipple } from "@fluid-topics/ft-ripple";
12
12
  import { FtTypography } from "@fluid-topics/ft-typography";
13
13
  import { styles } from "./ft-checkbox.css";
14
- export class FtCheckbox extends FtLitElement {
14
+ class FtCheckbox extends FtLitElement {
15
15
  constructor() {
16
16
  super(...arguments);
17
17
  this.name = "";
@@ -89,4 +89,4 @@ __decorate([
89
89
  __decorate([
90
90
  query("ft-ripple")
91
91
  ], FtCheckbox.prototype, "ripple", void 0);
92
- //# sourceMappingURL=ft-checkbox.js.map
92
+ export { FtCheckbox };
@@ -104,122 +104,122 @@
104
104
  <div class="ft-ripple--background"></div>
105
105
  <div class="ft-ripple--effect"></div>
106
106
  </div>
107
- `}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((()=>{var t;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}))}setupFor(t){if(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}}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()}}x.elementDefinitions={},x.styles=v,$([o.property({type:Boolean})],x.prototype,"primary",void 0),$([o.property({type:Boolean})],x.prototype,"secondary",void 0),$([o.property({type:Boolean})],x.prototype,"unbounded",void 0),$([o.property({type:Boolean})],x.prototype,"activated",void 0),$([o.property({type:Boolean})],x.prototype,"selected",void 0),$([o.property({type:Boolean})],x.prototype,"disabled",void 0),$([o.state()],x.prototype,"hovered",void 0),$([o.state()],x.prototype,"focused",void 0),$([o.state()],x.prototype,"pressed",void 0),$([o.state()],x.prototype,"rippling",void 0),$([o.state()],x.prototype,"rippleSize",void 0),$([o.state()],x.prototype,"originX",void 0),$([o.state()],x.prototype,"originY",void 0),$([o.query(".ft-ripple")],x.prototype,"ripple",void 0),$([o.query(".ft-ripple--effect")],x.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(x);const k=window,w=k.trustedTypes,z=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,A=`lit$${(Math.random()+"").slice(9)}$`,_="?"+A,O=`<${_}>`,S=document,j=(t="")=>S.createComment(t),C=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,E=/-->/g,M=/>/g,D=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),I=/'/g,R=/"/g,U=/^(?:script|style|textarea|title)$/i,T=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),G=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Z=new WeakMap,F=S.createTreeWalker(S,129,null,!1),H=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=B;for(let i=0;i<e;i++){const e=t[i];let h,p,l=-1,f=0;for(;f<e.length&&(n.lastIndex=f,p=n.exec(e),null!==p);)f=n.lastIndex,n===B?"!--"===p[1]?n=E:void 0!==p[1]?n=M:void 0!==p[2]?(U.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=D):void 0!==p[3]&&(n=D):n===D?">"===p[0]?(n=null!=s?s:B,l=-1):void 0===p[1]?l=-2:(l=n.lastIndex-p[2].length,h=p[1],n=void 0===p[3]?D:'"'===p[3]?R:I):n===R||n===I?n=D:n===E||n===M?n=B:(n=D,s=void 0);const a=n===D&&t[i+1].startsWith("/>")?" ":"";r+=n===B?e+O:l>=0?(o.push(h),e.slice(0,l)+"$lit$"+e.slice(l)+A+a):e+A+(-2===l?(o.push(void 0),i):a)}const h=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(h):h,o]};class K{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,r=0;const n=t.length-1,h=this.parts,[p,l]=H(t,i);if(this.el=K.createElement(p,e),F.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=F.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(A)){const e=l[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(A),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?q:"?"===i[1]?Q:"@"===i[1]?V:Y})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(U.test(o.tagName)){const t=o.textContent.split(A),i=t.length-1;if(i>0){o.textContent=w?w.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),F.nextNode(),h.push({type:2,index:++s});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===_)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(A,t+1));)h.push({type:7,index:s}),t+=A.length-1}s++}}static createElement(t,i){const e=S.createElement("template");return e.innerHTML=t,e}}function P(t,i,e=t,o){var s,r,n,h;if(i===G)return i;let p=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const l=C(i)?void 0:i._$litDirective$;return(null==p?void 0:p.constructor)!==l&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===l?p=void 0:(p=new l(t),p._$AT(t,e,o)),void 0!==o?(null!==(n=(h=e)._$Co)&&void 0!==n?n:h._$Co=[])[o]=p:e._$Cl=p),void 0!==p&&(i=P(t,p._$AS(t,i.values),p,o)),i}class L{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:S).importNode(e,!0);F.currentNode=s;let r=F.nextNode(),n=0,h=0,p=o[0];for(;void 0!==p;){if(n===p.index){let i;2===p.type?i=new X(r,r.nextSibling,this,t):1===p.type?i=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(i=new tt(r,this,t)),this.u.push(i),p=o[++h]}n!==(null==p?void 0:p.index)&&(r=F.nextNode(),n++)}return s}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class X{constructor(t,i,e,o){var s;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=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._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=P(this,t,i),C(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==G&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>N(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==W&&C(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.p(e);else{const t=new L(s,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=Z.get(t.strings);return void 0===i&&Z.set(t.strings,i=new K(t)),i}k(t){N(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 X(this.O(j()),this.O(j()),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._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Y{constructor(t,i,e,o,s){this.type=1,this._$AH=W,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=W}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=P(this,t,i,0),r=!C(t)||t!==this._$AH&&t!==G,r&&(this._$AH=t);else{const o=t;let n,h;for(t=s[0],n=0;n<s.length-1;n++)h=P(this,o[e+n],i,n),h===G&&(h=this._$AH[n]),r||(r=!C(h)||h!==this._$AH[n]),h===W?t=W:t!==W&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends Y{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}}const J=w?w.emptyScript:"";class Q extends Y{constructor(){super(...arguments),this.type=4}j(t){t&&t!==W?this.element.setAttribute(this.name,J):this.element.removeAttribute(this.name)}}class V extends Y{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=P(this,t,i,0))&&void 0!==e?e:W)===G)return;const o=this._$AH,s=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==W&&(o===W||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 tt{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){P(this,t)}}const it=k.litHtmlPolyfillSupport;null==it||it(K,X),(null!==(m=k.litHtmlVersions)&&void 0!==m?m:k.litHtmlVersions=[]).push("2.4.0");
107
+ `}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((()=>{var t;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}))}setupFor(t){if(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}}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()}}x.elementDefinitions={},x.styles=v,$([o.property({type:Boolean})],x.prototype,"primary",void 0),$([o.property({type:Boolean})],x.prototype,"secondary",void 0),$([o.property({type:Boolean})],x.prototype,"unbounded",void 0),$([o.property({type:Boolean})],x.prototype,"activated",void 0),$([o.property({type:Boolean})],x.prototype,"selected",void 0),$([o.property({type:Boolean})],x.prototype,"disabled",void 0),$([o.state()],x.prototype,"hovered",void 0),$([o.state()],x.prototype,"focused",void 0),$([o.state()],x.prototype,"pressed",void 0),$([o.state()],x.prototype,"rippling",void 0),$([o.state()],x.prototype,"rippleSize",void 0),$([o.state()],x.prototype,"originX",void 0),$([o.state()],x.prototype,"originY",void 0),$([o.query(".ft-ripple")],x.prototype,"ripple",void 0),$([o.query(".ft-ripple--effect")],x.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(x);const k=window,w=k.trustedTypes,z=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,S="?"+_,C=`<${S}>`,N=document,j=()=>N.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,E=Array.isArray,O="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,I=/>/g,R=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,T=/"/g,G=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),Z=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),H=new WeakMap,K=N.createTreeWalker(N,129,null,!1),P=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=M;for(let i=0;i<e;i++){const e=t[i];let h,p,l=-1,f=0;for(;f<e.length&&(n.lastIndex=f,p=n.exec(e),null!==p);)f=n.lastIndex,n===M?"!--"===p[1]?n=D:void 0!==p[1]?n=I:void 0!==p[2]?(G.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=R):void 0!==p[3]&&(n=R):n===R?">"===p[0]?(n=null!=s?s:M,l=-1):void 0===p[1]?l=-2:(l=n.lastIndex-p[2].length,h=p[1],n=void 0===p[3]?R:'"'===p[3]?T:U):n===T||n===U?n=R:n===D||n===I?n=M:(n=R,s=void 0);const a=n===R&&t[i+1].startsWith("/>")?" ":"";r+=n===M?e+C:l>=0?(o.push(h),e.slice(0,l)+A+e.slice(l)+_+a):e+_+(-2===l?(o.push(void 0),i):a)}const h=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(h):h,o]};class L{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,r=0;const n=t.length-1,h=this.parts,[p,l]=P(t,i);if(this.el=L.createElement(p,e),K.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=K.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(A)||i.startsWith(_)){const e=l[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+A).split(_),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?Q:"?"===i[1]?tt:"@"===i[1]?it:J})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(G.test(o.tagName)){const t=o.textContent.split(_),i=t.length-1;if(i>0){o.textContent=w?w.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),K.nextNode(),h.push({type:2,index:++s});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===S)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(_,t+1));)h.push({type:7,index:s}),t+=_.length-1}s++}}static createElement(t,i){const e=N.createElement("template");return e.innerHTML=t,e}}function X(t,i,e=t,o){var s,r,n,h;if(i===Z)return i;let p=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const l=B(i)?void 0:i._$litDirective$;return(null==p?void 0:p.constructor)!==l&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===l?p=void 0:(p=new l(t),p._$AT(t,e,o)),void 0!==o?(null!==(n=(h=e)._$Co)&&void 0!==n?n:h._$Co=[])[o]=p:e._$Cl=p),void 0!==p&&(i=X(t,p._$AS(t,i.values),p,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:N).importNode(e,!0);K.currentNode=s;let r=K.nextNode(),n=0,h=0,p=o[0];for(;void 0!==p;){if(n===p.index){let i;2===p.type?i=new q(r,r.nextSibling,this,t):1===p.type?i=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(i=new et(r,this,t)),this._$AV.push(i),p=o[++h]}n!==(null==p?void 0:p.index)&&(r=K.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=F,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),B(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>E(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!==F&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(N.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=L.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=H.get(t.strings);return void 0===i&&H.set(t.strings,i=new L(t)),i}T(t){E(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(j()),this.k(j()),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=F,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=F}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=!B(t)||t!==this._$AH&&t!==Z,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===Z&&(h=this._$AH[n]),r||(r=!B(h)||h!==this._$AH[n]),h===F?t=F:t!==F&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.j(t)}j(t){t===F?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===F?void 0:t}}const V=w?w.emptyScript:"";class tt extends J{constructor(){super(...arguments),this.type=4}j(t){t&&t!==F?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class it 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:F)===Z)return;const o=this._$AH,s=t===F&&o!==F||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==F&&(o===F||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 et{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 ot=k.litHtmlPolyfillSupport;null==ot||ot(L,q),(null!==(m=k.litHtmlVersions)&&void 0!==m?m:k.litHtmlVersions=[]).push("2.7.3");
108
108
  /**
109
109
  * @license
110
110
  * Copyright 2020 Google LLC
111
111
  * SPDX-License-Identifier: BSD-3-Clause
112
112
  */
113
- const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void 0:t._$litStatic$},st=t=>({_$litStatic$:t,r:et}),rt=new Map,nt=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],h=[];let p,l=0,f=!1;for(;l<o;){for(p=i[l];l<o&&void 0!==(r=e[l],s=ot(r));)p+=s+i[++l],f=!0;h.push(r),n.push(p),l++}if(l===o&&n.push(i[o]),f){const t=n.join("$$lit$$");void 0===(i=rt.get(t))&&(n.raw=n,rt.set(t,i=n)),e=h}return t(i,...e)})(T);var ht;!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"}(ht||(ht={}));const pt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),lt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ft={fontFamily:lt,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")},at=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",pt),ct=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ft.fontSize,"20px"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ft.fontWeight,"normal"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ft.letterSpacing,"0.15px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ft.lineHeight,"1.2"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ft.textTransform,"inherit"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",pt),vt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ft.fontSize,"14px"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ft.fontWeight,"normal"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ft.letterSpacing,"0.105px"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ft.lineHeight,"1.7"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ft.textTransform,"inherit"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",lt),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ft.fontSize,"16px"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ft.fontWeight,"600"),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ft.letterSpacing,"0.144px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ft.lineHeight,"1.5"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ft.textTransform,"inherit"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",lt),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ft.fontSize,"14px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ft.fontWeight,"normal"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ft.letterSpacing,"0.098px"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ft.lineHeight,"1.7"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ft.textTransform,"inherit"),Dt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",lt),It=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ft.fontSize,"16px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ft.fontWeight,"normal"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ft.letterSpacing,"0.496px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ft.lineHeight,"1.5"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ft.textTransform,"inherit"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",lt),Zt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ft.fontSize,"14px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ft.fontWeight,"normal"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ft.letterSpacing,"0.252px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ft.lineHeight,"1.4"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ft.textTransform,"inherit"),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",lt),Xt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ft.fontSize,"12px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ft.fontWeight,"normal"),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ft.letterSpacing,"0.396px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ft.lineHeight,"1.33"),Qt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ft.textTransform,"inherit"),Vt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",lt),ti=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ft.fontSize,"10px"),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ft.fontWeight,"normal"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ft.letterSpacing,"0.33px"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ft.lineHeight,"1.6"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ft.textTransform,"inherit"),ri=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",lt),ni=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ft.fontSize,"10px"),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ft.fontWeight,"normal"),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ft.letterSpacing,"1.5px"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ft.lineHeight,"1.6"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ft.textTransform,"uppercase"),ai=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",lt),ci=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ft.fontSize,"14px"),di=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ft.fontWeight,"600"),yi=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ft.letterSpacing,"1.246px"),ui=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ft.lineHeight,"1.15"),gi=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ft.textTransform,"uppercase"),bi=e.css`
113
+ const st=Symbol.for(""),rt=t=>{if((null==t?void 0:t.r)===st)return null==t?void 0:t._$litStatic$},nt=t=>({_$litStatic$:t,r:st}),ht=new Map,pt=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],h=[];let p,l=0,f=!1;for(;l<o;){for(p=i[l];l<o&&void 0!==(r=e[l],s=rt(r));)p+=s+i[++l],f=!0;l!==o&&h.push(r),n.push(p),l++}if(l===o&&n.push(i[o]),f){const t=n.join("$$lit$$");void 0===(i=ht.get(t))&&(n.raw=n,ht.set(t,i=n)),e=h}return t(i,...e)})(W);var lt;!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"}(lt||(lt={}));const ft=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),at=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ct={fontFamily:at,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")},dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ft),yt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),gt=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"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ft),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),xt=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"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"1.7"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",at),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"1.5"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",at),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"1.7"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",at),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ct.lineHeight,"1.5"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",at),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Lt=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",at),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"),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ct.lineHeight,"1.33"),ti=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",at),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),ri=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"1.6"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",at),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ct.lineHeight,"1.6"),ci=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),di=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",at),yi=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),ui=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),gi=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"),vi=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),mi=e.css`
114
114
  .ft-typography--title {
115
- font-family: ${at};
116
- font-size: ${ct};
117
- font-weight: ${dt};
118
- letter-spacing: ${yt};
119
- line-height: ${ut};
120
- text-transform: ${gt};
121
- }
122
- `,vi=e.css`
123
- .ft-typography--title-dense {
124
- font-family: ${bt};
125
- font-size: ${vt};
126
- font-weight: ${mt};
127
- letter-spacing: ${$t};
128
- line-height: ${xt};
129
- text-transform: ${kt};
130
- }
131
- `,mi=e.css`
132
- .ft-typography--subtitle1 {
133
- font-family: ${wt};
134
- font-size: ${zt};
135
- font-weight: ${At};
136
- letter-spacing: ${_t};
137
- line-height: ${Ot};
138
- text-transform: ${St};
115
+ font-family: ${dt};
116
+ font-size: ${yt};
117
+ font-weight: ${ut};
118
+ letter-spacing: ${gt};
119
+ line-height: ${bt};
120
+ text-transform: ${vt};
139
121
  }
140
122
  `,$i=e.css`
141
- .ft-typography--subtitle2 {
142
- font-family: ${jt};
143
- font-size: ${Ct};
144
- font-weight: ${Nt};
145
- letter-spacing: ${Bt};
146
- line-height: ${Et};
147
- text-transform: ${Mt};
123
+ .ft-typography--title-dense {
124
+ font-family: ${mt};
125
+ font-size: ${$t};
126
+ font-weight: ${xt};
127
+ letter-spacing: ${kt};
128
+ line-height: ${wt};
129
+ text-transform: ${zt};
148
130
  }
149
-
150
131
  `,xi=e.css`
151
- .ft-typography--body1 {
152
- font-family: ${Dt};
153
- font-size: ${It};
154
- font-weight: ${Rt};
155
- letter-spacing: ${Ut};
156
- line-height: ${Tt};
157
- text-transform: ${Gt};
132
+ .ft-typography--subtitle1 {
133
+ font-family: ${At};
134
+ font-size: ${_t};
135
+ font-weight: ${St};
136
+ letter-spacing: ${Ct};
137
+ line-height: ${Nt};
138
+ text-transform: ${jt};
158
139
  }
159
140
  `,ki=e.css`
160
- .ft-typography--body2 {
161
- font-family: ${Wt};
162
- font-size: ${Zt};
163
- font-weight: ${Ft};
164
- letter-spacing: ${Ht};
165
- line-height: ${Kt};
166
- text-transform: ${Pt};
141
+ .ft-typography--subtitle2 {
142
+ font-family: ${Bt};
143
+ font-size: ${Et};
144
+ font-weight: ${Ot};
145
+ letter-spacing: ${Mt};
146
+ line-height: ${Dt};
147
+ text-transform: ${It};
167
148
  }
149
+
168
150
  `,wi=e.css`
169
- .ft-typography--caption {
170
- font-family: ${Lt};
171
- font-size: ${Xt};
172
- font-weight: ${Yt};
173
- letter-spacing: ${qt};
174
- line-height: ${Jt};
175
- text-transform: ${Qt};
151
+ .ft-typography--body1 {
152
+ font-family: ${Rt};
153
+ font-size: ${Ut};
154
+ font-weight: ${Tt};
155
+ letter-spacing: ${Gt};
156
+ line-height: ${Wt};
157
+ text-transform: ${Zt};
176
158
  }
177
159
  `,zi=e.css`
178
- .ft-typography--breadcrumb {
179
- font-family: ${Vt};
180
- font-size: ${ti};
181
- font-weight: ${ii};
182
- letter-spacing: ${ei};
183
- line-height: ${oi};
184
- text-transform: ${si};
160
+ .ft-typography--body2 {
161
+ font-family: ${Ft};
162
+ font-size: ${Ht};
163
+ font-weight: ${Kt};
164
+ letter-spacing: ${Pt};
165
+ line-height: ${Lt};
166
+ text-transform: ${Xt};
185
167
  }
186
168
  `,Ai=e.css`
187
- .ft-typography--overline {
188
- font-family: ${ri};
189
- font-size: ${ni};
190
- font-weight: ${hi};
191
- letter-spacing: ${pi};
192
- line-height: ${li};
193
- text-transform: ${fi};
169
+ .ft-typography--caption {
170
+ font-family: ${Yt};
171
+ font-size: ${qt};
172
+ font-weight: ${Jt};
173
+ letter-spacing: ${Qt};
174
+ line-height: ${Vt};
175
+ text-transform: ${ti};
194
176
  }
195
177
  `,_i=e.css`
178
+ .ft-typography--breadcrumb {
179
+ font-family: ${ii};
180
+ font-size: ${ei};
181
+ font-weight: ${oi};
182
+ letter-spacing: ${si};
183
+ line-height: ${ri};
184
+ text-transform: ${ni};
185
+ }
186
+ `,Si=e.css`
187
+ .ft-typography--overline {
188
+ font-family: ${hi};
189
+ font-size: ${pi};
190
+ font-weight: ${li};
191
+ letter-spacing: ${fi};
192
+ line-height: ${ai};
193
+ text-transform: ${ci};
194
+ }
195
+ `,Ci=e.css`
196
196
  .ft-typography--button {
197
- font-family: ${ai};
198
- font-size: ${ci};
199
- font-weight: ${di};
200
- letter-spacing: ${yi};
201
- line-height: ${ui};
202
- text-transform: ${gi};
203
- }
204
- `,Oi=e.css`
197
+ font-family: ${di};
198
+ font-size: ${yi};
199
+ font-weight: ${ui};
200
+ letter-spacing: ${gi};
201
+ line-height: ${bi};
202
+ text-transform: ${vi};
203
+ }
204
+ `,Ni=e.css`
205
205
  .ft-typography {
206
206
  vertical-align: inherit;
207
207
  }
208
- `;var Si=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,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 ji extends i.FtLitElement{constructor(){super(...arguments),this.variant=ht.body1}render(){return this.element?nt`
209
- <${st(this.element)}
208
+ `;var ji=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 Bi extends i.FtLitElement{constructor(){super(...arguments),this.variant=lt.body1}render(){return this.element?pt`
209
+ <${nt(this.element)}
210
210
  class="ft-typography ft-typography--${this.variant}">
211
211
  <slot></slot>
212
- </${st(this.element)}>
213
- `:nt`
212
+ </${nt(this.element)}>
213
+ `:pt`
214
214
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
215
- `}}ji.styles=[bi,vi,mi,$i,xi,ki,wi,zi,Ai,_i,Oi],Si([o.property()],ji.prototype,"element",void 0),Si([o.property()],ji.prototype,"variant",void 0),i.customElement("ft-typography")(ji);const Ci={textColor:i.FtCssVariableFactory.extend("--ft-checkbox-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-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Ni=e.css`
215
+ `}}Bi.styles=[mi,$i,xi,ki,wi,zi,Ai,_i,Si,Ci,Ni],ji([o.property()],Bi.prototype,"element",void 0),ji([o.property()],Bi.prototype,"variant",void 0),i.customElement("ft-typography")(Bi);const Ei={textColor:i.FtCssVariableFactory.extend("--ft-checkbox-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-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Oi=e.css`
216
216
  * {
217
217
  box-sizing: border-box;
218
218
  }
219
219
 
220
220
  .ft-checkbox {
221
221
  box-sizing: border-box;
222
- color: ${Ci.textColor};
222
+ color: ${Ei.textColor};
223
223
 
224
224
  display: inline-flex;
225
225
  align-items: center;
@@ -227,7 +227,7 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
227
227
  }
228
228
 
229
229
  .ft-checkbox--disabled {
230
- color: ${Ci.colorOnSurfaceDisabled};
230
+ color: ${Ei.colorOnSurfaceDisabled};
231
231
  }
232
232
 
233
233
  input {
@@ -251,26 +251,26 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
251
251
 
252
252
  .ft-checkbox--box {
253
253
  display: flex;
254
- border: 2px solid ${Ci.borderColor};
254
+ border: 2px solid ${Ei.borderColor};
255
255
  border-radius: 2px;
256
256
 
257
257
  width: 18px;
258
258
  height: 18px;
259
259
 
260
- color: ${Ci.colorOnPrimary};
260
+ color: ${Ei.colorOnPrimary};
261
261
  }
262
262
 
263
263
 
264
264
  .ft-checkbox--checked .ft-checkbox--box,
265
265
  .ft-checkbox--indeterminate .ft-checkbox--box {
266
- border-color: ${Ci.colorPrimary};
267
- background-color: ${Ci.colorPrimary};
266
+ border-color: ${Ei.colorPrimary};
267
+ background-color: ${Ei.colorPrimary};
268
268
  }
269
269
 
270
270
  .ft-checkbox--disabled .ft-checkbox--box {
271
- border-color: ${Ci.colorOnSurfaceDisabled};
271
+ border-color: ${Ei.colorOnSurfaceDisabled};
272
272
  background-color: transparent;
273
- color: ${Ci.colorOnSurfaceDisabled};
273
+ color: ${Ei.colorOnSurfaceDisabled};
274
274
  }
275
275
 
276
276
  .ft-checkbox--checkmark {
@@ -289,7 +289,7 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
289
289
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
290
290
  opacity: 1;
291
291
  }
292
- `;var Bi=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 Ei extends i.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return e.html`
292
+ `;var Mi=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};class Di extends i.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return e.html`
293
293
  <label class="${s.classMap(t)}" for="checkbox-input">
294
294
  <div class="ft-checkbox--box-container">
295
295
  <ft-ripple
@@ -315,4 +315,4 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
315
315
  <slot></slot>
316
316
  </ft-typography>
317
317
  </label>
318
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}}Ei.elementDefinitions={"ft-ripple":x,"ft-typography":ji},Ei.styles=Ni,Bi([o.property()],Ei.prototype,"name",void 0),Bi([o.property({type:Boolean,reflect:!0})],Ei.prototype,"checked",void 0),Bi([o.property({type:Boolean})],Ei.prototype,"indeterminate",void 0),Bi([o.property({type:Boolean})],Ei.prototype,"disabled",void 0),Bi([o.query(".ft-checkbox")],Ei.prototype,"container",void 0),Bi([o.query("ft-ripple")],Ei.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Ei),t.FtCheckbox=Ei,t.FtCheckboxCssVariables=Ci,t.styles=Ni,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
318
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}}Di.elementDefinitions={"ft-ripple":x,"ft-typography":Bi},Di.styles=Oi,Mi([o.property()],Di.prototype,"name",void 0),Mi([o.property({type:Boolean,reflect:!0})],Di.prototype,"checked",void 0),Mi([o.property({type:Boolean})],Di.prototype,"indeterminate",void 0),Mi([o.property({type:Boolean})],Di.prototype,"disabled",void 0),Mi([o.query(".ft-checkbox")],Di.prototype,"container",void 0),Mi([o.query("ft-ripple")],Di.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Di),t.FtCheckbox=Di,t.FtCheckboxCssVariables=Ei,t.styles=Oi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(n.set(r,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)s.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?d(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Lt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(n.set(r,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)s.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?d(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const v=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Kt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -46,34 +46,24 @@ function s(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var r;if(void 0===o)
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const h=window,c=h.ShadowRoot&&(void 0===h.ShadyCSS||h.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),f=new WeakMap;class u{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(c&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=f.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&f.set(e,t))}return t}toString(){return this.cssText}}const d=t=>new u("string"==typeof t?t:t+"",void 0,p),y=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new u(i,t,p)},b=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=h.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},v=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
49
+ const h=window,c=h.ShadowRoot&&(void 0===h.ShadyCSS||h.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),f=new WeakMap;let u=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(c&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=f.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&f.set(e,t))}return t}toString(){return this.cssText}};const d=t=>new u("string"==typeof t?t:t+"",void 0,p),y=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new u(i,t,p)},b=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=h.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},v=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;var g;const m=window,x=m.trustedTypes,w=x?x.emptyScript:"",$=m.reactiveElementPolyfillSupport,O={toAttribute(t,e){switch(e){case Boolean:t=t?w:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},k=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:k};class C extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(v(t))}else void 0!==t&&e.push(v(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return b(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=S){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:O).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:O;this._$El=r,this[r]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||k)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
54
+ */;var g;const m=window,x=m.trustedTypes,w=x?x.emptyScript:"",$=m.reactiveElementPolyfillSupport,O={toAttribute(t,e){switch(e){case Boolean:t=t?w:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},k=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:k};let N=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=S){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(v(t))}else void 0!==t&&e.push(v(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return b(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=S){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:O).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:O;this._$El=r,this[r]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||k)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- var N;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:C}),(null!==(g=m.reactiveElementVersions)&&void 0!==g?g:m.reactiveElementVersions=[]).push("1.4.1");const E=window,R=E.trustedTypes,M=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,U=`lit$${(Math.random()+"").slice(9)}$`,F="?"+U,j=`<${F}>`,A=document,z=(t="")=>A.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,D=/>/g,T=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,H=/"/g,K=/^(?:script|style|textarea|title)$/i,I=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),J=new WeakMap,X=A.createTreeWalker(A,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=P;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===P?"!--"===l[1]?n=_:void 0!==l[1]?n=D:void 0!==l[2]?(K.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=T):void 0!==l[3]&&(n=T):n===T?">"===l[0]?(n=null!=r?r:P,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?T:'"'===l[3]?H:W):n===H||n===W?n=T:n===_||n===D?n=P:(n=T,r=void 0);const p=n===T&&t[e+1].startsWith("/>")?" ":"";s+=n===P?i+j:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+U+p):i+U+(-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!==M?M.createHTML(a):a,o]};class Y{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]=q(t,e);if(this.el=Y.createElement(l,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=X.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(U)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(U),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?it:"?"===e[1]?rt:"@"===e[1]?st:et})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(U),e=t.length-1;if(e>0){o.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],z()),X.nextNode(),a.push({type:2,index:++r});o.append(t[e],z())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(U,t+1));)a.push({type:7,index:r}),t+=U.length-1}r++}}static createElement(t,e){const i=A.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,o){var r,s,n,a;if(e===Z)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const h=B(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=G(t,l._$AS(t,e.values),l,o)),e}class Q{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:A).importNode(i,!0);X.currentNode=r;let s=X.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new tt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new nt(s,this,t)),this.u.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=X.nextNode(),n++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class tt{constructor(t,e,i,o){var r;this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=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._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),B(t)?t===V||null==t||""===t?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==Z&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>L(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==V&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new Q(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new Y(t)),e}k(t){L(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 tt(this.O(z()),this.O(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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class et{constructor(t,e,i,o,r){this.type=1,this._$AH=V,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=V}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=G(this,t,e,0),s=!B(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=G(this,o[i+n],e,n),a===Z&&(a=this._$AH[n]),s||(s=!B(a)||a!==this._$AH[n]),a===V?t=V:t!==V&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===V?void 0:t}}const ot=R?R.emptyScript:"";class rt extends et{constructor(){super(...arguments),this.type=4}j(t){t&&t!==V?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class st extends et{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=G(this,t,e,0))&&void 0!==i?i:V)===Z)return;const o=this._$AH,r=t===V&&o!==V||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==V&&(o===V||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 nt{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){G(this,t)}}const at=E.litHtmlPolyfillSupport;null==at||at(Y,tt),(null!==(N=E.litHtmlVersions)&&void 0!==N?N:E.litHtmlVersions=[]).push("2.4.0");
60
+ var C;N.finalized=!0,N.elementProperties=new Map,N.elementStyles=[],N.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:N}),(null!==(g=m.reactiveElementVersions)&&void 0!==g?g:m.reactiveElementVersions=[]).push("1.6.1");const E=window,R=E.trustedTypes,M=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,U="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,j="?"+F,A=`<${j}>`,z=document,B=()=>z.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,D="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,W=/>/g,H=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,I=/"/g,Z=/^(?:script|style|textarea|title)$/i,V=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),J=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),q=new WeakMap,Y=z.createTreeWalker(z,129,null,!1),G=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=_;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===_?"!--"===l[1]?n=T:void 0!==l[1]?n=W:void 0!==l[2]?(Z.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=H):void 0!==l[3]&&(n=H):n===H?">"===l[0]?(n=null!=r?r:_,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?H:'"'===l[3]?I:K):n===I||n===K?n=H:n===T||n===W?n=_:(n=H,r=void 0);const p=n===H&&t[e+1].startsWith("/>")?" ":"";s+=n===_?i+A:h>=0?(o.push(a),i.slice(0,h)+U+i.slice(h)+F+p):i+F+(-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!==M?M.createHTML(a):a,o]};class Q{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]=G(t,e);if(this.el=Q.createElement(l,i),Y.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Y.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(U)||e.startsWith(F)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+U).split(F),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?nt:"@"===e[1]?at:ot})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(Z.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],B()),Y.nextNode(),a.push({type:2,index:++r});o.append(t[e],B())}}}else if(8===o.nodeType)if(o.data===j)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)a.push({type:7,index:r}),t+=F.length-1}r++}}static createElement(t,e){const i=z.createElement("template");return i.innerHTML=t,i}}function tt(t,e,i=t,o){var r,s,n,a;if(e===J)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const h=L(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=tt(t,l._$AS(t,e.values),l,o)),e}class et{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:z).importNode(i,!0);Y.currentNode=r;let s=Y.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new it(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new lt(s,this,t)),this._$AV.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(s=Y.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 it{constructor(t,e,i,o){var r;this.type=2,this._$AH=X,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=tt(this,t,e),L(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(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!==X&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(z.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=Q.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 et(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new Q(t)),e}T(t){P(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 it(this.k(B()),this.k(B()),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 ot{constructor(t,e,i,o,r){this.type=1,this._$AH=X,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=X}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=tt(this,t,e,0),s=!L(t)||t!==this._$AH&&t!==J,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=tt(this,o[i+n],e,n),a===J&&(a=this._$AH[n]),s||(s=!L(a)||a!==this._$AH[n]),a===X?t=X:t!==X&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}}const st=R?R.emptyScript:"";class nt extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class at extends ot{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=tt(this,t,e,0))&&void 0!==i?i:X)===J)return;const o=this._$AH,r=t===X&&o!==X||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==X&&(o===X||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 lt{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){tt(this,t)}}const ht=E.litHtmlPolyfillSupport;null==ht||ht(Q,it),(null!==(C=E.litHtmlVersions)&&void 0!==C?C:E.litHtmlVersions=[]).push("2.7.3");
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
65
  */
66
- var lt,ht;class ct extends C{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 tt(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 Z}}ct.finalized=!0,ct._$litElement$=!0,null===(lt=globalThis.litElementHydrateSupport)||void 0===lt||lt.call(globalThis,{LitElement:ct});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:ct}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.2.2");class ft{static create(t,e,i){let o=t=>d(null!=t?t:i),r=y`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${d(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=y`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${d(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):d(null!=e?e:t.defaultValue),o=y`var(${d(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=>y`var(${d(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 ut={colorPrimary:ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
67
- /**
68
- * @license
69
- * Copyright 2021 Google LLC
70
- * SPDX-License-Identifier: BSD-3-Clause
71
- */var dt,yt,bt=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(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return b(r,this.constructor.elementStyles),r}}}(ct)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),I`
72
- ${t.map((t=>I`
73
- <style>${t}</style>
74
- `))}
75
- ${this.getTemplate()}
76
- `}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.exportpartsDebouncer.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(", "))}}bt([o()],vt.prototype,"exportpartsPrefix",void 0),bt([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)=>!a(t,e),...null!=e?e:{}})}([])],vt.prototype,"exportpartsPrefixes",void 0),bt([o()],vt.prototype,"customStylesheet",void 0),y`
66
+ var ct,pt;let ft=class extends N{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 it(e.insertBefore(B(),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 J}};ft.finalized=!0,ft._$litElement$=!0,null===(ct=globalThis.litElementHydrateSupport)||void 0===ct||ct.call(globalThis,{LitElement:ft});const ut=globalThis.litElementPolyfillSupport;null==ut||ut({LitElement:ft}),(null!==(pt=globalThis.litElementVersions)&&void 0!==pt?pt:globalThis.litElementVersions=[]).push("3.3.2");class dt{static create(t,e,i){let o=t=>d(null!=t?t:i),r=y`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${d(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=y`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${d(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):d(null!=e?e:t.defaultValue),o=y`var(${d(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=>y`var(${d(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 yt={colorPrimary:dt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:dt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:dt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:dt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:dt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:dt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dt.create("--ft-color-error","COLOR","#B00020"),colorOutline:dt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:dt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:dt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:dt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:dt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:dt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:dt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:dt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:dt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:dt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:dt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:dt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:dt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:dt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:dt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:dt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.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:dt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:dt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:dt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:dt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class bt extends ft{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 vt,gt=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 mt=Symbol("constructorPrototype"),xt=Symbol("constructorName"),wt=Symbol("exportpartsDebouncer");class $t extends bt{constructor(){super(),this[vt]=new e(5),this[xt]=this.constructor.name,this[mt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xt]&&Object.setPrototypeOf(this,this[mt])}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[wt].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 Ot,kt;vt=wt,gt([o()],$t.prototype,"exportpartsPrefix",void 0),gt([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)=>!a(t,e),...null!=e?e:{}})}([])],$t.prototype,"exportpartsPrefixes",void 0),gt([o()],$t.prototype,"customStylesheet",void 0),y`
77
67
  .ft-no-text-select {
78
68
  -webkit-touch-callout: none;
79
69
  -webkit-user-select: none;
@@ -105,18 +95,18 @@ var lt,ht;class ct extends C{constructor(){super(...arguments),this.renderOption
105
95
  display: inline-block;
106
96
  width: 0;
107
97
  }
108
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(yt=null===(dt=window.safari)||void 0===dt?void 0:dt.pushNotification)||void 0===yt||yt.toString());
98
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(kt=null===(Ot=window.safari)||void 0===Ot?void 0:Ot.pushNotification)||void 0===kt||kt.toString());
109
99
  /**
110
100
  * @license
111
101
  * Copyright 2017 Google LLC
112
102
  * SPDX-License-Identifier: BSD-3-Clause
113
103
  */
114
- const gt=1;class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
104
+ const St=1;class Nt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
115
105
  /**
116
106
  * @license
117
107
  * Copyright 2018 Google LLC
118
108
  * SPDX-License-Identifier: BSD-3-Clause
119
- */const xt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends mt{constructor(t){var e;if(super(t),t.type!==gt||"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.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return Z}}),wt=ft.extend("--ft-ripple-color",ut.colorContent),$t=wt,Ot=ft.extend("--ft-ripple-background-color",wt),kt=ft.external(ut.opacityContentOnSurfacePressed,"Design system"),St=ft.external(ut.opacityContentOnSurfaceHover,"Design system"),Ct=ft.external(ut.opacityContentOnSurfaceFocused,"Design system"),Nt=ft.external(ut.opacityContentOnSurfaceSelected,"Design system"),Et=ft.extend("--ft-ripple-color",ut.colorPrimary),Rt=Et,Mt=ft.extend("--ft-ripple-background-color",Et),Ut=ft.extend("--ft-ripple-color",ut.colorSecondary),Ft=Ut,jt=ft.extend("--ft-ripple-background-color",Ut),At=y`
109
+ */const Ct=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends Nt{constructor(t){var e;if(super(t),t.type!==St||"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 J}}),Et=dt.extend("--ft-ripple-color",yt.colorContent),Rt=Et,Mt=dt.extend("--ft-ripple-background-color",Et),Ut=dt.external(yt.opacityContentOnSurfacePressed,"Design system"),Ft=dt.external(yt.opacityContentOnSurfaceHover,"Design system"),jt=dt.external(yt.opacityContentOnSurfaceFocused,"Design system"),At=dt.external(yt.opacityContentOnSurfaceSelected,"Design system"),zt=dt.extend("--ft-ripple-color",yt.colorPrimary),Bt=zt,Lt=dt.extend("--ft-ripple-background-color",zt),Pt=dt.extend("--ft-ripple-color",yt.colorSecondary),Dt=Pt,_t=dt.extend("--ft-ripple-background-color",Pt),Tt=y`
120
110
  :host {
121
111
  display: contents;
122
112
  }
@@ -138,27 +128,27 @@ const gt=1;class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
138
128
  }
139
129
 
140
130
  .ft-ripple .ft-ripple--background {
141
- background-color: ${Ot};
131
+ background-color: ${Mt};
142
132
  }
143
133
 
144
134
  .ft-ripple .ft-ripple--effect {
145
- background-color: ${$t};
135
+ background-color: ${Rt};
146
136
  }
147
137
 
148
138
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
149
- background-color: ${jt};
139
+ background-color: ${_t};
150
140
  }
151
141
 
152
142
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
153
- background-color: ${Ft};
143
+ background-color: ${Dt};
154
144
  }
155
145
 
156
146
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
157
- background-color: ${Mt};
147
+ background-color: ${Lt};
158
148
  }
159
149
 
160
150
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
161
- background-color: ${Rt};
151
+ background-color: ${Bt};
162
152
  }
163
153
 
164
154
  .ft-ripple .ft-ripple--background {
@@ -190,22 +180,22 @@ const gt=1;class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
190
180
  }
191
181
 
192
182
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
193
- opacity: ${St};
183
+ opacity: ${Ft};
194
184
  }
195
185
 
196
186
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
197
- opacity: ${Nt};
187
+ opacity: ${At};
198
188
  }
199
189
 
200
190
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
201
- opacity: ${Ct};
191
+ opacity: ${jt};
202
192
  }
203
193
 
204
194
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
205
- opacity: ${kt};
195
+ opacity: ${Ut};
206
196
  transform: translate(-50%, -50%) scale(1);
207
197
  }
208
- `;var zt=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 Bt extends vt{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.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 I`
198
+ `;var Wt=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 Ht extends $t{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.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 V`
209
199
  <style>
210
200
  .ft-ripple .ft-ripple--effect,
211
201
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -218,126 +208,126 @@ const gt=1;class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
218
208
  top: ${this.originY}px;
219
209
  }
220
210
  </style>
221
- <div class="${xt(t)}">
211
+ <div class="${Ct(t)}">
222
212
  <div class="ft-ripple--background"></div>
223
213
  <div class="ft-ripple--effect"></div>
224
214
  </div>
225
- `}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((()=>{var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}))}setupFor(t){if(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}}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()}}Bt.elementDefinitions={},Bt.styles=At,zt([o({type:Boolean})],Bt.prototype,"primary",void 0),zt([o({type:Boolean})],Bt.prototype,"secondary",void 0),zt([o({type:Boolean})],Bt.prototype,"unbounded",void 0),zt([o({type:Boolean})],Bt.prototype,"activated",void 0),zt([o({type:Boolean})],Bt.prototype,"selected",void 0),zt([o({type:Boolean})],Bt.prototype,"disabled",void 0),zt([r()],Bt.prototype,"hovered",void 0),zt([r()],Bt.prototype,"focused",void 0),zt([r()],Bt.prototype,"pressed",void 0),zt([r()],Bt.prototype,"rippling",void 0),zt([r()],Bt.prototype,"rippleSize",void 0),zt([r()],Bt.prototype,"originX",void 0),zt([r()],Bt.prototype,"originY",void 0),zt([s(".ft-ripple")],Bt.prototype,"ripple",void 0),zt([s(".ft-ripple--effect")],Bt.prototype,"rippleEffect",void 0),l("ft-ripple")(Bt);
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((()=>{var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}))}setupFor(t){if(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}}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()}}Ht.elementDefinitions={},Ht.styles=Tt,Wt([o({type:Boolean})],Ht.prototype,"primary",void 0),Wt([o({type:Boolean})],Ht.prototype,"secondary",void 0),Wt([o({type:Boolean})],Ht.prototype,"unbounded",void 0),Wt([o({type:Boolean})],Ht.prototype,"activated",void 0),Wt([o({type:Boolean})],Ht.prototype,"selected",void 0),Wt([o({type:Boolean})],Ht.prototype,"disabled",void 0),Wt([r()],Ht.prototype,"hovered",void 0),Wt([r()],Ht.prototype,"focused",void 0),Wt([r()],Ht.prototype,"pressed",void 0),Wt([r()],Ht.prototype,"rippling",void 0),Wt([r()],Ht.prototype,"rippleSize",void 0),Wt([r()],Ht.prototype,"originX",void 0),Wt([r()],Ht.prototype,"originY",void 0),Wt([s(".ft-ripple")],Ht.prototype,"ripple",void 0),Wt([s(".ft-ripple--effect")],Ht.prototype,"rippleEffect",void 0),l("ft-ripple")(Ht);
226
216
  /**
227
217
  * @license
228
218
  * Copyright 2020 Google LLC
229
219
  * SPDX-License-Identifier: BSD-3-Clause
230
220
  */
231
- const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void 0:t._$litStatic$},_t=t=>({_$litStatic$:t,r:Lt}),Dt=new Map,Tt=(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=Pt(s));)l+=r+e[++h],c=!0;a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=Dt.get(t))&&(n.raw=n,Dt.set(t,e=n)),i=a}return t(e,...i)})(I);var Wt;!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"}(Wt||(Wt={}));const Ht=ft.extend("--ft-typography-font-family",ut.titleFont),Kt=ft.extend("--ft-typography-font-family",ut.contentFont),It={fontFamily:Kt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},Zt=ft.extend("--ft-typography-title-font-family",Ht),Vt=ft.extend("--ft-typography-title-font-size",It.fontSize,"20px"),Jt=ft.extend("--ft-typography-title-font-weight",It.fontWeight,"normal"),Xt=ft.extend("--ft-typography-title-letter-spacing",It.letterSpacing,"0.15px"),qt=ft.extend("--ft-typography-title-line-height",It.lineHeight,"1.2"),Yt=ft.extend("--ft-typography-title-text-transform",It.textTransform,"inherit"),Gt=ft.extend("--ft-typography-title-dense-font-family",Ht),Qt=ft.extend("--ft-typography-title-dense-font-size",It.fontSize,"14px"),te=ft.extend("--ft-typography-title-dense-font-weight",It.fontWeight,"normal"),ee=ft.extend("--ft-typography-title-dense-letter-spacing",It.letterSpacing,"0.105px"),ie=ft.extend("--ft-typography-title-dense-line-height",It.lineHeight,"1.7"),oe=ft.extend("--ft-typography-title-dense-text-transform",It.textTransform,"inherit"),re=ft.extend("--ft-typography-subtitle1-font-family",Kt),se=ft.extend("--ft-typography-subtitle1-font-size",It.fontSize,"16px"),ne=ft.extend("--ft-typography-subtitle1-font-weight",It.fontWeight,"600"),ae=ft.extend("--ft-typography-subtitle1-letter-spacing",It.letterSpacing,"0.144px"),le=ft.extend("--ft-typography-subtitle1-line-height",It.lineHeight,"1.5"),he=ft.extend("--ft-typography-subtitle1-text-transform",It.textTransform,"inherit"),ce=ft.extend("--ft-typography-subtitle2-font-family",Kt),pe=ft.extend("--ft-typography-subtitle2-font-size",It.fontSize,"14px"),fe=ft.extend("--ft-typography-subtitle2-font-weight",It.fontWeight,"normal"),ue=ft.extend("--ft-typography-subtitle2-letter-spacing",It.letterSpacing,"0.098px"),de=ft.extend("--ft-typography-subtitle2-line-height",It.lineHeight,"1.7"),ye=ft.extend("--ft-typography-subtitle2-text-transform",It.textTransform,"inherit"),be=ft.extend("--ft-typography-body1-font-family",Kt),ve=ft.extend("--ft-typography-body1-font-size",It.fontSize,"16px"),ge=ft.extend("--ft-typography-body1-font-weight",It.fontWeight,"normal"),me=ft.extend("--ft-typography-body1-letter-spacing",It.letterSpacing,"0.496px"),xe=ft.extend("--ft-typography-body1-line-height",It.lineHeight,"1.5"),we=ft.extend("--ft-typography-body1-text-transform",It.textTransform,"inherit"),$e=ft.extend("--ft-typography-body2-font-family",Kt),Oe=ft.extend("--ft-typography-body2-font-size",It.fontSize,"14px"),ke=ft.extend("--ft-typography-body2-font-weight",It.fontWeight,"normal"),Se=ft.extend("--ft-typography-body2-letter-spacing",It.letterSpacing,"0.252px"),Ce=ft.extend("--ft-typography-body2-line-height",It.lineHeight,"1.4"),Ne=ft.extend("--ft-typography-body2-text-transform",It.textTransform,"inherit"),Ee=ft.extend("--ft-typography-caption-font-family",Kt),Re=ft.extend("--ft-typography-caption-font-size",It.fontSize,"12px"),Me=ft.extend("--ft-typography-caption-font-weight",It.fontWeight,"normal"),Ue=ft.extend("--ft-typography-caption-letter-spacing",It.letterSpacing,"0.396px"),Fe=ft.extend("--ft-typography-caption-line-height",It.lineHeight,"1.33"),je=ft.extend("--ft-typography-caption-text-transform",It.textTransform,"inherit"),Ae=ft.extend("--ft-typography-breadcrumb-font-family",Kt),ze=ft.extend("--ft-typography-breadcrumb-font-size",It.fontSize,"10px"),Be=ft.extend("--ft-typography-breadcrumb-font-weight",It.fontWeight,"normal"),Le=ft.extend("--ft-typography-breadcrumb-letter-spacing",It.letterSpacing,"0.33px"),Pe=ft.extend("--ft-typography-breadcrumb-line-height",It.lineHeight,"1.6"),_e=ft.extend("--ft-typography-breadcrumb-text-transform",It.textTransform,"inherit"),De=ft.extend("--ft-typography-overline-font-family",Kt),Te=ft.extend("--ft-typography-overline-font-size",It.fontSize,"10px"),We=ft.extend("--ft-typography-overline-font-weight",It.fontWeight,"normal"),He=ft.extend("--ft-typography-overline-letter-spacing",It.letterSpacing,"1.5px"),Ke=ft.extend("--ft-typography-overline-line-height",It.lineHeight,"1.6"),Ie=ft.extend("--ft-typography-overline-text-transform",It.textTransform,"uppercase"),Ze=ft.extend("--ft-typography-button-font-family",Kt),Ve=ft.extend("--ft-typography-button-font-size",It.fontSize,"14px"),Je=ft.extend("--ft-typography-button-font-weight",It.fontWeight,"600"),Xe=ft.extend("--ft-typography-button-letter-spacing",It.letterSpacing,"1.246px"),qe=ft.extend("--ft-typography-button-line-height",It.lineHeight,"1.15"),Ye=ft.extend("--ft-typography-button-text-transform",It.textTransform,"uppercase"),Ge=y`
221
+ const Kt=Symbol.for(""),It=t=>{if((null==t?void 0:t.r)===Kt)return null==t?void 0:t._$litStatic$},Zt=t=>({_$litStatic$:t,r:Kt}),Vt=new Map,Jt=(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=It(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=Vt.get(t))&&(n.raw=n,Vt.set(t,e=n)),i=a}return t(e,...i)})(V);var Xt;!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"}(Xt||(Xt={}));const qt=dt.extend("--ft-typography-font-family",yt.titleFont),Yt=dt.extend("--ft-typography-font-family",yt.contentFont),Gt={fontFamily:Yt,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Qt=dt.extend("--ft-typography-title-font-family",qt),te=dt.extend("--ft-typography-title-font-size",Gt.fontSize,"20px"),ee=dt.extend("--ft-typography-title-font-weight",Gt.fontWeight,"normal"),ie=dt.extend("--ft-typography-title-letter-spacing",Gt.letterSpacing,"0.15px"),oe=dt.extend("--ft-typography-title-line-height",Gt.lineHeight,"1.2"),re=dt.extend("--ft-typography-title-text-transform",Gt.textTransform,"inherit"),se=dt.extend("--ft-typography-title-dense-font-family",qt),ne=dt.extend("--ft-typography-title-dense-font-size",Gt.fontSize,"14px"),ae=dt.extend("--ft-typography-title-dense-font-weight",Gt.fontWeight,"normal"),le=dt.extend("--ft-typography-title-dense-letter-spacing",Gt.letterSpacing,"0.105px"),he=dt.extend("--ft-typography-title-dense-line-height",Gt.lineHeight,"1.7"),ce=dt.extend("--ft-typography-title-dense-text-transform",Gt.textTransform,"inherit"),pe=dt.extend("--ft-typography-subtitle1-font-family",Yt),fe=dt.extend("--ft-typography-subtitle1-font-size",Gt.fontSize,"16px"),ue=dt.extend("--ft-typography-subtitle1-font-weight",Gt.fontWeight,"600"),de=dt.extend("--ft-typography-subtitle1-letter-spacing",Gt.letterSpacing,"0.144px"),ye=dt.extend("--ft-typography-subtitle1-line-height",Gt.lineHeight,"1.5"),be=dt.extend("--ft-typography-subtitle1-text-transform",Gt.textTransform,"inherit"),ve=dt.extend("--ft-typography-subtitle2-font-family",Yt),ge=dt.extend("--ft-typography-subtitle2-font-size",Gt.fontSize,"14px"),me=dt.extend("--ft-typography-subtitle2-font-weight",Gt.fontWeight,"normal"),xe=dt.extend("--ft-typography-subtitle2-letter-spacing",Gt.letterSpacing,"0.098px"),we=dt.extend("--ft-typography-subtitle2-line-height",Gt.lineHeight,"1.7"),$e=dt.extend("--ft-typography-subtitle2-text-transform",Gt.textTransform,"inherit"),Oe=dt.extend("--ft-typography-body1-font-family",Yt),ke=dt.extend("--ft-typography-body1-font-size",Gt.fontSize,"16px"),Se=dt.extend("--ft-typography-body1-font-weight",Gt.fontWeight,"normal"),Ne=dt.extend("--ft-typography-body1-letter-spacing",Gt.letterSpacing,"0.496px"),Ce=dt.extend("--ft-typography-body1-line-height",Gt.lineHeight,"1.5"),Ee=dt.extend("--ft-typography-body1-text-transform",Gt.textTransform,"inherit"),Re=dt.extend("--ft-typography-body2-font-family",Yt),Me=dt.extend("--ft-typography-body2-font-size",Gt.fontSize,"14px"),Ue=dt.extend("--ft-typography-body2-font-weight",Gt.fontWeight,"normal"),Fe=dt.extend("--ft-typography-body2-letter-spacing",Gt.letterSpacing,"0.252px"),je=dt.extend("--ft-typography-body2-line-height",Gt.lineHeight,"1.4"),Ae=dt.extend("--ft-typography-body2-text-transform",Gt.textTransform,"inherit"),ze=dt.extend("--ft-typography-caption-font-family",Yt),Be=dt.extend("--ft-typography-caption-font-size",Gt.fontSize,"12px"),Le=dt.extend("--ft-typography-caption-font-weight",Gt.fontWeight,"normal"),Pe=dt.extend("--ft-typography-caption-letter-spacing",Gt.letterSpacing,"0.396px"),De=dt.extend("--ft-typography-caption-line-height",Gt.lineHeight,"1.33"),_e=dt.extend("--ft-typography-caption-text-transform",Gt.textTransform,"inherit"),Te=dt.extend("--ft-typography-breadcrumb-font-family",Yt),We=dt.extend("--ft-typography-breadcrumb-font-size",Gt.fontSize,"10px"),He=dt.extend("--ft-typography-breadcrumb-font-weight",Gt.fontWeight,"normal"),Ke=dt.extend("--ft-typography-breadcrumb-letter-spacing",Gt.letterSpacing,"0.33px"),Ie=dt.extend("--ft-typography-breadcrumb-line-height",Gt.lineHeight,"1.6"),Ze=dt.extend("--ft-typography-breadcrumb-text-transform",Gt.textTransform,"inherit"),Ve=dt.extend("--ft-typography-overline-font-family",Yt),Je=dt.extend("--ft-typography-overline-font-size",Gt.fontSize,"10px"),Xe=dt.extend("--ft-typography-overline-font-weight",Gt.fontWeight,"normal"),qe=dt.extend("--ft-typography-overline-letter-spacing",Gt.letterSpacing,"1.5px"),Ye=dt.extend("--ft-typography-overline-line-height",Gt.lineHeight,"1.6"),Ge=dt.extend("--ft-typography-overline-text-transform",Gt.textTransform,"uppercase"),Qe=dt.extend("--ft-typography-button-font-family",Yt),ti=dt.extend("--ft-typography-button-font-size",Gt.fontSize,"14px"),ei=dt.extend("--ft-typography-button-font-weight",Gt.fontWeight,"600"),ii=dt.extend("--ft-typography-button-letter-spacing",Gt.letterSpacing,"1.246px"),oi=dt.extend("--ft-typography-button-line-height",Gt.lineHeight,"1.15"),ri=dt.extend("--ft-typography-button-text-transform",Gt.textTransform,"uppercase"),si=y`
232
222
  .ft-typography--title {
233
- font-family: ${Zt};
234
- font-size: ${Vt};
235
- font-weight: ${Jt};
236
- letter-spacing: ${Xt};
237
- line-height: ${qt};
238
- text-transform: ${Yt};
239
- }
240
- `,Qe=y`
223
+ font-family: ${Qt};
224
+ font-size: ${te};
225
+ font-weight: ${ee};
226
+ letter-spacing: ${ie};
227
+ line-height: ${oe};
228
+ text-transform: ${re};
229
+ }
230
+ `,ni=y`
241
231
  .ft-typography--title-dense {
242
- font-family: ${Gt};
243
- font-size: ${Qt};
244
- font-weight: ${te};
245
- letter-spacing: ${ee};
246
- line-height: ${ie};
247
- text-transform: ${oe};
248
- }
249
- `,ti=y`
232
+ font-family: ${se};
233
+ font-size: ${ne};
234
+ font-weight: ${ae};
235
+ letter-spacing: ${le};
236
+ line-height: ${he};
237
+ text-transform: ${ce};
238
+ }
239
+ `,ai=y`
250
240
  .ft-typography--subtitle1 {
251
- font-family: ${re};
252
- font-size: ${se};
253
- font-weight: ${ne};
254
- letter-spacing: ${ae};
255
- line-height: ${le};
256
- text-transform: ${he};
257
- }
258
- `,ei=y`
241
+ font-family: ${pe};
242
+ font-size: ${fe};
243
+ font-weight: ${ue};
244
+ letter-spacing: ${de};
245
+ line-height: ${ye};
246
+ text-transform: ${be};
247
+ }
248
+ `,li=y`
259
249
  .ft-typography--subtitle2 {
260
- font-family: ${ce};
261
- font-size: ${pe};
262
- font-weight: ${fe};
263
- letter-spacing: ${ue};
264
- line-height: ${de};
265
- text-transform: ${ye};
250
+ font-family: ${ve};
251
+ font-size: ${ge};
252
+ font-weight: ${me};
253
+ letter-spacing: ${xe};
254
+ line-height: ${we};
255
+ text-transform: ${$e};
266
256
  }
267
257
 
268
- `,ii=y`
258
+ `,hi=y`
269
259
  .ft-typography--body1 {
270
- font-family: ${be};
271
- font-size: ${ve};
272
- font-weight: ${ge};
273
- letter-spacing: ${me};
274
- line-height: ${xe};
275
- text-transform: ${we};
276
- }
277
- `,oi=y`
278
- .ft-typography--body2 {
279
- font-family: ${$e};
280
- font-size: ${Oe};
281
- font-weight: ${ke};
282
- letter-spacing: ${Se};
260
+ font-family: ${Oe};
261
+ font-size: ${ke};
262
+ font-weight: ${Se};
263
+ letter-spacing: ${Ne};
283
264
  line-height: ${Ce};
284
- text-transform: ${Ne};
265
+ text-transform: ${Ee};
285
266
  }
286
- `,ri=y`
267
+ `,ci=y`
268
+ .ft-typography--body2 {
269
+ font-family: ${Re};
270
+ font-size: ${Me};
271
+ font-weight: ${Ue};
272
+ letter-spacing: ${Fe};
273
+ line-height: ${je};
274
+ text-transform: ${Ae};
275
+ }
276
+ `,pi=y`
287
277
  .ft-typography--caption {
288
- font-family: ${Ee};
289
- font-size: ${Re};
290
- font-weight: ${Me};
291
- letter-spacing: ${Ue};
292
- line-height: ${Fe};
293
- text-transform: ${je};
294
- }
295
- `,si=y`
296
- .ft-typography--breadcrumb {
297
- font-family: ${Ae};
298
- font-size: ${ze};
299
- font-weight: ${Be};
300
- letter-spacing: ${Le};
301
- line-height: ${Pe};
278
+ font-family: ${ze};
279
+ font-size: ${Be};
280
+ font-weight: ${Le};
281
+ letter-spacing: ${Pe};
282
+ line-height: ${De};
302
283
  text-transform: ${_e};
303
284
  }
304
- `,ni=y`
285
+ `,fi=y`
286
+ .ft-typography--breadcrumb {
287
+ font-family: ${Te};
288
+ font-size: ${We};
289
+ font-weight: ${He};
290
+ letter-spacing: ${Ke};
291
+ line-height: ${Ie};
292
+ text-transform: ${Ze};
293
+ }
294
+ `,ui=y`
305
295
  .ft-typography--overline {
306
- font-family: ${De};
307
- font-size: ${Te};
308
- font-weight: ${We};
309
- letter-spacing: ${He};
310
- line-height: ${Ke};
311
- text-transform: ${Ie};
312
- }
313
- `,ai=y`
296
+ font-family: ${Ve};
297
+ font-size: ${Je};
298
+ font-weight: ${Xe};
299
+ letter-spacing: ${qe};
300
+ line-height: ${Ye};
301
+ text-transform: ${Ge};
302
+ }
303
+ `,di=y`
314
304
  .ft-typography--button {
315
- font-family: ${Ze};
316
- font-size: ${Ve};
317
- font-weight: ${Je};
318
- letter-spacing: ${Xe};
319
- line-height: ${qe};
320
- text-transform: ${Ye};
321
- }
322
- `,li=y`
305
+ font-family: ${Qe};
306
+ font-size: ${ti};
307
+ font-weight: ${ei};
308
+ letter-spacing: ${ii};
309
+ line-height: ${oi};
310
+ text-transform: ${ri};
311
+ }
312
+ `,yi=y`
323
313
  .ft-typography {
324
314
  vertical-align: inherit;
325
315
  }
326
- `;var hi=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 ci extends vt{constructor(){super(...arguments),this.variant=Wt.body1}render(){return this.element?Tt`
327
- <${_t(this.element)}
316
+ `;var bi=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 vi extends $t{constructor(){super(...arguments),this.variant=Xt.body1}render(){return this.element?Jt`
317
+ <${Zt(this.element)}
328
318
  class="ft-typography ft-typography--${this.variant}">
329
319
  <slot></slot>
330
- </${_t(this.element)}>
331
- `:Tt`
320
+ </${Zt(this.element)}>
321
+ `:Jt`
332
322
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
333
- `}}ci.styles=[Ge,Qe,ti,ei,ii,oi,ri,si,ni,ai,li],hi([o()],ci.prototype,"element",void 0),hi([o()],ci.prototype,"variant",void 0),l("ft-typography")(ci);const pi={textColor:ft.extend("--ft-checkbox-text-color",ut.colorOnSurfaceHigh),colorPrimary:ft.external(ut.colorPrimary,"Design system"),colorOnPrimary:ft.external(ut.colorOnPrimary,"Design system"),borderColor:ft.extend("--ft-checkbox-border-color",ut.colorOnSurfaceMedium),colorOnSurfaceDisabled:ft.external(ut.colorOnSurfaceDisabled,"Design system")},fi=y`
323
+ `}}vi.styles=[si,ni,ai,li,hi,ci,pi,fi,ui,di,yi],bi([o()],vi.prototype,"element",void 0),bi([o()],vi.prototype,"variant",void 0),l("ft-typography")(vi);const gi={textColor:dt.extend("--ft-checkbox-text-color",yt.colorOnSurfaceHigh),colorPrimary:dt.external(yt.colorPrimary,"Design system"),colorOnPrimary:dt.external(yt.colorOnPrimary,"Design system"),borderColor:dt.extend("--ft-checkbox-border-color",yt.colorOnSurfaceMedium),colorOnSurfaceDisabled:dt.external(yt.colorOnSurfaceDisabled,"Design system")},mi=y`
334
324
  * {
335
325
  box-sizing: border-box;
336
326
  }
337
327
 
338
328
  .ft-checkbox {
339
329
  box-sizing: border-box;
340
- color: ${pi.textColor};
330
+ color: ${gi.textColor};
341
331
 
342
332
  display: inline-flex;
343
333
  align-items: center;
@@ -345,7 +335,7 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
345
335
  }
346
336
 
347
337
  .ft-checkbox--disabled {
348
- color: ${pi.colorOnSurfaceDisabled};
338
+ color: ${gi.colorOnSurfaceDisabled};
349
339
  }
350
340
 
351
341
  input {
@@ -369,26 +359,26 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
369
359
 
370
360
  .ft-checkbox--box {
371
361
  display: flex;
372
- border: 2px solid ${pi.borderColor};
362
+ border: 2px solid ${gi.borderColor};
373
363
  border-radius: 2px;
374
364
 
375
365
  width: 18px;
376
366
  height: 18px;
377
367
 
378
- color: ${pi.colorOnPrimary};
368
+ color: ${gi.colorOnPrimary};
379
369
  }
380
370
 
381
371
 
382
372
  .ft-checkbox--checked .ft-checkbox--box,
383
373
  .ft-checkbox--indeterminate .ft-checkbox--box {
384
- border-color: ${pi.colorPrimary};
385
- background-color: ${pi.colorPrimary};
374
+ border-color: ${gi.colorPrimary};
375
+ background-color: ${gi.colorPrimary};
386
376
  }
387
377
 
388
378
  .ft-checkbox--disabled .ft-checkbox--box {
389
- border-color: ${pi.colorOnSurfaceDisabled};
379
+ border-color: ${gi.colorOnSurfaceDisabled};
390
380
  background-color: transparent;
391
- color: ${pi.colorOnSurfaceDisabled};
381
+ color: ${gi.colorOnSurfaceDisabled};
392
382
  }
393
383
 
394
384
  .ft-checkbox--checkmark {
@@ -407,8 +397,8 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
407
397
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
408
398
  opacity: 1;
409
399
  }
410
- `;var ui=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 di extends vt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return I`
411
- <label class="${xt(t)}" for="checkbox-input">
400
+ `;var xi=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 wi extends $t{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return V`
401
+ <label class="${Ct(t)}" for="checkbox-input">
412
402
  <div class="ft-checkbox--box-container">
413
403
  <ft-ripple
414
404
  ?disabled=${this.disabled}
@@ -433,4 +423,4 @@ const Lt=Symbol.for(""),Pt=t=>{if((null==t?void 0:t.r)===Lt)return null==t?void
433
423
  <slot></slot>
434
424
  </ft-typography>
435
425
  </label>
436
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}di.elementDefinitions={"ft-ripple":Bt,"ft-typography":ci},di.styles=fi,ui([o()],di.prototype,"name",void 0),ui([o({type:Boolean,reflect:!0})],di.prototype,"checked",void 0),ui([o({type:Boolean})],di.prototype,"indeterminate",void 0),ui([o({type:Boolean})],di.prototype,"disabled",void 0),ui([s(".ft-checkbox")],di.prototype,"container",void 0),ui([s("ft-ripple")],di.prototype,"ripple",void 0),l("ft-checkbox")(di),t.FtCheckbox=di,t.FtCheckboxCssVariables=pi,t.styles=fi,Object.defineProperty(t,"i",{value:!0})}({});
426
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}wi.elementDefinitions={"ft-ripple":Ht,"ft-typography":vi},wi.styles=mi,xi([o()],wi.prototype,"name",void 0),xi([o({type:Boolean,reflect:!0})],wi.prototype,"checked",void 0),xi([o({type:Boolean})],wi.prototype,"indeterminate",void 0),xi([o({type:Boolean})],wi.prototype,"disabled",void 0),xi([s(".ft-checkbox")],wi.prototype,"container",void 0),xi([s("ft-ripple")],wi.prototype,"ripple",void 0),l("ft-checkbox")(wi),t.FtCheckbox=wi,t.FtCheckboxCssVariables=gi,t.styles=mi}({});
@@ -4,4 +4,3 @@ export interface FtCheckboxProperties {
4
4
  indeterminate: boolean;
5
5
  disabled: boolean;
6
6
  }
7
- //# sourceMappingURL=ft-checkbox.properties.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=ft-checkbox.properties.js.map
package/build/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from "./ft-checkbox";
2
2
  export * from "./ft-checkbox.css";
3
3
  export * from "./ft-checkbox.properties";
4
- //# sourceMappingURL=index.d.ts.map
package/build/index.js CHANGED
@@ -4,4 +4,3 @@ export * from "./ft-checkbox";
4
4
  export * from "./ft-checkbox.css";
5
5
  export * from "./ft-checkbox.properties";
6
6
  customElement("ft-checkbox")(FtCheckbox);
7
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-checkbox",
3
- "version": "0.3.71",
3
+ "version": "1.0.0-alpha.1",
4
4
  "description": "A checkbox 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": "0.3.71",
23
- "@fluid-topics/ft-typography": "0.3.71",
24
- "@fluid-topics/ft-wc-utils": "0.3.71",
25
- "lit": "2.2.8"
22
+ "@fluid-topics/ft-ripple": "1.0.0-alpha.1",
23
+ "@fluid-topics/ft-typography": "1.0.0-alpha.1",
24
+ "@fluid-topics/ft-wc-utils": "1.0.0-alpha.1",
25
+ "lit": "2.7.2"
26
26
  },
27
- "gitHead": "aeaa883cc0e3596e6cc75d282aa99de3c603f6a2"
27
+ "gitHead": "bb54c217f788a915a443db6f496f02e176d05306"
28
28
  }