@fluid-topics/ft-reader-toc 0.3.33 → 0.3.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(t,e,i,o,n,s,r,l){var a,h=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class d extends(function(t){class e extends t{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 p)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return h([r.state()],e.prototype,"stateManager",void 0),e}(e.FtLitElementRedux)){}
1
+ !function(t,e,i,o,n,s,r,l){var a,h=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class d extends(function(t){class e extends t{constructor(){super(...arguments),this.registerInterval=0}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(),this.registerInterval=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerInterval):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return h([r.state()],e.prototype,"stateManager",void 0),e}(e.FtLitElementRedux)){}
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
@@ -49,19 +49,19 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var w;const $=window,O=$.trustedTypes,S=O?O.emptyScript:"",k=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?S: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}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};class z 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=E){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}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(m(t))}else void 0!==t&&e.push(m(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 g(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=E){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(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){}}
52
+ */;var w;const $=window,O=$.trustedTypes,S=O?O.emptyScript:"",k=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?S: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}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};class R 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=E){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}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(m(t))}else void 0!==t&&e.push(m(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 g(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=E){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(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){}}
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var R;z.finalized=!0,z.elementProperties=new Map,z.elementStyles=[],z.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:z}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.4.1");const M=window,A=M.trustedTypes,j=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,U=`lit$${(Math.random()+"").slice(9)}$`,F="?"+U,B=`<${F}>`,L=document,T=(t="")=>L.createComment(t),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),Z=/'/g,V=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=L.createTreeWalker(L,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=D;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===D?"!--"===l[1]?s=W:void 0!==l[1]?s=H:void 0!==l[2]?(X.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=K):void 0!==l[3]&&(s=K):s===K?">"===l[0]?(s=null!=n?n:D,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?K:'"'===l[3]?V:Z):s===V||s===Z?s=K:s===W||s===H?s=D:(s=K,n=void 0);const p=s===K&&t[e+1].startsWith("/>")?" ":"";r+=s===D?i+B:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+U+p):i+U+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(U)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(U),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?st:"?"===e[1]?lt:"@"===e[1]?ht:rt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(X.test(o.tagName)){const t=o.textContent.split(U),e=t.length-1;if(e>0){o.textContent=A?A.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(U,t+1));)a.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,e){const i=L.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,r,s,a;if(e===q)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=I(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{constructor(t,e){this.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,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:L).importNode(i,!0);Q.currentNode=n;let r=Q.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new nt(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new ct(r,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Q.nextNode(),s++)}return n}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 nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$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=it(this,t,e),I(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==q&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(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!==Y&&I(this._$AH)?this._$AA.nextSibling.data=t:this.T(L.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new ot(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}k(t){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new nt(this.O(T()),this.O(T()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,n){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=it(this,t,e,0),r=!I(t)||t!==this._$AH&&t!==q,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=it(this,o[i+s],e,s),a===q&&(a=this._$AH[s]),r||(r=!I(a)||a!==this._$AH[s]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=A?A.emptyScript:"";class lt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends rt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===q)return;const o=this._$AH,n=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Y&&(o===Y||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const pt={P:"$lit$",A:U,M:F,C:1,L:tt,R:ot,D:_,V:it,I:nt,H:rt,N:lt,U:ht,B:st,F:ct},dt=M.litHtmlPolyfillSupport;null==dt||dt(et,nt),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.4.0");
58
+ var z;R.finalized=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:R}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.4.1");const M=window,A=M.trustedTypes,j=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,U=`lit$${(Math.random()+"").slice(9)}$`,F="?"+U,B=`<${F}>`,L=document,T=(t="")=>L.createComment(t),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),Z=/'/g,V=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=L.createTreeWalker(L,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=D;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===D?"!--"===l[1]?s=W:void 0!==l[1]?s=H:void 0!==l[2]?(X.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=K):void 0!==l[3]&&(s=K):s===K?">"===l[0]?(s=null!=n?n:D,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?K:'"'===l[3]?V:Z):s===V||s===Z?s=K:s===W||s===H?s=D:(s=K,n=void 0);const p=s===K&&t[e+1].startsWith("/>")?" ":"";r+=s===D?i+B:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+U+p):i+U+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(U)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(U),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?st:"?"===e[1]?lt:"@"===e[1]?ht:rt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(X.test(o.tagName)){const t=o.textContent.split(U),e=t.length-1;if(e>0){o.textContent=A?A.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(U,t+1));)a.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,e){const i=L.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,r,s,a;if(e===q)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=I(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{constructor(t,e){this.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,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:L).importNode(i,!0);Q.currentNode=n;let r=Q.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new nt(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new ct(r,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Q.nextNode(),s++)}return n}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 nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$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=it(this,t,e),I(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==q&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(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!==Y&&I(this._$AH)?this._$AA.nextSibling.data=t:this.T(L.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new ot(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(t)),e}k(t){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new nt(this.O(T()),this.O(T()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,n){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=it(this,t,e,0),r=!I(t)||t!==this._$AH&&t!==q,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=it(this,o[i+s],e,s),a===q&&(a=this._$AH[s]),r||(r=!I(a)||a!==this._$AH[s]),a===Y?t=Y:t!==Y&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=A?A.emptyScript:"";class lt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends rt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:Y)===q)return;const o=this._$AH,n=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Y&&(o===Y||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const pt={P:"$lit$",A:U,M:F,C:1,L:tt,R:ot,D:_,V:it,I:nt,H:rt,N:lt,U:ht,B:st,F:ct},dt=M.litHtmlPolyfillSupport;null==dt||dt(et,nt),(null!==(z=M.litHtmlVersions)&&void 0!==z?z:M.litHtmlVersions=[]).push("2.4.0");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- var ft,ut;class vt extends z{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,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new nt(e.insertBefore(T(),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 q}}vt.finalized=!0,vt._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:vt});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:vt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.2.2");class xt{static create(t,e,i){let o=t=>x(null!=t?t:i),n=b`var(${x(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${x(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=b`var(${x(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${x(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):x(null!=e?e:t.defaultValue),o=b`var(${x(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=>b`var(${x(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}}function bt(t,e){return x(`${t.name}: ${e}`)}const gt={colorPrimary:xt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:xt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:xt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:xt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:xt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:xt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xt.create("--ft-color-error","COLOR","#B00020"),colorOutline:xt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:xt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:xt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:xt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:xt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:xt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:xt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:xt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:xt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:xt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:xt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:xt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:xt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:xt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:xt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:xt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:xt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:xt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:xt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
64
+ var ft,ut;class vt extends R{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,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new nt(e.insertBefore(T(),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 q}}vt.finalized=!0,vt._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:vt});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:vt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.2.2");class xt{static create(t,e,i){let o=t=>x(null!=t?t:i),n=b`var(${x(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${x(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=b`var(${x(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${x(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):x(null!=e?e:t.defaultValue),o=b`var(${x(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=>b`var(${x(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}}function bt(t,e){return x(`${t.name}: ${e}`)}const gt={colorPrimary:xt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:xt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:xt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:xt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:xt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:xt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xt.create("--ft-color-error","COLOR","#B00020"),colorOutline:xt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:xt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:xt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:xt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:xt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:xt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:xt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:xt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:xt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:xt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:xt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:xt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:xt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:xt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:xt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:xt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:xt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:xt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:xt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
65
  /**
66
66
  * @license
67
67
  * Copyright 2021 Google LLC
@@ -92,7 +92,7 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
92
92
  -webkit-hyphens: auto;
93
93
  hyphens: auto
94
94
  }
95
- `;class Ot{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;let n=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}\\}`,"g"),t))),n}}const St=(t,e)=>(i,o)=>{i.constructor.createProperty(o,{attribute:!1,hasChanged:null!=e?e:(t,e)=>!p(t,e)});const n=i;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,null!=t?t:t=>t[o])};class kt extends wt{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 Ct,Nt,Et;const zt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Et=null===(Nt=null===(Ct=window.safari)||void 0===Ct?void 0:Ct.pushNotification)||void 0===Nt?void 0:Nt.toString())&&void 0!==Et?Et:""),Rt=1,Mt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});
95
+ `;class Ot{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;let n=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}\\}`,"g"),t))),n}}const St=(t,e)=>(i,o)=>{i.constructor.createProperty(o,{attribute:!1,hasChanged:null!=e?e:(t,e)=>!p(t,e)});const n=i;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,null!=t?t:t=>t[o])};class kt extends wt{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 Ct,Nt,Et;const Rt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Et=null===(Nt=null===(Ct=window.safari)||void 0===Ct?void 0:Ct.pushNotification)||void 0===Nt?void 0:Nt.toString())&&void 0!==Et?Et:""),zt=1,Mt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});
96
96
  /**
97
97
  * @license
98
98
  * Copyright 2017 Google LLC
@@ -102,17 +102,17 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
102
102
  * @license
103
103
  * Copyright 2020 Google LLC
104
104
  * SPDX-License-Identifier: BSD-3-Clause
105
- */const{I:Ut}=pt,Ft=()=>document.createComment(""),Bt=(t,e,i)=>{var o;const n=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Ft(),r),o=n.insertBefore(Ft(),r);i=new Ut(e,o,t,t.options)}else{const e=i._$AB.nextSibling,s=i._$AM,a=s!==t;if(a){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==s._$AU&&i._$AP(e)}if(e!==r||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,r),t=e}}}return i},Lt=(t,e,i=t)=>(t._$AI(e,i),t),Tt={},It=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Pt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},_t=At(class extends jt{constructor(t){if(super(t),t.type!==Mt)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],r=[];let s=0;for(const e of t)n[s]=o?o(e,s):s,r[s]=i(e,s),s++;return{values:r,keys:n}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var n;const r=(t=>t._$AH)(t),{values:s,keys:a}=this.ht(e,i,o);if(!Array.isArray(r))return this.ut=a,s;const l=null!==(n=this.ut)&&void 0!==n?n:this.ut=[],h=[];let c,p,d=0,f=r.length-1,u=0,v=s.length-1;for(;d<=f&&u<=v;)if(null===r[d])d++;else if(null===r[f])f--;else if(l[d]===a[u])h[u]=Lt(r[d],s[u]),d++,u++;else if(l[f]===a[v])h[v]=Lt(r[f],s[v]),f--,v--;else if(l[d]===a[v])h[v]=Lt(r[d],s[v]),Bt(t,h[v+1],r[d]),d++,v--;else if(l[f]===a[u])h[u]=Lt(r[f],s[u]),Bt(t,r[d],r[f]),f--,u++;else if(void 0===c&&(c=Pt(a,u,v),p=Pt(l,d,f)),c.has(l[d]))if(c.has(l[f])){const e=p.get(a[u]),i=void 0!==e?r[e]:null;if(null===i){const e=Bt(t,r[d]);Lt(e,s[u]),h[u]=e}else h[u]=Lt(i,s[u]),Bt(t,r[d],i),r[e]=null;u++}else It(r[f]),f--;else It(r[d]),d++;for(;u<=v;){const e=Bt(t,h[v+1]);Lt(e,s[u]),h[u++]=e}for(;d<=f;){const t=r[d++];null!==t&&It(t)}return this.ut=a,((t,e=Tt)=>{t._$AH=e})(t,h),q}}),Dt=At(class extends jt{constructor(t){var e;if(super(t),t.type!==Rt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return q}}),Wt=At(class extends jt{constructor(t){var e;if(super(t),t.type!==Rt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in e)this.vt.add(t);return this.render(e)}this.vt.forEach((t=>{null==e[t]&&(this.vt.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const o=e[t];null!=o&&(this.vt.add(t),t.includes("-")?i.setProperty(t,o):i[t]=o)}return q}});
105
+ */const{I:Ut}=pt,Ft=()=>document.createComment(""),Bt=(t,e,i)=>{var o;const n=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Ft(),r),o=n.insertBefore(Ft(),r);i=new Ut(e,o,t,t.options)}else{const e=i._$AB.nextSibling,s=i._$AM,a=s!==t;if(a){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==s._$AU&&i._$AP(e)}if(e!==r||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,r),t=e}}}return i},Lt=(t,e,i=t)=>(t._$AI(e,i),t),Tt={},It=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Pt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},_t=At(class extends jt{constructor(t){if(super(t),t.type!==Mt)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],r=[];let s=0;for(const e of t)n[s]=o?o(e,s):s,r[s]=i(e,s),s++;return{values:r,keys:n}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var n;const r=(t=>t._$AH)(t),{values:s,keys:a}=this.ht(e,i,o);if(!Array.isArray(r))return this.ut=a,s;const l=null!==(n=this.ut)&&void 0!==n?n:this.ut=[],h=[];let c,p,d=0,f=r.length-1,u=0,v=s.length-1;for(;d<=f&&u<=v;)if(null===r[d])d++;else if(null===r[f])f--;else if(l[d]===a[u])h[u]=Lt(r[d],s[u]),d++,u++;else if(l[f]===a[v])h[v]=Lt(r[f],s[v]),f--,v--;else if(l[d]===a[v])h[v]=Lt(r[d],s[v]),Bt(t,h[v+1],r[d]),d++,v--;else if(l[f]===a[u])h[u]=Lt(r[f],s[u]),Bt(t,r[d],r[f]),f--,u++;else if(void 0===c&&(c=Pt(a,u,v),p=Pt(l,d,f)),c.has(l[d]))if(c.has(l[f])){const e=p.get(a[u]),i=void 0!==e?r[e]:null;if(null===i){const e=Bt(t,r[d]);Lt(e,s[u]),h[u]=e}else h[u]=Lt(i,s[u]),Bt(t,r[d],i),r[e]=null;u++}else It(r[f]),f--;else It(r[d]),d++;for(;u<=v;){const e=Bt(t,h[v+1]);Lt(e,s[u]),h[u++]=e}for(;d<=f;){const t=r[d++];null!==t&&It(t)}return this.ut=a,((t,e=Tt)=>{t._$AH=e})(t,h),q}}),Dt=At(class extends jt{constructor(t){var e;if(super(t),t.type!==zt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return q}}),Wt=At(class extends jt{constructor(t){var e;if(super(t),t.type!==zt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in e)this.vt.add(t);return this.render(e)}this.vt.forEach((t=>{null==e[t]&&(this.vt.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const o=e[t];null!=o&&(this.vt.add(t),t.includes("-")?i.setProperty(t,o):i[t]=o)}return q}});
106
106
  /**
107
107
  * @license
108
108
  * Copyright 2017 Google LLC
109
109
  * SPDX-License-Identifier: BSD-3-Clause
110
- */var Ht=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Kt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Zt extends(function(t){class e extends t{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 Kt)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return Ht([n()],e.prototype,"stateManager",void 0),e}(kt)){}
110
+ */var Ht=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Kt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Zt extends(function(t){class e extends t{constructor(){super(...arguments),this.registerInterval=0}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(),this.registerInterval=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerInterval):this.dispatchEvent(new Kt)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return Ht([n()],e.prototype,"stateManager",void 0),e}(kt)){}
111
111
  /**
112
112
  * @license
113
113
  * Copyright 2020 Google LLC
114
114
  * SPDX-License-Identifier: BSD-3-Clause
115
- */const Vt=Symbol.for(""),Xt=t=>{if((null==t?void 0:t.r)===Vt)return null==t?void 0:t._$litStatic$},Jt=t=>({_$litStatic$:t,r:Vt}),qt=new Map,Yt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=Xt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=qt.get(t))&&(s.raw=s,qt.set(t,e=s)),i=a}return t(e,...i)})(J);var Gt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Gt||(Gt={}));const Qt=xt.extend("--ft-typography-font-family",gt.titleFont),te=xt.extend("--ft-typography-font-family",gt.contentFont),ee={fontFamily:te,fontSize:xt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ie=xt.extend("--ft-typography-title-font-family",Qt),oe=xt.extend("--ft-typography-title-font-size",ee.fontSize,"20px"),ne=xt.extend("--ft-typography-title-font-weight",ee.fontWeight,"normal"),re=xt.extend("--ft-typography-title-letter-spacing",ee.letterSpacing,"0.15px"),se=xt.extend("--ft-typography-title-line-height",ee.lineHeight,"1.2"),ae=xt.extend("--ft-typography-title-text-transform",ee.textTransform,"inherit"),le=xt.extend("--ft-typography-title-dense-font-family",Qt),he=xt.extend("--ft-typography-title-dense-font-size",ee.fontSize,"14px"),ce=xt.extend("--ft-typography-title-dense-font-weight",ee.fontWeight,"normal"),pe=xt.extend("--ft-typography-title-dense-letter-spacing",ee.letterSpacing,"0.105px"),de=xt.extend("--ft-typography-title-dense-line-height",ee.lineHeight,"1.7"),fe=xt.extend("--ft-typography-title-dense-text-transform",ee.textTransform,"inherit"),ue=xt.extend("--ft-typography-subtitle1-font-family",te),ve=xt.extend("--ft-typography-subtitle1-font-size",ee.fontSize,"16px"),ye=xt.extend("--ft-typography-subtitle1-font-weight",ee.fontWeight,"600"),xe=xt.extend("--ft-typography-subtitle1-letter-spacing",ee.letterSpacing,"0.144px"),be=xt.extend("--ft-typography-subtitle1-line-height",ee.lineHeight,"1.5"),ge=xt.extend("--ft-typography-subtitle1-text-transform",ee.textTransform,"inherit"),me=xt.extend("--ft-typography-subtitle2-font-family",te),we=xt.extend("--ft-typography-subtitle2-font-size",ee.fontSize,"14px"),$e=xt.extend("--ft-typography-subtitle2-font-weight",ee.fontWeight,"normal"),Oe=xt.extend("--ft-typography-subtitle2-letter-spacing",ee.letterSpacing,"0.098px"),Se=xt.extend("--ft-typography-subtitle2-line-height",ee.lineHeight,"1.7"),ke=xt.extend("--ft-typography-subtitle2-text-transform",ee.textTransform,"inherit"),Ce=xt.extend("--ft-typography-body1-font-family",te),Ne=xt.extend("--ft-typography-body1-font-size",ee.fontSize,"16px"),Ee=xt.extend("--ft-typography-body1-font-weight",ee.fontWeight,"normal"),ze=xt.extend("--ft-typography-body1-letter-spacing",ee.letterSpacing,"0.496px"),Re=xt.extend("--ft-typography-body1-line-height",ee.lineHeight,"1.5"),Me=xt.extend("--ft-typography-body1-text-transform",ee.textTransform,"inherit"),Ae=xt.extend("--ft-typography-body2-font-family",te),je=xt.extend("--ft-typography-body2-font-size",ee.fontSize,"14px"),Ue=xt.extend("--ft-typography-body2-font-weight",ee.fontWeight,"normal"),Fe=xt.extend("--ft-typography-body2-letter-spacing",ee.letterSpacing,"0.252px"),Be=xt.extend("--ft-typography-body2-line-height",ee.lineHeight,"1.4"),Le=xt.extend("--ft-typography-body2-text-transform",ee.textTransform,"inherit"),Te=xt.extend("--ft-typography-caption-font-family",te),Ie=xt.extend("--ft-typography-caption-font-size",ee.fontSize,"12px"),Pe=xt.extend("--ft-typography-caption-font-weight",ee.fontWeight,"normal"),_e=xt.extend("--ft-typography-caption-letter-spacing",ee.letterSpacing,"0.396px"),De=xt.extend("--ft-typography-caption-line-height",ee.lineHeight,"1.33"),We=xt.extend("--ft-typography-caption-text-transform",ee.textTransform,"inherit"),He=xt.extend("--ft-typography-breadcrumb-font-family",te),Ke=xt.extend("--ft-typography-breadcrumb-font-size",ee.fontSize,"10px"),Ze=xt.extend("--ft-typography-breadcrumb-font-weight",ee.fontWeight,"normal"),Ve=xt.extend("--ft-typography-breadcrumb-letter-spacing",ee.letterSpacing,"0.33px"),Xe=xt.extend("--ft-typography-breadcrumb-line-height",ee.lineHeight,"1.6"),Je=xt.extend("--ft-typography-breadcrumb-text-transform",ee.textTransform,"inherit"),qe=xt.extend("--ft-typography-overline-font-family",te),Ye=xt.extend("--ft-typography-overline-font-size",ee.fontSize,"10px"),Ge=xt.extend("--ft-typography-overline-font-weight",ee.fontWeight,"normal"),Qe=xt.extend("--ft-typography-overline-letter-spacing",ee.letterSpacing,"1.5px"),ti=xt.extend("--ft-typography-overline-line-height",ee.lineHeight,"1.6"),ei=xt.extend("--ft-typography-overline-text-transform",ee.textTransform,"uppercase"),ii={fontFamily:xt.extend("--ft-typography-button-font-family",te),fontSize:xt.extend("--ft-typography-button-font-size",ee.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-button-font-weight",ee.fontWeight,"600"),letterSpacing:xt.extend("--ft-typography-button-letter-spacing",ee.letterSpacing,"1.246px"),lineHeight:xt.extend("--ft-typography-button-line-height",ee.lineHeight,"1.15"),textTransform:xt.extend("--ft-typography-button-text-transform",ee.textTransform,"uppercase")},oi=b`
115
+ */const Vt=Symbol.for(""),Xt=t=>{if((null==t?void 0:t.r)===Vt)return null==t?void 0:t._$litStatic$},Jt=t=>({_$litStatic$:t,r:Vt}),qt=new Map,Yt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=Xt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=qt.get(t))&&(s.raw=s,qt.set(t,e=s)),i=a}return t(e,...i)})(J);var Gt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Gt||(Gt={}));const Qt=xt.extend("--ft-typography-font-family",gt.titleFont),te=xt.extend("--ft-typography-font-family",gt.contentFont),ee={fontFamily:te,fontSize:xt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ie=xt.extend("--ft-typography-title-font-family",Qt),oe=xt.extend("--ft-typography-title-font-size",ee.fontSize,"20px"),ne=xt.extend("--ft-typography-title-font-weight",ee.fontWeight,"normal"),re=xt.extend("--ft-typography-title-letter-spacing",ee.letterSpacing,"0.15px"),se=xt.extend("--ft-typography-title-line-height",ee.lineHeight,"1.2"),ae=xt.extend("--ft-typography-title-text-transform",ee.textTransform,"inherit"),le=xt.extend("--ft-typography-title-dense-font-family",Qt),he=xt.extend("--ft-typography-title-dense-font-size",ee.fontSize,"14px"),ce=xt.extend("--ft-typography-title-dense-font-weight",ee.fontWeight,"normal"),pe=xt.extend("--ft-typography-title-dense-letter-spacing",ee.letterSpacing,"0.105px"),de=xt.extend("--ft-typography-title-dense-line-height",ee.lineHeight,"1.7"),fe=xt.extend("--ft-typography-title-dense-text-transform",ee.textTransform,"inherit"),ue=xt.extend("--ft-typography-subtitle1-font-family",te),ve=xt.extend("--ft-typography-subtitle1-font-size",ee.fontSize,"16px"),ye=xt.extend("--ft-typography-subtitle1-font-weight",ee.fontWeight,"600"),xe=xt.extend("--ft-typography-subtitle1-letter-spacing",ee.letterSpacing,"0.144px"),be=xt.extend("--ft-typography-subtitle1-line-height",ee.lineHeight,"1.5"),ge=xt.extend("--ft-typography-subtitle1-text-transform",ee.textTransform,"inherit"),me=xt.extend("--ft-typography-subtitle2-font-family",te),we=xt.extend("--ft-typography-subtitle2-font-size",ee.fontSize,"14px"),$e=xt.extend("--ft-typography-subtitle2-font-weight",ee.fontWeight,"normal"),Oe=xt.extend("--ft-typography-subtitle2-letter-spacing",ee.letterSpacing,"0.098px"),Se=xt.extend("--ft-typography-subtitle2-line-height",ee.lineHeight,"1.7"),ke=xt.extend("--ft-typography-subtitle2-text-transform",ee.textTransform,"inherit"),Ce=xt.extend("--ft-typography-body1-font-family",te),Ne=xt.extend("--ft-typography-body1-font-size",ee.fontSize,"16px"),Ee=xt.extend("--ft-typography-body1-font-weight",ee.fontWeight,"normal"),Re=xt.extend("--ft-typography-body1-letter-spacing",ee.letterSpacing,"0.496px"),ze=xt.extend("--ft-typography-body1-line-height",ee.lineHeight,"1.5"),Me=xt.extend("--ft-typography-body1-text-transform",ee.textTransform,"inherit"),Ae=xt.extend("--ft-typography-body2-font-family",te),je=xt.extend("--ft-typography-body2-font-size",ee.fontSize,"14px"),Ue=xt.extend("--ft-typography-body2-font-weight",ee.fontWeight,"normal"),Fe=xt.extend("--ft-typography-body2-letter-spacing",ee.letterSpacing,"0.252px"),Be=xt.extend("--ft-typography-body2-line-height",ee.lineHeight,"1.4"),Le=xt.extend("--ft-typography-body2-text-transform",ee.textTransform,"inherit"),Te=xt.extend("--ft-typography-caption-font-family",te),Ie=xt.extend("--ft-typography-caption-font-size",ee.fontSize,"12px"),Pe=xt.extend("--ft-typography-caption-font-weight",ee.fontWeight,"normal"),_e=xt.extend("--ft-typography-caption-letter-spacing",ee.letterSpacing,"0.396px"),De=xt.extend("--ft-typography-caption-line-height",ee.lineHeight,"1.33"),We=xt.extend("--ft-typography-caption-text-transform",ee.textTransform,"inherit"),He=xt.extend("--ft-typography-breadcrumb-font-family",te),Ke=xt.extend("--ft-typography-breadcrumb-font-size",ee.fontSize,"10px"),Ze=xt.extend("--ft-typography-breadcrumb-font-weight",ee.fontWeight,"normal"),Ve=xt.extend("--ft-typography-breadcrumb-letter-spacing",ee.letterSpacing,"0.33px"),Xe=xt.extend("--ft-typography-breadcrumb-line-height",ee.lineHeight,"1.6"),Je=xt.extend("--ft-typography-breadcrumb-text-transform",ee.textTransform,"inherit"),qe=xt.extend("--ft-typography-overline-font-family",te),Ye=xt.extend("--ft-typography-overline-font-size",ee.fontSize,"10px"),Ge=xt.extend("--ft-typography-overline-font-weight",ee.fontWeight,"normal"),Qe=xt.extend("--ft-typography-overline-letter-spacing",ee.letterSpacing,"1.5px"),ti=xt.extend("--ft-typography-overline-line-height",ee.lineHeight,"1.6"),ei=xt.extend("--ft-typography-overline-text-transform",ee.textTransform,"uppercase"),ii={fontFamily:xt.extend("--ft-typography-button-font-family",te),fontSize:xt.extend("--ft-typography-button-font-size",ee.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-button-font-weight",ee.fontWeight,"600"),letterSpacing:xt.extend("--ft-typography-button-letter-spacing",ee.letterSpacing,"1.246px"),lineHeight:xt.extend("--ft-typography-button-line-height",ee.lineHeight,"1.15"),textTransform:xt.extend("--ft-typography-button-text-transform",ee.textTransform,"uppercase")},oi=b`
116
116
  .ft-typography--title {
117
117
  font-family: ${ie};
118
118
  font-size: ${oe};
@@ -154,8 +154,8 @@ var ft,ut;class vt extends z{constructor(){super(...arguments),this.renderOption
154
154
  font-family: ${Ce};
155
155
  font-size: ${Ne};
156
156
  font-weight: ${Ee};
157
- letter-spacing: ${ze};
158
- line-height: ${Re};
157
+ letter-spacing: ${Re};
158
+ line-height: ${ze};
159
159
  text-transform: ${Me};
160
160
  }
161
161
  `,li=b`
@@ -281,7 +281,7 @@ class mi extends jt{constructor(t){if(super(t),this.it=Y,t.type!==Mt)throw Error
281
281
  ${wi(this.resolvedIcon)}
282
282
  <slot ?hidden=${t}></slot>
283
283
  </i>
284
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Ci.file_format:this.resolvedIcon=null!==(t=Oi[i.toUpperCase()])&&void 0!==t?t:i;break;case Ci.fluid_topics:this.resolvedIcon=null!==(e=$i[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||Y}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ei.elementDefinitions={},Ei.styles=ki,Ni([o()],Ei.prototype,"variant",void 0),Ni([o()],Ei.prototype,"value",void 0),Ni([n()],Ei.prototype,"resolvedIcon",void 0),Ni([s("slot")],Ei.prototype,"slottedContent",void 0),h("ft-icon")(Ei);const zi=xt.extend("--ft-ripple-color",gt.colorContent),Ri={color:zi,backgroundColor:xt.extend("--ft-ripple-background-color",zi),opacityContentOnSurfacePressed:xt.external(gt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xt.external(gt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xt.external(gt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xt.external(gt.opacityContentOnSurfaceSelected,"Design system")},Mi=xt.extend("--ft-ripple-color",gt.colorPrimary),Ai=Mi,ji=xt.extend("--ft-ripple-background-color",Mi),Ui=xt.extend("--ft-ripple-color",gt.colorSecondary),Fi=Ui,Bi=xt.extend("--ft-ripple-background-color",Ui),Li=b`
284
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Ci.file_format:this.resolvedIcon=null!==(t=Oi[i.toUpperCase()])&&void 0!==t?t:i;break;case Ci.fluid_topics:this.resolvedIcon=null!==(e=$i[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||Y}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ei.elementDefinitions={},Ei.styles=ki,Ni([o()],Ei.prototype,"variant",void 0),Ni([o()],Ei.prototype,"value",void 0),Ni([n()],Ei.prototype,"resolvedIcon",void 0),Ni([s("slot")],Ei.prototype,"slottedContent",void 0),h("ft-icon")(Ei);const Ri=xt.extend("--ft-ripple-color",gt.colorContent),zi={color:Ri,backgroundColor:xt.extend("--ft-ripple-background-color",Ri),opacityContentOnSurfacePressed:xt.external(gt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xt.external(gt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xt.external(gt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xt.external(gt.opacityContentOnSurfaceSelected,"Design system")},Mi=xt.extend("--ft-ripple-color",gt.colorPrimary),Ai=Mi,ji=xt.extend("--ft-ripple-background-color",Mi),Ui=xt.extend("--ft-ripple-color",gt.colorSecondary),Fi=Ui,Bi=xt.extend("--ft-ripple-background-color",Ui),Li=b`
285
285
  :host {
286
286
  display: contents;
287
287
  }
@@ -303,11 +303,11 @@ class mi extends jt{constructor(t){if(super(t),this.it=Y,t.type!==Mt)throw Error
303
303
  }
304
304
 
305
305
  .ft-ripple .ft-ripple--background {
306
- background-color: ${Ri.backgroundColor};
306
+ background-color: ${zi.backgroundColor};
307
307
  }
308
308
 
309
309
  .ft-ripple .ft-ripple--effect {
310
- background-color: ${Ri.color};
310
+ background-color: ${zi.color};
311
311
  }
312
312
 
313
313
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -355,19 +355,19 @@ class mi extends jt{constructor(t){if(super(t),this.it=Y,t.type!==Mt)throw Error
355
355
  }
356
356
 
357
357
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
358
- opacity: ${Ri.opacityContentOnSurfaceHover};
358
+ opacity: ${zi.opacityContentOnSurfaceHover};
359
359
  }
360
360
 
361
361
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
362
- opacity: ${Ri.opacityContentOnSurfaceSelected};
362
+ opacity: ${zi.opacityContentOnSurfaceSelected};
363
363
  }
364
364
 
365
365
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
366
- opacity: ${Ri.opacityContentOnSurfaceFocused};
366
+ opacity: ${zi.opacityContentOnSurfaceFocused};
367
367
  }
368
368
 
369
369
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
370
- opacity: ${Ri.opacityContentOnSurfacePressed};
370
+ opacity: ${zi.opacityContentOnSurfacePressed};
371
371
  transform: translate(-50%, -50%) scale(1);
372
372
  }
373
373
  `;var Ti=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ii extends wt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return J`
@@ -562,7 +562,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
562
562
  ${bt(Si.size,Qi.iconSize)};
563
563
  --ft-button-internal-vertical-padding: 6px;
564
564
  --ft-button-internal-horizontal-padding: 8px;
565
- ${bt(Ri.color,Qi.rippleColor)};
565
+ ${bt(zi.color,Qi.rippleColor)};
566
566
  --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Qi.iconSize});
567
567
 
568
568
  border-radius: ${Qi.borderRadius};
@@ -594,7 +594,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
594
594
  .ft-button.ft-button--primary {
595
595
  background-color: ${eo.backgroundColor};
596
596
  --ft-button-internal-color: ${eo.color};
597
- ${bt(Ri.color,eo.rippleColor)};
597
+ ${bt(zi.color,eo.rippleColor)};
598
598
  }
599
599
 
600
600
  .ft-button.ft-button--outlined {
@@ -650,7 +650,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
650
650
  ${bt(Ji.size,Qi.iconSize)};
651
651
  ${bt(Ji.color,"var(--ft-button-internal-color)")};
652
652
  }
653
- `];var no,ro=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class so extends wt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=Ci.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":zt,"ft-no-text-select":!0};return this.addTooltipIfNeeded(J`
653
+ `];var no,ro=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class so extends wt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=Ci.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":Rt,"ft-no-text-select":!0};return this.addTooltipIfNeeded(J`
654
654
  <button part="button"
655
655
  class="${Dt(t)}"
656
656
  aria-label="${this.getLabel()}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "0.3.33",
3
+ "version": "0.3.34",
4
4
  "description": "Main table of content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "0.3.33",
23
- "@fluid-topics/ft-reader-context": "0.3.33",
24
- "@fluid-topics/ft-size-watcher": "0.3.33",
25
- "@fluid-topics/ft-typography": "0.3.33",
26
- "@fluid-topics/ft-wc-utils": "0.3.33",
22
+ "@fluid-topics/ft-icon": "0.3.34",
23
+ "@fluid-topics/ft-reader-context": "0.3.34",
24
+ "@fluid-topics/ft-size-watcher": "0.3.34",
25
+ "@fluid-topics/ft-typography": "0.3.34",
26
+ "@fluid-topics/ft-wc-utils": "0.3.34",
27
27
  "lit": "2.2.8"
28
28
  },
29
- "gitHead": "ba3783b220d3a5d359b452072054ab8210b0b45b"
29
+ "gitHead": "43a9a2faf4372c58839a4050c796ee133216a630"
30
30
  }