@fluid-topics/ft-reader-title 0.3.19 → 0.3.21

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.
@@ -4,8 +4,7 @@ import { FtReaderComponent } from "@fluid-topics/ft-reader-context/build/registr
4
4
  import { FtReaderTitleProperties } from "./ft-reader-title.properties";
5
5
  export declare class FtReaderTitle extends FtReaderComponent implements FtReaderTitleProperties {
6
6
  static elementDefinitions: ElementDefinitionsMap;
7
- maxLength?: number;
8
- private map?;
7
+ private mapTitle?;
9
8
  render(): import("lit-html").TemplateResult<1> | typeof nothing;
10
9
  }
11
10
  //# sourceMappingURL=ft-reader-title.d.ts.map
@@ -5,27 +5,20 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { html, nothing } from "lit";
8
- import { property } from "lit/decorators.js";
9
8
  import { redux } from "@fluid-topics/ft-wc-utils";
10
9
  import { FtReaderComponent } from "@fluid-topics/ft-reader-context/build/registration";
11
10
  import { FtTypography } from "@fluid-topics/ft-typography";
12
11
  export class FtReaderTitle extends FtReaderComponent {
13
12
  render() {
14
- if (this.map) {
15
- let cutText = this.maxLength ? this.map.title.substring(0, this.maxLength) + "..." : this.map.title;
16
- return html `
17
- <ft-typography variant="title" part="text">${cutText}</ft-typography>`;
18
- }
19
- return nothing;
13
+ return this.mapTitle ? html `
14
+ <ft-typography variant="title" part="text">${this.mapTitle}</ft-typography>
15
+ ` : nothing;
20
16
  }
21
17
  }
22
18
  FtReaderTitle.elementDefinitions = {
23
- "ft-typography": FtTypography
19
+ "ft-typography": FtTypography,
24
20
  };
25
21
  __decorate([
26
- property({ attribute: "max-length" })
27
- ], FtReaderTitle.prototype, "maxLength", void 0);
28
- __decorate([
29
- redux()
30
- ], FtReaderTitle.prototype, "map", void 0);
22
+ redux((s) => { var _a; return (_a = s.map) === null || _a === void 0 ? void 0 : _a.title; })
23
+ ], FtReaderTitle.prototype, "mapTitle", void 0);
31
24
  //# sourceMappingURL=ft-reader-title.js.map
