@fluid-topics/ft-reader-title 0.3.22 → 0.3.24

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,15 +1,15 @@
1
- !function(t,i,e,o){var n=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class r extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const s=function(t){class i 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 r)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return n([o.state()],i.prototype,"stateManager",void 0),i}(i.FtLitElementRedux);
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(function(t){class i 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 r)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return s([o.state()],i.prototype,"stateManager",void 0),i}(i.FtLitElementRedux)){}
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
- */var h;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,r=2===i?"<svg>":"",s=$;for(let i=0;i<e;i++){const e=t[i];let h,l,a=-1,f=0;for(;f<e.length&&(s.lastIndex=f,l=s.exec(e),null!==l);)f=s.lastIndex,s===$?"!--"===l[1]?s=m:void 0!==l[1]?s=b:void 0!==l[2]?(_.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=x):void 0!==l[3]&&(s=x):s===x?">"===l[0]?(s=null!=n?n:$,a=-1):void 0===l[1]?a=-2:(a=s.lastIndex-l[2].length,h=l[1],s=void 0===l[3]?x:'"'===l[3]?z:w):s===z||s===w?s=x:s===m||s===b?s=$:(s=x,n=void 0);const y=s===x&&t[i+1].startsWith("/>")?" ":"";r+=s===$?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=r+(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,r=0;const s=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<s;){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[r++];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,r,s,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===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(h=e)._$Co)&&void 0!==s?s: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 r=O.nextNode(),s=0,h=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new I(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new G(r,this,t)),this.u.push(i),l=o[++h]}s!==(null==l?void 0:l.index)&&(r=O.nextNode(),s++)}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 r=!1;if(void 0===n)t=M(this,t,i,0),r=!u(t)||t!==this._$AH&&t!==S,r&&(this._$AH=t);else{const o=t;let s,h;for(t=n[0],s=0;s<n.length-1;s++)h=M(this,o[e+s],i,s),h===S&&(h=this._$AH[s]),r||(r=!u(h)||h!==this._$AH[s]),h===N?t=N:t!==N&&(t+=(null!=h?h:"")+n[s+1]),this._$AH[s]=h}r&&!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,r=t!==N&&(o===N||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class 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!==(h=l.litHtmlVersions)&&void 0!==h?h:l.litHtmlVersions=[]).push("2.4.0");
6
+ */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");
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2020 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- 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,r;const s=[],h=[];let l,a=0,f=!1;for(;a<o;){for(l=i[a];a<o&&void 0!==(r=e[a],n=K(r));)l+=n+i[++a],f=!0;h.push(r),s.push(l),a++}if(a===o&&s.push(i[o]),f){const t=s.join("$$lit$$");void 0===(i=L.get(t))&&(s.raw=s,L.set(t,i=s)),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),rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",Q.fontSize,"16px"),st=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`
12
+ 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`
13
13
  .ft-typography--title {
14
14
  font-family: ${V.fontFamily};
15
15
  font-size: ${V.fontSize};
@@ -30,8 +30,8 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
30
30
  `,ti=e.css`
31
31
  .ft-typography--subtitle1 {
32
32
  font-family: ${nt};
33
- font-size: ${rt};
34
- font-weight: ${st};
33
+ font-size: ${st};
34
+ font-weight: ${rt};
35
35
  letter-spacing: ${ht};
36
36
  line-height: ${lt};
37
37
  text-transform: ${at};
@@ -73,7 +73,7 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
73
73
  line-height: ${Mt};
74
74
  text-transform: ${Ut};
75
75
  }
76
- `,ri=e.css`
76
+ `,si=e.css`
77
77
  .ft-typography--breadcrumb {
78
78
  font-family: ${It};
79
79
  font-size: ${Ct};
@@ -82,7 +82,7 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
82
82
  line-height: ${kt};
83
83
  text-transform: ${Zt};
84
84
  }
85
- `,si=e.css`
85
+ `,ri=e.css`
86
86
  .ft-typography--overline {
87
87
  font-family: ${Gt};
88
88
  font-size: ${Ht};
@@ -104,13 +104,13 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
104
104
  .ft-typography {
105
105
  vertical-align: inherit;
106
106
  }
107
- `;var ai=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class fi extends i.FtLitElement{constructor(){super(...arguments),this.variant=D.body1}render(){return this.element?q`
107
+ `;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`
108
108
  <${B(this.element)}
109
109
  class="ft-typography ft-typography--${this.variant}">
110
110
  <slot></slot>
111
111
  </${B(this.element)}>
112
112
  `:q`
113
113
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
114
- `}}fi.styles=[Xt,Yt,ti,ii,ei,oi,ni,ri,si,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,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class yi extends s{render(){return this.mapTitle?e.html`
114
+ `}}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`
115
115
  <ft-typography variant="title" part="text">${this.mapTitle}</ft-typography>
116
116
  `: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(xt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
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(wt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -82,113 +82,113 @@ var at,lt;class ht extends N{constructor(){super(...arguments),this.renderOption
82
82
  -webkit-hyphens: auto;
83
83
  hyphens: auto
84
84
  }
85
- `;var yt,gt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt||gt.toString());var vt=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 bt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const mt=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 bt)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return vt([r()],e.prototype,"stateManager",void 0),e}(class extends dt{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()}}),xt=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===xt)return null==t?void 0:t._$litStatic$},Ot=t=>({_$litStatic$:t,r:xt}),$t=new Map,St=(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=wt(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=$t.get(t))&&(s.raw=s,$t.set(t,e=s)),i=a}return t(e,...i)})(K);
85
+ `;class yt extends dt{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 gt,vt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(vt=null===(gt=window.safari)||void 0===gt?void 0:gt.pushNotification)||void 0===vt||vt.toString());var bt=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 mt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class xt 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 mt)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return bt([r()],e.prototype,"stateManager",void 0),e}(yt)){}
86
86
  /**
87
87
  * @license
88
88
  * Copyright 2020 Google LLC
89
89
  * SPDX-License-Identifier: BSD-3-Clause
90
- */var Nt;!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"}(Nt||(Nt={}));const Ct=pt.extend("--ft-typography-font-family",ft.titleFont),Et=pt.extend("--ft-typography-font-family",ft.contentFont),Rt={fontFamily:Et,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Mt={fontFamily:pt.extend("--ft-typography-title-font-family",Ct),fontSize:pt.extend("--ft-typography-title-font-size",Rt.fontSize,"20px"),fontWeight:pt.extend("--ft-typography-title-font-weight",Rt.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-title-letter-spacing",Rt.letterSpacing,"0.15px"),lineHeight:pt.extend("--ft-typography-title-line-height",Rt.lineHeight,"1.2"),textTransform:pt.extend("--ft-typography-title-text-transform",Rt.textTransform,"inherit")},Ut=pt.extend("--ft-typography-title-dense-font-family",Ct),kt=pt.extend("--ft-typography-title-dense-font-size",Rt.fontSize,"14px"),Ft=pt.extend("--ft-typography-title-dense-font-weight",Rt.fontWeight,"normal"),jt=pt.extend("--ft-typography-title-dense-letter-spacing",Rt.letterSpacing,"0.105px"),At=pt.extend("--ft-typography-title-dense-line-height",Rt.lineHeight,"1.7"),Lt=pt.extend("--ft-typography-title-dense-text-transform",Rt.textTransform,"inherit"),zt=pt.extend("--ft-typography-subtitle1-font-family",Et),Pt=pt.extend("--ft-typography-subtitle1-font-size",Rt.fontSize,"16px"),Tt=pt.extend("--ft-typography-subtitle1-font-weight",Rt.fontWeight,"600"),Bt=pt.extend("--ft-typography-subtitle1-letter-spacing",Rt.letterSpacing,"0.144px"),_t=pt.extend("--ft-typography-subtitle1-line-height",Rt.lineHeight,"1.5"),Wt=pt.extend("--ft-typography-subtitle1-text-transform",Rt.textTransform,"inherit"),Dt=pt.extend("--ft-typography-subtitle2-font-family",Et),Ht=pt.extend("--ft-typography-subtitle2-font-size",Rt.fontSize,"14px"),Kt=pt.extend("--ft-typography-subtitle2-font-weight",Rt.fontWeight,"normal"),It=pt.extend("--ft-typography-subtitle2-letter-spacing",Rt.letterSpacing,"0.098px"),Zt=pt.extend("--ft-typography-subtitle2-line-height",Rt.lineHeight,"1.7"),Vt=pt.extend("--ft-typography-subtitle2-text-transform",Rt.textTransform,"inherit"),Jt=pt.extend("--ft-typography-body1-font-family",Et),qt=pt.extend("--ft-typography-body1-font-size",Rt.fontSize,"16px"),Xt=pt.extend("--ft-typography-body1-font-weight",Rt.fontWeight,"normal"),Gt=pt.extend("--ft-typography-body1-letter-spacing",Rt.letterSpacing,"0.496px"),Qt=pt.extend("--ft-typography-body1-line-height",Rt.lineHeight,"1.5"),Yt=pt.extend("--ft-typography-body1-text-transform",Rt.textTransform,"inherit"),te=pt.extend("--ft-typography-body2-font-family",Et),ee=pt.extend("--ft-typography-body2-font-size",Rt.fontSize,"14px"),ie=pt.extend("--ft-typography-body2-font-weight",Rt.fontWeight,"normal"),oe=pt.extend("--ft-typography-body2-letter-spacing",Rt.letterSpacing,"0.252px"),re=pt.extend("--ft-typography-body2-line-height",Rt.lineHeight,"1.4"),ne=pt.extend("--ft-typography-body2-text-transform",Rt.textTransform,"inherit"),se=pt.extend("--ft-typography-caption-font-family",Et),ae=pt.extend("--ft-typography-caption-font-size",Rt.fontSize,"12px"),le=pt.extend("--ft-typography-caption-font-weight",Rt.fontWeight,"normal"),he=pt.extend("--ft-typography-caption-letter-spacing",Rt.letterSpacing,"0.396px"),ce=pt.extend("--ft-typography-caption-line-height",Rt.lineHeight,"1.33"),pe=pt.extend("--ft-typography-caption-text-transform",Rt.textTransform,"inherit"),fe=pt.extend("--ft-typography-breadcrumb-font-family",Et),ue=pt.extend("--ft-typography-breadcrumb-font-size",Rt.fontSize,"10px"),de=pt.extend("--ft-typography-breadcrumb-font-weight",Rt.fontWeight,"normal"),ye=pt.extend("--ft-typography-breadcrumb-letter-spacing",Rt.letterSpacing,"0.33px"),ge=pt.extend("--ft-typography-breadcrumb-line-height",Rt.lineHeight,"1.6"),ve=pt.extend("--ft-typography-breadcrumb-text-transform",Rt.textTransform,"inherit"),be=pt.extend("--ft-typography-overline-font-family",Et),me=pt.extend("--ft-typography-overline-font-size",Rt.fontSize,"10px"),xe=pt.extend("--ft-typography-overline-font-weight",Rt.fontWeight,"normal"),we=pt.extend("--ft-typography-overline-letter-spacing",Rt.letterSpacing,"1.5px"),Oe=pt.extend("--ft-typography-overline-line-height",Rt.lineHeight,"1.6"),$e=pt.extend("--ft-typography-overline-text-transform",Rt.textTransform,"uppercase"),Se=pt.extend("--ft-typography-button-font-family",Et),Ne=pt.extend("--ft-typography-button-font-size",Rt.fontSize,"14px"),Ce=pt.extend("--ft-typography-button-font-weight",Rt.fontWeight,"600"),Ee=pt.extend("--ft-typography-button-letter-spacing",Rt.letterSpacing,"1.246px"),Re=pt.extend("--ft-typography-button-line-height",Rt.lineHeight,"1.15"),Me=pt.extend("--ft-typography-button-text-transform",Rt.textTransform,"uppercase"),Ue=d`
90
+ */const wt=Symbol.for(""),Ot=t=>{if((null==t?void 0:t.r)===wt)return null==t?void 0:t._$litStatic$},$t=t=>({_$litStatic$:t,r:wt}),St=new Map,Nt=(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=Ot(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=St.get(t))&&(s.raw=s,St.set(t,e=s)),i=a}return t(e,...i)})(K);var Ct;!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"}(Ct||(Ct={}));const Et=pt.extend("--ft-typography-font-family",ft.titleFont),Rt=pt.extend("--ft-typography-font-family",ft.contentFont),Mt={fontFamily:Rt,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ut={fontFamily:pt.extend("--ft-typography-title-font-family",Et),fontSize:pt.extend("--ft-typography-title-font-size",Mt.fontSize,"20px"),fontWeight:pt.extend("--ft-typography-title-font-weight",Mt.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-title-letter-spacing",Mt.letterSpacing,"0.15px"),lineHeight:pt.extend("--ft-typography-title-line-height",Mt.lineHeight,"1.2"),textTransform:pt.extend("--ft-typography-title-text-transform",Mt.textTransform,"inherit")},kt=pt.extend("--ft-typography-title-dense-font-family",Et),Ft=pt.extend("--ft-typography-title-dense-font-size",Mt.fontSize,"14px"),jt=pt.extend("--ft-typography-title-dense-font-weight",Mt.fontWeight,"normal"),At=pt.extend("--ft-typography-title-dense-letter-spacing",Mt.letterSpacing,"0.105px"),Lt=pt.extend("--ft-typography-title-dense-line-height",Mt.lineHeight,"1.7"),zt=pt.extend("--ft-typography-title-dense-text-transform",Mt.textTransform,"inherit"),Pt=pt.extend("--ft-typography-subtitle1-font-family",Rt),Tt=pt.extend("--ft-typography-subtitle1-font-size",Mt.fontSize,"16px"),Bt=pt.extend("--ft-typography-subtitle1-font-weight",Mt.fontWeight,"600"),_t=pt.extend("--ft-typography-subtitle1-letter-spacing",Mt.letterSpacing,"0.144px"),Wt=pt.extend("--ft-typography-subtitle1-line-height",Mt.lineHeight,"1.5"),Dt=pt.extend("--ft-typography-subtitle1-text-transform",Mt.textTransform,"inherit"),Ht=pt.extend("--ft-typography-subtitle2-font-family",Rt),Kt=pt.extend("--ft-typography-subtitle2-font-size",Mt.fontSize,"14px"),It=pt.extend("--ft-typography-subtitle2-font-weight",Mt.fontWeight,"normal"),Zt=pt.extend("--ft-typography-subtitle2-letter-spacing",Mt.letterSpacing,"0.098px"),Vt=pt.extend("--ft-typography-subtitle2-line-height",Mt.lineHeight,"1.7"),Jt=pt.extend("--ft-typography-subtitle2-text-transform",Mt.textTransform,"inherit"),qt=pt.extend("--ft-typography-body1-font-family",Rt),Xt=pt.extend("--ft-typography-body1-font-size",Mt.fontSize,"16px"),Gt=pt.extend("--ft-typography-body1-font-weight",Mt.fontWeight,"normal"),Qt=pt.extend("--ft-typography-body1-letter-spacing",Mt.letterSpacing,"0.496px"),Yt=pt.extend("--ft-typography-body1-line-height",Mt.lineHeight,"1.5"),te=pt.extend("--ft-typography-body1-text-transform",Mt.textTransform,"inherit"),ee=pt.extend("--ft-typography-body2-font-family",Rt),ie=pt.extend("--ft-typography-body2-font-size",Mt.fontSize,"14px"),oe=pt.extend("--ft-typography-body2-font-weight",Mt.fontWeight,"normal"),re=pt.extend("--ft-typography-body2-letter-spacing",Mt.letterSpacing,"0.252px"),ne=pt.extend("--ft-typography-body2-line-height",Mt.lineHeight,"1.4"),se=pt.extend("--ft-typography-body2-text-transform",Mt.textTransform,"inherit"),ae=pt.extend("--ft-typography-caption-font-family",Rt),le=pt.extend("--ft-typography-caption-font-size",Mt.fontSize,"12px"),he=pt.extend("--ft-typography-caption-font-weight",Mt.fontWeight,"normal"),ce=pt.extend("--ft-typography-caption-letter-spacing",Mt.letterSpacing,"0.396px"),pe=pt.extend("--ft-typography-caption-line-height",Mt.lineHeight,"1.33"),fe=pt.extend("--ft-typography-caption-text-transform",Mt.textTransform,"inherit"),ue=pt.extend("--ft-typography-breadcrumb-font-family",Rt),de=pt.extend("--ft-typography-breadcrumb-font-size",Mt.fontSize,"10px"),ye=pt.extend("--ft-typography-breadcrumb-font-weight",Mt.fontWeight,"normal"),ge=pt.extend("--ft-typography-breadcrumb-letter-spacing",Mt.letterSpacing,"0.33px"),ve=pt.extend("--ft-typography-breadcrumb-line-height",Mt.lineHeight,"1.6"),be=pt.extend("--ft-typography-breadcrumb-text-transform",Mt.textTransform,"inherit"),me=pt.extend("--ft-typography-overline-font-family",Rt),xe=pt.extend("--ft-typography-overline-font-size",Mt.fontSize,"10px"),we=pt.extend("--ft-typography-overline-font-weight",Mt.fontWeight,"normal"),Oe=pt.extend("--ft-typography-overline-letter-spacing",Mt.letterSpacing,"1.5px"),$e=pt.extend("--ft-typography-overline-line-height",Mt.lineHeight,"1.6"),Se=pt.extend("--ft-typography-overline-text-transform",Mt.textTransform,"uppercase"),Ne=pt.extend("--ft-typography-button-font-family",Rt),Ce=pt.extend("--ft-typography-button-font-size",Mt.fontSize,"14px"),Ee=pt.extend("--ft-typography-button-font-weight",Mt.fontWeight,"600"),Re=pt.extend("--ft-typography-button-letter-spacing",Mt.letterSpacing,"1.246px"),Me=pt.extend("--ft-typography-button-line-height",Mt.lineHeight,"1.15"),Ue=pt.extend("--ft-typography-button-text-transform",Mt.textTransform,"uppercase"),ke=d`
91
91
  .ft-typography--title {
92
- font-family: ${Mt.fontFamily};
93
- font-size: ${Mt.fontSize};
94
- font-weight: ${Mt.fontWeight};
95
- letter-spacing: ${Mt.letterSpacing};
96
- line-height: ${Mt.lineHeight};
97
- text-transform: ${Mt.textTransform};
92
+ font-family: ${Ut.fontFamily};
93
+ font-size: ${Ut.fontSize};
94
+ font-weight: ${Ut.fontWeight};
95
+ letter-spacing: ${Ut.letterSpacing};
96
+ line-height: ${Ut.lineHeight};
97
+ text-transform: ${Ut.textTransform};
98
98
  }
