@fluid-topics/ft-input-label 0.2.15 → 0.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,6 +60,12 @@ FtInputLabel.styles = [
60
60
  position: absolute;
61
61
  inset: 0;
62
62
  display: flex;
63
+ background-color: ${FtInputLabelCssVariables.colorSurface};
64
+ border-radius: ${FtInputLabelCssVariables.borderRadiusS} ${FtInputLabelCssVariables.borderRadiusS} 0 0;
65
+ }
66
+
67
+ .ft-input-label--outlined {
68
+ border-radius: ${FtInputLabelCssVariables.borderRadiusS};
63
69
  }
64
70
 
65
71
  .ft-input-label {
@@ -4,13 +4,13 @@
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var r;const l=globalThis.trustedTypes,s=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,p="?"+a,h=`<${p}>`,f=document,y=(t="")=>f.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,b=/>/g,$=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,v=/'/g,x=/"/g,m=/^(?:script|style|textarea|title)$/i,w=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),_=new WeakMap,A=f.createTreeWalker(f,129,null,!1),E=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",l=u;for(let i=0;i<e;i++){const e=t[i];let s,p,f=-1,y=0;for(;y<e.length&&(l.lastIndex=y,p=l.exec(e),null!==p);)y=l.lastIndex,l===u?"!--"===p[1]?l=c:void 0!==p[1]?l=b:void 0!==p[2]?(m.test(p[2])&&(n=RegExp("</"+p[2],"g")),l=$):void 0!==p[3]&&(l=$):l===$?">"===p[0]?(l=null!=n?n:u,f=-1):void 0===p[1]?f=-2:(f=l.lastIndex-p[2].length,s=p[1],l=void 0===p[3]?$:'"'===p[3]?x:v):l===x||l===v?l=$:l===c||l===b?l=u:(l=$,n=void 0);const d=l===$&&t[i+1].startsWith("/>")?" ":"";r+=l===u?e+h:f>=0?(o.push(s),e.slice(0,f)+"$lit$"+e.slice(f)+a+d):e+a+(-2===f?(o.push(void 0),i):d)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(p):p,o]};class I{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,h=this.parts,[f,d]=E(t,i);if(this.el=I.createElement(f,e),A.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=A.nextNode())&&h.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(a)){const e=d[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:n,name:i[2],strings:t,ctor:"."===i[1]?M:"?"===i[1]?U:"@"===i[1]?j:C})}else h.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(m.test(o.tagName)){const t=o.textContent.split(a),i=t.length-1;if(i>0){o.textContent=l?l.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],y()),A.nextNode(),h.push({type:2,index:++n});o.append(t[i],y())}}}else if(8===o.nodeType)if(o.data===p)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)h.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,i){const e=f.createElement("template");return e.innerHTML=t,e}}function N(t,i,e=t,o){var n,r,l,s;if(i===z)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=d(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(l=(s=e)._$Cl)&&void 0!==l?l:s._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=N(t,a._$AS(t,i.values),a,o)),i}class T{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:f).importNode(e,!0);A.currentNode=n;let r=A.nextNode(),l=0,s=0,a=o[0];for(;void 0!==a;){if(l===a.index){let i;2===a.type?i=new Z(r,r.nextSibling,this,t):1===a.type?i=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(i=new k(r,this,t)),this.v.push(i),a=o[++s]}l!==(null==a?void 0:a.index)&&(r=A.nextNode(),l++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Z{constructor(t,i,e,o){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=N(this,t,i),d(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return g(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.k(f.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=I.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new T(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=_.get(t.strings);return void 0===i&&_.set(t.strings,i=new I(t)),i}S(t){g(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new Z(this.M(y()),this.M(y()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class C{constructor(t,i,e,o,n){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=N(this,t,i,0),r=!d(t)||t!==this._$AH&&t!==z,r&&(this._$AH=t);else{const o=t;let l,s;for(t=n[0],l=0;l<n.length-1;l++)s=N(this,o[e+l],i,l),s===z&&(s=this._$AH[l]),r||(r=!d(s)||s!==this._$AH[l]),s===S?t=S:t!==S&&(t+=(null!=s?s:"")+n[l+1]),this._$AH[l]=s}r&&!o&&this.C(t)}C(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends C{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===S?void 0:t}}const O=l?l.emptyScript:"";class U extends C{constructor(){super(...arguments),this.type=4}C(t){t&&t!==S?this.element.setAttribute(this.name,O):this.element.removeAttribute(this.name)}}class j extends C{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=N(this,t,i,0))&&void 0!==e?e:S)===z)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==S&&(o===S||n);n&&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 k{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){N(this,t)}}const B=window.litHtmlPolyfillSupport;null==B||B(I,Z),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.4");
7
+ var r;const l=globalThis.trustedTypes,s=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,p="?"+a,h=`<${p}>`,f=document,y=(t="")=>f.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,b=/>/g,$=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,v=/'/g,x=/"/g,m=/^(?:script|style|textarea|title)$/i,w=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),_=new WeakMap,A=f.createTreeWalker(f,129,null,!1),E=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",l=u;for(let i=0;i<e;i++){const e=t[i];let s,p,f=-1,y=0;for(;y<e.length&&(l.lastIndex=y,p=l.exec(e),null!==p);)y=l.lastIndex,l===u?"!--"===p[1]?l=c:void 0!==p[1]?l=b:void 0!==p[2]?(m.test(p[2])&&(n=RegExp("</"+p[2],"g")),l=$):void 0!==p[3]&&(l=$):l===$?">"===p[0]?(l=null!=n?n:u,f=-1):void 0===p[1]?f=-2:(f=l.lastIndex-p[2].length,s=p[1],l=void 0===p[3]?$:'"'===p[3]?x:v):l===x||l===v?l=$:l===c||l===b?l=u:(l=$,n=void 0);const d=l===$&&t[i+1].startsWith("/>")?" ":"";r+=l===u?e+h:f>=0?(o.push(s),e.slice(0,f)+"$lit$"+e.slice(f)+a+d):e+a+(-2===f?(o.push(void 0),i):d)}const p=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(p):p,o]};class N{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,h=this.parts,[f,d]=E(t,i);if(this.el=N.createElement(f,e),A.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=A.nextNode())&&h.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(a)){const e=d[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:n,name:i[2],strings:t,ctor:"."===i[1]?M:"?"===i[1]?k:"@"===i[1]?O:Z})}else h.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(m.test(o.tagName)){const t=o.textContent.split(a),i=t.length-1;if(i>0){o.textContent=l?l.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],y()),A.nextNode(),h.push({type:2,index:++n});o.append(t[i],y())}}}else if(8===o.nodeType)if(o.data===p)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)h.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,i){const e=f.createElement("template");return e.innerHTML=t,e}}function I(t,i,e=t,o){var n,r,l,s;if(i===z)return i;let a=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const p=d(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(l=(s=e)._$Cl)&&void 0!==l?l:s._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=I(t,a._$AS(t,i.values),a,o)),i}class T{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:f).importNode(e,!0);A.currentNode=n;let r=A.nextNode(),l=0,s=0,a=o[0];for(;void 0!==a;){if(l===a.index){let i;2===a.type?i=new C(r,r.nextSibling,this,t):1===a.type?i=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(i=new j(r,this,t)),this.v.push(i),a=o[++s]}l!==(null==a?void 0:a.index)&&(r=A.nextNode(),l++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class C{constructor(t,i,e,o){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=I(this,t,i),d(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return g(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.k(f.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=N.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new T(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=_.get(t.strings);return void 0===i&&_.set(t.strings,i=new N(t)),i}S(t){g(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new C(this.M(y()),this.M(y()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Z{constructor(t,i,e,o,n){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=I(this,t,i,0),r=!d(t)||t!==this._$AH&&t!==z,r&&(this._$AH=t);else{const o=t;let l,s;for(t=n[0],l=0;l<n.length-1;l++)s=I(this,o[e+l],i,l),s===z&&(s=this._$AH[l]),r||(r=!d(s)||s!==this._$AH[l]),s===S?t=S:t!==S&&(t+=(null!=s?s:"")+n[l+1]),this._$AH[l]=s}r&&!o&&this.C(t)}C(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends Z{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===S?void 0:t}}const U=l?l.emptyScript:"";class k extends Z{constructor(){super(...arguments),this.type=4}C(t){t&&t!==S?this.element.setAttribute(this.name,U):this.element.removeAttribute(this.name)}}class O extends Z{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=I(this,t,i,0))&&void 0!==e?e:S)===z)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==S&&(o===S||n);n&&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 j{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){I(this,t)}}const B=window.litHtmlPolyfillSupport;null==B||B(N,C),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.2.4");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===W)return null===(e=t)||void 0===e?void 0:e._$litStatic$},R=t=>({_$litStatic$:t,r:W}),D=new Map,F=(t=>(i,...e)=>{const o=e.length;let n,r;const l=[],s=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(r=e[p],n=G(r));)a+=n+i[++p],h=!0;s.push(r),l.push(a),p++}if(p===o&&l.push(i[o]),h){const t=l.join("$$lit$$");void 0===(i=D.get(t))&&(l.raw=l,D.set(t,i=l)),e=s}return t(i,...e)})(w);var H,K=function(t,i,e,o){for(var n,r=arguments.length,l=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,s=t.length-1;s>=0;s--)(n=t[s])&&(l=(r<3?n(l):r>3?n(i,e,l):n(i,e))||l);return r>3&&l&&Object.defineProperty(i,e,l),l};!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"}(H||(H={}));const L=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),J={fontFamily:q,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},P=i.FtCssVariable.extend("--ft-typography-title-font-family",L),Q=i.FtCssVariable.extend("--ft-typography-title-font-size",J.fontSize,"20px"),V=i.FtCssVariable.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),X=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),Y=i.FtCssVariable.extend("--ft-typography-title-line-height",J.lineHeight,"24px"),tt=i.FtCssVariable.extend("--ft-typography-title-text-transform",J.textTransform,"inherit"),it=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",L),et=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),nt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",J.lineHeight,"24px"),lt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),st=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",q),at=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),pt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"24px"),yt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),dt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",q),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),ut=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),ct=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"24px"),$t=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),vt=i.FtCssVariable.extend("--ft-typography-body1-font-family",q),xt=i.FtCssVariable.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),mt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),wt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),zt=i.FtCssVariable.extend("--ft-typography-body1-line-height",J.lineHeight,"24px"),St=i.FtCssVariable.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-body2-font-family",q),At=i.FtCssVariable.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),Et=i.FtCssVariable.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),Nt=i.FtCssVariable.extend("--ft-typography-body2-line-height",J.lineHeight,"20px"),Tt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Zt={fontFamily:i.FtCssVariable.extend("--ft-typography-caption-font-family",q),fontSize:i.FtCssVariable.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),fontWeight:i.FtCssVariable.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),lineHeight:i.FtCssVariable.extend("--ft-typography-caption-line-height",J.lineHeight,"16px"),textTransform:i.FtCssVariable.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit")},Ct=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",q),Mt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Ot=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),Ut=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"16px"),kt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Bt=i.FtCssVariable.extend("--ft-typography-overline-font-family",q),Wt=i.FtCssVariable.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Gt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),Rt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),Dt=i.FtCssVariable.extend("--ft-typography-overline-line-height",J.lineHeight,"16px"),Ft=i.FtCssVariable.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Ht=i.FtCssVariable.extend("--ft-typography-button-font-family",q),Kt=i.FtCssVariable.extend("--ft-typography-button-font-size",J.fontSize,"14px"),Lt=i.FtCssVariable.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),qt=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),Jt=i.FtCssVariable.extend("--ft-typography-button-line-height",J.lineHeight,"16px"),Pt=i.FtCssVariable.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase"),Qt=e.css`
13
+ const R=Symbol.for(""),W=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===R)return null===(e=t)||void 0===e?void 0:e._$litStatic$},G=t=>({_$litStatic$:t,r:R}),D=new Map,F=(t=>(i,...e)=>{const o=e.length;let n,r;const l=[],s=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(r=e[p],n=W(r));)a+=n+i[++p],h=!0;s.push(r),l.push(a),p++}if(p===o&&l.push(i[o]),h){const t=l.join("$$lit$$");void 0===(i=D.get(t))&&(l.raw=l,D.set(t,i=l)),e=s}return t(i,...e)})(w);var H,K=function(t,i,e,o){for(var n,r=arguments.length,l=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,s=t.length-1;s>=0;s--)(n=t[s])&&(l=(r<3?n(l):r>3?n(i,e,l):n(i,e))||l);return r>3&&l&&Object.defineProperty(i,e,l),l};!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"}(H||(H={}));const L=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),J={fontFamily:q,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},P=i.FtCssVariable.extend("--ft-typography-title-font-family",L),Q=i.FtCssVariable.extend("--ft-typography-title-font-size",J.fontSize,"20px"),V=i.FtCssVariable.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),X=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),Y=i.FtCssVariable.extend("--ft-typography-title-line-height",J.lineHeight,"1.2"),tt=i.FtCssVariable.extend("--ft-typography-title-text-transform",J.textTransform,"inherit"),it=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",L),et=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),ot=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),nt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),rt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",J.lineHeight,"1.7"),lt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),st=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",q),at=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),pt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),ht=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),ft=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"1.5"),yt=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),dt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",q),gt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),ut=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),ct=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),bt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"1.7"),$t=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),vt=i.FtCssVariable.extend("--ft-typography-body1-font-family",q),xt=i.FtCssVariable.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),mt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),wt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),zt=i.FtCssVariable.extend("--ft-typography-body1-line-height",J.lineHeight,"1.5"),St=i.FtCssVariable.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit"),_t=i.FtCssVariable.extend("--ft-typography-body2-font-family",q),At=i.FtCssVariable.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),Et=i.FtCssVariable.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),Nt=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),It=i.FtCssVariable.extend("--ft-typography-body2-line-height",J.lineHeight,"1.4"),Tt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Ct={fontFamily:i.FtCssVariable.extend("--ft-typography-caption-font-family",q),fontSize:i.FtCssVariable.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),fontWeight:i.FtCssVariable.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),letterSpacing:i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),lineHeight:i.FtCssVariable.extend("--ft-typography-caption-line-height",J.lineHeight,"1.33"),textTransform:i.FtCssVariable.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit")},Zt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",q),Mt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Ut=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),kt=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),Ot=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"1.6"),jt=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Bt=i.FtCssVariable.extend("--ft-typography-overline-font-family",q),Rt=i.FtCssVariable.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Wt=i.FtCssVariable.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),Gt=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),Dt=i.FtCssVariable.extend("--ft-typography-overline-line-height",J.lineHeight,"1.6"),Ft=i.FtCssVariable.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Ht=i.FtCssVariable.extend("--ft-typography-button-font-family",q),Kt=i.FtCssVariable.extend("--ft-typography-button-font-size",J.fontSize,"14px"),Lt=i.FtCssVariable.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),qt=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),Jt=i.FtCssVariable.extend("--ft-typography-button-line-height",J.lineHeight,"1.15"),Pt=i.FtCssVariable.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase"),Qt=e.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${P};
16
16
  font-size: ${Q};
