@fluid-topics/ft-reader-metadata 0.3.53 → 0.3.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.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,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=l;if(i)return l=void 0,i;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,n=o._getDefinition(i);return n?u(e,n):r.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);o.call(this,r,n),e.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=v.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let y=[document];const g=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){y.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const x=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){y.push(this),e.set.call(this,t),y.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch(Se){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.info(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){return this.callbacks=[t],this.debounce(i)}queue(t,i){return this.callbacks.push(t),this.debounce(i)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,i)=>{this.resolvePromise=t,this.rejectPromise=i}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,i;const e=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(i=this.resolvePromise)&&void 0!==i?i:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=e.call(o,t);c||(c=p(t),i.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.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,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=l;if(i)return l=void 0,i;const e=s.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let i=t.getRootNode();if(!h(i)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},p=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=c(e)||window.customElements,n=o._getDefinition(i);return n?u(e,n):r.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);o.call(this,r,n),e.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),l=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=v.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let y=[document];const g=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){y.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),y.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const x=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){y.push(this),e.set.call(this,t),y.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch(ke){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.info(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){return this.callbacks=[t],this.debounce(i)}queue(t,i){return this.callbacks.push(t),this.debounce(i)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,i)=>{this.resolvePromise=t,this.rejectPromise=i}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,i;const e=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(i=this.resolvePromise)&&void 0!==i?i:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -55,7 +55,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.cust
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var R;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(b=w.reactiveElementVersions)&&void 0!==b?b:w.reactiveElementVersions=[]).push("1.4.1");const M=window,z=M.trustedTypes,U=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,j=`lit$${(Math.random()+"").slice(9)}$`,F="?"+j,A=`<${F}>`,B=document,T=(t="")=>B.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,D=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),K=/'/g,H=/"/g,Z=/^(?:script|style|textarea|title)$/i,V=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Y=B.createTreeWalker(B,129,null,!1),G=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=_;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===_?"!--"===l[1]?s=I:void 0!==l[1]?s=D:void 0!==l[2]?(Z.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=W):void 0!==l[3]&&(s=W):s===W?">"===l[0]?(s=null!=n?n:_,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?W:'"'===l[3]?H:K):s===H||s===K?s=W:s===I||s===D?s=_:(s=W,n=void 0);const p=s===W&&t[i+1].startsWith("/>")?" ":"";r+=s===_?e+A:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+j+p):e+j+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(a):a,o]};class Q{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=G(t,i);if(this.el=Q.createElement(l,e),Y.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Y.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(j)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(j),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?nt:"?"===i[1]?st:"@"===i[1]?at:ot})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(Z.test(o.tagName)){const t=o.textContent.split(j),i=t.length-1;if(i>0){o.textContent=z?z.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],T()),Y.nextNode(),a.push({type:2,index:++n});o.append(t[i],T())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(j,t+1));)a.push({type:7,index:n}),t+=j.length-1}n++}}static createElement(t,i){const e=B.createElement("template");return e.innerHTML=t,e}}function tt(t,i,e=t,o){var n,r,s,a;if(i===J)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=L(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=tt(t,l._$AS(t,i.values),l,o)),i}class it{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:B).importNode(e,!0);Y.currentNode=n;let r=Y.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new et(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new lt(r,this,t)),this.u.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Y.nextNode(),s++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class et{constructor(t,i,e,o){var n;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=tt(this,t,i),L(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==q&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Q.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new it(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=X.get(t.strings);return void 0===i&&X.set(t.strings,i=new Q(t)),i}k(t){P(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new et(this.O(T()),this.O(T()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class ot{constructor(t,i,e,o,n){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=tt(this,t,i,0),r=!L(t)||t!==this._$AH&&t!==J,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=tt(this,o[e+s],i,s),a===J&&(a=this._$AH[s]),r||(r=!L(a)||a!==this._$AH[s]),a===q?t=q:t!==q&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const rt=z?z.emptyScript:"";class st extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,rt):this.element.removeAttribute(this.name)}}class at extends ot{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=tt(this,t,i,0))&&void 0!==e?e:q)===J)return;const o=this._$AH,n=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==q&&(o===q||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class lt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}}const ht=M.litHtmlPolyfillSupport;null==ht||ht(Q,et),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.4.0");
58
+ var R;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(b=w.reactiveElementVersions)&&void 0!==b?b:w.reactiveElementVersions=[]).push("1.4.1");const M=window,j=M.trustedTypes,z=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,U=`lit$${(Math.random()+"").slice(9)}$`,F="?"+U,A=`<${F}>`,B=document,T=(t="")=>B.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,D=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),K=/'/g,H=/"/g,Z=/^(?:script|style|textarea|title)$/i,V=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Y=B.createTreeWalker(B,129,null,!1),G=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=_;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===_?"!--"===l[1]?s=I:void 0!==l[1]?s=D:void 0!==l[2]?(Z.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=W):void 0!==l[3]&&(s=W):s===W?">"===l[0]?(s=null!=n?n:_,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?W:'"'===l[3]?H:K):s===H||s===K?s=W:s===I||s===D?s=_:(s=W,n=void 0);const p=s===W&&t[i+1].startsWith("/>")?" ":"";r+=s===_?e+A:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+U+p):e+U+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class Q{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=G(t,i);if(this.el=Q.createElement(l,e),Y.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Y.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(U)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(U),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?nt:"?"===i[1]?st:"@"===i[1]?at:ot})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(Z.test(o.tagName)){const t=o.textContent.split(U),i=t.length-1;if(i>0){o.textContent=j?j.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],T()),Y.nextNode(),a.push({type:2,index:++n});o.append(t[i],T())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(U,t+1));)a.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,i){const e=B.createElement("template");return e.innerHTML=t,e}}function tt(t,i,e=t,o){var n,r,s,a;if(i===J)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=L(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=tt(t,l._$AS(t,i.values),l,o)),i}class it{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:B).importNode(e,!0);Y.currentNode=n;let r=Y.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new et(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new lt(r,this,t)),this.u.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Y.nextNode(),s++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class et{constructor(t,i,e,o){var n;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=tt(this,t,i),L(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==q&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Q.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new it(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=X.get(t.strings);return void 0===i&&X.set(t.strings,i=new Q(t)),i}k(t){P(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new et(this.O(T()),this.O(T()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class ot{constructor(t,i,e,o,n){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=tt(this,t,i,0),r=!L(t)||t!==this._$AH&&t!==J,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=tt(this,o[e+s],i,s),a===J&&(a=this._$AH[s]),r||(r=!L(a)||a!==this._$AH[s]),a===q?t=q:t!==q&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const rt=j?j.emptyScript:"";class st extends ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,rt):this.element.removeAttribute(this.name)}}class at extends ot{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=tt(this,t,i,0))&&void 0!==e?e:q)===J)return;const o=this._$AH,n=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==q&&(o===q||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class lt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}}const ht=M.litHtmlPolyfillSupport;null==ht||ht(Q,et),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.4.0");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
@@ -92,118 +92,129 @@ var ct,pt;class ft extends E{constructor(){super(...arguments),this.renderOption
92
92
  -webkit-hyphens: auto;
93
93
  hyphens: auto
94
94
  }
95
- `;class bt extends xt{constructor(){super(...arguments),this.internalStoresUnsubscribers=new Map,this.internalStores=new Map}getUnnamedStore(){if(this.internalStores.size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this.internalStores.values()][0]}get store(){return this.getUnnamedStore()}set store(t){this.unsubscribeFromStores(),this.internalStores.clear(),t&&this.addStore(t)}getStore(t){var i;return null==t?null!==(i=this.getUnnamedStore())&&void 0!==i?i:this.store:this.internalStores.get(t)}addStore(t,i){i=null!=i?i:wt(t)?t.name:"ft-lit-element-redux-default-store",this.unsubscribeFromStore(i),this.setupStore(i,t)}removeStore(t){const i="string"==typeof t?t:wt(t)?t.name:"ft-lit-element-redux-default-store";this.unsubscribeFromStore(i),this.internalStores.delete(i)}setupStore(t,i){this.internalStores.set(t,i),this.updateFromStores(),this.subscribeToStore(t,i)}setupStores(){this.unsubscribeFromStores(),0===this.internalStores.size&&null!=this.store?this.addStore(this.store):(this.updateFromStores(),this.internalStores.forEach(((t,i)=>this.subscribeToStore(i,t))))}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,i)=>{const e=this.getStore(t.store);e&&(this[i]=t.selector(e.getState(),this))}))}subscribeToStore(t,i){this.internalStoresUnsubscribers.set(t,i.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this.internalStoresUnsubscribers).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this.internalStoresUnsubscribers.has(t)&&this.internalStoresUnsubscribers.get(t)(),this.internalStoresUnsubscribers.delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function wt(t){var i;return null===(i=t)||void 0===i?void 0:i.isFtReduxStore}var $t,Ot,St;const kt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(St=null===(Ot=null===($t=window.safari)||void 0===$t?void 0:$t.pushNotification)||void 0===Ot?void 0:Ot.toString())&&void 0!==St?St:""),Ct=g`
95
+ `,g`
96
+ .ft-safari-ellipsis-fix {
97
+ margin-right: 0;
98
+
99
+ }
100
+
101
+ .ft-safari-ellipsis-fix:after {
102
+ content: "\\0000a0";
103
+ display: inline-block;
104
+ width: 0;
105
+ }
106
+ `;const bt=t=>"object"==typeof t&&(0===Object.keys(t).length||"string"==typeof t.store||null!=t.selector||"function"==typeof t.hasChanged);class wt extends xt{constructor(){super(...arguments),this.internalStoresUnsubscribers=new Map,this.internalStores=new Map}getUnnamedStore(){if(this.internalStores.size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this.internalStores.values()][0]}get store(){return this.getUnnamedStore()}set store(t){this.unsubscribeFromStores(),this.internalStores.clear(),t&&this.addStore(t)}getStore(t){var i;return null==t?null!==(i=this.getUnnamedStore())&&void 0!==i?i:this.store:this.internalStores.get(t)}addStore(t,i){i=null!=i?i:$t(t)?t.name:"ft-lit-element-redux-default-store",this.unsubscribeFromStore(i),this.setupStore(i,t)}removeStore(t){const i="string"==typeof t?t:$t(t)?t.name:"ft-lit-element-redux-default-store";this.unsubscribeFromStore(i),this.internalStores.delete(i)}setupStore(t,i){this.internalStores.set(t,i),this.updateFromStores(),this.subscribeToStore(t,i)}setupStores(){this.unsubscribeFromStores(),0===this.internalStores.size&&null!=this.store?this.addStore(this.store):(this.updateFromStores(),this.internalStores.forEach(((t,i)=>this.subscribeToStore(i,t))))}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,i)=>{const e=this.getStore(t.store);e&&(this[i]=t.selector(e.getState(),this))}))}subscribeToStore(t,i){this.internalStoresUnsubscribers.set(t,i.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this.internalStoresUnsubscribers).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this.internalStoresUnsubscribers.has(t)&&this.internalStoresUnsubscribers.get(t)(),this.internalStoresUnsubscribers.delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function $t(t){var i;return null===(i=t)||void 0===i?void 0:i.isFtReduxStore}var Ot,St,kt;const Ct=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(kt=null===(St=null===(Ot=window.safari)||void 0===Ot?void 0:Ot.pushNotification)||void 0===St?void 0:St.toString())&&void 0!==kt?kt:""),Nt=g`
96
107
  :host {
97
108
  display: inline-block;
98
109
  }
99
- `;var Nt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Et extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Rt extends(function(t){class i extends t{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store)}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new Et)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Nt([n()],i.prototype,"stateManager",void 0),i}(bt)){}
110
+ `;var Et=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Rt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Mt extends(function(t){class i extends t{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store)}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new Rt)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Et([n()],i.prototype,"stateManager",void 0),i}(wt)){}
100
111
  /**
101
112
  * @license
102
113
  * Copyright 2020 Google LLC
103
114
  * SPDX-License-Identifier: BSD-3-Clause
104
- */const Mt=Symbol.for(""),zt=t=>{if((null==t?void 0:t.r)===Mt)return null==t?void 0:t._$litStatic$},Ut=t=>({_$litStatic$:t,r:Mt}),jt=new Map,Ft=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=zt(r));)l+=n+i[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=jt.get(t))&&(s.raw=s,jt.set(t,i=s)),e=a}return t(i,...e)})(V);var At;!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"}(At||(At={}));const Bt=ut.extend("--ft-typography-font-family",yt.titleFont),Tt=ut.extend("--ft-typography-font-family",yt.contentFont),Lt={fontFamily:Tt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},Pt=ut.extend("--ft-typography-title-font-family",Bt),_t=ut.extend("--ft-typography-title-font-size",Lt.fontSize,"20px"),It=ut.extend("--ft-typography-title-font-weight",Lt.fontWeight,"normal"),Dt=ut.extend("--ft-typography-title-letter-spacing",Lt.letterSpacing,"0.15px"),Wt=ut.extend("--ft-typography-title-line-height",Lt.lineHeight,"1.2"),Kt=ut.extend("--ft-typography-title-text-transform",Lt.textTransform,"inherit"),Ht=ut.extend("--ft-typography-title-dense-font-family",Bt),Zt=ut.extend("--ft-typography-title-dense-font-size",Lt.fontSize,"14px"),Vt=ut.extend("--ft-typography-title-dense-font-weight",Lt.fontWeight,"normal"),Jt=ut.extend("--ft-typography-title-dense-letter-spacing",Lt.letterSpacing,"0.105px"),qt=ut.extend("--ft-typography-title-dense-line-height",Lt.lineHeight,"1.7"),Xt=ut.extend("--ft-typography-title-dense-text-transform",Lt.textTransform,"inherit"),Yt=ut.extend("--ft-typography-subtitle1-font-family",Tt),Gt=ut.extend("--ft-typography-subtitle1-font-size",Lt.fontSize,"16px"),Qt=ut.extend("--ft-typography-subtitle1-font-weight",Lt.fontWeight,"600"),ti=ut.extend("--ft-typography-subtitle1-letter-spacing",Lt.letterSpacing,"0.144px"),ii=ut.extend("--ft-typography-subtitle1-line-height",Lt.lineHeight,"1.5"),ei=ut.extend("--ft-typography-subtitle1-text-transform",Lt.textTransform,"inherit"),oi=ut.extend("--ft-typography-subtitle2-font-family",Tt),ni=ut.extend("--ft-typography-subtitle2-font-size",Lt.fontSize,"14px"),ri=ut.extend("--ft-typography-subtitle2-font-weight",Lt.fontWeight,"normal"),si=ut.extend("--ft-typography-subtitle2-letter-spacing",Lt.letterSpacing,"0.098px"),ai=ut.extend("--ft-typography-subtitle2-line-height",Lt.lineHeight,"1.7"),li=ut.extend("--ft-typography-subtitle2-text-transform",Lt.textTransform,"inherit"),hi=ut.extend("--ft-typography-body1-font-family",Tt),ci=ut.extend("--ft-typography-body1-font-size",Lt.fontSize,"16px"),pi=ut.extend("--ft-typography-body1-font-weight",Lt.fontWeight,"normal"),fi=ut.extend("--ft-typography-body1-letter-spacing",Lt.letterSpacing,"0.496px"),di=ut.extend("--ft-typography-body1-line-height",Lt.lineHeight,"1.5"),ui=ut.extend("--ft-typography-body1-text-transform",Lt.textTransform,"inherit"),vi={fontFamily:ut.extend("--ft-typography-body2-font-family",Tt),fontSize:ut.extend("--ft-typography-body2-font-size",Lt.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-body2-font-weight",Lt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body2-letter-spacing",Lt.letterSpacing,"0.252px"),lineHeight:ut.extend("--ft-typography-body2-line-height",Lt.lineHeight,"1.4"),textTransform:ut.extend("--ft-typography-body2-text-transform",Lt.textTransform,"inherit")},yi=ut.extend("--ft-typography-caption-font-family",Tt),gi=ut.extend("--ft-typography-caption-font-size",Lt.fontSize,"12px"),xi=ut.extend("--ft-typography-caption-font-weight",Lt.fontWeight,"normal"),mi=ut.extend("--ft-typography-caption-letter-spacing",Lt.letterSpacing,"0.396px"),bi=ut.extend("--ft-typography-caption-line-height",Lt.lineHeight,"1.33"),wi=ut.extend("--ft-typography-caption-text-transform",Lt.textTransform,"inherit"),$i=ut.extend("--ft-typography-breadcrumb-font-family",Tt),Oi=ut.extend("--ft-typography-breadcrumb-font-size",Lt.fontSize,"10px"),Si=ut.extend("--ft-typography-breadcrumb-font-weight",Lt.fontWeight,"normal"),ki=ut.extend("--ft-typography-breadcrumb-letter-spacing",Lt.letterSpacing,"0.33px"),Ci=ut.extend("--ft-typography-breadcrumb-line-height",Lt.lineHeight,"1.6"),Ni=ut.extend("--ft-typography-breadcrumb-text-transform",Lt.textTransform,"inherit"),Ei=ut.extend("--ft-typography-overline-font-family",Tt),Ri=ut.extend("--ft-typography-overline-font-size",Lt.fontSize,"10px"),Mi=ut.extend("--ft-typography-overline-font-weight",Lt.fontWeight,"normal"),zi=ut.extend("--ft-typography-overline-letter-spacing",Lt.letterSpacing,"1.5px"),Ui=ut.extend("--ft-typography-overline-line-height",Lt.lineHeight,"1.6"),ji=ut.extend("--ft-typography-overline-text-transform",Lt.textTransform,"uppercase"),Fi=ut.extend("--ft-typography-button-font-family",Tt),Ai=ut.extend("--ft-typography-button-font-size",Lt.fontSize,"14px"),Bi=ut.extend("--ft-typography-button-font-weight",Lt.fontWeight,"600"),Ti=ut.extend("--ft-typography-button-letter-spacing",Lt.letterSpacing,"1.246px"),Li=ut.extend("--ft-typography-button-line-height",Lt.lineHeight,"1.15"),Pi=ut.extend("--ft-typography-button-text-transform",Lt.textTransform,"uppercase"),_i=g`
115
+ */const jt=Symbol.for(""),zt=t=>{if((null==t?void 0:t.r)===jt)return null==t?void 0:t._$litStatic$},Ut=t=>({_$litStatic$:t,r:jt}),Ft=new Map,At=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=zt(r));)l+=n+i[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=Ft.get(t))&&(s.raw=s,Ft.set(t,i=s)),e=a}return t(i,...e)})(V);var Bt;!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"}(Bt||(Bt={}));const Tt=ut.extend("--ft-typography-font-family",yt.titleFont),Lt=ut.extend("--ft-typography-font-family",yt.contentFont),Pt={fontFamily:Lt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},_t=ut.extend("--ft-typography-title-font-family",Tt),It=ut.extend("--ft-typography-title-font-size",Pt.fontSize,"20px"),Dt=ut.extend("--ft-typography-title-font-weight",Pt.fontWeight,"normal"),Wt=ut.extend("--ft-typography-title-letter-spacing",Pt.letterSpacing,"0.15px"),Kt=ut.extend("--ft-typography-title-line-height",Pt.lineHeight,"1.2"),Ht=ut.extend("--ft-typography-title-text-transform",Pt.textTransform,"inherit"),Zt=ut.extend("--ft-typography-title-dense-font-family",Tt),Vt=ut.extend("--ft-typography-title-dense-font-size",Pt.fontSize,"14px"),Jt=ut.extend("--ft-typography-title-dense-font-weight",Pt.fontWeight,"normal"),qt=ut.extend("--ft-typography-title-dense-letter-spacing",Pt.letterSpacing,"0.105px"),Xt=ut.extend("--ft-typography-title-dense-line-height",Pt.lineHeight,"1.7"),Yt=ut.extend("--ft-typography-title-dense-text-transform",Pt.textTransform,"inherit"),Gt=ut.extend("--ft-typography-subtitle1-font-family",Lt),Qt=ut.extend("--ft-typography-subtitle1-font-size",Pt.fontSize,"16px"),ti=ut.extend("--ft-typography-subtitle1-font-weight",Pt.fontWeight,"600"),ii=ut.extend("--ft-typography-subtitle1-letter-spacing",Pt.letterSpacing,"0.144px"),ei=ut.extend("--ft-typography-subtitle1-line-height",Pt.lineHeight,"1.5"),oi=ut.extend("--ft-typography-subtitle1-text-transform",Pt.textTransform,"inherit"),ni=ut.extend("--ft-typography-subtitle2-font-family",Lt),ri=ut.extend("--ft-typography-subtitle2-font-size",Pt.fontSize,"14px"),si=ut.extend("--ft-typography-subtitle2-font-weight",Pt.fontWeight,"normal"),ai=ut.extend("--ft-typography-subtitle2-letter-spacing",Pt.letterSpacing,"0.098px"),li=ut.extend("--ft-typography-subtitle2-line-height",Pt.lineHeight,"1.7"),hi=ut.extend("--ft-typography-subtitle2-text-transform",Pt.textTransform,"inherit"),ci=ut.extend("--ft-typography-body1-font-family",Lt),pi=ut.extend("--ft-typography-body1-font-size",Pt.fontSize,"16px"),fi=ut.extend("--ft-typography-body1-font-weight",Pt.fontWeight,"normal"),di=ut.extend("--ft-typography-body1-letter-spacing",Pt.letterSpacing,"0.496px"),ui=ut.extend("--ft-typography-body1-line-height",Pt.lineHeight,"1.5"),vi=ut.extend("--ft-typography-body1-text-transform",Pt.textTransform,"inherit"),yi={fontFamily:ut.extend("--ft-typography-body2-font-family",Lt),fontSize:ut.extend("--ft-typography-body2-font-size",Pt.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-body2-font-weight",Pt.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body2-letter-spacing",Pt.letterSpacing,"0.252px"),lineHeight:ut.extend("--ft-typography-body2-line-height",Pt.lineHeight,"1.4"),textTransform:ut.extend("--ft-typography-body2-text-transform",Pt.textTransform,"inherit")},gi=ut.extend("--ft-typography-caption-font-family",Lt),xi=ut.extend("--ft-typography-caption-font-size",Pt.fontSize,"12px"),mi=ut.extend("--ft-typography-caption-font-weight",Pt.fontWeight,"normal"),bi=ut.extend("--ft-typography-caption-letter-spacing",Pt.letterSpacing,"0.396px"),wi=ut.extend("--ft-typography-caption-line-height",Pt.lineHeight,"1.33"),$i=ut.extend("--ft-typography-caption-text-transform",Pt.textTransform,"inherit"),Oi=ut.extend("--ft-typography-breadcrumb-font-family",Lt),Si=ut.extend("--ft-typography-breadcrumb-font-size",Pt.fontSize,"10px"),ki=ut.extend("--ft-typography-breadcrumb-font-weight",Pt.fontWeight,"normal"),Ci=ut.extend("--ft-typography-breadcrumb-letter-spacing",Pt.letterSpacing,"0.33px"),Ni=ut.extend("--ft-typography-breadcrumb-line-height",Pt.lineHeight,"1.6"),Ei=ut.extend("--ft-typography-breadcrumb-text-transform",Pt.textTransform,"inherit"),Ri=ut.extend("--ft-typography-overline-font-family",Lt),Mi=ut.extend("--ft-typography-overline-font-size",Pt.fontSize,"10px"),ji=ut.extend("--ft-typography-overline-font-weight",Pt.fontWeight,"normal"),zi=ut.extend("--ft-typography-overline-letter-spacing",Pt.letterSpacing,"1.5px"),Ui=ut.extend("--ft-typography-overline-line-height",Pt.lineHeight,"1.6"),Fi=ut.extend("--ft-typography-overline-text-transform",Pt.textTransform,"uppercase"),Ai=ut.extend("--ft-typography-button-font-family",Lt),Bi=ut.extend("--ft-typography-button-font-size",Pt.fontSize,"14px"),Ti=ut.extend("--ft-typography-button-font-weight",Pt.fontWeight,"600"),Li=ut.extend("--ft-typography-button-letter-spacing",Pt.letterSpacing,"1.246px"),Pi=ut.extend("--ft-typography-button-line-height",Pt.lineHeight,"1.15"),_i=ut.extend("--ft-typography-button-text-transform",Pt.textTransform,"uppercase"),Ii=g`
105
116
  .ft-typography--title {
106
- font-family: ${Pt};
107
- font-size: ${_t};
108
- font-weight: ${It};
109
- letter-spacing: ${Dt};
110
- line-height: ${Wt};
111
- text-transform: ${Kt};
112
- }
113
- `,Ii=g`
114
- .ft-typography--title-dense {
115
- font-family: ${Ht};
116
- font-size: ${Zt};
117
- font-weight: ${Vt};
118
- letter-spacing: ${Jt};
119
- line-height: ${qt};
120
- text-transform: ${Xt};
117
+ font-family: ${_t};
118
+ font-size: ${It};
119
+ font-weight: ${Dt};
120
+ letter-spacing: ${Wt};
121
+ line-height: ${Kt};
122
+ text-transform: ${Ht};
121
123
  }