99
- `,ke=d`
99
+ `,Fe=d`
100
100
  .ft-typography--title-dense {
101
- font-family: ${Ut};
102
- font-size: ${kt};
103
- font-weight: ${Ft};
104
- letter-spacing: ${jt};
105
- line-height: ${At};
106
- text-transform: ${Lt};
101
+ font-family: ${kt};
102
+ font-size: ${Ft};
103
+ font-weight: ${jt};
104
+ letter-spacing: ${At};
105
+ line-height: ${Lt};
106
+ text-transform: ${zt};
107
107
  }
108
- `,Fe=d`
108
+ `,je=d`
109
109
  .ft-typography--subtitle1 {
110
- font-family: ${zt};
111
- font-size: ${Pt};
112
- font-weight: ${Tt};
113
- letter-spacing: ${Bt};
114
- line-height: ${_t};
115
- text-transform: ${Wt};
110
+ font-family: ${Pt};
111
+ font-size: ${Tt};
112
+ font-weight: ${Bt};
113
+ letter-spacing: ${_t};
114
+ line-height: ${Wt};
115
+ text-transform: ${Dt};
116
116
  }
117
- `,je=d`
117
+ `,Ae=d`
118
118
  .ft-typography--subtitle2 {
119
- font-family: ${Dt};
120
- font-size: ${Ht};
121
- font-weight: ${Kt};
122
- letter-spacing: ${It};
123
- line-height: ${Zt};
124
- text-transform: ${Vt};
119
+ font-family: ${Ht};
120
+ font-size: ${Kt};
121
+ font-weight: ${It};
122
+ letter-spacing: ${Zt};
123
+ line-height: ${Vt};
124
+ text-transform: ${Jt};
125
125
  }