@@ -61,34 +61,34 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
61
61
  font-family: ${_t};
62
62
  font-size: ${At};
63
63
  font-weight: ${Et};
64
- letter-spacing: ${It};
65
- line-height: ${Nt};
64
+ letter-spacing: ${Nt};
65
+ line-height: ${It};
66
66
  text-transform: ${Tt};
67
67
  }
68
68
  `,ei=e.css`
69
69
  .ft-typography--caption {
70
- font-family: ${Zt.fontFamily};
71
- font-size: ${Zt.fontSize};
72
- font-weight: ${Zt.fontWeight};
73
- letter-spacing: ${Zt.letterSpacing};
74
- line-height: ${Zt.lineHeight};
75
- text-transform: ${Zt.textTransform};
70
+ font-family: ${Ct.fontFamily};
71
+ font-size: ${Ct.fontSize};
72
+ font-weight: ${Ct.fontWeight};
73
+ letter-spacing: ${Ct.letterSpacing};
74
+ line-height: ${Ct.lineHeight};
75
+ text-transform: ${Ct.textTransform};
76
76
  }
77
77
  `,oi=e.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Ct};
79
+ font-family: ${Zt};
80
80
  font-size: ${Mt};
81
- font-weight: ${Ot};
82
- letter-spacing: ${Ut};
83
- line-height: ${jt};
84
- text-transform: ${kt};
81
+ font-weight: ${Ut};
82
+ letter-spacing: ${kt};
83
+ line-height: ${Ot};
84
+ text-transform: ${jt};
85
85
  }
86
86
  `,ni=e.css`
87
87
  .ft-typography--overline {
88
88
  font-family: ${Bt};
89
- font-size: ${Wt};
90
- font-weight: ${Gt};
91
- letter-spacing: ${Rt};
89
+ font-size: ${Rt};
90
+ font-weight: ${Wt};
91
+ letter-spacing: ${Gt};
92
92
  line-height: ${Dt};
93
93
  text-transform: ${Ft};
94
94
  }
@@ -102,10 +102,10 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
102
102
  text-transform: ${Pt};
103
103
  }
104
104
  `;class li extends i.FtLitElement{constructor(){super(...arguments),this.variant=H.body1}render(){return this.element?F`
105
- <${R(this.element)}
105
+ <${G(this.element)}
106
106
  class="ft-typography ft-typography--${this.variant}">
107
107
  <slot></slot>
108
- </${R(this.element)}>
108
+ </${G(this.element)}>
109
109
  `:F`
110
110
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
111
111
  `}}li.styles=[Qt,Vt,Xt,Yt,ti,ii,ei,oi,ni,ri,e.css`
@@ -126,6 +126,12 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
126
126
  position: absolute;
127
127
  inset: 0;
128
128
  display: flex;
129
+ background-color: ${ai.colorSurface};
130
+ border-radius: ${ai.borderRadiusS} ${ai.borderRadiusS} 0 0;
131
+ }
132
+
133
+ .ft-input-label--outlined {
134
+ border-radius: ${ai.borderRadiusS};
129
135
  }
130
136
 
131
137
  .ft-input-label {
@@ -164,8 +170,8 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
164
170
  border-color: inherit;
165
171
  color: ${ai.textColor};
166
172
  transition: font-size 250ms, line-height 250ms, color 250ms;
167
- ${i.setVariable(Zt.fontSize,ai.fontSize)};
168
- ${i.setVariable(Zt.lineHeight,ai.fontSize)};
173
+ ${i.setVariable(Ct.fontSize,ai.fontSize)};
174
+ ${i.setVariable(Ct.lineHeight,ai.fontSize)};
169
175
  }
170
176
 
171
177
  .ft-input-label--in-error .ft-input-label--text {
@@ -194,8 +200,8 @@ const W=Symbol.for(""),G=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===
194
200
  }
195
201
 
196
202
  .ft-input-label--raised .ft-input-label--text {
197
- ${i.setVariable(Zt.fontSize,ai.raisedFontSize)};
198
- ${i.setVariable(Zt.lineHeight,ai.raisedFontSize)};
203
+ ${i.setVariable(Ct.fontSize,ai.raisedFontSize)};
204
+ ${i.setVariable(Ct.lineHeight,ai.raisedFontSize)};
199
205
  }
200
206
 
201
207
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -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,n=new WeakMap,r=new WeakMap,s=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,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.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=s.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),n.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=g[g.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,n=o._getDefinition(e);return n?u(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.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,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(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 g=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(v(Element,"innerHTML"),v(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!==n.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 r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),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 s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(ut){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=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,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)r.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.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=s.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),n.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=g[g.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,n=o._getDefinition(e);return n?d(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.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,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.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),n.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 g=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(v(Element,"innerHTML"),v(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!==n.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 r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),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 s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(yt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -24,39 +24,40 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
24
24
  * @license
25
25
  * Copyright 2021 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}var o;null===(o=window.HTMLSlotElement)||void 0===o||o.prototype.assignedElements;const n=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
27
+ */}var o;null===(o=window.HTMLSlotElement)||void 0===o||o.prototype.assignedElements;const n=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2019 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */,r=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),a=new Map;class l{constructor(t,e){if(this._$cssResult$=!0,e!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=a.get(this.cssText);return r&&void 0===t&&(a.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const h=t=>new l("string"==typeof t?t:t+"",s),c=(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 l(i,s)},p=(t,e)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},f=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return h(e)})(t):t
32
+ */
33
+ const r=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),a=new Map;class l{constructor(t,e){if(this._$cssResult$=!0,e!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=a.get(this.cssText);return r&&void 0===t&&(a.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const h=t=>new l("string"==typeof t?t:t+"",s),c=(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 l(i,s)},p=(t,e)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},f=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return h(e)})(t):t
33
34
  /**
34
35
  * @license
35
36
  * Copyright 2017 Google LLC
36
37
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;var d;const u=window.trustedTypes,y=u?u.emptyScript:"",g=window.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?y: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}},v=(t,e)=>e!==t&&(e==e||t==t),x={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:v};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=x){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 n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||x}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._$Eu=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(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).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._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.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 p(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||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._$Eg)||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)}_$ES(t,e,i=x){var o,n;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:b.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,o,n;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:b.fromAttribute;this._$Ei=s,this[s]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}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._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||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._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||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)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
38
+ */;var u;const d=window.trustedTypes,y=d?d.emptyScript:"",g=window.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?y: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}},v=(t,e)=>e!==t&&(e==e||t==t),x={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:v};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=x){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 n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||x}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._$Eu=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(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).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._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.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 p(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||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._$Eg)||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)}_$ES(t,e,i=x){var o,n;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:b.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,o,n;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:b.fromAttribute;this._$Ei=s,this[s]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}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._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||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._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||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)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
38
39
  /**
39
40
  * @license
40
41
  * Copyright 2017 Google LLC
41
42
  * SPDX-License-Identifier: BSD-3-Clause
42
43
  */
43
- var w;m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:m}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.3.2");const $=globalThis.trustedTypes,O=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,C=`<${N}>`,E=document,R=(t="")=>E.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,z=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,T=/"/g,B=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),P=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),j=new WeakMap,W=E.createTreeWalker(E,129,null,!1),H=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=F;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===F?"!--"===l[1]?s=k:void 0!==l[1]?s=z:void 0!==l[2]?(B.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=L):void 0!==l[3]&&(s=L):s===L?">"===l[0]?(s=null!=n?n:F,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?L:'"'===l[3]?T:A):s===T||s===A?s=L:s===k||s===z?s=F:(s=L,n=void 0);const p=s===L&&t[e+1].startsWith("/>")?" ":"";r+=s===F?i+C:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+S+p):i+S+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(a):a,o]};class I{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=H(t,e);if(this.el=I.createElement(l,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=W.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?X:"?"===e[1]?G:"@"===e[1]?Q:J})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(B.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=$?$.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],R()),W.nextNode(),a.push({type:2,index:++n});o.append(t[e],R())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)a.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function K(t,e,i=t,o){var n,r,s,a;if(e===P)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=K(t,l._$AS(t,e.values),l,o)),e}class Z{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);W.currentNode=n;let r=W.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new V(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new Y(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=W.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class V{constructor(t,e,i,o){var n;this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=K(this,t,e),M(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==P&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return U(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==D&&M(this._$AH)?this._$AA.nextSibling.data=t:this.k(E.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=I.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Z(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=j.get(t.strings);return void 0===e&&j.set(t.strings,e=new I(t)),e}S(t){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new V(this.M(R()),this.M(R()),this,this.options)):i=e[o],i._$AI(n),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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,n){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=K(this,t,e,0),r=!M(t)||t!==this._$AH&&t!==P,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=K(this,o[i+s],e,s),a===P&&(a=this._$AH[s]),r||(r=!M(a)||a!==this._$AH[s]),a===D?t=D:t!==D&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.C(t)}C(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===D?void 0:t}}const q=$?$.emptyScript:"";class G extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==D?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class Q extends J{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=K(this,t,e,0))&&void 0!==i?i:D)===P)return;const o=this._$AH,n=t===D&&o!==D||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==D&&(o===D||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 Y{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){K(this,t)}}const tt=window.litHtmlPolyfillSupport;
44
+ var w;m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:m}),(null!==(u=globalThis.reactiveElementVersions)&&void 0!==u?u:globalThis.reactiveElementVersions=[]).push("1.3.2");const $=globalThis.trustedTypes,O=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,E=`<${N}>`,C=document,R=(t="")=>C.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,z=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,L=/'/g,T=/"/g,B=/^(?:script|style|textarea|title)$/i,P=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),_=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),D=new WeakMap,W=C.createTreeWalker(C,129,null,!1),H=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=F;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===F?"!--"===l[1]?s=k:void 0!==l[1]?s=z:void 0!==l[2]?(B.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=A):void 0!==l[3]&&(s=A):s===A?">"===l[0]?(s=null!=n?n:F,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?A:'"'===l[3]?T:L):s===T||s===L?s=A:s===k||s===z?s=F:(s=A,n=void 0);const p=s===A&&t[e+1].startsWith("/>")?" ":"";r+=s===F?i+E:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+S+p):i+S+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(a):a,o]};class I{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=H(t,e);if(this.el=I.createElement(l,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=W.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?X:"?"===e[1]?G:"@"===e[1]?Q:J})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(B.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=$?$.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],R()),W.nextNode(),a.push({type:2,index:++n});o.append(t[e],R())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)a.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,e){const i=C.createElement("template");return i.innerHTML=t,i}}function K(t,e,i=t,o){var n,r,s,a;if(e===_)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=K(t,l._$AS(t,e.values),l,o)),e}class Z{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:C).importNode(i,!0);W.currentNode=n;let r=W.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new V(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new Y(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=W.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class V{constructor(t,e,i,o){var n;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=K(this,t,e),M(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==_&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return U(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==j&&M(this._$AH)?this._$AA.nextSibling.data=t:this.k(C.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=I.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Z(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new I(t)),e}S(t){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new V(this.M(R()),this.M(R()),this,this.options)):i=e[o],i._$AI(n),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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,n){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=K(this,t,e,0),r=!M(t)||t!==this._$AH&&t!==_,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=K(this,o[i+s],e,s),a===_&&(a=this._$AH[s]),r||(r=!M(a)||a!==this._$AH[s]),a===j?t=j:t!==j&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.C(t)}C(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===j?void 0:t}}const q=$?$.emptyScript:"";class G extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==j?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class Q extends J{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=K(this,t,e,0))&&void 0!==i?i:j)===_)return;const o=this._$AH,n=t===j&&o!==j||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==j&&(o===j||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 Y{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){K(this,t)}}const tt=window.litHtmlPolyfillSupport;
44
45
  /**
45
46
  * @license
46
47
  * Copyright 2017 Google LLC
47
48
  * SPDX-License-Identifier: BSD-3-Clause
48
49
  */
49
- var et,it;null==tt||tt(I,V),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.2.4");class ot extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=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._$Dt=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new V(e.insertBefore(R(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return P}}ot.finalized=!0,ot._$litElement$=!0,null===(et=globalThis.litElementHydrateSupport)||void 0===et||et.call(globalThis,{LitElement:ot});const nt=globalThis.litElementPolyfillSupport;null==nt||nt({LitElement:ot}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.2.0");class rt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new rt(t,e,void 0,i)}static extend(t,e,i){return new rt(t,e.category,e,i)}static external(t,e){return new rt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return c`var(${h(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):h(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function st(t,e){return h(`${t.name}: ${e}`)}const at={colorPrimary:rt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:rt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:rt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:rt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:rt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:rt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:rt.create("--ft-color-error","COLOR","#B00020"),colorOutline:rt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:rt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:rt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:rt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:rt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:rt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:rt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:rt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:rt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:rt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:rt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:rt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:rt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:rt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:rt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:rt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:rt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:rt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:rt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:rt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:rt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:rt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:rt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:rt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:rt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:rt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:rt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:rt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:rt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:rt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:rt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:rt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:rt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:rt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:rt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:rt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:rt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:rt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:rt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:rt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:rt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:rt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:rt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:rt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
50
+ var et,it;null==tt||tt(I,V),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.2.4");class ot extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=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._$Dt=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new V(e.insertBefore(R(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return _}}ot.finalized=!0,ot._$litElement$=!0,null===(et=globalThis.litElementHydrateSupport)||void 0===et||et.call(globalThis,{LitElement:ot});const nt=globalThis.litElementPolyfillSupport;null==nt||nt({LitElement:ot}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.2.0");class rt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new rt(t,e,void 0,i)}static extend(t,e,i){return new rt(t,e.category,e,i)}static external(t,e){return new rt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return c`var(${h(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):h(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function st(t,e){return h(`${t.name}: ${e}`)}const at={colorPrimary:rt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:rt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:rt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:rt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:rt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:rt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:rt.create("--ft-color-error","COLOR","#B00020"),colorOutline:rt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:rt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:rt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:rt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:rt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:rt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:rt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:rt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:rt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:rt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:rt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:rt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:rt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:rt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:rt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:rt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:rt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:rt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:rt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:rt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:rt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:rt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:rt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:rt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:rt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:rt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:rt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:rt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:rt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:rt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:rt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:rt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:rt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:rt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:rt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:rt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:rt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.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:rt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:rt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:rt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:rt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:rt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:rt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:rt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:rt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
50
51
  /**
51
52
  * @license
52
53
  * Copyright 2021 Google LLC
53
54
  * SPDX-License-Identifier: BSD-3-Clause
54
- */class lt 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 n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return p(n,this.constructor.elementStyles),n}}}(ot)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),_`
55
- ${t.map((t=>_`
55
+ */var lt,ht,ct=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class pt 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 n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return p(n,this.constructor.elementStyles),n}}}(ot)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),P`
56
+ ${t.map((t=>P`
56
57
  <style>${t}</style>
57
58
  `))}
58
59
  ${this.getTemplate()}
59
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var ht,ct;c`
60
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,r,s;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!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];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(", "))}contentAvailableCallback(t){}}ct([i()],pt.prototype,"exportpartsPrefix",void 0),ct([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],pt.prototype,"exportpartsPrefixes",void 0),c`
60
61
  .ft-no-text-select {
61
62
  -webkit-touch-callout: none;
62
63
  -webkit-user-select: none;
@@ -65,147 +66,153 @@ var et,it;null==tt||tt(I,V),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w
65
66
  -ms-user-select: none;
66
67
  user-select: none;
67
68
  }
68
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ct=null===(ht=window.safari)||void 0===ht?void 0:ht.pushNotification)||void 0===ct||ct.toString());
69
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ht=null===(lt=window.safari)||void 0===lt?void 0:lt.pushNotification)||void 0===ht||ht.toString());
69
70
  /**
70
71
  * @license
71
72
  * Copyright 2017 Google LLC
72
73
  * SPDX-License-Identifier: BSD-3-Clause
73
74
  */
74
- const pt=1;
75
+ const ft=1;
75
76
  /**
76
77
  * @license
77
78
  * Copyright 2018 Google LLC
78
79
  * SPDX-License-Identifier: BSD-3-Clause
79
80
  */
80
- const ft=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{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)}}{constructor(t){var e;if(super(t),t.type!==pt||"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.et){this.et=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.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return P}}),dt=Symbol.for(""),ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===dt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},yt=t=>({_$litStatic$:t,r:dt}),gt=new Map,bt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=ut(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=gt.get(t))&&(s.raw=s,gt.set(t,e=s)),i=a}return t(e,...i)})(_);
81
+ const ut=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{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)}}{constructor(t){var e;if(super(t),t.type!==ft||"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.et){this.et=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.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return _}}),dt=Symbol.for(""),yt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===dt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},gt=t=>({_$litStatic$:t,r:dt}),bt=new Map,vt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=yt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=bt.get(t))&&(s.raw=s,bt.set(t,e=s)),i=a}return t(e,...i)})(P);
81
82
  /**
82
83
  * @license
83
84
  * Copyright 2020 Google LLC
84
85
  * SPDX-License-Identifier: BSD-3-Clause
85
- */var vt,xt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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"}(vt||(vt={}));const mt=rt.extend("--ft-typography-font-family",at.titleFont),wt=rt.extend("--ft-typography-font-family",at.contentFont),$t={fontFamily:wt,fontSize:rt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:rt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:rt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:rt.create("--ft-typography-line-height","SIZE","24px"),textTransform:rt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ot=rt.extend("--ft-typography-title-font-family",mt),St=rt.extend("--ft-typography-title-font-size",$t.fontSize,"20px"),Nt=rt.extend("--ft-typography-title-font-weight",$t.fontWeight,"normal"),Ct=rt.extend("--ft-typography-title-letter-spacing",$t.letterSpacing,"0.15px"),Et=rt.extend("--ft-typography-title-line-height",$t.lineHeight,"24px"),Rt=rt.extend("--ft-typography-title-text-transform",$t.textTransform,"inherit"),Mt=rt.extend("--ft-typography-title-dense-font-family",mt),Ut=rt.extend("--ft-typography-title-dense-font-size",$t.fontSize,"14px"),Ft=rt.extend("--ft-typography-title-dense-font-weight",$t.fontWeight,"normal"),kt=rt.extend("--ft-typography-title-dense-letter-spacing",$t.letterSpacing,"0.105px"),zt=rt.extend("--ft-typography-title-dense-line-height",$t.lineHeight,"24px"),Lt=rt.extend("--ft-typography-title-dense-text-transform",$t.textTransform,"inherit"),At=rt.extend("--ft-typography-subtitle1-font-family",wt),Tt=rt.extend("--ft-typography-subtitle1-font-size",$t.fontSize,"16px"),Bt=rt.extend("--ft-typography-subtitle1-font-weight",$t.fontWeight,"600"),_t=rt.extend("--ft-typography-subtitle1-letter-spacing",$t.letterSpacing,"0.144px"),Pt=rt.extend("--ft-typography-subtitle1-line-height",$t.lineHeight,"24px"),Dt=rt.extend("--ft-typography-subtitle1-text-transform",$t.textTransform,"inherit"),jt=rt.extend("--ft-typography-subtitle2-font-family",wt),Wt=rt.extend("--ft-typography-subtitle2-font-size",$t.fontSize,"14px"),Ht=rt.extend("--ft-typography-subtitle2-font-weight",$t.fontWeight,"normal"),It=rt.extend("--ft-typography-subtitle2-letter-spacing",$t.letterSpacing,"0.098px"),Kt=rt.extend("--ft-typography-subtitle2-line-height",$t.lineHeight,"24px"),Zt=rt.extend("--ft-typography-subtitle2-text-transform",$t.textTransform,"inherit"),Vt=rt.extend("--ft-typography-body1-font-family",wt),Jt=rt.extend("--ft-typography-body1-font-size",$t.fontSize,"16px"),Xt=rt.extend("--ft-typography-body1-font-weight",$t.fontWeight,"normal"),qt=rt.extend("--ft-typography-body1-letter-spacing",$t.letterSpacing,"0.496px"),Gt=rt.extend("--ft-typography-body1-line-height",$t.lineHeight,"24px"),Qt=rt.extend("--ft-typography-body1-text-transform",$t.textTransform,"inherit"),Yt=rt.extend("--ft-typography-body2-font-family",wt),te=rt.extend("--ft-typography-body2-font-size",$t.fontSize,"14px"),ee=rt.extend("--ft-typography-body2-font-weight",$t.fontWeight,"normal"),ie=rt.extend("--ft-typography-body2-letter-spacing",$t.letterSpacing,"0.252px"),oe=rt.extend("--ft-typography-body2-line-height",$t.lineHeight,"20px"),ne=rt.extend("--ft-typography-body2-text-transform",$t.textTransform,"inherit"),re={fontFamily:rt.extend("--ft-typography-caption-font-family",wt),fontSize:rt.extend("--ft-typography-caption-font-size",$t.fontSize,"12px"),fontWeight:rt.extend("--ft-typography-caption-font-weight",$t.fontWeight,"normal"),letterSpacing:rt.extend("--ft-typography-caption-letter-spacing",$t.letterSpacing,"0.396px"),lineHeight:rt.extend("--ft-typography-caption-line-height",$t.lineHeight,"16px"),textTransform:rt.extend("--ft-typography-caption-text-transform",$t.textTransform,"inherit")},se=rt.extend("--ft-typography-breadcrumb-font-family",wt),ae=rt.extend("--ft-typography-breadcrumb-font-size",$t.fontSize,"10px"),le=rt.extend("--ft-typography-breadcrumb-font-weight",$t.fontWeight,"normal"),he=rt.extend("--ft-typography-breadcrumb-letter-spacing",$t.letterSpacing,"0.33px"),ce=rt.extend("--ft-typography-breadcrumb-line-height",$t.lineHeight,"16px"),pe=rt.extend("--ft-typography-breadcrumb-text-transform",$t.textTransform,"inherit"),fe=rt.extend("--ft-typography-overline-font-family",wt),de=rt.extend("--ft-typography-overline-font-size",$t.fontSize,"10px"),ue=rt.extend("--ft-typography-overline-font-weight",$t.fontWeight,"normal"),ye=rt.extend("--ft-typography-overline-letter-spacing",$t.letterSpacing,"1.5px"),ge=rt.extend("--ft-typography-overline-line-height",$t.lineHeight,"16px"),be=rt.extend("--ft-typography-overline-text-transform",$t.textTransform,"uppercase"),ve=rt.extend("--ft-typography-button-font-family",wt),xe=rt.extend("--ft-typography-button-font-size",$t.fontSize,"14px"),me=rt.extend("--ft-typography-button-font-weight",$t.fontWeight,"600"),we=rt.extend("--ft-typography-button-letter-spacing",$t.letterSpacing,"1.246px"),$e=rt.extend("--ft-typography-button-line-height",$t.lineHeight,"16px"),Oe=rt.extend("--ft-typography-button-text-transform",$t.textTransform,"uppercase"),Se=c`
86
+ */var xt,mt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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 wt=rt.extend("--ft-typography-font-family",at.titleFont),$t=rt.extend("--ft-typography-font-family",at.contentFont),Ot={fontFamily:$t,fontSize:rt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:rt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:rt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:rt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:rt.create("--ft-typography-text-transform","UNKNOWN","inherit")},St=rt.extend("--ft-typography-title-font-family",wt),Nt=rt.extend("--ft-typography-title-font-size",Ot.fontSize,"20px"),Et=rt.extend("--ft-typography-title-font-weight",Ot.fontWeight,"normal"),Ct=rt.extend("--ft-typography-title-letter-spacing",Ot.letterSpacing,"0.15px"),Rt=rt.extend("--ft-typography-title-line-height",Ot.lineHeight,"1.2"),Mt=rt.extend("--ft-typography-title-text-transform",Ot.textTransform,"inherit"),Ut=rt.extend("--ft-typography-title-dense-font-family",wt),Ft=rt.extend("--ft-typography-title-dense-font-size",Ot.fontSize,"14px"),kt=rt.extend("--ft-typography-title-dense-font-weight",Ot.fontWeight,"normal"),zt=rt.extend("--ft-typography-title-dense-letter-spacing",Ot.letterSpacing,"0.105px"),At=rt.extend("--ft-typography-title-dense-line-height",Ot.lineHeight,"1.7"),Lt=rt.extend("--ft-typography-title-dense-text-transform",Ot.textTransform,"inherit"),Tt=rt.extend("--ft-typography-subtitle1-font-family",$t),Bt=rt.extend("--ft-typography-subtitle1-font-size",Ot.fontSize,"16px"),Pt=rt.extend("--ft-typography-subtitle1-font-weight",Ot.fontWeight,"600"),_t=rt.extend("--ft-typography-subtitle1-letter-spacing",Ot.letterSpacing,"0.144px"),jt=rt.extend("--ft-typography-subtitle1-line-height",Ot.lineHeight,"1.5"),Dt=rt.extend("--ft-typography-subtitle1-text-transform",Ot.textTransform,"inherit"),Wt=rt.extend("--ft-typography-subtitle2-font-family",$t),Ht=rt.extend("--ft-typography-subtitle2-font-size",Ot.fontSize,"14px"),It=rt.extend("--ft-typography-subtitle2-font-weight",Ot.fontWeight,"normal"),Kt=rt.extend("--ft-typography-subtitle2-letter-spacing",Ot.letterSpacing,"0.098px"),Zt=rt.extend("--ft-typography-subtitle2-line-height",Ot.lineHeight,"1.7"),Vt=rt.extend("--ft-typography-subtitle2-text-transform",Ot.textTransform,"inherit"),Jt=rt.extend("--ft-typography-body1-font-family",$t),Xt=rt.extend("--ft-typography-body1-font-size",Ot.fontSize,"16px"),qt=rt.extend("--ft-typography-body1-font-weight",Ot.fontWeight,"normal"),Gt=rt.extend("--ft-typography-body1-letter-spacing",Ot.letterSpacing,"0.496px"),Qt=rt.extend("--ft-typography-body1-line-height",Ot.lineHeight,"1.5"),Yt=rt.extend("--ft-typography-body1-text-transform",Ot.textTransform,"inherit"),te=rt.extend("--ft-typography-body2-font-family",$t),ee=rt.extend("--ft-typography-body2-font-size",Ot.fontSize,"14px"),ie=rt.extend("--ft-typography-body2-font-weight",Ot.fontWeight,"normal"),oe=rt.extend("--ft-typography-body2-letter-spacing",Ot.letterSpacing,"0.252px"),ne=rt.extend("--ft-typography-body2-line-height",Ot.lineHeight,"1.4"),re=rt.extend("--ft-typography-body2-text-transform",Ot.textTransform,"inherit"),se={fontFamily:rt.extend("--ft-typography-caption-font-family",$t),fontSize:rt.extend("--ft-typography-caption-font-size",Ot.fontSize,"12px"),fontWeight:rt.extend("--ft-typography-caption-font-weight",Ot.fontWeight,"normal"),letterSpacing:rt.extend("--ft-typography-caption-letter-spacing",Ot.letterSpacing,"0.396px"),lineHeight:rt.extend("--ft-typography-caption-line-height",Ot.lineHeight,"1.33"),textTransform:rt.extend("--ft-typography-caption-text-transform",Ot.textTransform,"inherit")},ae=rt.extend("--ft-typography-breadcrumb-font-family",$t),le=rt.extend("--ft-typography-breadcrumb-font-size",Ot.fontSize,"10px"),he=rt.extend("--ft-typography-breadcrumb-font-weight",Ot.fontWeight,"normal"),ce=rt.extend("--ft-typography-breadcrumb-letter-spacing",Ot.letterSpacing,"0.33px"),pe=rt.extend("--ft-typography-breadcrumb-line-height",Ot.lineHeight,"1.6"),fe=rt.extend("--ft-typography-breadcrumb-text-transform",Ot.textTransform,"inherit"),ue=rt.extend("--ft-typography-overline-font-family",$t),de=rt.extend("--ft-typography-overline-font-size",Ot.fontSize,"10px"),ye=rt.extend("--ft-typography-overline-font-weight",Ot.fontWeight,"normal"),ge=rt.extend("--ft-typography-overline-letter-spacing",Ot.letterSpacing,"1.5px"),be=rt.extend("--ft-typography-overline-line-height",Ot.lineHeight,"1.6"),ve=rt.extend("--ft-typography-overline-text-transform",Ot.textTransform,"uppercase"),xe=rt.extend("--ft-typography-button-font-family",$t),me=rt.extend("--ft-typography-button-font-size",Ot.fontSize,"14px"),we=rt.extend("--ft-typography-button-font-weight",Ot.fontWeight,"600"),$e=rt.extend("--ft-typography-button-letter-spacing",Ot.letterSpacing,"1.246px"),Oe=rt.extend("--ft-typography-button-line-height",Ot.lineHeight,"1.15"),Se=rt.extend("--ft-typography-button-text-transform",Ot.textTransform,"uppercase"),Ne=c`
86
87
  .ft-typography--title {
87
- font-family: ${Ot};
88
- font-size: ${St};
89
- font-weight: ${Nt};
88
+ font-family: ${St};
89
+ font-size: ${Nt};
90
+ font-weight: ${Et};
90
91
  letter-spacing: ${Ct};
91
- line-height: ${Et};
92
- text-transform: ${Rt};
92
+ line-height: ${Rt};
93
+ text-transform: ${Mt};
93
94
  }
94
- `,Ne=c`
95
+ `,Ee=c`
95
96
  .ft-typography--title-dense {
96
- font-family: ${Mt};
97
- font-size: ${Ut};
98
- font-weight: ${Ft};
99
- letter-spacing: ${kt};
100
- line-height: ${zt};
97
+ font-family: ${Ut};
98
+ font-size: ${Ft};
99
+ font-weight: ${kt};
100
+ letter-spacing: ${zt};
101
+ line-height: ${At};
101
102
  text-transform: ${Lt};
102
103
  }
103
104
  `,Ce=c`
104
105
  .ft-typography--subtitle1 {
105
- font-family: ${At};
106
- font-size: ${Tt};
107
- font-weight: ${Bt};
106
+ font-family: ${Tt};
107
+ font-size: ${Bt};
108
+ font-weight: ${Pt};
108
109
  letter-spacing: ${_t};
109
- line-height: ${Pt};
110
+ line-height: ${jt};
110
111
  text-transform: ${Dt};
111
112
  }
112
- `,Ee=c`
113
+ `,Re=c`
113
114
  .ft-typography--subtitle2 {
114
- font-family: ${jt};
115
- font-size: ${Wt};
116
- font-weight: ${Ht};
117
- letter-spacing: ${It};
118
- line-height: ${Kt};
119
- text-transform: ${Zt};
115
+ font-family: ${Wt};
116
+ font-size: ${Ht};
117
+ font-weight: ${It};
118
+ letter-spacing: ${Kt};
119
+ line-height: ${Zt};
120
+ text-transform: ${Vt};
120
121
  }
121
122
 
122
- `,Re=c`
123
+ `,Me=c`
123
124
  .ft-typography--body1 {
124
- font-family: ${Vt};
125
- font-size: ${Jt};
126
- font-weight: ${Xt};
127
- letter-spacing: ${qt};
128
- line-height: ${Gt};
129
- text-transform: ${Qt};
125
+ font-family: ${Jt};
126
+ font-size: ${Xt};
127
+ font-weight: ${qt};
128
+ letter-spacing: ${Gt};
129
+ line-height: ${Qt};
130
+ text-transform: ${Yt};
130
131
  }
131
- `,Me=c`
132
+ `,Ue=c`
132
133
  .ft-typography--body2 {
133
- font-family: ${Yt};
134
- font-size: ${te};
135
- font-weight: ${ee};
136
- letter-spacing: ${ie};
137
- line-height: ${oe};
138
- text-transform: ${ne};
134
+ font-family: ${te};
135
+ font-size: ${ee};
136
+ font-weight: ${ie};
137
+ letter-spacing: ${oe};
138
+ line-height: ${ne};
139
+ text-transform: ${re};
139
140
  }
140
- `,Ue=c`
141
+ `,Fe=c`
141
142
  .ft-typography--caption {
142
- font-family: ${re.fontFamily};
143
- font-size: ${re.fontSize};
144
- font-weight: ${re.fontWeight};
145
- letter-spacing: ${re.letterSpacing};
146
- line-height: ${re.lineHeight};
147
- text-transform: ${re.textTransform};
143
+ font-family: ${se.fontFamily};
144
+ font-size: ${se.fontSize};
145
+ font-weight: ${se.fontWeight};
146
+ letter-spacing: ${se.letterSpacing};
147
+ line-height: ${se.lineHeight};
148
+ text-transform: ${se.textTransform};
148
149
  }
149
- `,Fe=c`
150
+ `,ke=c`
150
151
  .ft-typography--breadcrumb {
151
- font-family: ${se};
152
- font-size: ${ae};
153
- font-weight: ${le};
154
- letter-spacing: ${he};
155
- line-height: ${ce};
156
- text-transform: ${pe};
152
+ font-family: ${ae};
153
+ font-size: ${le};
154
+ font-weight: ${he};
155
+ letter-spacing: ${ce};
156
+ line-height: ${pe};
157
+ text-transform: ${fe};
157
158
  }
158
- `,ke=c`
159
+ `,ze=c`
159
160
  .ft-typography--overline {
160
- font-family: ${fe};
161
+ font-family: ${ue};
161
162
  font-size: ${de};
162
- font-weight: ${ue};
163
- letter-spacing: ${ye};
164
- line-height: ${ge};
165
- text-transform: ${be};
163
+ font-weight: ${ye};
164
+ letter-spacing: ${ge};
165
+ line-height: ${be};
166
+ text-transform: ${ve};
166
167
  }
167
- `,ze=c`
168
+ `,Ae=c`
168
169
  .ft-typography--button {
169
- font-family: ${ve};
170
- font-size: ${xe};
171
- font-weight: ${me};
172
- letter-spacing: ${we};
173
- line-height: ${$e};
174
- text-transform: ${Oe};
170
+ font-family: ${xe};
171
+ font-size: ${me};
172
+ font-weight: ${we};
173
+ letter-spacing: ${$e};
174
+ line-height: ${Oe};
175
+ text-transform: ${Se};
175
176
  }
176
- `;class Le extends lt{constructor(){super(...arguments),this.variant=vt.body1}render(){return this.element?bt`
177
- <${yt(this.element)}
177
+ `;class Le extends pt{constructor(){super(...arguments),this.variant=xt.body1}render(){return this.element?vt`
178
+ <${gt(this.element)}
178
179
  class="ft-typography ft-typography--${this.variant}">
179
180
  <slot></slot>
180
- </${yt(this.element)}>
181
- `:bt`
181
+ </${gt(this.element)}>
182
+ `:vt`
182
183
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
183
- `}}Le.styles=[Se,Ne,Ce,Ee,Re,Me,Ue,Fe,ke,ze,c`
184
+ `}}Le.styles=[Ne,Ee,Ce,Re,Me,Ue,Fe,ke,ze,Ae,c`
184
185
  .ft-typography {
185
186
  vertical-align: inherit;
186
187
  }
187
- `],xt([i()],Le.prototype,"element",void 0),xt([i()],Le.prototype,"variant",void 0),n("ft-typography")(Le);var Ae=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Te={fontSize:rt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:rt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:rt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:rt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:rt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:rt.extend("--ft-input-label-border-color",at.colorOutline),textColor:rt.extend("--ft-input-label-text-color",at.colorOnSurfaceMedium),disabledTextColor:rt.extend("--ft-input-label-disabled-text-color",at.colorOnSurfaceDisabled),colorSurface:rt.external(at.colorSurface,"Design system"),borderRadiusS:rt.external(at.borderRadiusS,"Design system"),colorError:rt.external(at.colorError,"Design system")};class Be extends lt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return _`
188
- <div class="${ft(t)}">
189
- ${this.text?_`
188
+ `],mt([i()],Le.prototype,"element",void 0),mt([i()],Le.prototype,"variant",void 0),n("ft-typography")(Le);var Te=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Be={fontSize:rt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:rt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:rt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:rt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:rt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:rt.extend("--ft-input-label-border-color",at.colorOutline),textColor:rt.extend("--ft-input-label-text-color",at.colorOnSurfaceMedium),disabledTextColor:rt.extend("--ft-input-label-disabled-text-color",at.colorOnSurfaceDisabled),colorSurface:rt.external(at.colorSurface,"Design system"),borderRadiusS:rt.external(at.borderRadiusS,"Design system"),colorError:rt.external(at.colorError,"Design system")};class Pe extends pt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return P`
189
+ <div class="${ut(t)}">
190
+ ${this.text?P`
190
191
  <div class="ft-input-label--text ft-typography--caption">
191
192
  <span class="ft-input-label--floating-text">${this.text}</span>
192
193
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
193
194
  </div>
194
195
  `:null}
195
196
  </div>
196
- `}}Be.elementDefinitions={},Be.styles=[Ue,c`
197
+ `}}Pe.elementDefinitions={},Pe.styles=[Fe,c`
197
198
  .ft-input-label {
198
199
  position: absolute;
199
200
  inset: 0;
200
201
  display: flex;
202
+ background-color: ${Be.colorSurface};
203
+ border-radius: ${Be.borderRadiusS} ${Be.borderRadiusS} 0 0;
204
+ }
205
+
206
+ .ft-input-label--outlined {
207
+ border-radius: ${Be.borderRadiusS};
201
208
  }
202
209
 
203
210
  .ft-input-label {
204
- border-color: ${Te.borderColor};
211
+ border-color: ${Be.borderColor};
205
212
  }
206
213
 
207
214
  .ft-input-label.ft-input-label--in-error {
208
- border-color: ${Te.colorError}
215
+ border-color: ${Be.colorError}
209
216
  }
210
217
 
211
218
  .ft-input-label:before,
@@ -218,7 +225,7 @@ const ft=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
218
225
  }
219
226
 
220
227
  .ft-input-label:before {
221
- width: ${Te.horizontalSpacing};
228
+ width: ${Be.horizontalSpacing};
222
229
  flex-shrink: 0;
223
230
  }
224
231
 
@@ -234,18 +241,18 @@ const ft=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
234
241
  border-bottom-width: 1px;
235
242
  border-bottom-style: solid;
236
243
  border-color: inherit;
237
- color: ${Te.textColor};
244
+ color: ${Be.textColor};
238
245
  transition: font-size 250ms, line-height 250ms, color 250ms;
239
- ${st(re.fontSize,Te.fontSize)};
240
- ${st(re.lineHeight,Te.fontSize)};
246
+ ${st(se.fontSize,Be.fontSize)};
247
+ ${st(se.lineHeight,Be.fontSize)};
241
248
  }
242
249
 
243
250
  .ft-input-label--in-error .ft-input-label--text {
244
- color: ${Te.colorError}
251
+ color: ${Be.colorError}
245
252
  }
246
253
 
247
254
  .ft-input-label--disabled .ft-input-label--text {
248
- color: ${Te.disabledTextColor};
255
+ color: ${Be.disabledTextColor};
249
256
  }
250
257
 
251
258
  .ft-input-label--hidden-text {
@@ -261,17 +268,17 @@ const ft=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
261
268
  overflow: hidden;
262
269
  white-space: nowrap;
263
270
  text-overflow: ellipsis;
264
- padding: ${Te.verticalSpacing} 4px;
265
- margin: calc(${Te.verticalSpacing} * -1) 0;
271
+ padding: ${Be.verticalSpacing} 4px;
272
+ margin: calc(${Be.verticalSpacing} * -1) 0;
266
273
  }
267
274
 
268
275
  .ft-input-label--raised .ft-input-label--text {
269
- ${st(re.fontSize,Te.raisedFontSize)};
270
- ${st(re.lineHeight,Te.raisedFontSize)};
276
+ ${st(se.fontSize,Be.raisedFontSize)};
277
+ ${st(se.lineHeight,Be.raisedFontSize)};
271
278
  }
272
279
 
273
280
  .ft-input-label--raised .ft-input-label--floating-text {
274
- top: ${Te.verticalSpacing};
281
+ top: ${Be.verticalSpacing};
275
282
  }
276
283
 
277
284
  .ft-input-label--outlined .ft-input-label--text,
@@ -284,24 +291,24 @@ const ft=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
284
291
  .ft-input-label--outlined:before {
285
292
  border-left-width: 1px;
286
293
  border-left-style: solid;
287
- border-radius: ${Te.borderRadiusS} 0 0 ${Te.borderRadiusS};
294
+ border-radius: ${Be.borderRadiusS} 0 0 ${Be.borderRadiusS};
288
295
  }
289
296
 
290
297
  .ft-input-label--outlined:after {
291
298
  border-right-width: 1px;
292
299
  border-right-style: solid;
293
- border-radius: 0 ${Te.borderRadiusS} ${Te.borderRadiusS} 0;
300
+ border-radius: 0 ${Be.borderRadiusS} ${Be.borderRadiusS} 0;
294
301
  }
295
302
 
296
303
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
297
304
  padding: 2px 4px;
298
- z-index: ${Te.raisedZIndex};
299
- background-color: ${Te.colorSurface};
300
- border-radius: ${Te.borderRadiusS};
305
+ z-index: ${Be.raisedZIndex};
306
+ background-color: ${Be.colorSurface};
307
+ border-radius: ${Be.borderRadiusS};
301
308
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
302
309
  }
303
310
 
304
311
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
305
312
  border-top: none;
306
313
  }
307
- `],Ae([i({type:String})],Be.prototype,"text",void 0),Ae([i({type:Boolean})],Be.prototype,"raised",void 0),Ae([i({type:Boolean})],Be.prototype,"outlined",void 0),Ae([i({type:Boolean})],Be.prototype,"disabled",void 0),Ae([i({type:Boolean})],Be.prototype,"error",void 0),n("ft-input-label")(Be),t.FtInputLabel=Be,t.FtInputLabelCssVariables=Te,Object.defineProperty(t,"t",{value:!0})}({});
314
+ `],Te([i({type:String})],Pe.prototype,"text",void 0),Te([i({type:Boolean})],Pe.prototype,"raised",void 0),Te([i({type:Boolean})],Pe.prototype,"outlined",void 0),Te([i({type:Boolean})],Pe.prototype,"disabled",void 0),Te([i({type:Boolean})],Pe.prototype,"error",void 0),n("ft-input-label")(Pe),t.FtInputLabel=Pe,t.FtInputLabelCssVariables=Be,Object.defineProperty(t,"t",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-input-label",
3
- "version": "0.2.15",
3
+ "version": "0.2.18",
4
4
  "description": "Dynamic label with outline",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-typography": "^0.2.15",
23
- "@fluid-topics/ft-wc-utils": "^0.2.15",
22
+ "@fluid-topics/ft-typography": "^0.2.18",
23
+ "@fluid-topics/ft-wc-utils": "^0.2.18",
24
24
  "lit": "2.1.3"
25
25
  },
26
- "gitHead": "d8f4700bb2461618dc2d1786e0091360556e9e24"
26
+ "gitHead": "ef8d35d4cfa0669cf38aa2e3d40e02ba46f4d7f9"
27
27
  }