@@ -1,110 +1,111 @@
1
- !function(t,i,e,o){var n,s=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class r extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class h extends i.FtLitElementRedux{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new r)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}s([o.state()],h.prototype,"stateManager",void 0);const l=globalThis.trustedTypes,a=l?l.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,p="?"+f,y=`<${p}>`,g=document,c=(t="")=>g.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,m=/>/g,b=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),x=/'/g,w=/"/g,z=/^(?:script|style|textarea|title)$/i,_=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),A=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),N=new WeakMap,T=g.createTreeWalker(g,129,null,!1),j=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=v;for(let i=0;i<e;i++){const e=t[i];let h,l,a=-1,p=0;for(;p<e.length&&(r.lastIndex=p,l=r.exec(e),null!==l);)p=r.lastIndex,r===v?"!--"===l[1]?r=$:void 0!==l[1]?r=m:void 0!==l[2]?(z.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=b):void 0!==l[3]&&(r=b):r===b?">"===l[0]?(r=null!=n?n:v,a=-1):void 0===l[1]?a=-2:(a=r.lastIndex-l[2].length,h=l[1],r=void 0===l[3]?b:'"'===l[3]?w:x):r===w||r===x?r=b:r===$||r===m?r=v:(r=b,n=void 0);const g=r===b&&t[i+1].startsWith("/>")?" ":"";s+=r===v?e+y:a>=0?(o.push(h),e.slice(0,a)+"$lit$"+e.slice(a)+f+g):e+f+(-2===a?(o.push(void 0),i):g)}const h=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(h):h,o]};class E{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,h=this.parts,[a,y]=j(t,i);if(this.el=E.createElement(a,e),T.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=T.nextNode())&&h.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(f)){const e=y[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(f),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?C:"?"===i[1]?W:"@"===i[1]?k:I})}else h.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(z.test(o.tagName)){const t=o.textContent.split(f),i=t.length-1;if(i>0){o.textContent=l?l.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],c()),T.nextNode(),h.push({type:2,index:++n});o.append(t[i],c())}}}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(f,t+1));)h.push({type:7,index:n}),t+=f.length-1}n++}}static createElement(t,i){const e=g.createElement("template");return e.innerHTML=t,e}}function O(t,i,e=t,o){var n,s,r,h;if(i===A)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const a=d(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(h=e)._$Cl)&&void 0!==r?r:h._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=O(t,l._$AS(t,i.values),l,o)),i}class M{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:g).importNode(e,!0);T.currentNode=n;let s=T.nextNode(),r=0,h=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new U(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new Z(s,this,t)),this.v.push(i),l=o[++h]}r!==(null==l?void 0:l.index)&&(s=T.nextNode(),r++)}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 U{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._$C_=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._$C_}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=O(this,t,i),d(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==A&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>u(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.k(g.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=E.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 M(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=N.get(t.strings);return void 0===i&&N.set(t.strings,i=new E(t)),i}S(t){u(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 U(this.j(c()),this.j(c()),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._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class I{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 s=!1;if(void 0===n)t=O(this,t,i,0),s=!d(t)||t!==this._$AH&&t!==A,s&&(this._$AH=t);else{const o=t;let r,h;for(t=n[0],r=0;r<n.length-1;r++)h=O(this,o[e+r],i,r),h===A&&(h=this._$AH[r]),s||(s=!d(h)||h!==this._$AH[r]),h===S?t=S:t!==S&&(t+=(null!=h?h:"")+n[r+1]),this._$AH[r]=h}s&&!o&&this.P(t)}P(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class C extends I{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===S?void 0:t}}const R=l?l.emptyScript:"";class W extends I{constructor(){super(...arguments),this.type=4}P(t){t&&t!==S?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class k extends I{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=O(this,t,i,0))&&void 0!==e?e:S)===A)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==S&&(o===S||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Z{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){O(this,t)}}const G=window.litHtmlPolyfillSupport;null==G||G(E,U),(null!==(n=globalThis.litHtmlVersions)&&void 0!==n?n:globalThis.litHtmlVersions=[]).push("2.2.7");
1
+ !function(t,i,e,o){var n,s=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class r extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class h extends i.FtLitElementRedux{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new r)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}s([o.state()],h.prototype,"stateManager",void 0);const l=window,a=l.trustedTypes,f=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,p=`lit$${(Math.random()+"").slice(9)}$`,y="?"+p,g=`<${y}>`,c=document,d=(t="")=>c.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,v=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,b=/>/g,x=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),w=/'/g,z=/"/g,_=/^(?:script|style|textarea|title)$/i,A=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),S=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),j=new WeakMap,O=c.createTreeWalker(c,129,null,!1),E=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=$;for(let i=0;i<e;i++){const e=t[i];let h,l,a=-1,f=0;for(;f<e.length&&(r.lastIndex=f,l=r.exec(e),null!==l);)f=r.lastIndex,r===$?"!--"===l[1]?r=m:void 0!==l[1]?r=b:void 0!==l[2]?(_.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=x):void 0!==l[3]&&(r=x):r===x?">"===l[0]?(r=null!=n?n:$,a=-1):void 0===l[1]?a=-2:(a=r.lastIndex-l[2].length,h=l[1],r=void 0===l[3]?x:'"'===l[3]?z:w):r===z||r===w?r=x:r===m||r===b?r=$:(r=x,n=void 0);const y=r===x&&t[i+1].startsWith("/>")?" ":"";s+=r===$?e+g:a>=0?(o.push(h),e.slice(0,a)+"$lit$"+e.slice(a)+p+y):e+p+(-2===a?(o.push(void 0),i):y)}const h=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==f?f.createHTML(h):h,o]};class T{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,h=this.parts,[l,f]=E(t,i);if(this.el=T.createElement(l,e),O.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=O.nextNode())&&h.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(p)){const e=f[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(p),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?R:"?"===i[1]?k:"@"===i[1]?Z:C})}else h.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(_.test(o.tagName)){const t=o.textContent.split(p),i=t.length-1;if(i>0){o.textContent=a?a.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],d()),O.nextNode(),h.push({type:2,index:++n});o.append(t[i],d())}}}else if(8===o.nodeType)if(o.data===y)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(p,t+1));)h.push({type:7,index:n}),t+=p.length-1}n++}}static createElement(t,i){const e=c.createElement("template");return e.innerHTML=t,e}}function M(t,i,e=t,o){var n,s,r,h;if(i===S)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const a=u(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(h=e)._$Co)&&void 0!==r?r:h._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=M(t,l._$AS(t,i.values),l,o)),i}class U{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:c).importNode(e,!0);O.currentNode=n;let s=O.nextNode(),r=0,h=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new I(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new G(s,this,t)),this.u.push(i),l=o[++h]}r!==(null==l?void 0:l.index)&&(s=O.nextNode(),r++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class I{constructor(t,i,e,o){var n;this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=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._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=M(this,t,i),u(t)?t===N||null==t||""===t?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==S&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>v(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==N&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=T.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new U(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=j.get(t.strings);return void 0===i&&j.set(t.strings,i=new T(t)),i}k(t){v(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 I(this.O(d()),this.O(d()),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._$Cm=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=N,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=N}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=M(this,t,i,0),s=!u(t)||t!==this._$AH&&t!==S,s&&(this._$AH=t);else{const o=t;let r,h;for(t=n[0],r=0;r<n.length-1;r++)h=M(this,o[e+r],i,r),h===S&&(h=this._$AH[r]),s||(s=!u(h)||h!==this._$AH[r]),h===N?t=N:t!==N&&(t+=(null!=h?h:"")+n[r+1]),this._$AH[r]=h}s&&!o&&this.j(t)}j(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class R extends C{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===N?void 0:t}}const W=a?a.emptyScript:"";class k extends C{constructor(){super(...arguments),this.type=4}j(t){t&&t!==N?this.element.setAttribute(this.name,W):this.element.removeAttribute(this.name)}}class Z 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=M(this,t,i,0))&&void 0!==e?e:N)===S)return;const o=this._$AH,n=t===N&&o!==N||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==N&&(o===N||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class G{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){M(this,t)}}const H=l.litHtmlPolyfillSupport;null==H||H(T,I),(null!==(n=l.litHtmlVersions)&&void 0!==n?n:l.litHtmlVersions=[]).push("2.4.0");
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2020 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const H=Symbol.for(""),P=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t._$litStatic$},F=t=>({_$litStatic$:t,r:H}),K=new Map,L=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],h=[];let l,a=0,f=!1;for(;a<o;){for(l=i[a];a<o&&void 0!==(s=e[a],n=P(s));)l+=n+i[++a],f=!0;h.push(s),r.push(l),a++}if(a===o&&r.push(i[o]),f){const t=r.join("$$lit$$");void 0===(i=K.get(t))&&(r.raw=r,K.set(t,i=r)),e=h}return t(i,...e)})(_);var B;!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"}(B||(B={}));const q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),D=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),J={fontFamily:D,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Q={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-title-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-title-font-size",J.fontSize,"20px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-title-line-height",J.lineHeight,"1.2"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",J.textTransform,"inherit")},V=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",q),X=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),Y=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),tt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),it=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",J.lineHeight,"1.7"),et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",D),nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),st=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),ht=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"1.5"),lt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),at=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",D),ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"1.7"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),dt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",D),ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),vt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),$t=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),mt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",J.lineHeight,"1.5"),bt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit"),xt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",D),wt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),zt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),At=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",J.lineHeight,"1.4"),St=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Nt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",D),Tt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),jt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",J.lineHeight,"1.33"),Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",D),It=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),Rt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"1.6"),kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Zt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",D),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",J.lineHeight,"1.6"),Kt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Lt=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",D),Bt=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",J.fontSize,"14px"),qt=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),Dt=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",J.lineHeight,"1.15"),Qt=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase"),Vt=e.css`
7
+ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t._$litStatic$},B=t=>({_$litStatic$:t,r:F}),L=new Map,q=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],h=[];let l,a=0,f=!1;for(;a<o;){for(l=i[a];a<o&&void 0!==(s=e[a],n=K(s));)l+=n+i[++a],f=!0;h.push(s),r.push(l),a++}if(a===o&&r.push(i[o]),f){const t=r.join("$$lit$$");void 0===(i=L.get(t))&&(r.raw=r,L.set(t,i=r)),e=h}return t(i,...e)})(A);var D;!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"}(D||(D={}));const J=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),P=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),Q={fontFamily:P,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},V={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-title-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-title-font-size",Q.fontSize,"20px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",Q.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",Q.letterSpacing,"0.15px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-title-line-height",Q.lineHeight,"1.2"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",Q.textTransform,"inherit")},X=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",J),Y=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",Q.fontSize,"14px"),tt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",Q.fontWeight,"normal"),it=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",Q.letterSpacing,"0.105px"),et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",Q.lineHeight,"1.7"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",Q.textTransform,"inherit"),nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",P),st=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",Q.fontSize,"16px"),rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",Q.fontWeight,"600"),ht=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",Q.letterSpacing,"0.144px"),lt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",Q.lineHeight,"1.5"),at=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",Q.textTransform,"inherit"),ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",P),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",Q.fontSize,"14px"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",Q.fontWeight,"normal"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",Q.letterSpacing,"0.098px"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",Q.lineHeight,"1.7"),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",Q.textTransform,"inherit"),ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",P),vt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",Q.fontSize,"16px"),$t=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",Q.fontWeight,"normal"),mt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",Q.letterSpacing,"0.496px"),bt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",Q.lineHeight,"1.5"),xt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",Q.textTransform,"inherit"),wt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",P),zt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",Q.fontSize,"14px"),_t=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",Q.fontWeight,"normal"),At=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",Q.letterSpacing,"0.252px"),St=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",Q.lineHeight,"1.4"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",Q.textTransform,"inherit"),jt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",P),Ot=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",Q.fontSize,"12px"),Et=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",Q.fontWeight,"normal"),Tt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",Q.letterSpacing,"0.396px"),Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",Q.lineHeight,"1.33"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",Q.textTransform,"inherit"),It=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",P),Ct=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",Q.fontSize,"10px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",Q.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",Q.letterSpacing,"0.33px"),kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",Q.lineHeight,"1.6"),Zt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",Q.textTransform,"inherit"),Gt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",P),Ht=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",Q.fontSize,"10px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",Q.fontWeight,"normal"),Kt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",Q.letterSpacing,"1.5px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",Q.lineHeight,"1.6"),Lt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",Q.textTransform,"uppercase"),qt=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",P),Dt=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",Q.fontSize,"14px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",Q.fontWeight,"600"),Pt=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",Q.letterSpacing,"1.246px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",Q.lineHeight,"1.15"),Vt=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",Q.textTransform,"uppercase"),Xt=e.css`
8
8
  .ft-typography--title {
9
- font-family: ${Q.fontFamily};
10
- font-size: ${Q.fontSize};
11
- font-weight: ${Q.fontWeight};
12
- letter-spacing: ${Q.letterSpacing};
13
- line-height: ${Q.lineHeight};
14
- text-transform: ${Q.textTransform};
9
+ font-family: ${V.fontFamily};
10
+ font-size: ${V.fontSize};
11
+ font-weight: ${V.fontWeight};
12
+ letter-spacing: ${V.letterSpacing};
13
+ line-height: ${V.lineHeight};
14
+ text-transform: ${V.textTransform};
15
15
  }