126
126
 
127
- `,Ae=d`
127
+ `,Le=d`
128
128
  .ft-typography--body1 {
129
- font-family: ${Jt};
130
- font-size: ${qt};
131
- font-weight: ${Xt};
132
- letter-spacing: ${Gt};
133
- line-height: ${Qt};
134
- text-transform: ${Yt};
129
+ font-family: ${qt};
130
+ font-size: ${Xt};
131
+ font-weight: ${Gt};
132
+ letter-spacing: ${Qt};
133
+ line-height: ${Yt};
134
+ text-transform: ${te};
135
135
  }
136
- `,Le=d`
136
+ `,ze=d`
137
137
  .ft-typography--body2 {
138
- font-family: ${te};
139
- font-size: ${ee};
140
- font-weight: ${ie};
141
- letter-spacing: ${oe};
142
- line-height: ${re};
143
- text-transform: ${ne};
138
+ font-family: ${ee};
139
+ font-size: ${ie};
140
+ font-weight: ${oe};
141
+ letter-spacing: ${re};
142
+ line-height: ${ne};
143
+ text-transform: ${se};
144
144
  }
145
- `,ze=d`
145
+ `,Pe=d`
146
146
  .ft-typography--caption {
147
- font-family: ${se};
148
- font-size: ${ae};
149
- font-weight: ${le};
150
- letter-spacing: ${he};
151
- line-height: ${ce};
152
- text-transform: ${pe};
147
+ font-family: ${ae};
148
+ font-size: ${le};
149
+ font-weight: ${he};
150
+ letter-spacing: ${ce};
151
+ line-height: ${pe};
152
+ text-transform: ${fe};
153
153
  }
