@fluid-topics/ft-reader-toc 1.1.2 → 1.1.3

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.
@@ -12,43 +12,43 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=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 s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,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,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.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,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Qi){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=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 s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,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,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=h(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.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,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Qi){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
20
+ */const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=r.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&r.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...h(t),...f(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:h,getPrototypeOf:f}=Object,d=globalThis,u=d.trustedTypes,y=u?u.emptyScript:"",g=d.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},x=(t,o)=>!s(t,o),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=v){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...p(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(e)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of i){const i=document.createElement("style"),r=o.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=e.cssText,t.appendChild(i)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??x)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(d.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const N={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=N,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function w(t){return(o,e)=>"object"==typeof e?S(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function $(t){return C({...t,state:!0,attribute:!1})}
36
+ */}function C(t){return w({...t,state:!0,attribute:!1})}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
41
+ */const $=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function R(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}
46
+ */;function E(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return $(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return $(0,0,{get(){return n(this)}})}}
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */function U(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!U(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!U(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function I(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}
51
+ */class R{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function U(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!U(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!U(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function I(t,o){const e=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
@@ -81,7 +81,7 @@ let Oo=class extends At{constructor(){super(...arguments),this.renderOptions={ho
81
81
  * @license
82
82
  * Copyright 2019 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class Wo extends Oo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Lo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Io.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var zo,Ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Fo=Symbol("constructorPrototype"),Zo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer");class Bo extends Wo{constructor(){super(),this[zo]=new o(5),this[Zo]=this.constructor.name,this[Fo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zo]&&Object.setPrototypeOf(this,this[Fo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ao].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}zo=Ao,Ko([C()],Bo.prototype,"exportpartsPrefix",void 0),Ko([I([])],Bo.prototype,"exportpartsPrefixes",void 0),Ko([C()],Bo.prototype,"customStylesheet",void 0);const Mo=wo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
84
+ */class Wo extends Oo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Lo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Io.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var zo,Ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Fo=Symbol("constructorPrototype"),Zo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer");class Bo extends Wo{constructor(){super(),this[zo]=new R(5),this[Zo]=this.constructor.name,this[Fo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zo]&&Object.setPrototypeOf(this,this[Fo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ao].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}zo=Ao,Ko([w()],Bo.prototype,"exportpartsPrefix",void 0),Ko([I([])],Bo.prototype,"exportpartsPrefixes",void 0),Ko([w()],Bo.prototype,"customStylesheet",void 0);const Mo=wo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
85
85
  .highlight-html-match {
86
86
  background: ${Mo};
87
87
  }
@@ -117,7 +117,7 @@ let Oo=class extends At{constructor(){super(...arguments),this.renderOptions={ho
117
117
  display: inline-block;
118
118
  width: 0;
119
119
  }
120
- `;class Ho{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,i;t=this.resolvePluralKey(t,o);let r=null!==(i=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==i?i:"";return o.forEach(((t,o)=>r=r.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),r}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function jo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var To,_o,Go;const Vo=Symbol("internalReduxEventsUnsubscribers"),Yo=Symbol("internalStoresUnsubscribers"),Xo=Symbol("internalStores");class Jo extends Bo{constructor(){super(...arguments),this[To]=new Map,this[_o]=new Map,this[Go]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Xo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Xo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:jo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Xo].delete(o)}setupStore(t,o){this[Xo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Yo].has(t.store):this[Yo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Yo].set(t,o.subscribe((()=>this.updateFromStores()))),jo(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Vo].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Yo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Vo].forEach((t=>t())),this[Vo]=[]}unsubscribeFromStore(t){this[Yo].has(t)&&this[Yo].get(t)(),this[Yo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}To=Yo,_o=Xo,Go=Vo,window.ftReduxStores||(window.ftReduxStores={});const qo=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!U(t,o),attribute:!1,...o};C(r)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}},Qo=Symbol("elementInternals");var te,oe,ee;const ie=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ee=null===(oe=null===(te=window.safari)||void 0===te?void 0:te.pushNotification)||void 0===oe?void 0:oe.toString())&&void 0!==ee?ee:""),re=1,ne=2,ae=t=>(...o)=>({_$litDirective$:t,values:o});
120
+ `;class Ho{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,i;t=this.resolvePluralKey(t,o);let r=null!==(i=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==i?i:"";return o.forEach(((t,o)=>r=r.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),r}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function jo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var To,_o,Go;const Vo=Symbol("internalReduxEventsUnsubscribers"),Yo=Symbol("internalStoresUnsubscribers"),Xo=Symbol("internalStores");class Jo extends Bo{constructor(){super(...arguments),this[To]=new Map,this[_o]=new Map,this[Go]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Xo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Xo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:jo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Xo].delete(o)}setupStore(t,o){this[Xo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Yo].has(t.store):this[Yo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Yo].set(t,o.subscribe((()=>this.updateFromStores()))),jo(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Vo].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Yo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Vo].forEach((t=>t())),this[Vo]=[]}unsubscribeFromStore(t){this[Yo].has(t)&&this[Yo].get(t)(),this[Yo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}To=Yo,_o=Xo,Go=Vo,window.ftReduxStores||(window.ftReduxStores={});const qo=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!U(t,o),attribute:!1,...o};w(r)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}},Qo=Symbol("elementInternals");var te,oe,ee;const ie=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ee=null===(oe=null===(te=window.safari)||void 0===te?void 0:te.pushNotification)||void 0===oe?void 0:oe.toString())&&void 0!==ee?ee:""),re=1,ne=2,ae=t=>(...o)=>({_$litDirective$:t,values:o});
121
121
  /**
122
122
  * @license
123
123
  * Copyright 2017 Google LLC
@@ -132,7 +132,7 @@ let Oo=class extends At{constructor(){super(...arguments),this.renderOptions={ho
132
132
  * @license
133
133
  * Copyright 2017 Google LLC
134
134
  * SPDX-License-Identifier: BSD-3-Clause
135
- */var ve;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(ve||(ve={}));var Oe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ne extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Se=Symbol("registerInterval");class we extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Se]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Se]):this.dispatchEvent(new Ne)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Se,Oe([$()],e.prototype,"stateManager",void 0),e}(Jo)){}
135
+ */var ve;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(ve||(ve={}));var Oe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ne extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Se=Symbol("registerInterval");class we extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Se]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Se]):this.dispatchEvent(new Ne)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Se,Oe([C()],e.prototype,"stateManager",void 0),e}(Jo)){}
136
136
  /**
137
137
  * @license
138
138
  * Copyright 2020 Google LLC
@@ -248,7 +248,7 @@ let Oo=class extends At{constructor(){super(...arguments),this.renderOptions={ho
248
248
  </${Ee(this.element)}>
249
249
  `:Ue`
250
250
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
251
- `}}Vi.styles=[Ki,Fi,Zi,Ai,Bi,Mi,Di,Pi,Hi,ji,Ti,..._i],Gi([C()],Vi.prototype,"element",void 0),Gi([C()],Vi.prototype,"variant",void 0),k("ft-typography")(Vi);const Yi=wo.extend("--ft-reader-internal-link-outline-color","",ko.colorPrimary),Xi=Nt`
251
+ `}}Vi.styles=[Ki,Fi,Zi,Ai,Bi,Mi,Di,Pi,Hi,ji,Ti,..._i],Gi([w()],Vi.prototype,"element",void 0),Gi([w()],Vi.prototype,"variant",void 0),k("ft-typography")(Vi);const Yi=wo.extend("--ft-reader-internal-link-outline-color","",ko.colorPrimary),Xi=Nt`
252
252
  :host {
253
253
  display: contents;
254
254
  }
@@ -267,7 +267,7 @@ let Oo=class extends At{constructor(){super(...arguments),this.renderOptions={ho
267
267
  @click=${t=>this.onLinkClick(t)}>
268
268
  <slot></slot>
269
269
  </a>
270
- `}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}qi.styles=Xi,Ji([C()],qi.prototype,"tocId",void 0),Ji([C()],qi.prototype,"section",void 0),Ji([C({type:Number})],qi.prototype,"pageNumber",void 0),Ji([C({type:Boolean})],qi.prototype,"removeStyle",void 0),k("ft-reader-internal-link")(qi);
270
+ `}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}qi.styles=Xi,Ji([w()],qi.prototype,"tocId",void 0),Ji([w()],qi.prototype,"section",void 0),Ji([w({type:Number})],qi.prototype,"pageNumber",void 0),Ji([w({type:Boolean})],qi.prototype,"removeStyle",void 0),k("ft-reader-internal-link")(qi);
271
271
  /**
272
272
  * @license
273
273
  * Copyright 2017 Google LLC
@@ -326,7 +326,7 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
326
326
  ${tr(this.resolvedIcon)}
327
327
  <slot ?hidden=${o}></slot>
328
328
  </i>
329
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case nr.file_format:this.resolvedIcon=null!==(t=er[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case nr.material:this.resolvedIcon=this.value||ao;break;default:this.resolvedIcon=null!==(o=or[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}sr.elementDefinitions={},sr.styles=rr,ar([C()],sr.prototype,"variant",void 0),ar([C()],sr.prototype,"value",void 0),ar([$()],sr.prototype,"resolvedIcon",void 0),ar([R("slot")],sr.prototype,"slottedContent",void 0),k("ft-icon")(sr);const lr=wo.extend("--ft-ripple-color","",ko.colorContent),cr={color:lr,backgroundColor:wo.extend("--ft-ripple-background-color","",lr),opacityContentOnSurfacePressed:wo.external(ko.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(ko.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(ko.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(ko.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},pr=wo.extend("--ft-ripple-color","",ko.colorPrimary),hr=pr,fr=wo.extend("--ft-ripple-background-color","",pr),dr=wo.extend("--ft-ripple-color","",ko.colorSecondary),ur=dr,yr=wo.extend("--ft-ripple-background-color","",dr),gr=Nt`
329
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case nr.file_format:this.resolvedIcon=null!==(t=er[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case nr.material:this.resolvedIcon=this.value||ao;break;default:this.resolvedIcon=null!==(o=or[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}sr.elementDefinitions={},sr.styles=rr,ar([w()],sr.prototype,"variant",void 0),ar([w()],sr.prototype,"value",void 0),ar([C()],sr.prototype,"resolvedIcon",void 0),ar([E("slot")],sr.prototype,"slottedContent",void 0),k("ft-icon")(sr);const lr=wo.extend("--ft-ripple-color","",ko.colorContent),cr={color:lr,backgroundColor:wo.extend("--ft-ripple-background-color","",lr),opacityContentOnSurfacePressed:wo.external(ko.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(ko.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(ko.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(ko.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},pr=wo.extend("--ft-ripple-color","",ko.colorPrimary),hr=pr,fr=wo.extend("--ft-ripple-background-color","",pr),dr=wo.extend("--ft-ripple-color","",ko.colorSecondary),ur=dr,yr=wo.extend("--ft-ripple-background-color","",dr),gr=Nt`
330
330
  :host {
331
331
  display: contents;
332
332
  }
@@ -644,7 +644,7 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
644
644
  ${Co(br.size,vr.iconSize)};
645
645
  ${Co(br.color,"var(--ft-button-internal-color)")};
646
646
  }
647
- `,Do];var Rr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ur extends Bo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ro`
647
+ `,Do];var Rr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ur extends Bo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new R(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new R(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ro`
648
648
  <style>
649
649
  .ft-ripple .ft-ripple--effect {
650
650
  left: ${this.originX}px;
@@ -655,7 +655,7 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
655
655
  <div class="ft-ripple--background"></div>
656
656
  <div class="ft-ripple--effect"></div>
657
657
  </div>
658
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ur.elementDefinitions={},Ur.styles=gr,Rr([C({type:Boolean})],Ur.prototype,"primary",void 0),Rr([C({type:Boolean})],Ur.prototype,"secondary",void 0),Rr([C({type:Boolean})],Ur.prototype,"unbounded",void 0),Rr([C({type:Boolean})],Ur.prototype,"activated",void 0),Rr([C({type:Boolean})],Ur.prototype,"selected",void 0),Rr([C({type:Boolean})],Ur.prototype,"disabled",void 0),Rr([$()],Ur.prototype,"hovered",void 0),Rr([$()],Ur.prototype,"focused",void 0),Rr([$()],Ur.prototype,"pressed",void 0),Rr([$()],Ur.prototype,"rippling",void 0),Rr([$()],Ur.prototype,"originX",void 0),Rr([$()],Ur.prototype,"originY",void 0),Rr([R(".ft-ripple")],Ur.prototype,"ripple",void 0),Rr([R(".ft-ripple--effect")],Ur.prototype,"rippleEffect",void 0),k("ft-ripple")(Ur);const kr=wo.create("--ft-tooltip-distance","","SIZE","4px"),Ir=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Lr=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),Wr=wo.create("--ft-tooltip-z-index","","NUMBER","100"),zr=wo.external(ko.borderRadiusS,"Design system"),Kr=wo.create("--ft-tooltip-max-width","","SIZE","150px"),Fr=Nt`
658
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ur.elementDefinitions={},Ur.styles=gr,Rr([w({type:Boolean})],Ur.prototype,"primary",void 0),Rr([w({type:Boolean})],Ur.prototype,"secondary",void 0),Rr([w({type:Boolean})],Ur.prototype,"unbounded",void 0),Rr([w({type:Boolean})],Ur.prototype,"activated",void 0),Rr([w({type:Boolean})],Ur.prototype,"selected",void 0),Rr([w({type:Boolean})],Ur.prototype,"disabled",void 0),Rr([C()],Ur.prototype,"hovered",void 0),Rr([C()],Ur.prototype,"focused",void 0),Rr([C()],Ur.prototype,"pressed",void 0),Rr([C()],Ur.prototype,"rippling",void 0),Rr([C()],Ur.prototype,"originX",void 0),Rr([C()],Ur.prototype,"originY",void 0),Rr([E(".ft-ripple")],Ur.prototype,"ripple",void 0),Rr([E(".ft-ripple--effect")],Ur.prototype,"rippleEffect",void 0),k("ft-ripple")(Ur);const kr=wo.create("--ft-tooltip-distance","","SIZE","4px"),Ir=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Lr=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),Wr=wo.create("--ft-tooltip-z-index","","NUMBER","100"),zr=wo.external(ko.borderRadiusS,"Design system"),Kr=wo.create("--ft-tooltip-max-width","","SIZE","150px"),Fr=Nt`
659
659
  .ft-tooltip--container {
660
660
  display: block;
661
661
  }
@@ -684,7 +684,7 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
684
684
  position: relative;
685
685
  word-break: break-word;
686
686
  }
687
- `;var Zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ar extends Bo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ro`
687
+ `;var Zr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ar extends Bo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new R,this.revealDebouncer=new R}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ro`
688
688
  <div part="container"
689
689
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
690
690
  @mouseenter=${this.onHover}
@@ -702,7 +702,7 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
702
702
  </div>
703
703
  </div>
704
704
  </div>
705
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Kr})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ar.elementDefinitions={"ft-typography":Vi},Ar.styles=Fr,Zr([C()],Ar.prototype,"text",void 0),Zr([C({type:Boolean})],Ar.prototype,"manual",void 0),Zr([C({type:Boolean})],Ar.prototype,"inline",void 0),Zr([C({type:Number})],Ar.prototype,"delay",void 0),Zr([C()],Ar.prototype,"position",void 0),Zr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Ar.prototype,"slotNodes",void 0),Zr([R(".ft-tooltip--container")],Ar.prototype,"container",void 0),Zr([R(".ft-tooltip")],Ar.prototype,"tooltip",void 0),Zr([R(".ft-tooltip--content")],Ar.prototype,"tooltipContent",void 0),Zr([$()],Ar.prototype,"visible",void 0),k("ft-tooltip")(Ar);class Br extends Bo{render(){return ro`
705
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let h=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Kr})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ar.elementDefinitions={"ft-typography":Vi},Ar.styles=Fr,Zr([w()],Ar.prototype,"text",void 0),Zr([w({type:Boolean})],Ar.prototype,"manual",void 0),Zr([w({type:Boolean})],Ar.prototype,"inline",void 0),Zr([w({type:Number})],Ar.prototype,"delay",void 0),Zr([w()],Ar.prototype,"position",void 0),Zr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return $(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Ar.prototype,"slotNodes",void 0),Zr([E(".ft-tooltip--container")],Ar.prototype,"container",void 0),Zr([E(".ft-tooltip")],Ar.prototype,"tooltip",void 0),Zr([E(".ft-tooltip--content")],Ar.prototype,"tooltipContent",void 0),Zr([C()],Ar.prototype,"visible",void 0),k("ft-tooltip")(Ar);class Br extends Bo{render(){return ro`
706
706
  <div class="ft-loader">
707
707
  <div></div>
708
708
  <div></div>
@@ -732,7 +732,7 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
732
732
  </ft-tooltip>
733
733
  `:t}resolveIcon(){return this.loading?ro`
734
734
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ro`
735
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ao}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dr.elementDefinitions={"ft-ripple":Ur,"ft-tooltip":Ar,"ft-typography":Vi,"ft-icon":sr,"ft-loader":Br},Mr([C({type:String,reflect:!0})],Dr.prototype,"role",void 0),Mr([C()],Dr.prototype,"type",void 0),Mr([C({type:Boolean})],Dr.prototype,"disabled",void 0),Mr([C()],Dr.prototype,"label",void 0),Mr([C()],Dr.prototype,"icon",void 0),Mr([C()],Dr.prototype,"iconVariant",void 0),Mr([C({type:Boolean})],Dr.prototype,"trailingIcon",void 0),Mr([C({type:Boolean})],Dr.prototype,"loading",void 0),Mr([C()],Dr.prototype,"tooltipPosition",void 0),Mr([C({type:Boolean})],Dr.prototype,"hideTooltip",void 0),Mr([C({type:Boolean})],Dr.prototype,"forceTooltip",void 0),Mr([R(".ft-button")],Dr.prototype,"button",void 0),Mr([R(".ft-button--label slot")],Dr.prototype,"slottedContent",void 0);var Pr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Hr extends Dr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Hr.styles=[Po,Er],Pr([C({type:Boolean})],Hr.prototype,"primary",void 0),Pr([C({type:Boolean})],Hr.prototype,"outlined",void 0),Pr([C({type:Boolean})],Hr.prototype,"dense",void 0),Pr([C({type:Boolean})],Hr.prototype,"round",void 0);const jr=[Nt`
735
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ao}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dr.elementDefinitions={"ft-ripple":Ur,"ft-tooltip":Ar,"ft-typography":Vi,"ft-icon":sr,"ft-loader":Br},Mr([w({type:String,reflect:!0})],Dr.prototype,"role",void 0),Mr([w()],Dr.prototype,"type",void 0),Mr([w({type:Boolean})],Dr.prototype,"disabled",void 0),Mr([w()],Dr.prototype,"label",void 0),Mr([w()],Dr.prototype,"icon",void 0),Mr([w()],Dr.prototype,"iconVariant",void 0),Mr([w({type:Boolean})],Dr.prototype,"trailingIcon",void 0),Mr([w({type:Boolean})],Dr.prototype,"loading",void 0),Mr([w()],Dr.prototype,"tooltipPosition",void 0),Mr([w({type:Boolean})],Dr.prototype,"hideTooltip",void 0),Mr([w({type:Boolean})],Dr.prototype,"forceTooltip",void 0),Mr([E(".ft-button")],Dr.prototype,"button",void 0),Mr([E(".ft-button--label slot")],Dr.prototype,"slottedContent",void 0);var Pr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Hr extends Dr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Hr.styles=[Po,Er],Pr([w({type:Boolean})],Hr.prototype,"primary",void 0),Pr([w({type:Boolean})],Hr.prototype,"outlined",void 0),Pr([w({type:Boolean})],Hr.prototype,"dense",void 0),Pr([w({type:Boolean})],Hr.prototype,"round",void 0);const jr=[Nt`
736
736
  :host {
737
737
  display: inline-block;
738
738
  max-width: 100%;
@@ -950,7 +950,7 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
950
950
  width: ${Uo.smallIconOnlyWidth};
951
951
  padding: unset;
952
952
  }
953
- `,Do];var Tr,_r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gr extends Dr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ke.caption1medium:ke.body2medium}}Gr.styles=[Po,jr],_r([C({type:Boolean})],Gr.prototype,"primary",void 0),_r([C({type:Boolean})],Gr.prototype,"secondary",void 0),_r([C({type:Boolean})],Gr.prototype,"tertiary",void 0),_r([C({type:Boolean})],Gr.prototype,"neutral",void 0),_r([C({type:Boolean})],Gr.prototype,"small",void 0),k("ft-button")(Hr),k("ftds-button")(Gr),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Tr||(Tr={}));const Vr=Nt`
953
+ `,Do];var Tr,_r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gr extends Dr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ke.caption1medium:ke.body2medium}}Gr.styles=[Po,jr],_r([w({type:Boolean})],Gr.prototype,"primary",void 0),_r([w({type:Boolean})],Gr.prototype,"secondary",void 0),_r([w({type:Boolean})],Gr.prototype,"tertiary",void 0),_r([w({type:Boolean})],Gr.prototype,"neutral",void 0),_r([w({type:Boolean})],Gr.prototype,"small",void 0),k("ft-button")(Hr),k("ftds-button")(Gr),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Tr||(Tr={}));const Vr=Nt`
954
954
  .ft-size-watcher--pixel {
955
955
  width: 0;
956
956
  height: 0;
@@ -969,11 +969,11 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
969
969
  .ft-size-watcher--local .ft-size-watcher--watcher {
970
970
  width: 100%;
971
971
  }
972
- `;var Yr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xr extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Jr extends Bo{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Tr.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o}render(){return ro`
972
+ `;var Yr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xr extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Jr extends Bo{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Tr.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new R}render(){return ro`
973
973
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
974
974
  <div class="ft-size-watcher--watcher"></div>
975
975
  </div>
976
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Tr.S:this.size<976?this.category=Tr.M:this.size<1024?this.category=Tr.L:this.size<1440?this.category=Tr.XL:this.category=Tr.XXL,this.dispatchEvent(new Xr(this.size,this.category)))}),this.debounceTimeout)}}Jr.elementDefinitions={},Jr.styles=Vr,Yr([C({type:Number})],Jr.prototype,"debounceTimeout",void 0),Yr([C({type:Boolean})],Jr.prototype,"local",void 0),Yr([C({type:Number,reflect:!0})],Jr.prototype,"size",void 0),Yr([C({type:String,reflect:!0})],Jr.prototype,"category",void 0),Yr([R(".ft-size-watcher--watcher")],Jr.prototype,"watcher",void 0),k("ft-size-watcher")(Jr);const qr={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},Qr={tabulationSize:wo.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:wo.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:wo.extend("--ft-reader-toc-text-color","",ko.colorOnSurface),hoverColor:wo.extend("--ft-reader-toc-hover-color","",ko.colorPrimary),highlightedTextColor:wo.extend("--ft-reader-toc-highlighted-text-color","",ko.colorPrimary),highlightedFontWeight:wo.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:wo.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:wo.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},tn=Nt`
976
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Tr.S:this.size<976?this.category=Tr.M:this.size<1024?this.category=Tr.L:this.size<1440?this.category=Tr.XL:this.category=Tr.XXL,this.dispatchEvent(new Xr(this.size,this.category)))}),this.debounceTimeout)}}Jr.elementDefinitions={},Jr.styles=Vr,Yr([w({type:Number})],Jr.prototype,"debounceTimeout",void 0),Yr([w({type:Boolean})],Jr.prototype,"local",void 0),Yr([w({type:Number,reflect:!0})],Jr.prototype,"size",void 0),Yr([w({type:String,reflect:!0})],Jr.prototype,"category",void 0),Yr([E(".ft-size-watcher--watcher")],Jr.prototype,"watcher",void 0),k("ft-size-watcher")(Jr);const qr={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},Qr={tabulationSize:wo.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:wo.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:wo.extend("--ft-reader-toc-text-color","",ko.colorOnSurface),hoverColor:wo.extend("--ft-reader-toc-hover-color","",ko.colorPrimary),highlightedTextColor:wo.extend("--ft-reader-toc-highlighted-text-color","",ko.colorPrimary),highlightedFontWeight:wo.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:wo.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:wo.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},tn=Nt`
977
977
  .ft-reader-toc {
978
978
  color: ${Qr.textColor};
979
979
  }
@@ -1095,4 +1095,4 @@ class Qi extends se{constructor(t){if(super(t),this.et=tt,t.type!==ne)throw Erro
1095
1095
  </div>
1096
1096
  `:ao}
1097
1097
  </div>
1098
- `}buildAutomaticallyExpandedNodes(t){var o,e;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return i}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}en.elementDefinitions={"ft-button":Hr,"ft-reader-internal-link":qi,"ft-size-watcher":Jr,"ft-typography":Vi},en.styles=tn,on([C({type:Boolean})],en.prototype,"expanded",void 0),on([C()],en.prototype,"iconVariant",void 0),on([C()],en.prototype,"collapseIcon",void 0),on([C()],en.prototype,"expandIcon",void 0),on([C({type:Boolean})],en.prototype,"expandCollapseAll",void 0),on([C({type:Boolean})],en.prototype,"expandCollapseAllHideLabel",void 0),on([C({type:Boolean})],en.prototype,"expandCollapseAllTrailingIcon",void 0),on([C()],en.prototype,"expandCollapseAllAlignment",void 0),on([C({type:Boolean})],en.prototype,"expandCollapseAllHideIcon",void 0),on([C()],en.prototype,"expandCollapseAllIconVariant",void 0),on([C()],en.prototype,"collapseAllIcon",void 0),on([C()],en.prototype,"expandAllIcon",void 0),on([C({type:Boolean})],en.prototype,"autoCollapse",void 0),on([C()],en.prototype,"scope",void 0),on([C({type:Boolean})],en.prototype,"hideIfEmpty",void 0),on([C({type:Boolean,reflect:!0})],en.prototype,"empty",void 0),on([I({})],en.prototype,"labels",void 0),on([qo({selector:(t,o)=>{var e,i,r;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],en.prototype,"toc",void 0),on([qo({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],en.prototype,"splitToc",void 0),on([qo()],en.prototype,"currentPage",void 0),on([qo({selector:(t,o)=>{var e,i;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],en.prototype,"highlightedTocIds",void 0),on([$({hasChanged:(t,o)=>!U(t,o)})],en.prototype,"automaticallyExpandedNodes",void 0),on([$({hasChanged:(t,o)=>!U(t,o)})],en.prototype,"manuallyExpandedNodes",void 0),on([$({hasChanged:(t,o)=>!U(t,o)})],en.prototype,"manuallyCollapsedNodes",void 0),on([$()],en.prototype,"expandAll",void 0),on([$()],en.prototype,"viewportSize",void 0),k("ft-reader-toc")(en),t.DEFAULT_LABELS=qr,t.FtReaderToc=en,t.FtReaderTocCssVariables=Qr,t.styles=tn}({});
1098
+ `}buildAutomaticallyExpandedNodes(t){var o,e;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return i}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}en.elementDefinitions={"ft-button":Hr,"ft-reader-internal-link":qi,"ft-size-watcher":Jr,"ft-typography":Vi},en.styles=tn,on([w({type:Boolean})],en.prototype,"expanded",void 0),on([w()],en.prototype,"iconVariant",void 0),on([w()],en.prototype,"collapseIcon",void 0),on([w()],en.prototype,"expandIcon",void 0),on([w({type:Boolean})],en.prototype,"expandCollapseAll",void 0),on([w({type:Boolean})],en.prototype,"expandCollapseAllHideLabel",void 0),on([w({type:Boolean})],en.prototype,"expandCollapseAllTrailingIcon",void 0),on([w()],en.prototype,"expandCollapseAllAlignment",void 0),on([w({type:Boolean})],en.prototype,"expandCollapseAllHideIcon",void 0),on([w()],en.prototype,"expandCollapseAllIconVariant",void 0),on([w()],en.prototype,"collapseAllIcon",void 0),on([w()],en.prototype,"expandAllIcon",void 0),on([w({type:Boolean})],en.prototype,"autoCollapse",void 0),on([w()],en.prototype,"scope",void 0),on([w({type:Boolean})],en.prototype,"hideIfEmpty",void 0),on([w({type:Boolean,reflect:!0})],en.prototype,"empty",void 0),on([I({})],en.prototype,"labels",void 0),on([qo({selector:(t,o)=>{var e,i,r;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],en.prototype,"toc",void 0),on([qo({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],en.prototype,"splitToc",void 0),on([qo()],en.prototype,"currentPage",void 0),on([qo({selector:(t,o)=>{var e,i;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],en.prototype,"highlightedTocIds",void 0),on([C({hasChanged:(t,o)=>!U(t,o)})],en.prototype,"automaticallyExpandedNodes",void 0),on([C({hasChanged:(t,o)=>!U(t,o)})],en.prototype,"manuallyExpandedNodes",void 0),on([C({hasChanged:(t,o)=>!U(t,o)})],en.prototype,"manuallyCollapsedNodes",void 0),on([C()],en.prototype,"expandAll",void 0),on([C()],en.prototype,"viewportSize",void 0),k("ft-reader-toc")(en),t.DEFAULT_LABELS=qr,t.FtReaderToc=en,t.FtReaderTocCssVariables=Qr,t.styles=tn}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Main table of content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "1.1.2",
23
- "@fluid-topics/ft-reader-context": "1.1.2",
24
- "@fluid-topics/ft-size-watcher": "1.1.2",
25
- "@fluid-topics/ft-typography": "1.1.2",
26
- "@fluid-topics/ft-wc-utils": "1.1.2",
22
+ "@fluid-topics/ft-icon": "1.1.3",
23
+ "@fluid-topics/ft-reader-context": "1.1.3",
24
+ "@fluid-topics/ft-size-watcher": "1.1.3",
25
+ "@fluid-topics/ft-typography": "1.1.3",
26
+ "@fluid-topics/ft-wc-utils": "1.1.3",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "53ce99f657872582bca43cbb7ad691b239b22823"
29
+ "gitHead": "0d44a470e710f185c37e42ee87be4481a3bdf793"
30
30
  }