@fluid-topics/ft-accordion 1.1.1 → 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,38 +12,38 @@
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,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.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 r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.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),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=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)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.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){u.push(this),e.set.call(this,t),u.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 r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(Zr){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,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 r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!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,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.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 r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.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),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=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)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.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){u.push(this),e.set.call(this,t),u.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 r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(zr){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,r=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),a=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(r&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=a.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&a.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),s=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(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,r=Symbol(),i=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(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),n=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:c,defineProperty:l,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,y=globalThis,g=y.trustedTypes,u=g?g.emptyScript:"",b=y.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?u: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}},O=(t,o)=>!c(t,o),N={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;let v=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=N){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??N}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=[...f(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(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(r)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of o){const o=document.createElement("style"),i=e.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=r.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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??O)(r?i: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){}};v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[m("elementProperties")]=new Map,v[m("finalized")]=new Map,b?.({ReactiveElement:v}),(y.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,y=d.trustedTypes,g=y?y.emptyScript:"",u=d.reactiveElementPolyfillSupport,b=(t,o)=>t,m={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}},x=(t,o)=>!s(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),d.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(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=l(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(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),...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(n(t))}else void 0!==t&&o.push(n(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,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??x)(r?i: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[b("elementProperties")]=new Map,N[b("finalized")]=new Map,u?.({ReactiveElement:N}),(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:O},w=(t=S,o,e)=>{const{kind:r,metadata:i}=e;let a=globalThis.litPropertyMetadata.get(i);if(void 0===a&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=v,o,e)=>{const{kind:r,metadata:i}=e;let a=globalThis.litPropertyMetadata.get(i);if(void 0===a&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function w(t){return(o,e)=>"object"==typeof e?S(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?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 R(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 U=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
41
+ */const R=(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 E(t,o){return(e,r,i)=>{const a=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return U(0,0,{get(){let e=t.call(this);return void 0===e&&(e=a(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return U(0,0,{get(){return a(this)}})}}function I(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,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!I(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!I(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[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=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!I(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const $=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
46
+ */;function E(t,o){return(e,r,i)=>{const a=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=a(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return a(this)}})}}class U{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 r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function I(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,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!I(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!I(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[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=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!I(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const $=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
@@ -60,7 +60,7 @@ const ft=globalThis,ht=ft.ShadowRoot&&(void 0===ft.ShadyCSS||ft.ShadyCSS.nativeS
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */,{is:xt,defineProperty:Ot,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:vt,getOwnPropertySymbols:St,getPrototypeOf:wt}=Object,Ct=globalThis,Rt=Ct.trustedTypes,Ut=Rt?Rt.emptyScript:"",Et=Ct.reactiveElementPolyfillSupport,It=(t,o)=>t,$t={toAttribute(t,o){switch(o){case Boolean:t=t?Ut: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}},Wt=(t,o)=>!xt(t,o),kt={attribute:!0,type:String,converter:$t,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Lt 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=kt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Ot(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??kt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,o=[...vt(t),...St(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(mt(t))}else void 0!==t&&o.push(mt(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(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ft.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:$t).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:$t;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Wt)(r?i: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){}}Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[It("elementProperties")]=new Map,Lt[It("finalized")]=new Map,Et?.({ReactiveElement:Lt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
63
+ */,{is:xt,defineProperty:Ot,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:vt,getOwnPropertySymbols:St,getPrototypeOf:wt}=Object,Ct=globalThis,Rt=Ct.trustedTypes,Et=Rt?Rt.emptyScript:"",Ut=Ct.reactiveElementPolyfillSupport,It=(t,o)=>t,$t={toAttribute(t,o){switch(o){case Boolean:t=t?Et: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}},Wt=(t,o)=>!xt(t,o),kt={attribute:!0,type:String,converter:$t,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Lt 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=kt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Ot(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??kt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,o=[...vt(t),...St(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(mt(t))}else void 0!==t&&o.push(mt(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(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ft.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.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),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:$t).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:$t;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Wt)(r?i: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){}}Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[It("elementProperties")]=new Map,Lt[It("finalized")]=new Map,Ut?.({ReactiveElement:Lt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
@@ -77,7 +77,11 @@ class uo extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
77
77
  * @license
78
78
  * Copyright 2019 Google LLC
79
79
  * SPDX-License-Identifier: BSD-3-Clause
80
- */class Ro extends uo{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)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo,Eo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Io=Symbol("constructorPrototype"),$o=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class ko extends Ro{constructor(){super(),this[Uo]=new o(5),this[$o]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$o]&&Object.setPrototypeOf(this,this[Io])}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[Wo].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,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const p=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}var Lo,Ko;Uo=Wo,Eo([C()],ko.prototype,"exportpartsPrefix",void 0),Eo([function(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)=>!I(t,o),...null!=o?o:{}})}([])],ko.prototype,"exportpartsPrefixes",void 0),Eo([C()],ko.prototype,"customStylesheet",void 0),bt`
80
+ */class Ro extends uo{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)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Eo,Uo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Io=Symbol("constructorPrototype"),$o=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class ko extends Ro{constructor(){super(),this[Eo]=new U(5),this[$o]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$o]&&Object.setPrototypeOf(this,this[Io])}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[Wo].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,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const p=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Eo=Wo,Uo([w()],ko.prototype,"exportpartsPrefix",void 0),Uo([function(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)=>!I(t,o),...null!=o?o:{}})}([])],ko.prototype,"exportpartsPrefixes",void 0),Uo([w()],ko.prototype,"customStylesheet",void 0);const Lo=xo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");var Ko,Zo;bt`
81
+ .highlight-html-match {
82
+ background: ${Lo};
83
+ }
84
+ `,bt`
81
85
  .ft-no-text-select {
82
86
  -webkit-touch-callout: none;
83
87
  -webkit-user-select: none;
@@ -109,26 +113,26 @@ class uo extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
109
113
  display: inline-block;
110
114
  width: 0;
111
115
  }
112
- `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ko=null===(Lo=window.safari)||void 0===Lo?void 0:Lo.pushNotification)||void 0===Ko||Ko.toString());const Zo=bt`
116
+ `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Zo=null===(Ko=window.safari)||void 0===Ko?void 0:Ko.pushNotification)||void 0===Zo||Zo.toString());const zo=bt`
113
117
  .ft-accordion {
114
118
  box-sizing: border-box;
115
119
  }
116
- `;var zo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Fo extends ko{constructor(){super(...arguments),this.multi=!1}render(){return Qt`
120
+ `;var Fo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ao extends ko{constructor(){super(...arguments),this.multi=!1}render(){return Qt`
117
121
  <div class="ft-accordion">
118
122
  <slot @activated=${this.onChange}></slot>
119
123
  </div>
120
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((o=>o.active=o===t.target))}}Fo.elementDefinitions={},Fo.styles=Zo,zo([C({type:Boolean})],Fo.prototype,"multi",void 0),zo([E("slot")],Fo.prototype,"content",void 0);
124
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((o=>o.active=o===t.target))}}Ao.elementDefinitions={},Ao.styles=zo,Fo([w({type:Boolean})],Ao.prototype,"multi",void 0),Fo([E("slot")],Ao.prototype,"content",void 0);
121
125
  /**
122
126
  * @license
123
127
  * Copyright 2017 Google LLC
124
128
  * SPDX-License-Identifier: BSD-3-Clause
125
129
  */
126
- const Ao=1,Do=2,Mo=t=>(...o)=>({_$litDirective$:t,values:o});let Bo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
130
+ const Do=1,Mo=2,Bo=t=>(...o)=>({_$litDirective$:t,values:o});let Po=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
127
131
  /**
128
132
  * @license
129
133
  * Copyright 2018 Google LLC
130
134
  * SPDX-License-Identifier: BSD-3-Clause
131
- */const Po=Mo(class extends Bo{constructor(t){if(super(t),t.type!==Ao||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return q}}),Ho=xo.extend("--ft-ripple-color","",So.colorContent),jo=Ho,_o=xo.extend("--ft-ripple-background-color","",Ho),To=xo.external(So.opacityContentOnSurfacePressed,"Design system"),Go=xo.external(So.opacityContentOnSurfaceHover,"Design system"),Yo=xo.external(So.opacityContentOnSurfaceFocused,"Design system"),Vo=xo.external(So.opacityContentOnSurfaceSelected,"Design system"),Jo=xo.create("--ft-ripple-border-radius","","SIZE","0px"),qo=xo.extend("--ft-ripple-color","",So.colorPrimary),Xo=qo,Qo=xo.extend("--ft-ripple-background-color","",qo),te=xo.extend("--ft-ripple-color","",So.colorSecondary),oe=te,ee=xo.extend("--ft-ripple-background-color","",te),re=bt`
135
+ */const Ho=Bo(class extends Po{constructor(t){if(super(t),t.type!==Do||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return q}}),jo=xo.extend("--ft-ripple-color","",So.colorContent),_o=jo,To=xo.extend("--ft-ripple-background-color","",jo),Go=xo.external(So.opacityContentOnSurfacePressed,"Design system"),Yo=xo.external(So.opacityContentOnSurfaceHover,"Design system"),Vo=xo.external(So.opacityContentOnSurfaceFocused,"Design system"),Jo=xo.external(So.opacityContentOnSurfaceSelected,"Design system"),qo=xo.create("--ft-ripple-border-radius","","SIZE","0px"),Xo=xo.extend("--ft-ripple-color","",So.colorPrimary),Qo=Xo,te=xo.extend("--ft-ripple-background-color","",Xo),oe=xo.extend("--ft-ripple-color","",So.colorSecondary),ee=oe,re=xo.extend("--ft-ripple-background-color","",oe),ie=bt`
132
136
  :host {
133
137
  display: contents;
134
138
  }
@@ -141,7 +145,7 @@ const Ao=1,Do=2,Mo=t=>(...o)=>({_$litDirective$:t,values:o});let Bo=class{constr
141
145
 
142
146
  .ft-ripple:not(.ft-ripple--unbounded) {
143
147
  overflow: hidden;
144
- border-radius: ${Jo};
148
+ border-radius: ${qo};
145
149
  }
146
150
 
147
151
  .ft-ripple .ft-ripple--background,
@@ -175,27 +179,27 @@ const Ao=1,Do=2,Mo=t=>(...o)=>({_$litDirective$:t,values:o});let Bo=class{constr
175
179
  }
176
180
 
177
181
  .ft-ripple .ft-ripple--background {
178
- background-color: ${_o};
182
+ background-color: ${To};
179
183
  }
180
184
 
181
185
  .ft-ripple .ft-ripple--effect {
182
- background-color: ${jo};
186
+ background-color: ${_o};
183
187
  }
184
188
 
185
189
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
186
- background-color: ${ee};
190
+ background-color: ${re};
187
191
  }
188
192
 
189
193
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
190
- background-color: ${oe};
194
+ background-color: ${ee};
191
195
  }
192
196
 
193
197
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
194
- background-color: ${Qo};
198
+ background-color: ${te};
195
199
  }
196
200
 
197
201
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
198
- background-color: ${Xo};
202
+ background-color: ${Qo};
199
203
  }
200
204
 
201
205
  .ft-ripple .ft-ripple--background {
@@ -225,134 +229,134 @@ const Ao=1,Do=2,Mo=t=>(...o)=>({_$litDirective$:t,values:o});let Bo=class{constr
225
229
  }
226
230
 
227
231
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
228
- opacity: ${Go};
232
+ opacity: ${Yo};
229
233
  }
230
234
 
231
235
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
232
- opacity: ${Vo};
236
+ opacity: ${Jo};
233
237
  }
234
238
 
235
239
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
236
- opacity: ${Yo};
240
+ opacity: ${Vo};
237
241
  }
238
242
 
239
243
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
240
- opacity: ${To};
244
+ opacity: ${Go};
241
245
  transform: translate(-50%, -50%) scale(1);
242
246
  }
243
- `;var ie=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ae extends ko{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:r,y:i}=this.getCoordinates(t),a=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!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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 Qt`
247
+ `;var ae=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ne extends ko{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 U(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 U(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=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!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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 Qt`
244
248
  <style>
245
249
  .ft-ripple .ft-ripple--effect {
246
250
  left: ${this.originX}px;
247
251
  top: ${this.originY}px;
248
252
  }
249
253
  </style>
250
- <div class="${Po(t)}">
254
+ <div class="${Ho(t)}">
251
255
  <div class="ft-ripple--background"></div>
252
256
  <div class="ft-ripple--effect"></div>
253
257
  </div>
254
- `}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"),r=o("touchend","touchcancel"),i=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",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),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",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),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 r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}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()}}ae.elementDefinitions={},ae.styles=re,ie([C({type:Boolean})],ae.prototype,"primary",void 0),ie([C({type:Boolean})],ae.prototype,"secondary",void 0),ie([C({type:Boolean})],ae.prototype,"unbounded",void 0),ie([C({type:Boolean})],ae.prototype,"activated",void 0),ie([C({type:Boolean})],ae.prototype,"selected",void 0),ie([C({type:Boolean})],ae.prototype,"disabled",void 0),ie([R()],ae.prototype,"hovered",void 0),ie([R()],ae.prototype,"focused",void 0),ie([R()],ae.prototype,"pressed",void 0),ie([R()],ae.prototype,"rippling",void 0),ie([R()],ae.prototype,"originX",void 0),ie([R()],ae.prototype,"originY",void 0),ie([E(".ft-ripple")],ae.prototype,"ripple",void 0),ie([E(".ft-ripple--effect")],ae.prototype,"rippleEffect",void 0),$("ft-ripple")(ae);
258
+ `}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"),r=o("touchend","touchcancel"),i=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",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),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",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),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 r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}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()}}ne.elementDefinitions={},ne.styles=ie,ae([w({type:Boolean})],ne.prototype,"primary",void 0),ae([w({type:Boolean})],ne.prototype,"secondary",void 0),ae([w({type:Boolean})],ne.prototype,"unbounded",void 0),ae([w({type:Boolean})],ne.prototype,"activated",void 0),ae([w({type:Boolean})],ne.prototype,"selected",void 0),ae([w({type:Boolean})],ne.prototype,"disabled",void 0),ae([C()],ne.prototype,"hovered",void 0),ae([C()],ne.prototype,"focused",void 0),ae([C()],ne.prototype,"pressed",void 0),ae([C()],ne.prototype,"rippling",void 0),ae([C()],ne.prototype,"originX",void 0),ae([C()],ne.prototype,"originY",void 0),ae([E(".ft-ripple")],ne.prototype,"ripple",void 0),ae([E(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0),$("ft-ripple")(ne);
255
259
  /**
256
260
  * @license
257
261
  * Copyright 2020 Google LLC
258
262
  * SPDX-License-Identifier: BSD-3-Clause
259
263
  */
260
- const ne=Symbol.for(""),se=t=>{if(t?.r===ne)return t?._$litStatic$},ce=t=>({_$litStatic$:t,r:ne}),le=new Map,pe=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c,l=0,p=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(a=e[l],i=se(a));)c+=i+o[++l],p=!0;l!==r&&s.push(a),n.push(c),l++}if(l===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=le.get(t))&&(n.raw=n,le.set(t,o=n)),e=s}return t(o,...e)})(J);var fe;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(fe||(fe={}));const he=xo.extend("--ft-typography-font-family","",So.titleFont),de=xo.extend("--ft-typography-font-family","",So.contentFont),ye={fontFamily:de,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ge=xo.extend("--ft-typography-title-font-family","",he),ue=xo.extend("--ft-typography-title-font-size","",ye.fontSize,"20px"),be=xo.extend("--ft-typography-title-font-weight","",ye.fontWeight,"normal"),me=xo.extend("--ft-typography-title-letter-spacing","",ye.letterSpacing,"0.15px"),xe=xo.extend("--ft-typography-title-line-height","",ye.lineHeight,"1.2"),Oe=xo.extend("--ft-typography-title-text-transform","",ye.textTransform,"inherit"),Ne=xo.extend("--ft-typography-title-dense-font-family","",he),ve=xo.extend("--ft-typography-title-dense-font-size","",ye.fontSize,"14px"),Se=xo.extend("--ft-typography-title-dense-font-weight","",ye.fontWeight,"normal"),we=xo.extend("--ft-typography-title-dense-letter-spacing","",ye.letterSpacing,"0.105px"),Ce=xo.extend("--ft-typography-title-dense-line-height","",ye.lineHeight,"1.7"),Re=xo.extend("--ft-typography-title-dense-text-transform","",ye.textTransform,"inherit"),Ue=xo.extend("--ft-typography-subtitle1-font-family","",de),Ee=xo.extend("--ft-typography-subtitle1-font-size","",ye.fontSize,"16px"),Ie=xo.extend("--ft-typography-subtitle1-font-weight","",ye.fontWeight,"600"),$e=xo.extend("--ft-typography-subtitle1-letter-spacing","",ye.letterSpacing,"0.144px"),We=xo.extend("--ft-typography-subtitle1-line-height","",ye.lineHeight,"1.5"),ke=xo.extend("--ft-typography-subtitle1-text-transform","",ye.textTransform,"inherit"),Le=xo.extend("--ft-typography-subtitle2-font-family","",de),Ke=xo.extend("--ft-typography-subtitle2-font-size","",ye.fontSize,"14px"),Ze=xo.extend("--ft-typography-subtitle2-font-weight","",ye.fontWeight,"normal"),ze=xo.extend("--ft-typography-subtitle2-letter-spacing","",ye.letterSpacing,"0.098px"),Fe=xo.extend("--ft-typography-subtitle2-line-height","",ye.lineHeight,"1.7"),Ae=xo.extend("--ft-typography-subtitle2-text-transform","",ye.textTransform,"inherit"),De=xo.extend("--ft-typography-body1-font-family","",de),Me=xo.extend("--ft-typography-body1-font-size","",ye.fontSize,"16px"),Be=xo.extend("--ft-typography-body1-font-weight","",ye.fontWeight,"normal"),Pe=xo.extend("--ft-typography-body1-letter-spacing","",ye.letterSpacing,"0.496px"),He=xo.extend("--ft-typography-body1-line-height","",ye.lineHeight,"1.5"),je=xo.extend("--ft-typography-body1-text-transform","",ye.textTransform,"inherit"),_e=xo.extend("--ft-typography-body2-font-family","",de),Te=xo.extend("--ft-typography-body2-font-size","",ye.fontSize,"14px"),Ge=xo.extend("--ft-typography-body2-font-weight","",ye.fontWeight,"normal"),Ye=xo.extend("--ft-typography-body2-letter-spacing","",ye.letterSpacing,"0.252px"),Ve=xo.extend("--ft-typography-body2-line-height","",ye.lineHeight,"1.4"),Je=xo.extend("--ft-typography-body2-text-transform","",ye.textTransform,"inherit"),qe=xo.extend("--ft-typography-caption-font-family","",de),Xe=xo.extend("--ft-typography-caption-font-size","",ye.fontSize,"12px"),Qe=xo.extend("--ft-typography-caption-font-weight","",ye.fontWeight,"normal"),tr=xo.extend("--ft-typography-caption-letter-spacing","",ye.letterSpacing,"0.396px"),or=xo.extend("--ft-typography-caption-line-height","",ye.lineHeight,"1.33"),er=xo.extend("--ft-typography-caption-text-transform","",ye.textTransform,"inherit"),rr=xo.extend("--ft-typography-breadcrumb-font-family","",de),ir=xo.extend("--ft-typography-breadcrumb-font-size","",ye.fontSize,"10px"),ar=xo.extend("--ft-typography-breadcrumb-font-weight","",ye.fontWeight,"normal"),nr=xo.extend("--ft-typography-breadcrumb-letter-spacing","",ye.letterSpacing,"0.33px"),sr=xo.extend("--ft-typography-breadcrumb-line-height","",ye.lineHeight,"1.6"),cr=xo.extend("--ft-typography-breadcrumb-text-transform","",ye.textTransform,"inherit"),lr=xo.extend("--ft-typography-overline-font-family","",de),pr=xo.extend("--ft-typography-overline-font-size","",ye.fontSize,"10px"),fr=xo.extend("--ft-typography-overline-font-weight","",ye.fontWeight,"normal"),hr=xo.extend("--ft-typography-overline-letter-spacing","",ye.letterSpacing,"1.5px"),dr=xo.extend("--ft-typography-overline-line-height","",ye.lineHeight,"1.6"),yr=xo.extend("--ft-typography-overline-text-transform","",ye.textTransform,"uppercase"),gr=xo.extend("--ft-typography-button-font-family","",de),ur=xo.extend("--ft-typography-button-font-size","",ye.fontSize,"14px"),br=xo.extend("--ft-typography-button-font-weight","",ye.fontWeight,"600"),mr=xo.extend("--ft-typography-button-letter-spacing","",ye.letterSpacing,"1.246px"),xr=xo.extend("--ft-typography-button-line-height","",ye.lineHeight,"1.15"),Or=xo.extend("--ft-typography-button-text-transform","",ye.textTransform,"uppercase"),Nr=bt`
264
+ const se=Symbol.for(""),ce=t=>{if(t?.r===se)return t?._$litStatic$},le=t=>({_$litStatic$:t,r:se}),pe=new Map,fe=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c,l=0,p=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(a=e[l],i=ce(a));)c+=i+o[++l],p=!0;l!==r&&s.push(a),n.push(c),l++}if(l===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=pe.get(t))&&(n.raw=n,pe.set(t,o=n)),e=s}return t(o,...e)})(J);var he;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(he||(he={}));const de=xo.extend("--ft-typography-font-family","",So.titleFont),ye=xo.extend("--ft-typography-font-family","",So.contentFont),ge={fontFamily:ye,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ue=xo.extend("--ft-typography-title-font-family","",de),be=xo.extend("--ft-typography-title-font-size","",ge.fontSize,"20px"),me=xo.extend("--ft-typography-title-font-weight","",ge.fontWeight,"normal"),xe=xo.extend("--ft-typography-title-letter-spacing","",ge.letterSpacing,"0.15px"),Oe=xo.extend("--ft-typography-title-line-height","",ge.lineHeight,"1.2"),Ne=xo.extend("--ft-typography-title-text-transform","",ge.textTransform,"inherit"),ve=xo.extend("--ft-typography-title-dense-font-family","",de),Se=xo.extend("--ft-typography-title-dense-font-size","",ge.fontSize,"14px"),we=xo.extend("--ft-typography-title-dense-font-weight","",ge.fontWeight,"normal"),Ce=xo.extend("--ft-typography-title-dense-letter-spacing","",ge.letterSpacing,"0.105px"),Re=xo.extend("--ft-typography-title-dense-line-height","",ge.lineHeight,"1.7"),Ee=xo.extend("--ft-typography-title-dense-text-transform","",ge.textTransform,"inherit"),Ue=xo.extend("--ft-typography-subtitle1-font-family","",ye),Ie=xo.extend("--ft-typography-subtitle1-font-size","",ge.fontSize,"16px"),$e=xo.extend("--ft-typography-subtitle1-font-weight","",ge.fontWeight,"600"),We=xo.extend("--ft-typography-subtitle1-letter-spacing","",ge.letterSpacing,"0.144px"),ke=xo.extend("--ft-typography-subtitle1-line-height","",ge.lineHeight,"1.5"),Le=xo.extend("--ft-typography-subtitle1-text-transform","",ge.textTransform,"inherit"),Ke=xo.extend("--ft-typography-subtitle2-font-family","",ye),Ze=xo.extend("--ft-typography-subtitle2-font-size","",ge.fontSize,"14px"),ze=xo.extend("--ft-typography-subtitle2-font-weight","",ge.fontWeight,"normal"),Fe=xo.extend("--ft-typography-subtitle2-letter-spacing","",ge.letterSpacing,"0.098px"),Ae=xo.extend("--ft-typography-subtitle2-line-height","",ge.lineHeight,"1.7"),De=xo.extend("--ft-typography-subtitle2-text-transform","",ge.textTransform,"inherit"),Me=xo.extend("--ft-typography-body1-font-family","",ye),Be=xo.extend("--ft-typography-body1-font-size","",ge.fontSize,"16px"),Pe=xo.extend("--ft-typography-body1-font-weight","",ge.fontWeight,"normal"),He=xo.extend("--ft-typography-body1-letter-spacing","",ge.letterSpacing,"0.496px"),je=xo.extend("--ft-typography-body1-line-height","",ge.lineHeight,"1.5"),_e=xo.extend("--ft-typography-body1-text-transform","",ge.textTransform,"inherit"),Te=xo.extend("--ft-typography-body2-font-family","",ye),Ge=xo.extend("--ft-typography-body2-font-size","",ge.fontSize,"14px"),Ye=xo.extend("--ft-typography-body2-font-weight","",ge.fontWeight,"normal"),Ve=xo.extend("--ft-typography-body2-letter-spacing","",ge.letterSpacing,"0.252px"),Je=xo.extend("--ft-typography-body2-line-height","",ge.lineHeight,"1.4"),qe=xo.extend("--ft-typography-body2-text-transform","",ge.textTransform,"inherit"),Xe=xo.extend("--ft-typography-caption-font-family","",ye),Qe=xo.extend("--ft-typography-caption-font-size","",ge.fontSize,"12px"),tr=xo.extend("--ft-typography-caption-font-weight","",ge.fontWeight,"normal"),or=xo.extend("--ft-typography-caption-letter-spacing","",ge.letterSpacing,"0.396px"),er=xo.extend("--ft-typography-caption-line-height","",ge.lineHeight,"1.33"),rr=xo.extend("--ft-typography-caption-text-transform","",ge.textTransform,"inherit"),ir=xo.extend("--ft-typography-breadcrumb-font-family","",ye),ar=xo.extend("--ft-typography-breadcrumb-font-size","",ge.fontSize,"10px"),nr=xo.extend("--ft-typography-breadcrumb-font-weight","",ge.fontWeight,"normal"),sr=xo.extend("--ft-typography-breadcrumb-letter-spacing","",ge.letterSpacing,"0.33px"),cr=xo.extend("--ft-typography-breadcrumb-line-height","",ge.lineHeight,"1.6"),lr=xo.extend("--ft-typography-breadcrumb-text-transform","",ge.textTransform,"inherit"),pr=xo.extend("--ft-typography-overline-font-family","",ye),fr=xo.extend("--ft-typography-overline-font-size","",ge.fontSize,"10px"),hr=xo.extend("--ft-typography-overline-font-weight","",ge.fontWeight,"normal"),dr=xo.extend("--ft-typography-overline-letter-spacing","",ge.letterSpacing,"1.5px"),yr=xo.extend("--ft-typography-overline-line-height","",ge.lineHeight,"1.6"),gr=xo.extend("--ft-typography-overline-text-transform","",ge.textTransform,"uppercase"),ur=xo.extend("--ft-typography-button-font-family","",ye),br=xo.extend("--ft-typography-button-font-size","",ge.fontSize,"14px"),mr=xo.extend("--ft-typography-button-font-weight","",ge.fontWeight,"600"),xr=xo.extend("--ft-typography-button-letter-spacing","",ge.letterSpacing,"1.246px"),Or=xo.extend("--ft-typography-button-line-height","",ge.lineHeight,"1.15"),Nr=xo.extend("--ft-typography-button-text-transform","",ge.textTransform,"uppercase"),vr=bt`
261
265
  .ft-typography--title {
262
- font-family: ${ge};
263
- font-size: ${ue};
264
- font-weight: ${be};
265
- letter-spacing: ${me};
266
- line-height: ${xe};
267
- text-transform: ${Oe};
268
- }
269
- `,vr=bt`
270
- .ft-typography--title-dense {
271
- font-family: ${Ne};
272
- font-size: ${ve};
273
- font-weight: ${Se};
274
- letter-spacing: ${we};
275
- line-height: ${Ce};
276
- text-transform: ${Re};
266
+ font-family: ${ue};
267
+ font-size: ${be};
268
+ font-weight: ${me};
269
+ letter-spacing: ${xe};
270
+ line-height: ${Oe};
271
+ text-transform: ${Ne};
277
272
  }
278
273
  `,Sr=bt`
274
+ .ft-typography--title-dense {
275
+ font-family: ${ve};
276
+ font-size: ${Se};
277
+ font-weight: ${we};
278
+ letter-spacing: ${Ce};
279
+ line-height: ${Re};
280
+ text-transform: ${Ee};
281
+ }
282
+ `,wr=bt`
279
283
  .ft-typography--subtitle1 {
280
284
  font-family: ${Ue};
281
- font-size: ${Ee};
282
- font-weight: ${Ie};
283
- letter-spacing: ${$e};
284
- line-height: ${We};
285
- text-transform: ${ke};
285
+ font-size: ${Ie};
286
+ font-weight: ${$e};
287
+ letter-spacing: ${We};
288
+ line-height: ${ke};
289
+ text-transform: ${Le};
286
290
  }
287
- `,wr=bt`
291
+ `,Cr=bt`
288
292
  .ft-typography--subtitle2 {
289
- font-family: ${Le};
290
- font-size: ${Ke};
291
- font-weight: ${Ze};
292
- letter-spacing: ${ze};
293
- line-height: ${Fe};
294
- text-transform: ${Ae};
293
+ font-family: ${Ke};
294
+ font-size: ${Ze};
295
+ font-weight: ${ze};
296
+ letter-spacing: ${Fe};
297
+ line-height: ${Ae};
298
+ text-transform: ${De};
295
299
  }
296
300
 
297
- `,Cr=bt`
301
+ `,Rr=bt`
298
302
  .ft-typography--body1 {
299
- font-family: ${De};
300
- font-size: ${Me};
301
- font-weight: ${Be};
302
- letter-spacing: ${Pe};
303
- line-height: ${He};
304
- text-transform: ${je};
303
+ font-family: ${Me};
304
+ font-size: ${Be};
305
+ font-weight: ${Pe};
306
+ letter-spacing: ${He};
307
+ line-height: ${je};
308
+ text-transform: ${_e};
305
309
  }
306
- `,Rr=bt`
310
+ `,Er=bt`
307
311
  .ft-typography--body2 {
308
- font-family: ${_e};
309
- font-size: ${Te};
310
- font-weight: ${Ge};
311
- letter-spacing: ${Ye};
312
- line-height: ${Ve};
313
- text-transform: ${Je};
312
+ font-family: ${Te};
313
+ font-size: ${Ge};
314
+ font-weight: ${Ye};
315
+ letter-spacing: ${Ve};
316
+ line-height: ${Je};
317
+ text-transform: ${qe};
314
318
  }
315
319
  `,Ur=bt`
316
320
  .ft-typography--caption {
317
- font-family: ${qe};
318
- font-size: ${Xe};
319
- font-weight: ${Qe};
320
- letter-spacing: ${tr};
321
- line-height: ${or};
322
- text-transform: ${er};
323
- }
324
- `,Er=bt`
325
- .ft-typography--breadcrumb {
326
- font-family: ${rr};
327
- font-size: ${ir};
328
- font-weight: ${ar};
329
- letter-spacing: ${nr};
330
- line-height: ${sr};
331
- text-transform: ${cr};
321
+ font-family: ${Xe};
322
+ font-size: ${Qe};
323
+ font-weight: ${tr};
324
+ letter-spacing: ${or};
325
+ line-height: ${er};
326
+ text-transform: ${rr};
332
327
  }
333
328
  `,Ir=bt`
334
- .ft-typography--overline {
335
- font-family: ${lr};
336
- font-size: ${pr};
337
- font-weight: ${fr};
338
- letter-spacing: ${hr};
339
- line-height: ${dr};
340
- text-transform: ${yr};
329
+ .ft-typography--breadcrumb {
330
+ font-family: ${ir};
331
+ font-size: ${ar};
332
+ font-weight: ${nr};
333
+ letter-spacing: ${sr};
334
+ line-height: ${cr};
335
+ text-transform: ${lr};
341
336
  }
342
337
  `,$r=bt`
343
- .ft-typography--button {
344
- font-family: ${gr};
345
- font-size: ${ur};
346
- font-weight: ${br};
347
- letter-spacing: ${mr};
348
- line-height: ${xr};
349
- text-transform: ${Or};
338
+ .ft-typography--overline {
339
+ font-family: ${pr};
340
+ font-size: ${fr};
341
+ font-weight: ${hr};
342
+ letter-spacing: ${dr};
343
+ line-height: ${yr};
344
+ text-transform: ${gr};
350
345
  }
351
346
  `,Wr=bt`
347
+ .ft-typography--button {
348
+ font-family: ${ur};
349
+ font-size: ${br};
350
+ font-weight: ${mr};
351
+ letter-spacing: ${xr};
352
+ line-height: ${Or};
353
+ text-transform: ${Nr};
354
+ }
355
+ `,kr=bt`
352
356
  .ft-typography {
353
357
  vertical-align: inherit;
354
358
  }
355
- `,kr=[Object.keys(No).map((t=>function(t){const o=No[t];return bt`
359
+ `,Lr=[Object.keys(No).map((t=>function(t){const o=No[t];return bt`
356
360
  .ft-typography--${ut(t)} {
357
361
  font-family: ${o.fontFamily};
358
362
  font-size: ${o.fontSize};
@@ -361,20 +365,20 @@ const ne=Symbol.for(""),se=t=>{if(t?.r===ne)return t?._$litStatic$},ce=t=>({_$li
361
365
  line-height: ${o.lineHeight};
362
366
  text-transform: ${o.textCase};
363
367
  }
364
- `}(t)))];var Lr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Kr extends ko{constructor(){super(...arguments),this.variant=fe.body1}render(){return this.element?pe`
365
- <${ce(this.element)}
368
+ `}(t)))];var Kr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Zr extends ko{constructor(){super(...arguments),this.variant=he.body1}render(){return this.element?fe`
369
+ <${le(this.element)}
366
370
  class="ft-typography ft-typography--${this.variant}">
367
371
  <slot></slot>
368
- </${ce(this.element)}>
369
- `:pe`
372
+ </${le(this.element)}>
373
+ `:fe`
370
374
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
371
- `}}Kr.styles=[Nr,vr,Sr,wr,Cr,Rr,Ur,Er,Ir,$r,Wr,...kr],Lr([C()],Kr.prototype,"element",void 0),Lr([C()],Kr.prototype,"variant",void 0),$("ft-typography")(Kr);
375
+ `}}Zr.styles=[vr,Sr,wr,Cr,Rr,Er,Ur,Ir,$r,Wr,kr,...Lr],Kr([w()],Zr.prototype,"element",void 0),Kr([w()],Zr.prototype,"variant",void 0),$("ft-typography")(Zr);
372
376
  /**
373
377
  * @license
374
378
  * Copyright 2017 Google LLC
375
379
  * SPDX-License-Identifier: BSD-3-Clause
376
380
  */
377
- class Zr extends Bo{constructor(t){if(super(t),this.et=X,t.type!==Do)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.vt=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Zr.directiveName="unsafeHTML",Zr.resultType=1;const zr=Mo(Zr);var Fr,Ar;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Fr||(Fr={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ar||(Ar={})),new Map([...["abw"].map((t=>[t,Ar.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ar.AUDIO])),...["avi"].map((t=>[t,Ar.AVI])),...["chm","xhs"].map((t=>[t,Ar.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ar.CODE])),...["csv"].map((t=>[t,Ar.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ar.DITA])),...["epub"].map((t=>[t,Ar.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ar.EXCEL])),...["flac"].map((t=>[t,Ar.FLAC])),...["gif"].map((t=>[t,Ar.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ar.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ar.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ar.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ar.JPEG])),...["json"].map((t=>[t,Ar.JSON])),...["m4a","m4p"].map((t=>[t,Ar.M4A])),...["mov","qt"].map((t=>[t,Ar.MOV])),...["mp3"].map((t=>[t,Ar.MP3])),...["mp4","m4v"].map((t=>[t,Ar.MP4])),...["ogg","oga"].map((t=>[t,Ar.OGG])),...["pdf","ps"].map((t=>[t,Ar.PDF])),...["png"].map((t=>[t,Ar.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ar.POWERPOINT])),...["rar"].map((t=>[t,Ar.RAR])),...["stp"].map((t=>[t,Ar.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ar.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ar.VIDEO])),...["wav"].map((t=>[t,Ar.WAV])),...["wma"].map((t=>[t,Ar.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ar.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ar.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ar.YAML])),...["zip"].map((t=>[t,Ar.ZIP]))]);const Dr=xo.create("--ft-icon-font-size","","SIZE","24px"),Mr=xo.extend("--ft-icon-fluid-topics-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Br=xo.extend("--ft-icon-file-format-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Pr=xo.extend("--ft-icon-material-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Hr=xo.create("--ft-icon-vertical-align","","UNKNOWN","unset"),jr=bt`
381
+ class zr extends Po{constructor(t){if(super(t),this.et=X,t.type!==Mo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.vt=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}zr.directiveName="unsafeHTML",zr.resultType=1;const Fr=Bo(zr);var Ar,Dr;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ar||(Ar={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Dr||(Dr={})),new Map([...["abw"].map((t=>[t,Dr.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Dr.AUDIO])),...["avi"].map((t=>[t,Dr.AVI])),...["chm","xhs"].map((t=>[t,Dr.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Dr.CODE])),...["csv"].map((t=>[t,Dr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Dr.DITA])),...["epub"].map((t=>[t,Dr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Dr.EXCEL])),...["flac"].map((t=>[t,Dr.FLAC])),...["gif"].map((t=>[t,Dr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Dr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Dr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Dr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Dr.JPEG])),...["json"].map((t=>[t,Dr.JSON])),...["m4a","m4p"].map((t=>[t,Dr.M4A])),...["mov","qt"].map((t=>[t,Dr.MOV])),...["mp3"].map((t=>[t,Dr.MP3])),...["mp4","m4v"].map((t=>[t,Dr.MP4])),...["ogg","oga"].map((t=>[t,Dr.OGG])),...["pdf","ps"].map((t=>[t,Dr.PDF])),...["png"].map((t=>[t,Dr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Dr.POWERPOINT])),...["rar"].map((t=>[t,Dr.RAR])),...["stp"].map((t=>[t,Dr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Dr.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Dr.VIDEO])),...["wav"].map((t=>[t,Dr.WAV])),...["wma"].map((t=>[t,Dr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Dr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Dr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Dr.YAML])),...["zip"].map((t=>[t,Dr.ZIP]))]);const Mr=xo.create("--ft-icon-font-size","","SIZE","24px"),Br=xo.extend("--ft-icon-fluid-topics-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Pr=xo.extend("--ft-icon-file-format-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Hr=xo.extend("--ft-icon-material-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),jr=xo.create("--ft-icon-vertical-align","","UNKNOWN","unset"),_r=bt`
378
382
  :host, i.ft-icon {
379
383
  display: inline-flex;
380
384
  align-items: center;
@@ -383,14 +387,14 @@ class Zr extends Bo{constructor(t){if(super(t),this.et=X,t.type!==Do)throw Error
383
387
  }
384
388
 
385
389
  :host {
386
- width: ${Dr};
387
- height: ${Dr};
390
+ width: ${Mr};
391
+ height: ${Mr};
388
392
  }
389
393
 
390
394
  i.ft-icon {
391
395
  width: 100%;
392
396
  height: 100%;
393
- font-size: ${Dr};
397
+ font-size: ${Mr};
394
398
  line-height: 1;
395
399
  font-weight: normal;
396
400
  text-transform: none;
@@ -401,33 +405,33 @@ class Zr extends Bo{constructor(t){if(super(t),this.et=X,t.type!==Do)throw Error
401
405
  text-rendering: auto;
402
406
  -webkit-font-smoothing: antialiased;
403
407
  -moz-osx-font-smoothing: grayscale;
404
- vertical-align: ${Hr};
408
+ vertical-align: ${jr};
405
409
  }
406
410
 
407
411
  i.ft-icon.ft-icon--fluid-topics {
408
- font-family: ${Mr}, ft-icons, fticons, sans-serif;
412
+ font-family: ${Br}, ft-icons, fticons, sans-serif;
409
413
 
410
414
  /* Ugly fix because font is broken */
411
- font-size: calc(0.75 * ${Dr});
412
- line-height: ${Dr};
415
+ font-size: calc(0.75 * ${Mr});
416
+ line-height: ${Mr};
413
417
  position: relative;
414
418
  top: -4%;
415
419
  justify-content: center;
416
420
  }
417
421
 
418
422
  .ft-icon--file-format {
419
- font-family: ${Br}, ft-mime, sans-serif;
423
+ font-family: ${Pr}, ft-mime, sans-serif;
420
424
  }
421
425
 
422
426
  .ft-icon--material {
423
- font-family: ${Pr}, "Material Icons", sans-serif;
427
+ font-family: ${Hr}, "Material Icons", sans-serif;
424
428
  }
425
- `;var _r;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(_r||(_r={}));var Tr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Gr extends ko{constructor(){super(...arguments),this.resolvedIcon=oo}render(){const t=this.variant&&Object.values(_r).includes(this.variant)?this.variant:_r.fluid_topics,o=t!==_r.material||!!this.value;return Qt`
429
+ `;var Tr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Tr||(Tr={}));var Gr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Yr extends ko{constructor(){super(...arguments),this.resolvedIcon=oo}render(){const t=this.variant&&Object.values(Tr).includes(this.variant)?this.variant:Tr.fluid_topics,o=t!==Tr.material||!!this.value;return Qt`
426
430
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
427
- ${zr(this.resolvedIcon)}
431
+ ${Fr(this.resolvedIcon)}
428
432
  <slot ?hidden=${o}></slot>
429
433
  </i>
430
- `}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 _r.file_format:this.resolvedIcon=null!==(t=Ar[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case _r.material:this.resolvedIcon=this.value||oo;break;default:this.resolvedIcon=null!==(o=Fr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Gr.elementDefinitions={},Gr.styles=jr,Tr([C()],Gr.prototype,"variant",void 0),Tr([C()],Gr.prototype,"value",void 0),Tr([R()],Gr.prototype,"resolvedIcon",void 0),Tr([E("slot")],Gr.prototype,"slottedContent",void 0),$("ft-icon")(Gr);const Yr={horizontalSpacing:xo.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:xo.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:xo.external(So.colorOutline,"Design system")},Vr=bt`
434
+ `}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 Tr.file_format:this.resolvedIcon=null!==(t=Dr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Tr.material:this.resolvedIcon=this.value||oo;break;default:this.resolvedIcon=null!==(o=Ar[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Yr.elementDefinitions={},Yr.styles=_r,Gr([w()],Yr.prototype,"variant",void 0),Gr([w()],Yr.prototype,"value",void 0),Gr([C()],Yr.prototype,"resolvedIcon",void 0),Gr([E("slot")],Yr.prototype,"slottedContent",void 0),$("ft-icon")(Yr);const Vr={horizontalSpacing:xo.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:xo.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:xo.external(So.colorOutline,"Design system")},Jr=bt`
431
435
  .ft-accordion-item {
432
436
  display: flex;
433
437
  flex-direction: column;
@@ -440,8 +444,8 @@ class Zr extends Bo{constructor(t){if(super(t),this.et=X,t.type!==Do)throw Error
440
444
  display: flex;
441
445
  align-items: center;
442
446
  cursor: pointer;
443
- padding: ${Yr.verticalSpacing} ${Yr.horizontalSpacing};
444
- gap: calc(${Yr.horizontalSpacing} / 2);
447
+ padding: ${Vr.verticalSpacing} ${Vr.horizontalSpacing};
448
+ gap: calc(${Vr.horizontalSpacing} / 2);
445
449
  outline: none;
446
450
  }
447
451
 
@@ -466,13 +470,13 @@ class Zr extends Bo{constructor(t){if(super(t),this.et=X,t.type!==Do)throw Error
466
470
  .ft-accordion-item--active .ft-accordion-item--content {
467
471
  height: initial;
468
472
  overflow: visible;
469
- padding: ${Yr.verticalSpacing} ${Yr.horizontalSpacing};
473
+ padding: ${Vr.verticalSpacing} ${Vr.horizontalSpacing};
470
474
  }
471
475
 
472
476
  .ft-accordion-item--separator {
473
- border-bottom: 1px solid ${Yr.colorOutline};
477
+ border-bottom: 1px solid ${Vr.colorOutline};
474
478
  }
475
- `;var Jr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class qr extends ko{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Qt`
479
+ `;var qr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Xr extends ko{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Qt`
476
480
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
477
481
  <div class="ft-accordion-item--toggle"
478
482
  part="toggle"
@@ -502,4 +506,4 @@ class Zr extends Bo{constructor(t){if(super(t),this.et=X,t.type!==Do)throw Error
502
506
  </div>
503
507
  <div class="ft-accordion-item--separator" part="separator"></div>
504
508
  </div>
505
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}qr.elementDefinitions={"ft-ripple":ae,"ft-typography":Kr,"ft-icon":Gr},qr.styles=Vr,Jr([C()],qr.prototype,"icon",void 0),Jr([C()],qr.prototype,"iconVariant",void 0),Jr([C()],qr.prototype,"label",void 0),Jr([C({type:Boolean,reflect:!0})],qr.prototype,"active",void 0),$("ft-accordion")(Fo),$("ft-accordion-item")(qr),t.FtAccordion=Fo,t.FtAccordionCssVariables={},t.FtAccordionItem=qr,t.FtAccordionItemCssVariables=Yr,t.itemStyles=Vr,t.styles=Zo}({});
509
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Xr.elementDefinitions={"ft-ripple":ne,"ft-typography":Zr,"ft-icon":Yr},Xr.styles=Jr,qr([w()],Xr.prototype,"icon",void 0),qr([w()],Xr.prototype,"iconVariant",void 0),qr([w()],Xr.prototype,"label",void 0),qr([w({type:Boolean,reflect:!0})],Xr.prototype,"active",void 0),$("ft-accordion")(Ao),$("ft-accordion-item")(Xr),t.FtAccordion=Ao,t.FtAccordionCssVariables={},t.FtAccordionItem=Xr,t.FtAccordionItemCssVariables=Vr,t.itemStyles=Jr,t.styles=zo}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-accordion",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "The accordion component allows the user to show and hide sections of related content on a page.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
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.1",
23
- "@fluid-topics/ft-ripple": "1.1.1",
24
- "@fluid-topics/ft-typography": "1.1.1",
25
- "@fluid-topics/ft-wc-utils": "1.1.1",
22
+ "@fluid-topics/ft-icon": "1.1.3",
23
+ "@fluid-topics/ft-ripple": "1.1.3",
24
+ "@fluid-topics/ft-typography": "1.1.3",
25
+ "@fluid-topics/ft-wc-utils": "1.1.3",
26
26
  "lit": "3.1.0"
27
27
  },
28
- "gitHead": "ceae4aed142c27cbf6034f45bb6e3f562163cc15"
28
+ "gitHead": "0d44a470e710f185c37e42ee87be4481a3bdf793"
29
29
  }