154
- `,Pe=d`
154
+ `,Te=d`
155
155
  .ft-typography--breadcrumb {
156
- font-family: ${fe};
157
- font-size: ${ue};
158
- font-weight: ${de};
159
- letter-spacing: ${ye};
160
- line-height: ${ge};
161
- text-transform: ${ve};
156
+ font-family: ${ue};
157
+ font-size: ${de};
158
+ font-weight: ${ye};
159
+ letter-spacing: ${ge};
160
+ line-height: ${ve};
161
+ text-transform: ${be};
162
162
  }
163
- `,Te=d`
163
+ `,Be=d`
164
164
  .ft-typography--overline {
165
- font-family: ${be};
166
- font-size: ${me};
167
- font-weight: ${xe};
168
- letter-spacing: ${we};
169
- line-height: ${Oe};
170
- text-transform: ${$e};
165
+ font-family: ${me};
166
+ font-size: ${xe};
167
+ font-weight: ${we};
168
+ letter-spacing: ${Oe};
169
+ line-height: ${$e};
170
+ text-transform: ${Se};
171
171
  }
172
- `,Be=d`
172
+ `,_e=d`
173
173
  .ft-typography--button {
174
- font-family: ${Se};
175
- font-size: ${Ne};
176
- font-weight: ${Ce};
177
- letter-spacing: ${Ee};
178
- line-height: ${Re};
179
- text-transform: ${Me};
174
+ font-family: ${Ne};
175
+ font-size: ${Ce};
176
+ font-weight: ${Ee};
177
+ letter-spacing: ${Re};
178
+ line-height: ${Me};
179
+ text-transform: ${Ue};
180
180
  }