16
- `,Xt=e.css`
16
+ `,Yt=e.css`
17
17
  .ft-typography--title-dense {
18
- font-family: ${V};
19
- font-size: ${X};
20
- font-weight: ${Y};
21
- letter-spacing: ${tt};
22
- line-height: ${it};
23
- text-transform: ${et};
18
+ font-family: ${X};
19
+ font-size: ${Y};
20
+ font-weight: ${tt};
21
+ letter-spacing: ${it};
22
+ line-height: ${et};
23
+ text-transform: ${ot};
24
24
  }
25
- `,Yt=e.css`
25
+ `,ti=e.css`
26
26
  .ft-typography--subtitle1 {
27
- font-family: ${ot};
28
- font-size: ${nt};
29
- font-weight: ${st};
30
- letter-spacing: ${rt};
31
- line-height: ${ht};
32
- text-transform: ${lt};
27
+ font-family: ${nt};
28
+ font-size: ${st};
29
+ font-weight: ${rt};
30
+ letter-spacing: ${ht};
31
+ line-height: ${lt};
32
+ text-transform: ${at};
33
33
  }
34
- `,ti=e.css`
34
+ `,ii=e.css`
35
35
  .ft-typography--subtitle2 {
36
- font-family: ${at};
37
- font-size: ${ft};
38
- font-weight: ${pt};
39
- letter-spacing: ${yt};
40
- line-height: ${gt};
41
- text-transform: ${ct};
36
+ font-family: ${ft};
37
+ font-size: ${pt};
38
+ font-weight: ${yt};
39
+ letter-spacing: ${gt};
40
+ line-height: ${ct};
41
+ text-transform: ${dt};
42
42
  }
43
43
 
44
- `,ii=e.css`
44
+ `,ei=e.css`
45
45
  .ft-typography--body1 {
46
- font-family: ${dt};
47
- font-size: ${ut};
48
- font-weight: ${vt};
49
- letter-spacing: ${$t};
50
- line-height: ${mt};
51
- text-transform: ${bt};
46
+ font-family: ${ut};
47
+ font-size: ${vt};
48
+ font-weight: ${$t};
49
+ letter-spacing: ${mt};
50
+ line-height: ${bt};
51
+ text-transform: ${xt};
52
52
  }
53
- `,ei=e.css`
53
+ `,oi=e.css`
54
54
  .ft-typography--body2 {
55
- font-family: ${xt};
56
- font-size: ${wt};
57
- font-weight: ${zt};
58
- letter-spacing: ${_t};
59
- line-height: ${At};
60
- text-transform: ${St};
55
+ font-family: ${wt};
56
+ font-size: ${zt};
57
+ font-weight: ${_t};
58
+ letter-spacing: ${At};
59
+ line-height: ${St};
60
+ text-transform: ${Nt};
61
61
  }
62
- `,oi=e.css`
62
+ `,ni=e.css`
63
63
  .ft-typography--caption {
64
- font-family: ${Nt};
65
- font-size: ${Tt};
66
- font-weight: ${jt};
67
- letter-spacing: ${Et};
68
- line-height: ${Ot};
69
- text-transform: ${Mt};
64
+ font-family: ${jt};
65
+ font-size: ${Ot};
66
+ font-weight: ${Et};
67
+ letter-spacing: ${Tt};
68
+ line-height: ${Mt};
69
+ text-transform: ${Ut};
70
70
  }
71
- `,ni=e.css`
71
+ `,si=e.css`
72
72
  .ft-typography--breadcrumb {
73
- font-family: ${Ut};
74
- font-size: ${It};
75
- font-weight: ${Ct};
76
- letter-spacing: ${Rt};
77
- line-height: ${Wt};
78
- text-transform: ${kt};
73
+ font-family: ${It};
74
+ font-size: ${Ct};
75
+ font-weight: ${Rt};
76
+ letter-spacing: ${Wt};
77
+ line-height: ${kt};
78
+ text-transform: ${Zt};
79
79
  }
80
- `,si=e.css`
80
+ `,ri=e.css`
81
81
  .ft-typography--overline {
82
- font-family: ${Zt};
83
- font-size: ${Gt};
84
- font-weight: ${Ht};
85
- letter-spacing: ${Pt};
86
- line-height: ${Ft};
87
- text-transform: ${Kt};
82
+ font-family: ${Gt};
83
+ font-size: ${Ht};
84
+ font-weight: ${Ft};
85
+ letter-spacing: ${Kt};
86
+ line-height: ${Bt};
87
+ text-transform: ${Lt};
88
88
  }
89
- `,ri=e.css`
89
+ `,hi=e.css`
90
90
  .ft-typography--button {
91
- font-family: ${Lt};
92
- font-size: ${Bt};
93
- font-weight: ${qt};
94
- letter-spacing: ${Dt};
95
- line-height: ${Jt};
96
- text-transform: ${Qt};
91
+ font-family: ${qt};
92
+ font-size: ${Dt};
93
+ font-weight: ${Jt};
94
+ letter-spacing: ${Pt};
95
+ line-height: ${Qt};
96
+ text-transform: ${Vt};
97
97
  }
98
- `,hi=e.css`
98
+ `,li=e.css`
99
99
  .ft-typography {
100
100
  vertical-align: inherit;
101
101
  }
102
- `;var li=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class ai extends i.FtLitElement{constructor(){super(...arguments),this.variant=B.body1}render(){return this.element?L`
103
- <${F(this.element)}
102
+ `;var ai=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class fi extends i.FtLitElement{constructor(){super(...arguments),this.variant=D.body1}render(){return this.element?q`
103
+ <${B(this.element)}
104
104
  class="ft-typography ft-typography--${this.variant}">
105
105
  <slot></slot>
