@fluid-topics/ft-reader-title 0.3.53 → 0.3.54

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.
@@ -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||[]);u(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 f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)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)}},u=(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)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){f(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(Ot){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,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||[]);u(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 f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)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)}},u=(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)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){f(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($t){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -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
- `;class yt extends dt{constructor(){super(...arguments),this.internalStoresUnsubscribers=new Map,this.internalStores=new Map}getUnnamedStore(){if(this.internalStores.size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this.internalStores.values()][0]}get store(){return this.getUnnamedStore()}set store(t){this.unsubscribeFromStores(),this.internalStores.clear(),t&&this.addStore(t)}getStore(t){var e;return null==t?null!==(e=this.getUnnamedStore())&&void 0!==e?e:this.store:this.internalStores.get(t)}addStore(t,e){e=null!=e?e:gt(t)?t.name:"ft-lit-element-redux-default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:gt(t)?t.name:"ft-lit-element-redux-default-store";this.unsubscribeFromStore(e),this.internalStores.delete(e)}setupStore(t,e){this.internalStores.set(t,e),this.updateFromStores(),this.subscribeToStore(t,e)}setupStores(){this.unsubscribeFromStores(),0===this.internalStores.size&&null!=this.store?this.addStore(this.store):(this.updateFromStores(),this.internalStores.forEach(((t,e)=>this.subscribeToStore(e,t))))}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}))}subscribeToStore(t,e){this.internalStoresUnsubscribers.set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this.internalStoresUnsubscribers).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this.internalStoresUnsubscribers.has(t)&&this.internalStoresUnsubscribers.get(t)(),this.internalStoresUnsubscribers.delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function gt(t){var e;return null===(e=t)||void 0===e?void 0:e.isFtReduxStore}var vt,bt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(bt=null===(vt=window.safari)||void 0===vt?void 0:vt.pushNotification)||void 0===bt||bt.toString());var mt=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 xt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class wt extends(function(t){class e extends t{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store)}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new xt)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return mt([r()],e.prototype,"stateManager",void 0),e}(yt)){}
85
+ `;const yt=t=>"object"==typeof t&&(0===Object.keys(t).length||"string"==typeof t.store||null!=t.selector||"function"==typeof t.hasChanged);class gt extends dt{constructor(){super(...arguments),this.internalStoresUnsubscribers=new Map,this.internalStores=new Map}getUnnamedStore(){if(this.internalStores.size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this.internalStores.values()][0]}get store(){return this.getUnnamedStore()}set store(t){this.unsubscribeFromStores(),this.internalStores.clear(),t&&this.addStore(t)}getStore(t){var e;return null==t?null!==(e=this.getUnnamedStore())&&void 0!==e?e:this.store:this.internalStores.get(t)}addStore(t,e){e=null!=e?e:vt(t)?t.name:"ft-lit-element-redux-default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:vt(t)?t.name:"ft-lit-element-redux-default-store";this.unsubscribeFromStore(e),this.internalStores.delete(e)}setupStore(t,e){this.internalStores.set(t,e),this.updateFromStores(),this.subscribeToStore(t,e)}setupStores(){this.unsubscribeFromStores(),0===this.internalStores.size&&null!=this.store?this.addStore(this.store):(this.updateFromStores(),this.internalStores.forEach(((t,e)=>this.subscribeToStore(e,t))))}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}))}subscribeToStore(t,e){this.internalStoresUnsubscribers.set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this.internalStoresUnsubscribers).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this.internalStoresUnsubscribers.has(t)&&this.internalStoresUnsubscribers.get(t)(),this.internalStoresUnsubscribers.delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function vt(t){var e;return null===(e=t)||void 0===e?void 0:e.isFtReduxStore}var bt,mt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(mt=null===(bt=window.safari)||void 0===bt?void 0:bt.pushNotification)||void 0===mt||mt.toString());var xt=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 wt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Ot extends(function(t){class e extends t{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store)}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new wt)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return xt([r()],e.prototype,"stateManager",void 0),e}(gt)){}
86
86
  /**
87
87
  * @license
88
88
  * Copyright 2020 Google LLC
89
89
  * SPDX-License-Identifier: BSD-3-Clause
90
- */const Ot=Symbol.for(""),$t=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void 0:t._$litStatic$},St=t=>({_$litStatic$:t,r:Ot}),Nt=new Map,Ct=(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=$t(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=Nt.get(t))&&(s.raw=s,Nt.set(t,e=s)),i=a}return t(e,...i)})(K);var Et;!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"}(Et||(Et={}));const Rt=pt.extend("--ft-typography-font-family",ut.titleFont),Mt=pt.extend("--ft-typography-font-family",ut.contentFont),Ut={fontFamily:Mt,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")},kt={fontFamily:pt.extend("--ft-typography-title-font-family",Rt),fontSize:pt.extend("--ft-typography-title-font-size",Ut.fontSize,"20px"),fontWeight:pt.extend("--ft-typography-title-font-weight",Ut.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-title-letter-spacing",Ut.letterSpacing,"0.15px"),lineHeight:pt.extend("--ft-typography-title-line-height",Ut.lineHeight,"1.2"),textTransform:pt.extend("--ft-typography-title-text-transform",Ut.textTransform,"inherit")},Ft=pt.extend("--ft-typography-title-dense-font-family",Rt),jt=pt.extend("--ft-typography-title-dense-font-size",Ut.fontSize,"14px"),At=pt.extend("--ft-typography-title-dense-font-weight",Ut.fontWeight,"normal"),Lt=pt.extend("--ft-typography-title-dense-letter-spacing",Ut.letterSpacing,"0.105px"),zt=pt.extend("--ft-typography-title-dense-line-height",Ut.lineHeight,"1.7"),Pt=pt.extend("--ft-typography-title-dense-text-transform",Ut.textTransform,"inherit"),Tt=pt.extend("--ft-typography-subtitle1-font-family",Mt),Bt=pt.extend("--ft-typography-subtitle1-font-size",Ut.fontSize,"16px"),_t=pt.extend("--ft-typography-subtitle1-font-weight",Ut.fontWeight,"600"),Wt=pt.extend("--ft-typography-subtitle1-letter-spacing",Ut.letterSpacing,"0.144px"),Dt=pt.extend("--ft-typography-subtitle1-line-height",Ut.lineHeight,"1.5"),Ht=pt.extend("--ft-typography-subtitle1-text-transform",Ut.textTransform,"inherit"),Kt=pt.extend("--ft-typography-subtitle2-font-family",Mt),It=pt.extend("--ft-typography-subtitle2-font-size",Ut.fontSize,"14px"),Zt=pt.extend("--ft-typography-subtitle2-font-weight",Ut.fontWeight,"normal"),Vt=pt.extend("--ft-typography-subtitle2-letter-spacing",Ut.letterSpacing,"0.098px"),Jt=pt.extend("--ft-typography-subtitle2-line-height",Ut.lineHeight,"1.7"),qt=pt.extend("--ft-typography-subtitle2-text-transform",Ut.textTransform,"inherit"),Xt=pt.extend("--ft-typography-body1-font-family",Mt),Gt=pt.extend("--ft-typography-body1-font-size",Ut.fontSize,"16px"),Qt=pt.extend("--ft-typography-body1-font-weight",Ut.fontWeight,"normal"),Yt=pt.extend("--ft-typography-body1-letter-spacing",Ut.letterSpacing,"0.496px"),te=pt.extend("--ft-typography-body1-line-height",Ut.lineHeight,"1.5"),ee=pt.extend("--ft-typography-body1-text-transform",Ut.textTransform,"inherit"),ie=pt.extend("--ft-typography-body2-font-family",Mt),oe=pt.extend("--ft-typography-body2-font-size",Ut.fontSize,"14px"),re=pt.extend("--ft-typography-body2-font-weight",Ut.fontWeight,"normal"),ne=pt.extend("--ft-typography-body2-letter-spacing",Ut.letterSpacing,"0.252px"),se=pt.extend("--ft-typography-body2-line-height",Ut.lineHeight,"1.4"),ae=pt.extend("--ft-typography-body2-text-transform",Ut.textTransform,"inherit"),le=pt.extend("--ft-typography-caption-font-family",Mt),he=pt.extend("--ft-typography-caption-font-size",Ut.fontSize,"12px"),ce=pt.extend("--ft-typography-caption-font-weight",Ut.fontWeight,"normal"),pe=pt.extend("--ft-typography-caption-letter-spacing",Ut.letterSpacing,"0.396px"),ue=pt.extend("--ft-typography-caption-line-height",Ut.lineHeight,"1.33"),fe=pt.extend("--ft-typography-caption-text-transform",Ut.textTransform,"inherit"),de=pt.extend("--ft-typography-breadcrumb-font-family",Mt),ye=pt.extend("--ft-typography-breadcrumb-font-size",Ut.fontSize,"10px"),ge=pt.extend("--ft-typography-breadcrumb-font-weight",Ut.fontWeight,"normal"),ve=pt.extend("--ft-typography-breadcrumb-letter-spacing",Ut.letterSpacing,"0.33px"),be=pt.extend("--ft-typography-breadcrumb-line-height",Ut.lineHeight,"1.6"),me=pt.extend("--ft-typography-breadcrumb-text-transform",Ut.textTransform,"inherit"),xe=pt.extend("--ft-typography-overline-font-family",Mt),we=pt.extend("--ft-typography-overline-font-size",Ut.fontSize,"10px"),Oe=pt.extend("--ft-typography-overline-font-weight",Ut.fontWeight,"normal"),$e=pt.extend("--ft-typography-overline-letter-spacing",Ut.letterSpacing,"1.5px"),Se=pt.extend("--ft-typography-overline-line-height",Ut.lineHeight,"1.6"),Ne=pt.extend("--ft-typography-overline-text-transform",Ut.textTransform,"uppercase"),Ce=pt.extend("--ft-typography-button-font-family",Mt),Ee=pt.extend("--ft-typography-button-font-size",Ut.fontSize,"14px"),Re=pt.extend("--ft-typography-button-font-weight",Ut.fontWeight,"600"),Me=pt.extend("--ft-typography-button-letter-spacing",Ut.letterSpacing,"1.246px"),Ue=pt.extend("--ft-typography-button-line-height",Ut.lineHeight,"1.15"),ke=pt.extend("--ft-typography-button-text-transform",Ut.textTransform,"uppercase"),Fe=d`
90
+ */const $t=Symbol.for(""),St=t=>{if((null==t?void 0:t.r)===$t)return null==t?void 0:t._$litStatic$},Nt=t=>({_$litStatic$:t,r:$t}),Ct=new Map,Et=(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=St(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=Ct.get(t))&&(s.raw=s,Ct.set(t,e=s)),i=a}return t(e,...i)})(K);var Rt;!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"}(Rt||(Rt={}));const Mt=pt.extend("--ft-typography-font-family",ut.titleFont),Ut=pt.extend("--ft-typography-font-family",ut.contentFont),kt={fontFamily:Ut,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")},Ft={fontFamily:pt.extend("--ft-typography-title-font-family",Mt),fontSize:pt.extend("--ft-typography-title-font-size",kt.fontSize,"20px"),fontWeight:pt.extend("--ft-typography-title-font-weight",kt.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-title-letter-spacing",kt.letterSpacing,"0.15px"),lineHeight:pt.extend("--ft-typography-title-line-height",kt.lineHeight,"1.2"),textTransform:pt.extend("--ft-typography-title-text-transform",kt.textTransform,"inherit")},jt=pt.extend("--ft-typography-title-dense-font-family",Mt),At=pt.extend("--ft-typography-title-dense-font-size",kt.fontSize,"14px"),Lt=pt.extend("--ft-typography-title-dense-font-weight",kt.fontWeight,"normal"),zt=pt.extend("--ft-typography-title-dense-letter-spacing",kt.letterSpacing,"0.105px"),Pt=pt.extend("--ft-typography-title-dense-line-height",kt.lineHeight,"1.7"),Tt=pt.extend("--ft-typography-title-dense-text-transform",kt.textTransform,"inherit"),Bt=pt.extend("--ft-typography-subtitle1-font-family",Ut),_t=pt.extend("--ft-typography-subtitle1-font-size",kt.fontSize,"16px"),Wt=pt.extend("--ft-typography-subtitle1-font-weight",kt.fontWeight,"600"),Dt=pt.extend("--ft-typography-subtitle1-letter-spacing",kt.letterSpacing,"0.144px"),Ht=pt.extend("--ft-typography-subtitle1-line-height",kt.lineHeight,"1.5"),Kt=pt.extend("--ft-typography-subtitle1-text-transform",kt.textTransform,"inherit"),It=pt.extend("--ft-typography-subtitle2-font-family",Ut),Zt=pt.extend("--ft-typography-subtitle2-font-size",kt.fontSize,"14px"),Vt=pt.extend("--ft-typography-subtitle2-font-weight",kt.fontWeight,"normal"),Jt=pt.extend("--ft-typography-subtitle2-letter-spacing",kt.letterSpacing,"0.098px"),qt=pt.extend("--ft-typography-subtitle2-line-height",kt.lineHeight,"1.7"),Xt=pt.extend("--ft-typography-subtitle2-text-transform",kt.textTransform,"inherit"),Gt=pt.extend("--ft-typography-body1-font-family",Ut),Qt=pt.extend("--ft-typography-body1-font-size",kt.fontSize,"16px"),Yt=pt.extend("--ft-typography-body1-font-weight",kt.fontWeight,"normal"),te=pt.extend("--ft-typography-body1-letter-spacing",kt.letterSpacing,"0.496px"),ee=pt.extend("--ft-typography-body1-line-height",kt.lineHeight,"1.5"),ie=pt.extend("--ft-typography-body1-text-transform",kt.textTransform,"inherit"),oe=pt.extend("--ft-typography-body2-font-family",Ut),re=pt.extend("--ft-typography-body2-font-size",kt.fontSize,"14px"),ne=pt.extend("--ft-typography-body2-font-weight",kt.fontWeight,"normal"),se=pt.extend("--ft-typography-body2-letter-spacing",kt.letterSpacing,"0.252px"),ae=pt.extend("--ft-typography-body2-line-height",kt.lineHeight,"1.4"),le=pt.extend("--ft-typography-body2-text-transform",kt.textTransform,"inherit"),he=pt.extend("--ft-typography-caption-font-family",Ut),ce=pt.extend("--ft-typography-caption-font-size",kt.fontSize,"12px"),pe=pt.extend("--ft-typography-caption-font-weight",kt.fontWeight,"normal"),ue=pt.extend("--ft-typography-caption-letter-spacing",kt.letterSpacing,"0.396px"),fe=pt.extend("--ft-typography-caption-line-height",kt.lineHeight,"1.33"),de=pt.extend("--ft-typography-caption-text-transform",kt.textTransform,"inherit"),ye=pt.extend("--ft-typography-breadcrumb-font-family",Ut),ge=pt.extend("--ft-typography-breadcrumb-font-size",kt.fontSize,"10px"),ve=pt.extend("--ft-typography-breadcrumb-font-weight",kt.fontWeight,"normal"),be=pt.extend("--ft-typography-breadcrumb-letter-spacing",kt.letterSpacing,"0.33px"),me=pt.extend("--ft-typography-breadcrumb-line-height",kt.lineHeight,"1.6"),xe=pt.extend("--ft-typography-breadcrumb-text-transform",kt.textTransform,"inherit"),we=pt.extend("--ft-typography-overline-font-family",Ut),Oe=pt.extend("--ft-typography-overline-font-size",kt.fontSize,"10px"),$e=pt.extend("--ft-typography-overline-font-weight",kt.fontWeight,"normal"),Se=pt.extend("--ft-typography-overline-letter-spacing",kt.letterSpacing,"1.5px"),Ne=pt.extend("--ft-typography-overline-line-height",kt.lineHeight,"1.6"),Ce=pt.extend("--ft-typography-overline-text-transform",kt.textTransform,"uppercase"),Ee=pt.extend("--ft-typography-button-font-family",Ut),Re=pt.extend("--ft-typography-button-font-size",kt.fontSize,"14px"),Me=pt.extend("--ft-typography-button-font-weight",kt.fontWeight,"600"),Ue=pt.extend("--ft-typography-button-letter-spacing",kt.letterSpacing,"1.246px"),ke=pt.extend("--ft-typography-button-line-height",kt.lineHeight,"1.15"),Fe=pt.extend("--ft-typography-button-text-transform",kt.textTransform,"uppercase"),je=d`
91
91
  .ft-typography--title {
92
- font-family: ${kt.fontFamily};
93
- font-size: ${kt.fontSize};
94
- font-weight: ${kt.fontWeight};
95
- letter-spacing: ${kt.letterSpacing};
96
- line-height: ${kt.lineHeight};
97
- text-transform: ${kt.textTransform};
92
+ font-family: ${Ft.fontFamily};
93
+ font-size: ${Ft.fontSize};
94
+ font-weight: ${Ft.fontWeight};
95
+ letter-spacing: ${Ft.letterSpacing};
96
+ line-height: ${Ft.lineHeight};
97
+ text-transform: ${Ft.textTransform};
98
98
  }
99
- `,je=d`
99
+ `,Ae=d`
100
100
  .ft-typography--title-dense {
101
- font-family: ${Ft};
102
- font-size: ${jt};
103
- font-weight: ${At};
104
- letter-spacing: ${Lt};
105
- line-height: ${zt};
106
- text-transform: ${Pt};
101
+ font-family: ${jt};
102
+ font-size: ${At};
103
+ font-weight: ${Lt};
104
+ letter-spacing: ${zt};
105
+ line-height: ${Pt};
106
+ text-transform: ${Tt};
107
107
  }
108
- `,Ae=d`
108
+ `,Le=d`
109
109
  .ft-typography--subtitle1 {
110
- font-family: ${Tt};
111
- font-size: ${Bt};
112
- font-weight: ${_t};
113
- letter-spacing: ${Wt};
114
- line-height: ${Dt};
115
- text-transform: ${Ht};
110
+ font-family: ${Bt};
111
+ font-size: ${_t};
112
+ font-weight: ${Wt};
113
+ letter-spacing: ${Dt};
114
+ line-height: ${Ht};
115
+ text-transform: ${Kt};
116
116
  }
117
- `,Le=d`
117
+ `,ze=d`
118
118
  .ft-typography--subtitle2 {
119
- font-family: ${Kt};
120
- font-size: ${It};
121
- font-weight: ${Zt};
122
- letter-spacing: ${Vt};
123
- line-height: ${Jt};
124
- text-transform: ${qt};
119
+ font-family: ${It};
120
+ font-size: ${Zt};
121
+ font-weight: ${Vt};
122
+ letter-spacing: ${Jt};
123
+ line-height: ${qt};
124
+ text-transform: ${Xt};
125
125
  }
126
126
 
127
- `,ze=d`
127
+ `,Pe=d`
128
128
  .ft-typography--body1 {
129
- font-family: ${Xt};
130
- font-size: ${Gt};
131
- font-weight: ${Qt};
132
- letter-spacing: ${Yt};
133
- line-height: ${te};
134
- text-transform: ${ee};
129
+ font-family: ${Gt};
130
+ font-size: ${Qt};
131
+ font-weight: ${Yt};
132
+ letter-spacing: ${te};
133
+ line-height: ${ee};
134
+ text-transform: ${ie};
135
135
  }
136
- `,Pe=d`
136
+ `,Te=d`
137
137
  .ft-typography--body2 {
138
- font-family: ${ie};
139
- font-size: ${oe};
140
- font-weight: ${re};
141
- letter-spacing: ${ne};
142
- line-height: ${se};
143
- text-transform: ${ae};
138
+ font-family: ${oe};
139
+ font-size: ${re};
140
+ font-weight: ${ne};
141
+ letter-spacing: ${se};
142
+ line-height: ${ae};
143
+ text-transform: ${le};
144
144
  }
145
- `,Te=d`
145
+ `,Be=d`
146
146
  .ft-typography--caption {
147
- font-family: ${le};
148
- font-size: ${he};
149
- font-weight: ${ce};
150
- letter-spacing: ${pe};
151
- line-height: ${ue};
152
- text-transform: ${fe};
147
+ font-family: ${he};
148
+ font-size: ${ce};
149
+ font-weight: ${pe};
150
+ letter-spacing: ${ue};
151
+ line-height: ${fe};
152
+ text-transform: ${de};
153
153
  }
154
- `,Be=d`
154
+ `,_e=d`
155
155
  .ft-typography--breadcrumb {
156
- font-family: ${de};
157
- font-size: ${ye};
158
- font-weight: ${ge};
159
- letter-spacing: ${ve};
160
- line-height: ${be};
161
- text-transform: ${me};
156
+ font-family: ${ye};
157
+ font-size: ${ge};
158
+ font-weight: ${ve};
159
+ letter-spacing: ${be};
160
+ line-height: ${me};
161
+ text-transform: ${xe};
162
162
  }
163
- `,_e=d`
163
+ `,We=d`
164
164
  .ft-typography--overline {
165
- font-family: ${xe};
166
- font-size: ${we};
167
- font-weight: ${Oe};
168
- letter-spacing: ${$e};
169
- line-height: ${Se};
170
- text-transform: ${Ne};
165
+ font-family: ${we};
166
+ font-size: ${Oe};
167
+ font-weight: ${$e};
168
+ letter-spacing: ${Se};
169
+ line-height: ${Ne};
170
+ text-transform: ${Ce};
171
171
  }
172
- `,We=d`
172
+ `,De=d`
173
173
  .ft-typography--button {
174
- font-family: ${Ce};
175
- font-size: ${Ee};
176
- font-weight: ${Re};
177
- letter-spacing: ${Me};
178
- line-height: ${Ue};
179
- text-transform: ${ke};
174
+ font-family: ${Ee};
175
+ font-size: ${Re};
176
+ font-weight: ${Me};
177
+ letter-spacing: ${Ue};
178
+ line-height: ${ke};
179
+ text-transform: ${Fe};
180
180
  }
181
- `,De=d`
181
+ `,He=d`
182
182
  .ft-typography {
183
183
  vertical-align: inherit;
184
184
  }
185
- `;var He=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 Ke extends dt{constructor(){super(...arguments),this.variant=Et.body1}render(){return this.element?Ct`
186
- <${St(this.element)}
185
+ `;var Ke=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Ie extends dt{constructor(){super(...arguments),this.variant=Rt.body1}render(){return this.element?Et`
186
+ <${Nt(this.element)}
187
187
  class="ft-typography ft-typography--${this.variant}">
188
188
  <slot></slot>
189
- </${St(this.element)}>
190
- `:Ct`
189
+ </${Nt(this.element)}>
190
+ `:Et`
191
191
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
192
- `}}Ke.styles=[Fe,je,Ae,Le,ze,Pe,Te,Be,_e,We,De],He([o()],Ke.prototype,"element",void 0),He([o()],Ke.prototype,"variant",void 0),s("ft-typography")(Ke);var 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 wt{render(){return this.mapTitle?K`
192
+ `}}Ie.styles=[je,Ae,Le,ze,Pe,Te,Be,_e,We,De,He],Ke([o()],Ie.prototype,"element",void 0),Ke([o()],Ie.prototype,"variant",void 0),s("ft-typography")(Ie);var Ze=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Ve extends Ot{render(){return this.mapTitle?K`
193
193
  <ft-typography variant="title" part="text">${this.mapTitle}</ft-typography>
194
- `:Z}}Ze.elementDefinitions={"ft-typography":Ke},Ie([((t,e)=>{var i;const o="function"==typeof t?{}:null!=t?t:{};return e=null!==(i=null!=e?e:o.hasChanged)&&void 0!==i?i:(t,e)=>!a(t,e),(i,r)=>{var n;i.constructor.createProperty(r,{attribute:!1,hasChanged:e});const s=i;s.reduxProperties=s.reduxProperties||new Map;const a=null!==(n="function"==typeof t?t:o.selector)&&void 0!==n?n:t=>t[r];s.reduxProperties.set(r,{selector:a,store:o.store})}})((t=>{var e;return null===(e=t.map)||void 0===e?void 0:e.title}))],Ze.prototype,"mapTitle",void 0);const Ve={fontSize:pt.extend("--ft-reader-metadata-font-size",kt.fontSize)};s("ft-reader-title")(Ze),t.FtReaderTitle=Ze,t.FtReaderTitleCssVariables=Ve,Object.defineProperty(t,"i",{value:!0})}({});
194
+ `:Z}}Ve.elementDefinitions={"ft-typography":Ie},Ze([((t,e)=>{var i;const o=yt(t)?t:{};return e=null!==(i=null!=e?e:o.hasChanged)&&void 0!==i?i:(t,e)=>!a(t,e),(i,r)=>{var n;i.constructor.createProperty(r,{attribute:!1,hasChanged:e});const s=i;s.reduxProperties=s.reduxProperties||new Map;const a=null!==(n=yt(t)?o.selector:t)&&void 0!==n?n:t=>t[r];s.reduxProperties.set(r,{selector:a,store:o.store})}})((t=>{var e;return null===(e=t.map)||void 0===e?void 0:e.title}))],Ve.prototype,"mapTitle",void 0);const Je={fontSize:pt.extend("--ft-reader-metadata-font-size",Ft.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.53",
3
+ "version": "0.3.54",
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.53",
23
- "@fluid-topics/ft-wc-utils": "0.3.53",
22
+ "@fluid-topics/ft-reader-context": "0.3.54",
23
+ "@fluid-topics/ft-wc-utils": "0.3.54",
24
24
  "lit": "2.2.8"
25
25
  },
26
- "gitHead": "cf1f6c836c7bcacfd0a9abbd39a185077341036e"
26
+ "gitHead": "a44cb80b87fa9a6a35c255f4e37a75af484b443a"
27
27
  }