181
- `,_e=d`
181
+ `,We=d`
182
182
  .ft-typography {
183
183
  vertical-align: inherit;
184
184
  }
185
- `;var 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 dt{constructor(){super(...arguments),this.variant=Nt.body1}render(){return this.element?St`
186
- <${Ot(this.element)}
185
+ `;var De=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 He extends dt{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?Nt`
186
+ <${$t(this.element)}
187
187
  class="ft-typography ft-typography--${this.variant}">
188
188
  <slot></slot>
189
- </${Ot(this.element)}>
190
- `:St`
189
+ </${$t(this.element)}>
190
+ `:Nt`
191
191
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
192
- `}}De.styles=[Ue,ke,Fe,je,Ae,Le,ze,Pe,Te,Be,_e],We([o()],De.prototype,"element",void 0),We([o()],De.prototype,"variant",void 0),s("ft-typography")(De);var He,Ke,Ie=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 Ze extends mt{render(){return this.mapTitle?K`
192
+ `}}He.styles=[ke,Fe,je,Ae,Le,ze,Pe,Te,Be,_e,We],De([o()],He.prototype,"element",void 0),De([o()],He.prototype,"variant",void 0),s("ft-typography")(He);var Ke,Ie,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 Ve extends xt{render(){return this.mapTitle?K`
193
193
  <ft-typography variant="title" part="text">${this.mapTitle}</ft-typography>