106
- </${F(this.element)}>
107
- `:L`
106
+ </${B(this.element)}>
107
+ `:q`
108
108
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
109
- `}}ai.styles=[Vt,Xt,Yt,ti,ii,ei,oi,ni,si,ri,hi],li([o.property()],ai.prototype,"element",void 0),li([o.property()],ai.prototype,"variant",void 0),i.customElement("ft-typography")(ai);var fi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class pi extends h{render(){if(this.map){let t=this.maxLength?this.map.title.substring(0,this.maxLength)+"...":this.map.title;return e.html`
110
- <ft-typography variant="title" part="text">${t}</ft-typography>`}return e.nothing}}pi.elementDefinitions={"ft-typography":ai},fi([o.property({attribute:"max-length"})],pi.prototype,"maxLength",void 0),fi([i.redux()],pi.prototype,"map",void 0);const yi={fontSize:i.FtCssVariableFactory.extend("--ft-reader-metadata-font-size",Q.fontSize)};i.customElement("ft-reader-title")(pi),t.FtReaderTitle=pi,t.FtReaderTitleCssVariables=yi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
109
+ `}}fi.styles=[Xt,Yt,ti,ii,ei,oi,ni,si,ri,hi,li],ai([o.property()],fi.prototype,"element",void 0),ai([o.property()],fi.prototype,"variant",void 0),i.customElement("ft-typography")(fi);var pi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class yi extends h{render(){return this.mapTitle?e.html`
110
+ <ft-typography variant="title" part="text">${this.mapTitle}</ft-typography>
111
+ `:e.nothing}}yi.elementDefinitions={"ft-typography":fi},pi([i.redux((t=>{var i;return null===(i=t.map)||void 0===i?void 0:i.title}))],yi.prototype,"mapTitle",void 0);const gi={fontSize:i.FtCssVariableFactory.extend("--ft-reader-metadata-font-size",V.fontSize)};i.customElement("ft-reader-title")(yi),t.FtReaderTitle=yi,t.FtReaderTitleCssVariables=gi,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,n=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,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(r,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){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),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=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,r=o._getDefinition(e);return r?d(i,r):n.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,r),i.call(this,n,t,r)}else o.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const v=(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}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(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(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const 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=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(gt){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,r=new WeakMap,n=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,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(r,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){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),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=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,r=o._getDefinition(e);return r?d(i,r):n.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,r),i.call(this,n,t,r)}else o.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const v=(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}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(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(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const 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=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(mt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -35,34 +35,34 @@ var o;null===(o=window.HTMLSlotElement)||void 0===o||o.prototype.assignedElement
35
35
  * @license
36
36
  * Copyright 2019 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */const s=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),l=new WeakMap;class h{constructor(t,e,i){if(this._$cssResult$=!0,i!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=l.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&l.set(e,t))}return t}toString(){return this.cssText}}const c=t=>new h("string"==typeof t?t:t+"",void 0,a),p=(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 h(i,t,a)},f=(t,e)=>{s?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)}))},u=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return c(e)})(t):t