122
124
  `,Di=g`
123
- .ft-typography--subtitle1 {
124
- font-family: ${Yt};
125
- font-size: ${Gt};
126
- font-weight: ${Qt};
127
- letter-spacing: ${ti};
128
- line-height: ${ii};
129
- text-transform: ${ei};
125
+ .ft-typography--title-dense {
126
+ font-family: ${Zt};
127
+ font-size: ${Vt};
128
+ font-weight: ${Jt};
129
+ letter-spacing: ${qt};
130
+ line-height: ${Xt};
131
+ text-transform: ${Yt};
130
132
  }
131
133
  `,Wi=g`
134
+ .ft-typography--subtitle1 {
135
+ font-family: ${Gt};
136
+ font-size: ${Qt};
137
+ font-weight: ${ti};
138
+ letter-spacing: ${ii};
139
+ line-height: ${ei};
140
+ text-transform: ${oi};
141
+ }
142
+ `,Ki=g`
132
143
  .ft-typography--subtitle2 {
133
- font-family: ${oi};
134
- font-size: ${ni};
135
- font-weight: ${ri};
136
- letter-spacing: ${si};
137
- line-height: ${ai};
138
- text-transform: ${li};
144
+ font-family: ${ni};
145
+ font-size: ${ri};
146
+ font-weight: ${si};
147
+ letter-spacing: ${ai};
148
+ line-height: ${li};
149
+ text-transform: ${hi};
139
150
  }
140
151
 
141
- `,Ki=g`
152
+ `,Hi=g`
142
153
  .ft-typography--body1 {
143
- font-family: ${hi};
144
- font-size: ${ci};
145
- font-weight: ${pi};
146
- letter-spacing: ${fi};
147
- line-height: ${di};
148
- text-transform: ${ui};
154
+ font-family: ${ci};
155
+ font-size: ${pi};
156
+ font-weight: ${fi};
157
+ letter-spacing: ${di};
158
+ line-height: ${ui};
159
+ text-transform: ${vi};
149
160
  }
150
- `,Hi=g`
161
+ `,Zi=g`
151
162
  .ft-typography--body2 {
152
- font-family: ${vi.fontFamily};
153
- font-size: ${vi.fontSize};
154
- font-weight: ${vi.fontWeight};
155
- letter-spacing: ${vi.letterSpacing};
156
- line-height: ${vi.lineHeight};
157
- text-transform: ${vi.textTransform};
163
+ font-family: ${yi.fontFamily};
164
+ font-size: ${yi.fontSize};
165
+ font-weight: ${yi.fontWeight};
166
+ letter-spacing: ${yi.letterSpacing};
167
+ line-height: ${yi.lineHeight};
168
+ text-transform: ${yi.textTransform};
158
169
  }
159
- `,Zi=g`
170
+ `,Vi=g`
160
171
  .ft-typography--caption {
161
- font-family: ${yi};
162
- font-size: ${gi};
163
- font-weight: ${xi};
164
- letter-spacing: ${mi};
165
- line-height: ${bi};
166
- text-transform: ${wi};
172
+ font-family: ${gi};
173
+ font-size: ${xi};
174
+ font-weight: ${mi};
175
+ letter-spacing: ${bi};
176
+ line-height: ${wi};
177
+ text-transform: ${$i};
167
178
  }
168
- `,Vi=g`
179
+ `,Ji=g`
169
180
  .ft-typography--breadcrumb {
170
- font-family: ${$i};
171
- font-size: ${Oi};
172
- font-weight: ${Si};
173
- letter-spacing: ${ki};
174
- line-height: ${Ci};
175
- text-transform: ${Ni};
181
+ font-family: ${Oi};
182
+ font-size: ${Si};
183
+ font-weight: ${ki};
184
+ letter-spacing: ${Ci};
185
+ line-height: ${Ni};
186
+ text-transform: ${Ei};
176
187
  }
177
- `,Ji=g`
188
+ `,qi=g`
178
189
  .ft-typography--overline {
179
- font-family: ${Ei};
180
- font-size: ${Ri};
181
- font-weight: ${Mi};
190
+ font-family: ${Ri};
191
+ font-size: ${Mi};
192
+ font-weight: ${ji};
182
193
  letter-spacing: ${zi};
183
194
  line-height: ${Ui};
184
- text-transform: ${ji};
185
- }
186
- `,qi=g`
187
- .ft-typography--button {
188
- font-family: ${Fi};
189
- font-size: ${Ai};
190
- font-weight: ${Bi};
191
- letter-spacing: ${Ti};
192
- line-height: ${Li};
193
- text-transform: ${Pi};
195
+ text-transform: ${Fi};
194
196
  }
195
197
  `,Xi=g`
198
+ .ft-typography--button {
199
+ font-family: ${Ai};
200
+ font-size: ${Bi};
201
+ font-weight: ${Ti};
202
+ letter-spacing: ${Li};
203
+ line-height: ${Pi};
204
+ text-transform: ${_i};
205
+ }
206
+ `,Yi=g`
196
207
  .ft-typography {
197
208
  vertical-align: inherit;
198
209
  }
199
- `;var Yi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Gi extends xt{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?Ft`
210
+ `;var Gi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Qi extends xt{constructor(){super(...arguments),this.variant=Bt.body1}render(){return this.element?At`
200
211
  <${Ut(this.element)}
201
212
  class="ft-typography ft-typography--${this.variant}">
202
213
  <slot></slot>
203
214
  </${Ut(this.element)}>
204
- `:Ft`
215
+ `:At`
205
216
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
206
- `}}Gi.styles=[_i,Ii,Di,Wi,Ki,Hi,Zi,Vi,Ji,qi,Xi],Yi([o()],Gi.prototype,"element",void 0),Yi([o()],Gi.prototype,"variant",void 0),h("ft-typography")(Gi);const Qi=ut.create("--ft-tooltip-distance","SIZE","4px"),te=ut.create("--ft-tooltip-color","COLOR","#FFFFFF"),ie=ut.create("--ft-tooltip-background-color","COLOR","#666666"),ee=ut.create("--ft-tooltip-z-index","NUMBER","1"),oe=ut.external(yt.borderRadiusS,"Design system"),ne=ut.create("--ft-tooltip-max-width","SIZE","150px"),re=g`
217
+ `}}Qi.styles=[Ii,Di,Wi,Ki,Hi,Zi,Vi,Ji,qi,Xi,Yi],Gi([o()],Qi.prototype,"element",void 0),Gi([o()],Qi.prototype,"variant",void 0),h("ft-typography")(Qi);const te=ut.create("--ft-tooltip-distance","SIZE","4px"),ie=ut.create("--ft-tooltip-color","COLOR","#FFFFFF"),ee=ut.create("--ft-tooltip-background-color","COLOR","#666666"),oe=ut.create("--ft-tooltip-z-index","NUMBER","1"),ne=ut.external(yt.borderRadiusS,"Design system"),re=ut.create("--ft-tooltip-max-width","SIZE","150px"),se=g`
207
218
  .ft-tooltip--container {
208
219
  display: block;
209
220
  position: relative;
@@ -219,23 +230,23 @@ var ct,pt;class ft extends E{constructor(){super(...arguments),this.renderOption
219
230
  box-sizing: border-box;
220
231
  overflow: hidden;
221
232
  width: max-content;
222
- max-width: ${ne};
233
+ max-width: ${re};
223
234
  text-align: center;
224
- padding: ${Qi};
225
- z-index: ${ee};
235
+ padding: ${te};
236
+ z-index: ${oe};
226
237
  }
227
238
 
228
239
  .ft-tooltip--content {
229
240
  padding: 4px 8px;
230
- border-radius: ${oe};
231
- background-color: ${ie};
232
- color: ${te};
241
+ border-radius: ${ne};
242
+ background-color: ${ee};
243
+ color: ${ie};
233
244
  top: -500px;
234
245
  left: -500px;
235
246
  position: relative;
236
247
  word-break: break-word;
237
248
  }
238
- `;var se=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class ae extends xt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return V`
249
+ `;var ae=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class le extends xt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return V`
239
250
  <div part="container"
240
251
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
241
252
  @mouseenter=${this.onHover}
@@ -253,24 +264,24 @@ var ct,pt;class ft extends E{constructor(){super(...arguments),this.renderOption
253
264
  </div>
254
265
  </div>
255
266
  </div>
256
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2;let n=0,r=0;switch(this.validPosition){case"top":r=-this.tooltip.clientHeight,n=o;break;case"bottom":r=i.height,n=o;break;case"left":r=e,n=-this.tooltip.clientWidth;break;case"right":r=e,n=i.width}i.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+n<0&&(n=0);const s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${ne})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}ae.elementDefinitions={"ft-typography":Gi},ae.styles=re,se([o()],ae.prototype,"text",void 0),se([o({type:Boolean})],ae.prototype,"manual",void 0),se([o({type:Boolean})],ae.prototype,"inline",void 0),se([o({type:Number})],ae.prototype,"delay",void 0),se([o()],ae.prototype,"position",void 0),se([
267
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2;let n=0,r=0;switch(this.validPosition){case"top":r=-this.tooltip.clientHeight,n=o;break;case"bottom":r=i.height,n=o;break;case"left":r=e,n=-this.tooltip.clientWidth;break;case"right":r=e,n=i.width}i.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+n<0&&(n=0);const s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${re})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}le.elementDefinitions={"ft-typography":Qi},le.styles=se,ae([o()],le.prototype,"text",void 0),ae([o({type:Boolean})],le.prototype,"manual",void 0),ae([o({type:Boolean})],le.prototype,"inline",void 0),ae([o({type:Number})],le.prototype,"delay",void 0),ae([o()],le.prototype,"position",void 0),ae([
257
268
  /**
258
269
  * @license
259
270
  * Copyright 2017 Google LLC
260
271
  * SPDX-License-Identifier: BSD-3-Clause
261
272
  */
262
- function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?l(r,t):[];return e?s.filter((t=>t.matches(e))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:i,selector:e}):r({descriptor:t=>({get(){var t,i;const e="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==r?void 0:r.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],ae.prototype,"slotNodes",void 0),se([s(".ft-tooltip--container")],ae.prototype,"container",void 0),se([s("slot")],ae.prototype,"target",void 0),se([s(".ft-tooltip")],ae.prototype,"tooltip",void 0),se([s(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0),se([n()],ae.prototype,"visible",void 0),h("ft-tooltip")(ae);
273
+ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?l(r,t):[];return e?s.filter((t=>t.matches(e))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:i,selector:e}):r({descriptor:t=>({get(){var t,i;const e="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==r?void 0:r.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],le.prototype,"slotNodes",void 0),ae([s(".ft-tooltip--container")],le.prototype,"container",void 0),ae([s("slot")],le.prototype,"target",void 0),ae([s(".ft-tooltip")],le.prototype,"tooltip",void 0),ae([s(".ft-tooltip--content")],le.prototype,"tooltipContent",void 0),ae([n()],le.prototype,"visible",void 0),h("ft-tooltip")(le);
263
274
  /**
264
275
  * @license
265
276
  * Copyright 2017 Google LLC
266
277
  * SPDX-License-Identifier: BSD-3-Clause
267
278
  */
268
- const le=1,he=2,ce=t=>(...i)=>({_$litDirective$:t,values:i});class pe{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
279
+ const he=1,ce=2,pe=t=>(...i)=>({_$litDirective$:t,values:i});class fe{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
269
280
  /**
270
281
  * @license
271
282
  * Copyright 2018 Google LLC
272
283
  * SPDX-License-Identifier: BSD-3-Clause
273
- */const fe=ce(class extends pe{constructor(t){var i;if(super(t),t.type!==le||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(i)}const n=t.element.classList;this.nt.forEach((t=>{t in i||(n.remove(t),this.nt.delete(t))}));for(const t in i){const e=!!i[t];e===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(e?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return J}}),de=ut.extend("--ft-ripple-color",yt.colorContent),ue={color:de,backgroundColor:ut.extend("--ft-ripple-background-color",de),opacityContentOnSurfacePressed:ut.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ut.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ut.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ut.external(yt.opacityContentOnSurfaceSelected,"Design system")},ve=ut.extend("--ft-ripple-color",yt.colorPrimary),ye=ve,ge=ut.extend("--ft-ripple-background-color",ve),xe=ut.extend("--ft-ripple-color",yt.colorSecondary),me=xe,be=ut.extend("--ft-ripple-background-color",xe),we=g`
284
+ */const de=pe(class extends fe{constructor(t){var i;if(super(t),t.type!==he||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(i)}const n=t.element.classList;this.nt.forEach((t=>{t in i||(n.remove(t),this.nt.delete(t))}));for(const t in i){const e=!!i[t];e===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(e?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return J}}),ue=ut.extend("--ft-ripple-color",yt.colorContent),ve={color:ue,backgroundColor:ut.extend("--ft-ripple-background-color",ue),opacityContentOnSurfacePressed:ut.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ut.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ut.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ut.external(yt.opacityContentOnSurfaceSelected,"Design system")},ye=ut.extend("--ft-ripple-color",yt.colorPrimary),ge=ye,xe=ut.extend("--ft-ripple-background-color",ye),me=ut.extend("--ft-ripple-color",yt.colorSecondary),be=me,we=ut.extend("--ft-ripple-background-color",me),$e=g`
274
285
  :host {
275
286
  display: contents;
276
287
  }
@@ -292,27 +303,27 @@ const le=1,he=2,ce=t=>(...i)=>({_$litDirective$:t,values:i});class pe{constructo
292
303
  }
293
304
 
294
305
  .ft-ripple .ft-ripple--background {
295
- background-color: ${ue.backgroundColor};
306
+ background-color: ${ve.backgroundColor};
296
307
  }
297
308
 
298
309
  .ft-ripple .ft-ripple--effect {
299
- background-color: ${ue.color};
310
+ background-color: ${ve.color};
300
311
  }
301
312
 
302
313
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
303
- background-color: ${be};
314
+ background-color: ${we};
304
315
  }
305
316
 
306
317
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
307
- background-color: ${me};
318
+ background-color: ${be};
308
319
  }
309
320
 
310
321
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
311
- background-color: ${ge};
322
+ background-color: ${xe};
312
323
  }
313
324
 
314
325
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
315
- background-color: ${ye};
326
+ background-color: ${ge};
316
327
  }
317
328
 
318
329
  .ft-ripple .ft-ripple--background {
@@ -344,22 +355,22 @@ const le=1,he=2,ce=t=>(...i)=>({_$litDirective$:t,values:i});class pe{constructo
344
355
  }
345
356
 
346
357
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
347
- opacity: ${ue.opacityContentOnSurfaceHover};
358
+ opacity: ${ve.opacityContentOnSurfaceHover};
348
359
  }
349
360
 
350
361
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
351
- opacity: ${ue.opacityContentOnSurfaceSelected};
362
+ opacity: ${ve.opacityContentOnSurfaceSelected};
352
363
  }
353
364
 
354
365
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
355
- opacity: ${ue.opacityContentOnSurfaceFocused};
366
+ opacity: ${ve.opacityContentOnSurfaceFocused};
356
367
  }
357
368
 
358
369
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
359
- opacity: ${ue.opacityContentOnSurfacePressed};
370
+ opacity: ${ve.opacityContentOnSurfacePressed};
360
371
  transform: translate(-50%, -50%) scale(1);
361
372
  }
362
- `;var $e=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Oe extends xt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return V`
373
+ `;var Oe=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Se extends xt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return V`
363
374
  <style>
364
375
  .ft-ripple .ft-ripple--effect,
365
376
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -372,17 +383,17 @@ const le=1,he=2,ce=t=>(...i)=>({_$litDirective$:t,values:i});class pe{constructo
372
383
  top: ${this.originY}px;
373
384
  }
374
385
  </style>
375
- <div class="${fe(t)}">
386
+ <div class="${de(t)}">
376
387
  <div class="ft-ripple--background"></div>
377
388
  <div class="ft-ripple--effect"></div>
378
389
  </div>
379
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),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",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Oe.elementDefinitions={},Oe.styles=we,$e([o({type:Boolean})],Oe.prototype,"primary",void 0),$e([o({type:Boolean})],Oe.prototype,"secondary",void 0),$e([o({type:Boolean})],Oe.prototype,"unbounded",void 0),$e([o({type:Boolean})],Oe.prototype,"activated",void 0),$e([o({type:Boolean})],Oe.prototype,"selected",void 0),$e([o({type:Boolean})],Oe.prototype,"disabled",void 0),$e([n()],Oe.prototype,"hovered",void 0),$e([n()],Oe.prototype,"focused",void 0),$e([n()],Oe.prototype,"pressed",void 0),$e([n()],Oe.prototype,"rippling",void 0),$e([n()],Oe.prototype,"rippleSize",void 0),$e([n()],Oe.prototype,"originX",void 0),$e([n()],Oe.prototype,"originY",void 0),$e([s(".ft-ripple")],Oe.prototype,"ripple",void 0),$e([s(".ft-ripple--effect")],Oe.prototype,"rippleEffect",void 0),h("ft-ripple")(Oe);
390
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),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",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Se.elementDefinitions={},Se.styles=$e,Oe([o({type:Boolean})],Se.prototype,"primary",void 0),Oe([o({type:Boolean})],Se.prototype,"secondary",void 0),Oe([o({type:Boolean})],Se.prototype,"unbounded",void 0),Oe([o({type:Boolean})],Se.prototype,"activated",void 0),Oe([o({type:Boolean})],Se.prototype,"selected",void 0),Oe([o({type:Boolean})],Se.prototype,"disabled",void 0),Oe([n()],Se.prototype,"hovered",void 0),Oe([n()],Se.prototype,"focused",void 0),Oe([n()],Se.prototype,"pressed",void 0),Oe([n()],Se.prototype,"rippling",void 0),Oe([n()],Se.prototype,"rippleSize",void 0),Oe([n()],Se.prototype,"originX",void 0),Oe([n()],Se.prototype,"originY",void 0),Oe([s(".ft-ripple")],Se.prototype,"ripple",void 0),Oe([s(".ft-ripple--effect")],Se.prototype,"rippleEffect",void 0),h("ft-ripple")(Se);
380
391
  /**
381
392
  * @license
382
393
  * Copyright 2017 Google LLC
383
394
  * SPDX-License-Identifier: BSD-3-Clause
384
395
  */
385
- class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this._t=void 0,this.it=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Se.directiveName="unsafeHTML",Se.resultType=1;const ke=ce(Se);var Ce,Ne;!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.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.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.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",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;"}(Ce||(Ce={})),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;"}(Ne||(Ne={})),new Map([...["abw"].map((t=>[t,Ne.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,Ne.AUDIO])),...["avi"].map((t=>[t,Ne.AVI])),...["chm","xhs"].map((t=>[t,Ne.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,Ne.CODE])),...["csv"].map((t=>[t,Ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ne.DITA])),...["epub"].map((t=>[t,Ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ne.EXCEL])),...["flac"].map((t=>[t,Ne.FLAC])),...["gif"].map((t=>[t,Ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ne.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,Ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ne.JPEG])),...["json"].map((t=>[t,Ne.JSON])),...["m4a","m4p"].map((t=>[t,Ne.M4A])),...["mov","qt"].map((t=>[t,Ne.MOV])),...["mp3"].map((t=>[t,Ne.MP3])),...["mp4","m4v"].map((t=>[t,Ne.MP4])),...["ogg","oga"].map((t=>[t,Ne.OGG])),...["pdf","ps"].map((t=>[t,Ne.PDF])),...["png"].map((t=>[t,Ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ne.POWERPOINT])),...["rar"].map((t=>[t,Ne.RAR])),...["stp"].map((t=>[t,Ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ne.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,Ne.VIDEO])),...["wav"].map((t=>[t,Ne.WAV])),...["wma"].map((t=>[t,Ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ne.YAML])),...["zip"].map((t=>[t,Ne.ZIP]))]);const Ee={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ut.create("--ft-icon-vertical-align","UNKNOWN","unset")},Re=g`
396
+ class ke extends fe{constructor(t){if(super(t),this.it=q,t.type!==ce)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this._t=void 0,this.it=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}ke.directiveName="unsafeHTML",ke.resultType=1;const Ce=pe(ke);var Ne,Ee;!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.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.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.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",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;"}(Ne||(Ne={})),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;"}(Ee||(Ee={})),new Map([...["abw"].map((t=>[t,Ee.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,Ee.AUDIO])),...["avi"].map((t=>[t,Ee.AVI])),...["chm","xhs"].map((t=>[t,Ee.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,Ee.CODE])),...["csv"].map((t=>[t,Ee.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ee.DITA])),...["epub"].map((t=>[t,Ee.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ee.EXCEL])),...["flac"].map((t=>[t,Ee.FLAC])),...["gif"].map((t=>[t,Ee.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ee.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ee.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,Ee.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ee.JPEG])),...["json"].map((t=>[t,Ee.JSON])),...["m4a","m4p"].map((t=>[t,Ee.M4A])),...["mov","qt"].map((t=>[t,Ee.MOV])),...["mp3"].map((t=>[t,Ee.MP3])),...["mp4","m4v"].map((t=>[t,Ee.MP4])),...["ogg","oga"].map((t=>[t,Ee.OGG])),...["pdf","ps"].map((t=>[t,Ee.PDF])),...["png"].map((t=>[t,Ee.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ee.POWERPOINT])),...["rar"].map((t=>[t,Ee.RAR])),...["stp"].map((t=>[t,Ee.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ee.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,Ee.VIDEO])),...["wav"].map((t=>[t,Ee.WAV])),...["wma"].map((t=>[t,Ee.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ee.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ee.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ee.YAML])),...["zip"].map((t=>[t,Ee.ZIP]))]);const Re={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ut.create("--ft-icon-vertical-align","UNKNOWN","unset")},Me=g`
386
397
  :host, i.ft-icon {
387
398
  display: inline-flex;
388
399
  align-items: center;
@@ -391,14 +402,14 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
391
402
  }
392
403
 
393
404
  :host {
394
- width: ${Ee.size};
395
- height: ${Ee.size};
405
+ width: ${Re.size};
406
+ height: ${Re.size};
396
407
  }
397
408
 
398
409
  i.ft-icon {
399
410
  width: 100%;
400
411
  height: 100%;
401
- font-size: ${Ee.size};
412
+ font-size: ${Re.size};
402
413
  line-height: 1;
403
414
  font-weight: normal;
404
415
  text-transform: none;
@@ -409,32 +420,32 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
409
420
  text-rendering: auto;
410
421
  -webkit-font-smoothing: antialiased;
411
422
  -moz-osx-font-smoothing: grayscale;
412
- vertical-align: ${Ee.verticalAlign};
423
+ vertical-align: ${Re.verticalAlign};
413
424
  }
414
425
 
415
426
  i.ft-icon.ft-icon--fluid-topics {
416
- font-family: ${Ee.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
427
+ font-family: ${Re.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
417
428
 
418
429
  /* Ugly fix because font is broken */
419
- font-size: calc(0.9 * ${Ee.size});
430
+ font-size: calc(0.9 * ${Re.size});
420
431
  position: relative;
421
432
  top: -5%;
422
433
  justify-content: center;
423
434
  }
424
435
 
425
436
  .ft-icon--file-format {
426
- font-family: ${Ee.fileFormatFontFamily}, ft-mime, sans-serif;
437
+ font-family: ${Re.fileFormatFontFamily}, ft-mime, sans-serif;
427
438
  }
428
439
 
429
440
  .ft-icon--material {
430
- font-family: ${Ee.materialFontFamily}, "Material Icons", sans-serif;
441
+ font-family: ${Re.materialFontFamily}, "Material Icons", sans-serif;
431
442
  }
432
- `;var Me;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Me||(Me={}));var ze=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ue extends xt{constructor(){super(...arguments),this.variant=Me.fluid_topics,this.resolvedIcon=q}render(){const t="material"!==this.variant||this.value;return V`
443
+ `;var je;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(je||(je={}));var ze=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ue extends xt{constructor(){super(...arguments),this.variant=je.fluid_topics,this.resolvedIcon=q}render(){const t="material"!==this.variant||this.value;return V`
433
444
  <i class="ft-icon ${"ft-icon--"+this.variant}">
434
- ${ke(this.resolvedIcon)}
445
+ ${Ce(this.resolvedIcon)}
435
446
  <slot ?hidden=${t}></slot>
436
447
  </i>
437
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case Me.file_format:this.resolvedIcon=null!==(t=Ne[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Me.fluid_topics:this.resolvedIcon=null!==(i=Ce[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e;break;default:this.resolvedIcon=this.value||q}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ue.elementDefinitions={},Ue.styles=Re,ze([o()],Ue.prototype,"variant",void 0),ze([o()],Ue.prototype,"value",void 0),ze([n()],Ue.prototype,"resolvedIcon",void 0),ze([s("slot")],Ue.prototype,"slottedContent",void 0),h("ft-icon")(Ue);const je=ut.extend("--ft-chip-color",yt.colorOnSurface),Fe={backgroundColor:ut.extend("--ft-chip-background-color",yt.colorSurface),color:je,fontSize:ut.extend("--ft-chip-font-size",vi.fontSize),iconSize:ut.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:ut.extend("--ft-chip-ripple-color",je),horizontalPadding:ut.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:ut.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:ut.external(yt.colorOutline,"Design system"),opacityDisabled:ut.external(yt.colorOpacityDisabled,"Design system")},Ae=ut.extend("--ft-chip-highlighted-color",ut.extend("--ft-chip-color",yt.colorOnPrimary)),Be={backgroundColor:ut.extend("--ft-chip-highlighted-background-color",ut.extend("--ft-chip-background-color",yt.colorPrimary)),color:Ae,rippleColor:ut.extend("--ft-chip-highlighted-ripple-color",Ae)},Te=ut.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Le=ut.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Pe=[mt,g`
448
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=null!==(t=Ee[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case je.fluid_topics:this.resolvedIcon=null!==(i=Ne[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e;break;default:this.resolvedIcon=this.value||q}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ue.elementDefinitions={},Ue.styles=Me,ze([o()],Ue.prototype,"variant",void 0),ze([o()],Ue.prototype,"value",void 0),ze([n()],Ue.prototype,"resolvedIcon",void 0),ze([s("slot")],Ue.prototype,"slottedContent",void 0),h("ft-icon")(Ue);const Fe=ut.extend("--ft-chip-color",yt.colorOnSurface),Ae={backgroundColor:ut.extend("--ft-chip-background-color",yt.colorSurface),color:Fe,fontSize:ut.extend("--ft-chip-font-size",yi.fontSize),iconSize:ut.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:ut.extend("--ft-chip-ripple-color",Fe),horizontalPadding:ut.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:ut.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:ut.external(yt.colorOutline,"Design system"),opacityDisabled:ut.external(yt.colorOpacityDisabled,"Design system")},Be=ut.extend("--ft-chip-highlighted-color",ut.extend("--ft-chip-color",yt.colorOnPrimary)),Te={backgroundColor:ut.extend("--ft-chip-highlighted-background-color",ut.extend("--ft-chip-background-color",yt.colorPrimary)),color:Be,rippleColor:ut.extend("--ft-chip-highlighted-ripple-color",Be)},Le=ut.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Pe=ut.create("--ft-chip-dense-vertical-padding","SIZE","4px"),_e=[mt,g`
438
449
  :host {
439
450
  display: inline-block;
440
451
  max-width: 100%;
@@ -451,20 +462,20 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
451
462
  box-sizing: border-box;
452
463
  pointer-events: auto;
453
464
 
454
- --ft-chip-internal-font-size: ${Fe.fontSize};
465
+ --ft-chip-internal-font-size: ${Ae.fontSize};
455
466
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
456
- ${vt(Ee.size,Fe.iconSize)};
457
- --ft-chip-internal-vertical-padding: ${Fe.verticalPadding};
458
- --ft-chip-internal-horizontal-padding: ${Fe.horizontalPadding};
467
+ ${vt(Re.size,Ae.iconSize)};
468
+ --ft-chip-internal-vertical-padding: ${Ae.verticalPadding};
469
+ --ft-chip-internal-horizontal-padding: ${Ae.horizontalPadding};
459
470
  --ft-chip-internal-icon-padding: 3px;
460
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Fe.iconSize});
471
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ae.iconSize});
461
472
 
462
- border: 1px solid ${Fe.colorOutline};
463
- color: ${Fe.color};
464
- ${vt(ue.color,Fe.rippleColor)};
473
+ border: 1px solid ${Ae.colorOutline};
474
+ color: ${Ae.color};
475
+ ${vt(ve.color,Ae.rippleColor)};
465
476
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
466
477
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
467
- background-color: ${Fe.backgroundColor};
478
+ background-color: ${Ae.backgroundColor};
468
479
  line-height: var(--ft-chip-internal-content-height);
469
480
  }
470
481
 
@@ -474,8 +485,8 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
474
485
 
475
486
  .ft-chip--dense {
476
487
  --ft-chip-internal-icon-padding: 3px;
477
- --ft-chip-internal-vertical-padding: ${Le};
478
- --ft-chip-internal-horizontal-padding: ${Te};
488
+ --ft-chip-internal-vertical-padding: ${Pe};
489
+ --ft-chip-internal-horizontal-padding: ${Le};
479
490
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
480
491
  }
481
492
 
@@ -487,15 +498,15 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
487
498
  cursor: default;
488
499
  pointer-events: none;
489
500
  filter: grayscale(1);
490
- opacity: ${Fe.opacityDisabled};
501
+ opacity: ${Ae.opacityDisabled};
491
502
  }
492
503
 
493
504
  .ft-chip--highlighted {
494
505
  border: none;
495
506
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
496
- background-color: ${Be.backgroundColor};
497
- ${vt(ue.color,Be.rippleColor)};
498
- color: ${Be.color};
507
+ background-color: ${Te.backgroundColor};
508
+ ${vt(ve.color,Te.rippleColor)};
509
+ color: ${Te.color};
499
510
  }
500
511
 
501
512
  .ft-chip--clickable {
@@ -528,8 +539,8 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
528
539
  vertical-align: bottom;
529
540
  display: block;
530
541
  margin: 0 var(--ft-chip-internal-horizontal-padding);
531
- ${vt(vi.fontSize,"var(--ft-chip-internal-font-size)")};
532
- ${vt(vi.lineHeight,"var(--ft-chip-internal-content-height)")};
542
+ ${vt(yi.fontSize,"var(--ft-chip-internal-font-size)")};
543
+ ${vt(yi.lineHeight,"var(--ft-chip-internal-content-height)")};
533
544
  }
534
545
 
535
546
  .ft-chip--safari-fix .ft-chip--label {
@@ -564,8 +575,8 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
564
575
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-container {
565
576
  order: -1;
566
577
  }
567
- `];var _e=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ie extends CustomEvent{constructor(){super("icon-click")}}class De extends xt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":kt};return V`
568
- <div class="${fe(t)}"
578
+ `];var Ie=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class De extends CustomEvent{constructor(){super("icon-click")}}class We extends xt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ct};return V`
579
+ <div class="${de(t)}"
569
580
  aria-label="${this.getLabel()}"
570
581
  tabindex="${this.interactionsOnChip?0:-1}"
571
582
  @keyup=${this.onKeyUp}>
@@ -583,7 +594,7 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
583
594
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
584
595
  <ft-icon variant="material">${this.internalIcon}</ft-icon>
585
596
  </div>
586
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ie))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ie))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}De.elementDefinitions={"ft-ripple":Oe,"ft-typography":Gi,"ft-icon":Ue},De.styles=Pe,_e([o({type:Boolean})],De.prototype,"highlighted",void 0),_e([o({type:Boolean})],De.prototype,"removable",void 0),_e([o({type:Boolean})],De.prototype,"disabled",void 0),_e([o({type:Boolean})],De.prototype,"clickable",void 0),_e([o({type:Boolean})],De.prototype,"iconClickable",void 0),_e([o({type:Boolean})],De.prototype,"dense",void 0),_e([o({type:Boolean})],De.prototype,"multiLine",void 0),_e([o({type:String})],De.prototype,"label",void 0),_e([o({type:String})],De.prototype,"icon",void 0),_e([o({type:Boolean})],De.prototype,"trailingIcon",void 0),_e([s("ft-typography slot")],De.prototype,"slottedContent",void 0),h("ft-chip")(De);var We=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ke extends Rt{constructor(){super(...arguments),this.editorMode=!1}render(){return V`
597
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new De))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new De))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}We.elementDefinitions={"ft-ripple":Se,"ft-typography":Qi,"ft-icon":Ue},We.styles=_e,Ie([o({type:Boolean})],We.prototype,"highlighted",void 0),Ie([o({type:Boolean})],We.prototype,"removable",void 0),Ie([o({type:Boolean})],We.prototype,"disabled",void 0),Ie([o({type:Boolean})],We.prototype,"clickable",void 0),Ie([o({type:Boolean})],We.prototype,"iconClickable",void 0),Ie([o({type:Boolean})],We.prototype,"dense",void 0),Ie([o({type:Boolean})],We.prototype,"multiLine",void 0),Ie([o({type:String})],We.prototype,"label",void 0),Ie([o({type:String})],We.prototype,"icon",void 0),Ie([o({type:Boolean})],We.prototype,"trailingIcon",void 0),Ie([s("ft-typography slot")],We.prototype,"slottedContent",void 0),h("ft-chip")(We);var Ke=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class He extends Mt{constructor(){super(...arguments),this.editorMode=!1}render(){return V`
587
598
  <ft-tooltip text="${this.tooltipText}">
588
599
  <ft-chip>
589
600
  ${this.renderContent()}
@@ -596,4 +607,4 @@ class Se extends pe{constructor(t){if(super(t),this.it=q,t.type!==he)throw Error
596
607
  display: none !important;
597
608
  }
598
609
  </style>
599
- `}get valueText(){var t,i;return null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==i?i:""}get tooltipText(){var t,i;return this.metadata?`${null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==i?i:this.metadata.key}: ${this.valueText}`:""}}Ke.elementDefinitions={"ft-tooltip":ae,"ft-chip":De},Ke.styles=Ct,We([o()],Ke.prototype,"key",void 0),We([o({attribute:!1})],Ke.prototype,"editorMode",void 0),We([((t,i)=>{var e;const o="function"==typeof t?{}:null!=t?t:{};return i=null!==(e=null!=i?i:o.hasChanged)&&void 0!==e?e:(t,i)=>!c(t,i),(e,n)=>{var r;e.constructor.createProperty(n,{attribute:!1,hasChanged:i});const s=e;s.reduxProperties=s.reduxProperties||new Map;const a=null!==(r="function"==typeof t?t:o.selector)&&void 0!==r?r:t=>t[n];s.reduxProperties.set(n,{selector:a,store:o.store})}})(((t,i)=>{var e,o;return null===(o=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===o?void 0:o.find((t=>t.key===i.key))}))],Ke.prototype,"metadata",void 0),h("ft-reader-metadata")(Ke),t.FtReaderMetadata=Ke,t.FtReaderMetadataCssVariables={},t.styles=Ct,Object.defineProperty(t,"i",{value:!0})}({});
610
+ `}get valueText(){var t,i;return null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==i?i:""}get tooltipText(){var t,i;return this.metadata?`${null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==i?i:this.metadata.key}: ${this.valueText}`:""}}He.elementDefinitions={"ft-tooltip":le,"ft-chip":We},He.styles=Nt,Ke([o()],He.prototype,"key",void 0),Ke([o({attribute:!1})],He.prototype,"editorMode",void 0),Ke([((t,i)=>{var e;const o=bt(t)?t:{};return i=null!==(e=null!=i?i:o.hasChanged)&&void 0!==e?e:(t,i)=>!c(t,i),(e,n)=>{var r;e.constructor.createProperty(n,{attribute:!1,hasChanged:i});const s=e;s.reduxProperties=s.reduxProperties||new Map;const a=null!==(r=bt(t)?o.selector:t)&&void 0!==r?r:t=>t[n];s.reduxProperties.set(n,{selector:a,store:o.store})}})(((t,i)=>{var e,o;return null===(o=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===o?void 0:o.find((t=>t.key===i.key))}))],He.prototype,"metadata",void 0),h("ft-reader-metadata")(He),t.FtReaderMetadata=He,t.FtReaderMetadataCssVariables={},t.styles=Nt,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-metadata",
3
- "version": "0.3.53",
3
+ "version": "0.3.55",
4
4
  "description": "Metadata for integrated reader",
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-chip": "0.3.53",
23
- "@fluid-topics/ft-reader-context": "0.3.53",
24
- "@fluid-topics/ft-tooltip": "0.3.53",
25
- "@fluid-topics/ft-wc-utils": "0.3.53",
22
+ "@fluid-topics/ft-chip": "0.3.55",
23
+ "@fluid-topics/ft-reader-context": "0.3.55",
24
+ "@fluid-topics/ft-tooltip": "0.3.55",
25
+ "@fluid-topics/ft-wc-utils": "0.3.55",
26
26
  "lit": "2.2.8"
27
27
  },
28
- "gitHead": "cf1f6c836c7bcacfd0a9abbd39a185077341036e"
28
+ "gitHead": "4106f01e238edeb1c85fba22d6d50a18757e0b3e"
29
29
  }