194
- `:Z}}Ze.elementDefinitions={"ft-typography":De},Ie([(He=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!=Ke?Ke:(t,e)=>!a(t,e)});const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(e,null!=He?He:t=>t[e])})],Ze.prototype,"mapTitle",void 0);const Ve={fontSize:pt.extend("--ft-reader-metadata-font-size",Mt.fontSize)};s("ft-reader-title")(Ze),t.FtReaderTitle=Ze,t.FtReaderTitleCssVariables=Ve,Object.defineProperty(t,"i",{value:!0})}({});
194
+ `:Z}}Ve.elementDefinitions={"ft-typography":He},Ze([(Ke=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!=Ie?Ie:(t,e)=>!a(t,e)});const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(e,null!=Ke?Ke:t=>t[e])})],Ve.prototype,"mapTitle",void 0);const Je={fontSize:pt.extend("--ft-reader-metadata-font-size",Ut.fontSize)};s("ft-reader-title")(Ve),t.FtReaderTitle=Ve,t.FtReaderTitleCssVariables=Je,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-title",
3
- "version": "0.3.22",
3
+ "version": "0.3.24",
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.22",
23
- "@fluid-topics/ft-wc-utils": "0.3.22",
22
+ "@fluid-topics/ft-reader-context": "0.3.24",
23
+ "@fluid-topics/ft-wc-utils": "0.3.24",
24
24
  "lit": "2.2.8"
25
25
  },
26
- "gitHead": "5ca6dd4bc6ec9dca0bf645892ec3f07e4b62683d"
26
+ "gitHead": "3f70221d4cdc1d629200913a3f0d083e703388dd"
27
27
  }