38
+ */const s=window,a=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),h=new WeakMap;class c{constructor(t,e,i){if(this._$cssResult$=!0,i!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=h.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&h.set(e,t))}return t}toString(){return this.cssText}}const p=t=>new c("string"==typeof t?t:t+"",void 0,l),f=(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 c(i,t,l)},u=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=s.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},d=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return p(e)})(t):t
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2017 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */;var d;const y=window.trustedTypes,g=y?y.emptyScript:"",v=window.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?g: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}},m=(t,e)=>e!==t&&(e==e||t==t),x={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:m};class w extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=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 r=this[t];this[e]=o,this.requestUpdate(t,r,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._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return f(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=x){var o,r;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(null!==(r=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==r?r:b.toAttribute)(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i,o;const r=this.constructor,n=r._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=r.getPropertyOptions(n),s=t.converter,a=null!==(o=null!==(i=null==s?void 0:s.fromAttribute)&&void 0!==i?i:"function"==typeof s?s:null)&&void 0!==o?o:b.fromAttribute;this._$El=n,this[n]=a(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
43
+ */;var y;const g=window,v=g.trustedTypes,b=v?v.emptyScript:"",m=g.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?b: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}},w=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:w};class $ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||O}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=O){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:x).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:x;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2017 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- var O;w.finalized=!0,w.elementProperties=new Map,w.elementStyles=[],w.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:w}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.3.4");const $=globalThis.trustedTypes,S=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,C="?"+N,E=`<${C}>`,R=document,M=(t="")=>R.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,A=/>/g,L=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),P=/'/g,z=/"/g,T=/^(?:script|style|textarea|title)$/i,B=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),_=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),D=new WeakMap,H=R.createTreeWalker(R,129,null,!1),K=(t,e)=>{const i=t.length-1,o=[];let r,n=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=j:void 0!==l[1]?s=A:void 0!==l[2]?(T.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=L):void 0!==l[3]&&(s=L):s===L?">"===l[0]?(s=null!=r?r: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]?z:P):s===z||s===P?s=L:s===j||s===A?s=F:(s=L,r=void 0);const p=s===L&&t[e+1].startsWith("/>")?" ":"";n+=s===F?i+E:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+N+p):i+N+(-2===h?(o.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==S?S.createHTML(a):a,o]};class I{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,h]=K(t,e);if(this.el=I.createElement(l,i),H.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=H.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(N)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?q:"?"===e[1]?Q:"@"===e[1]?Y:X})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(T.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=$?$.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),H.nextNode(),a.push({type:2,index:++r});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===C)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)a.push({type:7,index:r}),t+=N.length-1}r++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function Z(t,e,i=t,o){var r,n,s,a;if(e===_)return e;let l=void 0!==o?null===(r=i._$Cl)||void 0===r?void 0:r[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.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=Z(t,l._$AS(t,e.values),l,o)),e}class V{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,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);H.currentNode=r;let n=H.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new J(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new tt(n,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(n=H.nextNode(),s++)}return r}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 J{constructor(t,e,i,o){var r;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}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=Z(this,t,e),U(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==_&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>k(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==W&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=I.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(i);else{const t=new V(r,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){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new J(this.j(M()),this.j(M()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class X{constructor(t,e,i,o,r){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=Z(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==_,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=Z(this,o[i+s],e,s),a===_&&(a=this._$AH[s]),n||(n=!U(a)||a!==this._$AH[s]),a===W?t=W:t!==W&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.P(t)}P(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends X{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===W?void 0:t}}const G=$?$.emptyScript:"";class Q extends X{constructor(){super(...arguments),this.type=4}P(t){t&&t!==W?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class Y extends X{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Z(this,t,e,0))&&void 0!==i?i:W)===_)return;const o=this._$AH,r=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==W&&(o===W||r);r&&this.element.removeEventListener(this.name,this,o),n&&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 tt{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){Z(this,t)}}const et=window.litHtmlPolyfillSupport;
49
+ var S;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:$}),(null!==(y=g.reactiveElementVersions)&&void 0!==y?y:g.reactiveElementVersions=[]).push("1.4.1");const N=window,C=N.trustedTypes,E=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,U=`<${M}>`,k=document,F=(t="")=>k.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,P=/>/g,T=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),B=/'/g,_=/"/g,W=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),I=new WeakMap,Z=k.createTreeWalker(k,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=L;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===L?"!--"===l[1]?s=z:void 0!==l[1]?s=P:void 0!==l[2]?(W.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=T):void 0!==l[3]&&(s=T):s===T?">"===l[0]?(s=null!=r?r:L,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?T:'"'===l[3]?_:B):s===_||s===B?s=T:s===z||s===P?s=L:(s=T,r=void 0);const p=s===T&&t[e+1].startsWith("/>")?" ":"";n+=s===L?i+U:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+R+p):i+R+(-2===h?(o.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class J{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,h]=V(t,e);if(this.el=J.createElement(l,i),Z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Z.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(R)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?Y:"?"===e[1]?et:"@"===e[1]?it:Q})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],F()),Z.nextNode(),a.push({type:2,index:++r});o.append(t[e],F())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:r}),t+=R.length-1}r++}}static createElement(t,e){const i=k.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var r,n,s,a;if(e===H)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const h=j(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.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)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class q{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:k).importNode(i,!0);Z.currentNode=r;let n=Z.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new G(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new ot(n,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(n=Z.nextNode(),s++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class G{constructor(t,e,i,o){var r;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=X(this,t,e),j(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.T(k.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new q(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new J(t)),e}k(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new G(this.O(F()),this.O(F()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,r){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=X(this,t,e,0),n=!j(t)||t!==this._$AH&&t!==H,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=X(this,o[i+s],e,s),a===H&&(a=this._$AH[s]),n||(n=!j(a)||a!==this._$AH[s]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.j(t)}j(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends Q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===K?void 0:t}}const tt=C?C.emptyScript:"";class et extends Q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==K?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends Q{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:K)===H)return;const o=this._$AH,r=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==K&&(o===K||r);r&&this.element.removeEventListener(this.name,this,o),n&&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 ot{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){X(this,t)}}const rt=N.litHtmlPolyfillSupport;null==rt||rt(J,G),(null!==(S=N.litHtmlVersions)&&void 0!==S?S:N.litHtmlVersions=[]).push("2.4.0");
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- var it,ot;null==et||et(I,J),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O:globalThis.litHtmlVersions=[]).push("2.2.7");class rt extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new J(e.insertBefore(M(),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._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return _}}rt.finalized=!0,rt._$litElement$=!0,null===(it=globalThis.litElementHydrateSupport)||void 0===it||it.call(globalThis,{LitElement:rt});const nt=globalThis.litElementPolyfillSupport;null==nt||nt({LitElement:rt}),(null!==(ot=globalThis.litElementVersions)&&void 0!==ot?ot:globalThis.litElementVersions=[]).push("3.2.2");class st{static create(t,e,i){let o=t=>c(null!=t?t:i),r=p`var(${c(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>p`var(${c(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=p`var(${c(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>p`var(${c(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):c(null!=e?e:t.defaultValue),o=p`var(${c(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>p`var(${c(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const at={colorPrimary:st.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:st.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:st.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:st.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:st.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:st.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:st.create("--ft-color-error","COLOR","#B00020"),colorOutline:st.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:st.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:st.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:st.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:st.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:st.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:st.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:st.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:st.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:st.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:st.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:st.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:st.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:st.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:st.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:st.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:st.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:st.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:st.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:st.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:st.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:st.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:st.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:st.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:st.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:st.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:st.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:st.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:st.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:st.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:st.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:st.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:st.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:st.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:st.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:st.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:st.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:st.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:st.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:st.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:st.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:st.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:st.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:st.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:st.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:st.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:st.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:st.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:st.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:st.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:st.create("--ft-border-radius-XL","SIZE","16px"),titleFont:st.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:st.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:st.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:st.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
55
+ var nt,st;class at extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new G(e.insertBefore(F(),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._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return H}}at.finalized=!0,at._$litElement$=!0,null===(nt=globalThis.litElementHydrateSupport)||void 0===nt||nt.call(globalThis,{LitElement:at});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:at}),(null!==(st=globalThis.litElementVersions)&&void 0!==st?st:globalThis.litElementVersions=[]).push("3.2.2");class ht{static create(t,e,i){let o=t=>p(null!=t?t:i),r=f`var(${p(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>f`var(${p(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=f`var(${p(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>f`var(${p(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):p(null!=e?e:t.defaultValue),o=f`var(${p(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>f`var(${p(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const ct={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.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:ht.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:ht.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:ht.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:ht.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:ht.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:ht.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:ht.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:ht.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:ht.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:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
56
56
  /**
57
57
  * @license
58
58
  * Copyright 2021 Google LLC
59
59
  * SPDX-License-Identifier: BSD-3-Clause
60
- */var lt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class ht extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return f(r,this.constructor.elementStyles),r}}}(rt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),B`
61
- ${t.map((t=>B`
60
+ */var pt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class ft extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(r,this.constructor.elementStyles),r}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),D`
61
+ ${t.map((t=>D`
62
62
  <style>${t}</style>
63
63
  `))}
64
64
  ${this.getTemplate()}
65
- `}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,r,n,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!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.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){}}lt([i()],ht.prototype,"exportpartsPrefix",void 0),lt([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:{}})}([])],ht.prototype,"exportpartsPrefixes",void 0),p`
65
+ `}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,r,n,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!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.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){}}pt([i()],ft.prototype,"exportpartsPrefix",void 0),pt([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:{}})}([])],ft.prototype,"exportpartsPrefixes",void 0),f`
66
66
  .ft-no-text-select {
67
67
  -webkit-touch-callout: none;
68
68
  -webkit-user-select: none;
@@ -71,7 +71,7 @@ var it,ot;null==et||et(I,J),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O
71
71
  -ms-user-select: none;
72
72
  user-select: none;
73
73
  }
74
- `,p`
74
+ `,f`
75
75
  .ft-word-wrap {
76
76
  white-space: normal;
77
77
  word-wrap: break-word;
@@ -83,113 +83,114 @@ var it,ot;null==et||et(I,J),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O
83
83
  -webkit-hyphens: auto;
84
84
  hyphens: auto
85
85
  }
86
- `;class ct extends ht{get store(){return this.internalStore}set store(t){this.internalStore=t,this.store&&this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((e,i)=>{this[i]=e(t,this)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()})),this.onStoreAvailable(),this.requestUpdate()}onStoreAvailable(){}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}}var pt,ft;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ft=null===(pt=window.safari)||void 0===pt?void 0:pt.pushNotification)||void 0===ft||ft.toString());var ut=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class dt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class yt extends ct{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new dt)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}ut([function(t){return i({...t,state:!0})}()],yt.prototype,"stateManager",void 0);
86
+ `;class ut extends ft{get store(){return this.internalStore}set store(t){this.internalStore=t,this.store&&this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((e,i)=>{this[i]=e(t,this)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()})),this.onStoreAvailable(),this.requestUpdate()}onStoreAvailable(){}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}}var dt,yt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(yt=null===(dt=window.safari)||void 0===dt?void 0:dt.pushNotification)||void 0===yt||yt.toString());var gt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class vt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class bt extends ut{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new vt)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}gt([function(t){return i({...t,state:!0})}()],bt.prototype,"stateManager",void 0);
87
87
  /**
88
88
  * @license
89
89
  * Copyright 2020 Google LLC
90
90
  * SPDX-License-Identifier: BSD-3-Clause
91
91
  */
92
- const gt=Symbol.for(""),vt=t=>{if((null==t?void 0:t.r)===gt)return null==t?void 0:t._$litStatic$},bt=t=>({_$litStatic$:t,r:gt}),mt=new Map,xt=(t=>(e,...i)=>{const o=i.length;let r,n;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(n=i[h],r=vt(n));)l+=r+e[++h],c=!0;a.push(n),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=mt.get(t))&&(s.raw=s,mt.set(t,e=s)),i=a}return t(e,...i)})(B);var wt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(wt||(wt={}));const Ot=st.extend("--ft-typography-font-family",at.titleFont),$t=st.extend("--ft-typography-font-family",at.contentFont),St={fontFamily:$t,fontSize:st.create("--ft-typography-font-size","SIZE","16px"),fontWeight:st.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:st.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:st.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:st.create("--ft-typography-text-transform","UNKNOWN","inherit")},Nt={fontFamily:st.extend("--ft-typography-title-font-family",Ot),fontSize:st.extend("--ft-typography-title-font-size",St.fontSize,"20px"),fontWeight:st.extend("--ft-typography-title-font-weight",St.fontWeight,"normal"),letterSpacing:st.extend("--ft-typography-title-letter-spacing",St.letterSpacing,"0.15px"),lineHeight:st.extend("--ft-typography-title-line-height",St.lineHeight,"1.2"),textTransform:st.extend("--ft-typography-title-text-transform",St.textTransform,"inherit")},Ct=st.extend("--ft-typography-title-dense-font-family",Ot),Et=st.extend("--ft-typography-title-dense-font-size",St.fontSize,"14px"),Rt=st.extend("--ft-typography-title-dense-font-weight",St.fontWeight,"normal"),Mt=st.extend("--ft-typography-title-dense-letter-spacing",St.letterSpacing,"0.105px"),Ut=st.extend("--ft-typography-title-dense-line-height",St.lineHeight,"1.7"),kt=st.extend("--ft-typography-title-dense-text-transform",St.textTransform,"inherit"),Ft=st.extend("--ft-typography-subtitle1-font-family",$t),jt=st.extend("--ft-typography-subtitle1-font-size",St.fontSize,"16px"),At=st.extend("--ft-typography-subtitle1-font-weight",St.fontWeight,"600"),Lt=st.extend("--ft-typography-subtitle1-letter-spacing",St.letterSpacing,"0.144px"),Pt=st.extend("--ft-typography-subtitle1-line-height",St.lineHeight,"1.5"),zt=st.extend("--ft-typography-subtitle1-text-transform",St.textTransform,"inherit"),Tt=st.extend("--ft-typography-subtitle2-font-family",$t),Bt=st.extend("--ft-typography-subtitle2-font-size",St.fontSize,"14px"),_t=st.extend("--ft-typography-subtitle2-font-weight",St.fontWeight,"normal"),Wt=st.extend("--ft-typography-subtitle2-letter-spacing",St.letterSpacing,"0.098px"),Dt=st.extend("--ft-typography-subtitle2-line-height",St.lineHeight,"1.7"),Ht=st.extend("--ft-typography-subtitle2-text-transform",St.textTransform,"inherit"),Kt=st.extend("--ft-typography-body1-font-family",$t),It=st.extend("--ft-typography-body1-font-size",St.fontSize,"16px"),Zt=st.extend("--ft-typography-body1-font-weight",St.fontWeight,"normal"),Vt=st.extend("--ft-typography-body1-letter-spacing",St.letterSpacing,"0.496px"),Jt=st.extend("--ft-typography-body1-line-height",St.lineHeight,"1.5"),Xt=st.extend("--ft-typography-body1-text-transform",St.textTransform,"inherit"),qt=st.extend("--ft-typography-body2-font-family",$t),Gt=st.extend("--ft-typography-body2-font-size",St.fontSize,"14px"),Qt=st.extend("--ft-typography-body2-font-weight",St.fontWeight,"normal"),Yt=st.extend("--ft-typography-body2-letter-spacing",St.letterSpacing,"0.252px"),te=st.extend("--ft-typography-body2-line-height",St.lineHeight,"1.4"),ee=st.extend("--ft-typography-body2-text-transform",St.textTransform,"inherit"),ie=st.extend("--ft-typography-caption-font-family",$t),oe=st.extend("--ft-typography-caption-font-size",St.fontSize,"12px"),re=st.extend("--ft-typography-caption-font-weight",St.fontWeight,"normal"),ne=st.extend("--ft-typography-caption-letter-spacing",St.letterSpacing,"0.396px"),se=st.extend("--ft-typography-caption-line-height",St.lineHeight,"1.33"),ae=st.extend("--ft-typography-caption-text-transform",St.textTransform,"inherit"),le=st.extend("--ft-typography-breadcrumb-font-family",$t),he=st.extend("--ft-typography-breadcrumb-font-size",St.fontSize,"10px"),ce=st.extend("--ft-typography-breadcrumb-font-weight",St.fontWeight,"normal"),pe=st.extend("--ft-typography-breadcrumb-letter-spacing",St.letterSpacing,"0.33px"),fe=st.extend("--ft-typography-breadcrumb-line-height",St.lineHeight,"1.6"),ue=st.extend("--ft-typography-breadcrumb-text-transform",St.textTransform,"inherit"),de=st.extend("--ft-typography-overline-font-family",$t),ye=st.extend("--ft-typography-overline-font-size",St.fontSize,"10px"),ge=st.extend("--ft-typography-overline-font-weight",St.fontWeight,"normal"),ve=st.extend("--ft-typography-overline-letter-spacing",St.letterSpacing,"1.5px"),be=st.extend("--ft-typography-overline-line-height",St.lineHeight,"1.6"),me=st.extend("--ft-typography-overline-text-transform",St.textTransform,"uppercase"),xe=st.extend("--ft-typography-button-font-family",$t),we=st.extend("--ft-typography-button-font-size",St.fontSize,"14px"),Oe=st.extend("--ft-typography-button-font-weight",St.fontWeight,"600"),$e=st.extend("--ft-typography-button-letter-spacing",St.letterSpacing,"1.246px"),Se=st.extend("--ft-typography-button-line-height",St.lineHeight,"1.15"),Ne=st.extend("--ft-typography-button-text-transform",St.textTransform,"uppercase"),Ce=p`
92
+ const mt=Symbol.for(""),xt=t=>{if((null==t?void 0:t.r)===mt)return null==t?void 0:t._$litStatic$},wt=t=>({_$litStatic$:t,r:mt}),Ot=new Map,$t=(t=>(e,...i)=>{const o=i.length;let r,n;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(n=i[h],r=xt(n));)l+=r+e[++h],c=!0;a.push(n),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=Ot.get(t))&&(s.raw=s,Ot.set(t,e=s)),i=a}return t(e,...i)})(D);var St;!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"}(St||(St={}));const Nt=ht.extend("--ft-typography-font-family",ct.titleFont),Ct=ht.extend("--ft-typography-font-family",ct.contentFont),Et={fontFamily:Ct,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Rt={fontFamily:ht.extend("--ft-typography-title-font-family",Nt),fontSize:ht.extend("--ft-typography-title-font-size",Et.fontSize,"20px"),fontWeight:ht.extend("--ft-typography-title-font-weight",Et.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-title-letter-spacing",Et.letterSpacing,"0.15px"),lineHeight:ht.extend("--ft-typography-title-line-height",Et.lineHeight,"1.2"),textTransform:ht.extend("--ft-typography-title-text-transform",Et.textTransform,"inherit")},Mt=ht.extend("--ft-typography-title-dense-font-family",Nt),Ut=ht.extend("--ft-typography-title-dense-font-size",Et.fontSize,"14px"),kt=ht.extend("--ft-typography-title-dense-font-weight",Et.fontWeight,"normal"),Ft=ht.extend("--ft-typography-title-dense-letter-spacing",Et.letterSpacing,"0.105px"),jt=ht.extend("--ft-typography-title-dense-line-height",Et.lineHeight,"1.7"),At=ht.extend("--ft-typography-title-dense-text-transform",Et.textTransform,"inherit"),Lt=ht.extend("--ft-typography-subtitle1-font-family",Ct),zt=ht.extend("--ft-typography-subtitle1-font-size",Et.fontSize,"16px"),Pt=ht.extend("--ft-typography-subtitle1-font-weight",Et.fontWeight,"600"),Tt=ht.extend("--ft-typography-subtitle1-letter-spacing",Et.letterSpacing,"0.144px"),Bt=ht.extend("--ft-typography-subtitle1-line-height",Et.lineHeight,"1.5"),_t=ht.extend("--ft-typography-subtitle1-text-transform",Et.textTransform,"inherit"),Wt=ht.extend("--ft-typography-subtitle2-font-family",Ct),Dt=ht.extend("--ft-typography-subtitle2-font-size",Et.fontSize,"14px"),Ht=ht.extend("--ft-typography-subtitle2-font-weight",Et.fontWeight,"normal"),Kt=ht.extend("--ft-typography-subtitle2-letter-spacing",Et.letterSpacing,"0.098px"),It=ht.extend("--ft-typography-subtitle2-line-height",Et.lineHeight,"1.7"),Zt=ht.extend("--ft-typography-subtitle2-text-transform",Et.textTransform,"inherit"),Vt=ht.extend("--ft-typography-body1-font-family",Ct),Jt=ht.extend("--ft-typography-body1-font-size",Et.fontSize,"16px"),Xt=ht.extend("--ft-typography-body1-font-weight",Et.fontWeight,"normal"),qt=ht.extend("--ft-typography-body1-letter-spacing",Et.letterSpacing,"0.496px"),Gt=ht.extend("--ft-typography-body1-line-height",Et.lineHeight,"1.5"),Qt=ht.extend("--ft-typography-body1-text-transform",Et.textTransform,"inherit"),Yt=ht.extend("--ft-typography-body2-font-family",Ct),te=ht.extend("--ft-typography-body2-font-size",Et.fontSize,"14px"),ee=ht.extend("--ft-typography-body2-font-weight",Et.fontWeight,"normal"),ie=ht.extend("--ft-typography-body2-letter-spacing",Et.letterSpacing,"0.252px"),oe=ht.extend("--ft-typography-body2-line-height",Et.lineHeight,"1.4"),re=ht.extend("--ft-typography-body2-text-transform",Et.textTransform,"inherit"),ne=ht.extend("--ft-typography-caption-font-family",Ct),se=ht.extend("--ft-typography-caption-font-size",Et.fontSize,"12px"),ae=ht.extend("--ft-typography-caption-font-weight",Et.fontWeight,"normal"),le=ht.extend("--ft-typography-caption-letter-spacing",Et.letterSpacing,"0.396px"),he=ht.extend("--ft-typography-caption-line-height",Et.lineHeight,"1.33"),ce=ht.extend("--ft-typography-caption-text-transform",Et.textTransform,"inherit"),pe=ht.extend("--ft-typography-breadcrumb-font-family",Ct),fe=ht.extend("--ft-typography-breadcrumb-font-size",Et.fontSize,"10px"),ue=ht.extend("--ft-typography-breadcrumb-font-weight",Et.fontWeight,"normal"),de=ht.extend("--ft-typography-breadcrumb-letter-spacing",Et.letterSpacing,"0.33px"),ye=ht.extend("--ft-typography-breadcrumb-line-height",Et.lineHeight,"1.6"),ge=ht.extend("--ft-typography-breadcrumb-text-transform",Et.textTransform,"inherit"),ve=ht.extend("--ft-typography-overline-font-family",Ct),be=ht.extend("--ft-typography-overline-font-size",Et.fontSize,"10px"),me=ht.extend("--ft-typography-overline-font-weight",Et.fontWeight,"normal"),xe=ht.extend("--ft-typography-overline-letter-spacing",Et.letterSpacing,"1.5px"),we=ht.extend("--ft-typography-overline-line-height",Et.lineHeight,"1.6"),Oe=ht.extend("--ft-typography-overline-text-transform",Et.textTransform,"uppercase"),$e=ht.extend("--ft-typography-button-font-family",Ct),Se=ht.extend("--ft-typography-button-font-size",Et.fontSize,"14px"),Ne=ht.extend("--ft-typography-button-font-weight",Et.fontWeight,"600"),Ce=ht.extend("--ft-typography-button-letter-spacing",Et.letterSpacing,"1.246px"),Ee=ht.extend("--ft-typography-button-line-height",Et.lineHeight,"1.15"),Re=ht.extend("--ft-typography-button-text-transform",Et.textTransform,"uppercase"),Me=f`
93
93
  .ft-typography--title {
94
- font-family: ${Nt.fontFamily};
95
- font-size: ${Nt.fontSize};
96
- font-weight: ${Nt.fontWeight};
97
- letter-spacing: ${Nt.letterSpacing};
98
- line-height: ${Nt.lineHeight};
99
- text-transform: ${Nt.textTransform};
94
+ font-family: ${Rt.fontFamily};
95
+ font-size: ${Rt.fontSize};
96
+ font-weight: ${Rt.fontWeight};
97
+ letter-spacing: ${Rt.letterSpacing};
98
+ line-height: ${Rt.lineHeight};
99
+ text-transform: ${Rt.textTransform};
100
100
  }
101
- `,Ee=p`
101
+ `,Ue=f`
102
102
  .ft-typography--title-dense {
103
- font-family: ${Ct};
104
- font-size: ${Et};
105
- font-weight: ${Rt};
106
- letter-spacing: ${Mt};
107
- line-height: ${Ut};
108
- text-transform: ${kt};
103
+ font-family: ${Mt};
104
+ font-size: ${Ut};
105
+ font-weight: ${kt};
106
+ letter-spacing: ${Ft};
107
+ line-height: ${jt};
108
+ text-transform: ${At};
109
109
  }
110
- `,Re=p`
110
+ `,ke=f`
111
111
  .ft-typography--subtitle1 {
112
- font-family: ${Ft};
113
- font-size: ${jt};
114
- font-weight: ${At};
115
- letter-spacing: ${Lt};
116
- line-height: ${Pt};
117
- text-transform: ${zt};
112
+ font-family: ${Lt};
113
+ font-size: ${zt};
114
+ font-weight: ${Pt};
115
+ letter-spacing: ${Tt};
116
+ line-height: ${Bt};
117
+ text-transform: ${_t};
118
118
  }
119
- `,Me=p`
119
+ `,Fe=f`
120
120
  .ft-typography--subtitle2 {
121
- font-family: ${Tt};
122
- font-size: ${Bt};
123
- font-weight: ${_t};
124
- letter-spacing: ${Wt};
125
- line-height: ${Dt};
126
- text-transform: ${Ht};
121
+ font-family: ${Wt};
122
+ font-size: ${Dt};
123
+ font-weight: ${Ht};
124
+ letter-spacing: ${Kt};
125
+ line-height: ${It};
126
+ text-transform: ${Zt};
127
127
  }
128
128
 
129
- `,Ue=p`
129
+ `,je=f`
130
130
  .ft-typography--body1 {
131
- font-family: ${Kt};
132
- font-size: ${It};
133
- font-weight: ${Zt};
134
- letter-spacing: ${Vt};
135
- line-height: ${Jt};
136
- text-transform: ${Xt};
131
+ font-family: ${Vt};
132
+ font-size: ${Jt};
133
+ font-weight: ${Xt};
134
+ letter-spacing: ${qt};
135
+ line-height: ${Gt};
136
+ text-transform: ${Qt};
137
137
  }
138
- `,ke=p`
138
+ `,Ae=f`
139
139
  .ft-typography--body2 {
140
- font-family: ${qt};
141
- font-size: ${Gt};
142
- font-weight: ${Qt};
143
- letter-spacing: ${Yt};
144
- line-height: ${te};
145
- text-transform: ${ee};
140
+ font-family: ${Yt};
141
+ font-size: ${te};
142
+ font-weight: ${ee};
143
+ letter-spacing: ${ie};
144
+ line-height: ${oe};
145
+ text-transform: ${re};
146
146
  }
147
- `,Fe=p`
147
+ `,Le=f`
148
148
  .ft-typography--caption {
149
- font-family: ${ie};
150
- font-size: ${oe};
151
- font-weight: ${re};
152
- letter-spacing: ${ne};
153
- line-height: ${se};
154
- text-transform: ${ae};
149
+ font-family: ${ne};
150
+ font-size: ${se};
151
+ font-weight: ${ae};
152
+ letter-spacing: ${le};
153
+ line-height: ${he};
154
+ text-transform: ${ce};
155
155
  }
156
- `,je=p`
156
+ `,ze=f`
157
157
  .ft-typography--breadcrumb {
158
- font-family: ${le};
159
- font-size: ${he};
160
- font-weight: ${ce};
161
- letter-spacing: ${pe};
162
- line-height: ${fe};
163
- text-transform: ${ue};
158
+ font-family: ${pe};
159
+ font-size: ${fe};
160
+ font-weight: ${ue};
161
+ letter-spacing: ${de};
162
+ line-height: ${ye};
163
+ text-transform: ${ge};
164
164
  }
165
- `,Ae=p`
165
+ `,Pe=f`
166
166
  .ft-typography--overline {
167
- font-family: ${de};
168
- font-size: ${ye};
169
- font-weight: ${ge};
170
- letter-spacing: ${ve};
171
- line-height: ${be};
172
- text-transform: ${me};
167
+ font-family: ${ve};
168
+ font-size: ${be};
169
+ font-weight: ${me};
170
+ letter-spacing: ${xe};
171
+ line-height: ${we};
172
+ text-transform: ${Oe};
173
173
  }
174
- `,Le=p`
174
+ `,Te=f`
175
175
  .ft-typography--button {
176
- font-family: ${xe};
177
- font-size: ${we};
178
- font-weight: ${Oe};
179
- letter-spacing: ${$e};
180
- line-height: ${Se};
181
- text-transform: ${Ne};
176
+ font-family: ${$e};
177
+ font-size: ${Se};
178
+ font-weight: ${Ne};
179
+ letter-spacing: ${Ce};
180
+ line-height: ${Ee};
181
+ text-transform: ${Re};
182
182
  }
183
- `,Pe=p`
183
+ `,Be=f`
184
184
  .ft-typography {
185
185
  vertical-align: inherit;
186
186
  }
187
- `;var ze=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Te extends ht{constructor(){super(...arguments),this.variant=wt.body1}render(){return this.element?xt`
188
- <${bt(this.element)}
187
+ `;var _e=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class We extends ft{constructor(){super(...arguments),this.variant=St.body1}render(){return this.element?$t`
188
+ <${wt(this.element)}
189
189
  class="ft-typography ft-typography--${this.variant}">
190
190
  <slot></slot>
191
- </${bt(this.element)}>
192
- `:xt`
191
+ </${wt(this.element)}>
192
+ `:$t`
193
193
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
194
- `}}Te.styles=[Ce,Ee,Re,Me,Ue,ke,Fe,je,Ae,Le,Pe],ze([i()],Te.prototype,"element",void 0),ze([i()],Te.prototype,"variant",void 0),r("ft-typography")(Te);var Be,_e,We=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class De extends yt{render(){if(this.map){let t=this.maxLength?this.map.title.substring(0,this.maxLength)+"...":this.map.title;return B`
195
- <ft-typography variant="title" part="text">${t}</ft-typography>`}return W}}De.elementDefinitions={"ft-typography":Te},We([i({attribute:"max-length"})],De.prototype,"maxLength",void 0),We([(t,e)=>{t.constructor.createProperty(e,{attribute:!1,hasChanged:null!=_e?_e:(t,e)=>!n(t,e)});const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(e,null!=Be?Be:t=>t[e])}],De.prototype,"map",void 0);const He={fontSize:st.extend("--ft-reader-metadata-font-size",Nt.fontSize)};r("ft-reader-title")(De),t.FtReaderTitle=De,t.FtReaderTitleCssVariables=He,Object.defineProperty(t,"i",{value:!0})}({});
194
+ `}}We.styles=[Me,Ue,ke,Fe,je,Ae,Le,ze,Pe,Te,Be],_e([i()],We.prototype,"element",void 0),_e([i()],We.prototype,"variant",void 0),r("ft-typography")(We);var De,He,Ke=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Ie extends bt{render(){return this.mapTitle?D`
195
+ <ft-typography variant="title" part="text">${this.mapTitle}</ft-typography>
196
+ `:K}}Ie.elementDefinitions={"ft-typography":We},Ke([(De=t=>{var e;return null===(e=t.map)||void 0===e?void 0:e.title},(t,e)=>{t.constructor.createProperty(e,{attribute:!1,hasChanged:null!=He?He:(t,e)=>!n(t,e)});const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(e,null!=De?De:t=>t[e])})],Ie.prototype,"mapTitle",void 0);const Ze={fontSize:ht.extend("--ft-reader-metadata-font-size",Rt.fontSize)};r("ft-reader-title")(Ie),t.FtReaderTitle=Ie,t.FtReaderTitleCssVariables=Ze,Object.defineProperty(t,"i",{value:!0})}({});
@@ -1,4 +1,3 @@
1
1
  export interface FtReaderTitleProperties {
2
- maxLength?: number;
3
2
  }
4
3
  //# sourceMappingURL=ft-reader-title.properties.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-title",
3
- "version": "0.3.19",
3
+ "version": "0.3.21",
4
4
  "description": "Title for integrated reader",
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-reader-context": "0.3.19",
23
- "@fluid-topics/ft-wc-utils": "0.3.19",
22
+ "@fluid-topics/ft-reader-context": "0.3.21",
23
+ "@fluid-topics/ft-wc-utils": "0.3.21",
24
24
  "lit": "2.2.8"
25
25
  },
26
- "gitHead": "675c2ceb687246109347352e64772e8ebad2cc17"
26
+ "gitHead": "44d378afb4633e1b5a2be18fb6051968816e577a"
27
27
  }