@@ -1,312 +0,0 @@
1
- !function(){
2
- /**
3
- * @license
4
- * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
- * This code may only be used under the BSD style license found at
6
- * http://polymer.github.io/LICENSE.txt
7
- * The complete set of authors may be found at
8
- * http://polymer.github.io/AUTHORS.txt
9
- * The complete set of contributors may be found at
10
- * http://polymer.github.io/CONTRIBUTORS.txt
11
- * Code distributed by Google as part of the polymer project is also
12
- * subject to an additional IP rights grant found at
13
- * http://polymer.github.io/PATENTS.txt
14
- *
15
- * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
- */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=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,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.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=s.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),n.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=g[g.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,n=o._getDefinition(e);return n?u(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.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,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(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 g=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(v(Element,"innerHTML"),v(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!==n.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 r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),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 s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(dt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}
18
- /**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const t=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function e(e){return(i,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(e,i,o):t(e,i)
23
- /**
24
- * @license
25
- * Copyright 2021 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */}var i;null===(i=window.HTMLSlotElement)||void 0===i||i.prototype.assignedElements;const o=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
28
- /**
29
- * @license
30
- * Copyright 2019 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */,n=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),s=new Map;class a{constructor(t,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=s.get(this.cssText);return n&&void 0===t&&(s.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const l=t=>new a("string"==typeof t?t:t+"",r),h=(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 a(i,r)},c=(t,e)=>{n?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},p=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return l(e)})(t):t
33
- /**
34
- * @license
35
- * Copyright 2017 Google LLC
36
- * SPDX-License-Identifier: BSD-3-Clause
37
- */;var f;const d=window.trustedTypes,u=d?d.emptyScript:"",y=window.reactiveElementPolyfillSupport,g={toAttribute(t,e){switch(e){case Boolean:t=t?u: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}},b=(t,e)=>e!==t&&(e==e||t==t),v={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:b};class x extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=v){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 n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}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._$Eu=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(p(t))}else void 0!==t&&e.push(p(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).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._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.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 c(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||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._$Eg)||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)}_$ES(t,e,i=v){var o,n;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:g.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,o,n;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:g.fromAttribute;this._$Ei=s,this[s]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||b)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}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._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||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._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||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)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
38
- /**
39
- * @license
40
- * Copyright 2017 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */
43
- var m;x.finalized=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},null==y||y({ReactiveElement:x}),(null!==(f=globalThis.reactiveElementVersions)&&void 0!==f?f:globalThis.reactiveElementVersions=[]).push("1.3.2");const w=globalThis.trustedTypes,$=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,O=`lit$${(Math.random()+"").slice(9)}$`,S="?"+O,N=`<${S}>`,C=document,E=(t="")=>C.createComment(t),R=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,k=/>/g,z=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,L=/'/g,A=/"/g,T=/^(?:script|style|textarea|title)$/i,B=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),P=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),D=new WeakMap,j=C.createTreeWalker(C,129,null,!1),W=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=U;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===U?"!--"===l[1]?s=F:void 0!==l[1]?s=k:void 0!==l[2]?(T.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=z):void 0!==l[3]&&(s=z):s===z?">"===l[0]?(s=null!=n?n:U,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?z:'"'===l[3]?A:L):s===A||s===L?s=z:s===F||s===k?s=U:(s=z,n=void 0);const p=s===z&&t[e+1].startsWith("/>")?" ":"";r+=s===U?i+N:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+O+p):i+O+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(a):a,o]};class H{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=W(t,e);if(this.el=H.createElement(l,i),j.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=j.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(O)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(O),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?J:"?"===e[1]?q:"@"===e[1]?G:V})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(T.test(o.tagName)){const t=o.textContent.split(O),e=t.length-1;if(e>0){o.textContent=w?w.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],E()),j.nextNode(),a.push({type:2,index:++n});o.append(t[e],E())}}}else if(8===o.nodeType)if(o.data===S)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(O,t+1));)a.push({type:7,index:n}),t+=O.length-1}n++}}static createElement(t,e){const i=C.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var n,r,s,a;if(e===P)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=R(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=I(t,l._$AS(t,e.values),l,o)),e}class K{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:C).importNode(i,!0);j.currentNode=n;let r=j.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new Z(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new Q(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=j.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Z{constructor(t,e,i,o){var n;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=I(this,t,e),R(t)?t===_||null==t||""===t?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==P&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return M(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==_&&R(this._$AH)?this._$AA.nextSibling.data=t:this.k(C.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=H.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new K(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new H(t)),e}S(t){M(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Z(this.M(E()),this.M(E()),this,this.options)):i=e[o],i._$AI(n),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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class V{constructor(t,e,i,o,n){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=I(this,t,e,0),r=!R(t)||t!==this._$AH&&t!==P,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=I(this,o[i+s],e,s),a===P&&(a=this._$AH[s]),r||(r=!R(a)||a!==this._$AH[s]),a===_?t=_:t!==_&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.C(t)}C(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class J extends V{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===_?void 0:t}}const X=w?w.emptyScript:"";class q extends V{constructor(){super(...arguments),this.type=4}C(t){t&&t!==_?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class G extends V{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:_)===P)return;const o=this._$AH,n=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==_&&(o===_||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 Q{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){I(this,t)}}const Y=window.litHtmlPolyfillSupport;
44
- /**
45
- * @license
46
- * Copyright 2017 Google LLC
47
- * SPDX-License-Identifier: BSD-3-Clause
48
- */
49
- var tt,et;null==Y||Y(H,Z),(null!==(m=globalThis.litHtmlVersions)&&void 0!==m?m:globalThis.litHtmlVersions=[]).push("2.2.4");class it extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=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._$Dt=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new Z(e.insertBefore(E(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return P}}it.finalized=!0,it._$litElement$=!0,null===(tt=globalThis.litElementHydrateSupport)||void 0===tt||tt.call(globalThis,{LitElement:it});const ot=globalThis.litElementPolyfillSupport;null==ot||ot({LitElement:it}),(null!==(et=globalThis.litElementVersions)&&void 0!==et?et:globalThis.litElementVersions=[]).push("3.2.0");class nt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new nt(t,e,void 0,i)}static extend(t,e,i){return new nt(t,e.category,e,i)}static external(t,e){return new nt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return h`var(${l(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):l(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function rt(t,e){return l(`${t.name}: ${e}`)}const st={colorPrimary:nt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:nt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:nt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:nt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:nt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:nt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:nt.create("--ft-color-error","COLOR","#B00020"),colorOutline:nt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:nt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:nt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:nt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:nt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:nt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:nt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:nt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:nt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:nt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:nt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:nt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:nt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:nt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:nt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:nt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:nt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:nt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:nt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:nt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:nt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:nt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:nt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:nt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:nt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:nt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:nt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:nt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:nt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:nt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:nt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:nt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:nt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:nt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:nt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:nt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:nt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:nt.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:nt.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:nt.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:nt.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:nt.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:nt.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:nt.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:nt.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:nt.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:nt.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:nt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:nt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:nt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:nt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:nt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:nt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
50
- /**
51
- * @license
52
- * Copyright 2021 Google LLC
53
- * SPDX-License-Identifier: BSD-3-Clause
54
- */class at 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 n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return c(n,this.constructor.elementStyles),n}}}(it)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),B`
55
- ${t.map((t=>B`
56
- <style>${t}</style>
57
- `))}
58
- ${this.getTemplate()}
59
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var lt,ht;h`
60
- .ft-no-text-select {
61
- -webkit-touch-callout: none;
62
- -webkit-user-select: none;
63
- -khtml-user-select: none;
64
- -moz-user-select: none;
65
- -ms-user-select: none;
66
- user-select: none;
67
- }
68
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ht=null===(lt=window.safari)||void 0===lt?void 0:lt.pushNotification)||void 0===ht||ht.toString());
69
- /**
70
- * @license
71
- * Copyright 2017 Google LLC
72
- * SPDX-License-Identifier: BSD-3-Clause
73
- */
74
- const ct=1;
75
- /**
76
- * @license
77
- * Copyright 2018 Google LLC
78
- * SPDX-License-Identifier: BSD-3-Clause
79
- */
80
- const pt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{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)}}{constructor(t){var e;if(super(t),t.type!==ct||"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.et){this.et=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.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return P}}),ft=Symbol.for(""),dt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ft)return null===(i=t)||void 0===i?void 0:i._$litStatic$},ut=t=>({_$litStatic$:t,r:ft}),yt=new Map,gt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=dt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=yt.get(t))&&(s.raw=s,yt.set(t,e=s)),i=a}return t(e,...i)})(B);
81
- /**
82
- * @license
83
- * Copyright 2020 Google LLC
84
- * SPDX-License-Identifier: BSD-3-Clause
85
- */var bt,vt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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"}(bt||(bt={}));const xt=nt.extend("--ft-typography-font-family",st.titleFont),mt=nt.extend("--ft-typography-font-family",st.contentFont),wt={fontFamily:mt,fontSize:nt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:nt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:nt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:nt.create("--ft-typography-line-height","SIZE","24px"),textTransform:nt.create("--ft-typography-text-transform","UNKNOWN","inherit")},$t=nt.extend("--ft-typography-title-font-family",xt),Ot=nt.extend("--ft-typography-title-font-size",wt.fontSize,"20px"),St=nt.extend("--ft-typography-title-font-weight",wt.fontWeight,"normal"),Nt=nt.extend("--ft-typography-title-letter-spacing",wt.letterSpacing,"0.15px"),Ct=nt.extend("--ft-typography-title-line-height",wt.lineHeight,"24px"),Et=nt.extend("--ft-typography-title-text-transform",wt.textTransform,"inherit"),Rt=nt.extend("--ft-typography-title-dense-font-family",xt),Mt=nt.extend("--ft-typography-title-dense-font-size",wt.fontSize,"14px"),Ut=nt.extend("--ft-typography-title-dense-font-weight",wt.fontWeight,"normal"),Ft=nt.extend("--ft-typography-title-dense-letter-spacing",wt.letterSpacing,"0.105px"),kt=nt.extend("--ft-typography-title-dense-line-height",wt.lineHeight,"24px"),zt=nt.extend("--ft-typography-title-dense-text-transform",wt.textTransform,"inherit"),Lt=nt.extend("--ft-typography-subtitle1-font-family",mt),At=nt.extend("--ft-typography-subtitle1-font-size",wt.fontSize,"16px"),Tt=nt.extend("--ft-typography-subtitle1-font-weight",wt.fontWeight,"600"),Bt=nt.extend("--ft-typography-subtitle1-letter-spacing",wt.letterSpacing,"0.144px"),Pt=nt.extend("--ft-typography-subtitle1-line-height",wt.lineHeight,"24px"),_t=nt.extend("--ft-typography-subtitle1-text-transform",wt.textTransform,"inherit"),Dt=nt.extend("--ft-typography-subtitle2-font-family",mt),jt=nt.extend("--ft-typography-subtitle2-font-size",wt.fontSize,"14px"),Wt=nt.extend("--ft-typography-subtitle2-font-weight",wt.fontWeight,"normal"),Ht=nt.extend("--ft-typography-subtitle2-letter-spacing",wt.letterSpacing,"0.098px"),It=nt.extend("--ft-typography-subtitle2-line-height",wt.lineHeight,"24px"),Kt=nt.extend("--ft-typography-subtitle2-text-transform",wt.textTransform,"inherit"),Zt=nt.extend("--ft-typography-body1-font-family",mt),Vt=nt.extend("--ft-typography-body1-font-size",wt.fontSize,"16px"),Jt=nt.extend("--ft-typography-body1-font-weight",wt.fontWeight,"normal"),Xt=nt.extend("--ft-typography-body1-letter-spacing",wt.letterSpacing,"0.496px"),qt=nt.extend("--ft-typography-body1-line-height",wt.lineHeight,"24px"),Gt=nt.extend("--ft-typography-body1-text-transform",wt.textTransform,"inherit"),Qt=nt.extend("--ft-typography-body2-font-family",mt),Yt=nt.extend("--ft-typography-body2-font-size",wt.fontSize,"14px"),te=nt.extend("--ft-typography-body2-font-weight",wt.fontWeight,"normal"),ee=nt.extend("--ft-typography-body2-letter-spacing",wt.letterSpacing,"0.252px"),ie=nt.extend("--ft-typography-body2-line-height",wt.lineHeight,"20px"),oe=nt.extend("--ft-typography-body2-text-transform",wt.textTransform,"inherit"),ne={fontFamily:nt.extend("--ft-typography-caption-font-family",mt),fontSize:nt.extend("--ft-typography-caption-font-size",wt.fontSize,"12px"),fontWeight:nt.extend("--ft-typography-caption-font-weight",wt.fontWeight,"normal"),letterSpacing:nt.extend("--ft-typography-caption-letter-spacing",wt.letterSpacing,"0.396px"),lineHeight:nt.extend("--ft-typography-caption-line-height",wt.lineHeight,"16px"),textTransform:nt.extend("--ft-typography-caption-text-transform",wt.textTransform,"inherit")},re=nt.extend("--ft-typography-breadcrumb-font-family",mt),se=nt.extend("--ft-typography-breadcrumb-font-size",wt.fontSize,"10px"),ae=nt.extend("--ft-typography-breadcrumb-font-weight",wt.fontWeight,"normal"),le=nt.extend("--ft-typography-breadcrumb-letter-spacing",wt.letterSpacing,"0.33px"),he=nt.extend("--ft-typography-breadcrumb-line-height",wt.lineHeight,"16px"),ce=nt.extend("--ft-typography-breadcrumb-text-transform",wt.textTransform,"inherit"),pe=nt.extend("--ft-typography-overline-font-family",mt),fe=nt.extend("--ft-typography-overline-font-size",wt.fontSize,"10px"),de=nt.extend("--ft-typography-overline-font-weight",wt.fontWeight,"normal"),ue=nt.extend("--ft-typography-overline-letter-spacing",wt.letterSpacing,"1.5px"),ye=nt.extend("--ft-typography-overline-line-height",wt.lineHeight,"16px"),ge=nt.extend("--ft-typography-overline-text-transform",wt.textTransform,"uppercase"),be=nt.extend("--ft-typography-button-font-family",mt),ve=nt.extend("--ft-typography-button-font-size",wt.fontSize,"14px"),xe=nt.extend("--ft-typography-button-font-weight",wt.fontWeight,"600"),me=nt.extend("--ft-typography-button-letter-spacing",wt.letterSpacing,"1.246px"),we=nt.extend("--ft-typography-button-line-height",wt.lineHeight,"16px"),$e=nt.extend("--ft-typography-button-text-transform",wt.textTransform,"uppercase"),Oe=h`
86
- .ft-typography--title {
87
- font-family: ${$t};
88
- font-size: ${Ot};
89
- font-weight: ${St};
90
- letter-spacing: ${Nt};
91
- line-height: ${Ct};
92
- text-transform: ${Et};
93
- }
94
- `,Se=h`
95
- .ft-typography--title-dense {
96
- font-family: ${Rt};
97
- font-size: ${Mt};
98
- font-weight: ${Ut};
99
- letter-spacing: ${Ft};
100
- line-height: ${kt};
101
- text-transform: ${zt};
102
- }
103
- `,Ne=h`
104
- .ft-typography--subtitle1 {
105
- font-family: ${Lt};
106
- font-size: ${At};
107
- font-weight: ${Tt};
108
- letter-spacing: ${Bt};
109
- line-height: ${Pt};
110
- text-transform: ${_t};
111
- }
112
- `,Ce=h`
113
- .ft-typography--subtitle2 {
114
- font-family: ${Dt};
115
- font-size: ${jt};
116
- font-weight: ${Wt};
117
- letter-spacing: ${Ht};
118
- line-height: ${It};
119
- text-transform: ${Kt};
120
- }
121
-
122
- `,Ee=h`
123
- .ft-typography--body1 {
124
- font-family: ${Zt};
125
- font-size: ${Vt};
126
- font-weight: ${Jt};
127
- letter-spacing: ${Xt};
128
- line-height: ${qt};
129
- text-transform: ${Gt};
130
- }
131
- `,Re=h`
132
- .ft-typography--body2 {
133
- font-family: ${Qt};
134
- font-size: ${Yt};
135
- font-weight: ${te};
136
- letter-spacing: ${ee};
137
- line-height: ${ie};
138
- text-transform: ${oe};
139
- }
140
- `,Me=h`
141
- .ft-typography--caption {
142
- font-family: ${ne.fontFamily};
143
- font-size: ${ne.fontSize};
144
- font-weight: ${ne.fontWeight};
145
- letter-spacing: ${ne.letterSpacing};
146
- line-height: ${ne.lineHeight};
147
- text-transform: ${ne.textTransform};
148
- }
149
- `,Ue=h`
150
- .ft-typography--breadcrumb {
151
- font-family: ${re};
152
- font-size: ${se};
153
- font-weight: ${ae};
154
- letter-spacing: ${le};
155
- line-height: ${he};
156
- text-transform: ${ce};
157
- }
158
- `,Fe=h`
159
- .ft-typography--overline {
160
- font-family: ${pe};
161
- font-size: ${fe};
162
- font-weight: ${de};
163
- letter-spacing: ${ue};
164
- line-height: ${ye};
165
- text-transform: ${ge};
166
- }
167
- `,ke=h`
168
- .ft-typography--button {
169
- font-family: ${be};
170
- font-size: ${ve};
171
- font-weight: ${xe};
172
- letter-spacing: ${me};
173
- line-height: ${we};
174
- text-transform: ${$e};
175
- }
176
- `;class ze extends at{constructor(){super(...arguments),this.variant=bt.body1}render(){return this.element?gt`
177
- <${ut(this.element)}
178
- class="ft-typography ft-typography--${this.variant}">
179
- <slot></slot>
180
- </${ut(this.element)}>
181
- `:gt`
182
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
183
- `}}ze.styles=[Oe,Se,Ne,Ce,Ee,Re,Me,Ue,Fe,ke,h`
184
- .ft-typography {
185
- vertical-align: inherit;
186
- }
187
- `],vt([e()],ze.prototype,"element",void 0),vt([e()],ze.prototype,"variant",void 0),o("ft-typography")(ze);var Le=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Ae={fontSize:nt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:nt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:nt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:nt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:nt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:nt.extend("--ft-input-label-border-color",st.colorOutline),textColor:nt.extend("--ft-input-label-text-color",st.colorOnSurfaceMedium),disabledTextColor:nt.extend("--ft-input-label-disabled-text-color",st.colorOnSurfaceDisabled),colorSurface:nt.external(st.colorSurface,"Design system"),borderRadiusS:nt.external(st.borderRadiusS,"Design system"),colorError:nt.external(st.colorError,"Design system")};class Te extends at{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return B`
188
- <div class="${pt(t)}">
189
- ${this.text?B`
190
- <div class="ft-input-label--text ft-typography--caption">
191
- <span class="ft-input-label--floating-text">${this.text}</span>
192
- <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
193
- </div>
194
- `:null}
195
- </div>
196
- `}}Te.elementDefinitions={},Te.styles=[Me,h`
197
- .ft-input-label {
198
- position: absolute;
199
- inset: 0;
200
- display: flex;
201
- }
202
-
203
- .ft-input-label {
204
- border-color: ${Ae.borderColor};
205
- }
206
-
207
- .ft-input-label.ft-input-label--in-error {
208
- border-color: ${Ae.colorError}
209
- }
210
-
211
- .ft-input-label:before,
212
- .ft-input-label:after {
213
- content: "";
214
- display: flex;
215
- border-bottom-width: 1px;
216
- border-bottom-style: solid;
217
- border-color: inherit;
218
- }
219
-
220
- .ft-input-label:before {
221
- width: ${Ae.horizontalSpacing};
222
- flex-shrink: 0;
223
- }
224
-
225
- .ft-input-label:after {
226
- flex-grow: 1;
227
- flex-shrink: 1;
228
- }
229
-
230
- .ft-input-label--text {
231
- display: flex;
232
- flex-shrink: 1;
233
- position: relative;
234
- border-bottom-width: 1px;
235
- border-bottom-style: solid;
236
- border-color: inherit;
237
- color: ${Ae.textColor};
238
- transition: font-size 250ms, line-height 250ms, color 250ms;
239
- ${rt(ne.fontSize,Ae.fontSize)};
240
- ${rt(ne.lineHeight,Ae.fontSize)};
241
- }
242
-
243
- .ft-input-label--in-error .ft-input-label--text {
244
- color: ${Ae.colorError}
245
- }
246
-
247
- .ft-input-label--disabled .ft-input-label--text {
248
- color: ${Ae.disabledTextColor};
249
- }
250
-
251
- .ft-input-label--hidden-text {
252
- padding: 0 4px;
253
- opacity: 0;
254
- }
255
-
256
- .ft-input-label--floating-text {
257
- position: absolute;
258
- top: calc(50% - var(--ft-typography-caption-line-height) / 2);
259
- transition: top 250ms;
260
- width: calc(100% - 8px);
261
- overflow: hidden;
262
- white-space: nowrap;
263
- text-overflow: ellipsis;
264
- padding: ${Ae.verticalSpacing} 4px;
265
- margin: calc(${Ae.verticalSpacing} * -1) 0;
266
- }
267
-
268
- .ft-input-label--raised .ft-input-label--text {
269
- ${rt(ne.fontSize,Ae.raisedFontSize)};
270
- ${rt(ne.lineHeight,Ae.raisedFontSize)};
271
- }
272
-
273
- .ft-input-label--raised .ft-input-label--floating-text {
274
- top: ${Ae.verticalSpacing};
275
- }
276
-
277
- .ft-input-label--outlined .ft-input-label--text,
278
- .ft-input-label--outlined:before,
279
- .ft-input-label--outlined:after {
280
- border-top-width: 1px;
281
- border-top-style: solid;
282
- }
283
-
284
- .ft-input-label--outlined:before {
285
- border-left-width: 1px;
286
- border-left-style: solid;
287
- border-radius: ${Ae.borderRadiusS} 0 0 ${Ae.borderRadiusS};
288
- }
289
-
290
- .ft-input-label--outlined:after {
291
- border-right-width: 1px;
292
- border-right-style: solid;
293
- border-radius: 0 ${Ae.borderRadiusS} ${Ae.borderRadiusS} 0;
294
- }
295
-
296
- .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
297
- padding: 2px 4px;
298
- z-index: ${Ae.raisedZIndex};
299
- background-color: ${Ae.colorSurface};
300
- border-radius: ${Ae.borderRadiusS};
301
- top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
302
- }
303
-
304
- .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
305
- border-top: none;
306
- }
307
- `],Le([e({type:String})],Te.prototype,"text",void 0),Le([e({type:Boolean})],Te.prototype,"raised",void 0),Le([e({type:Boolean})],Te.prototype,"outlined",void 0),Le([e({type:Boolean})],Te.prototype,"disabled",void 0),Le([e({type:Boolean})],Te.prototype,"error",void 0),o("ft-input-label")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),B`
308
- ${i.map((t=>B`
309
- <style>${t}</style>
310
- `))}
311
- ${super.render()}
312
- `}},i.styles=void 0,i.elementDefinitions=o,i}(Te))}();
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=inline-styles.d.ts.map
@@ -1,4 +0,0 @@
1
- import { customElement, InlineStyles } from "@fluid-topics/ft-wc-utils";
2
- import { FtInputLabel } from "./ft-input-label";
3
- customElement("ft-input-label")(InlineStyles(FtInputLabel));
4
- //# sourceMappingURL=inline-styles.js.map