@fluid-topics/ft-collapsible 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),y(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?y(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=u.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Qi){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),y(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?y(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=u.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(tr){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -53,7 +53,7 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},w=(t=S,o,
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */const W=globalThis,L=W.trustedTypes,K=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+Z,B=`<${F}>`,A=document,M=()=>A.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=A.createTreeWalker(A,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=j;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===j?"!--"===l[1]?a=T:void 0!==l[1]?a=_:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=G):void 0!==l[3]&&(a=G):a===G?">"===l[0]?(a=r??j,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?G:'"'===l[3]?V:Y):a===V||a===Y?a=G:a===T||a===_?a=j:(a=G,r=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+B:c>=0?(i.push(s),e.slice(0,c)+z+e.slice(c)+Z+f):e+Z+(-2===c?o:f)}return[et(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(z)){const o=p[a++],e=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ct:at}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=A.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,i){if(o===X)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=D(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=rt(t,r._$AS(t,o.values),r,i)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),D(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=it.createElement(et(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??A).importNode(o,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new nt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new pt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=A,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new it(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Q}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=rt(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=rt(this,i[e+a],o,a),s===X&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===Q?t=Q:t!==Q&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Q?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},ct=class extends at{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??Q)===X)return;const e=this._$AH,i=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Q&&(e===Q||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const ft=W.litHtmlPolyfillSupport;ft?.(it,nt),(W.litHtmlVersions??=[]).push("3.1.0");
56
+ */const W=globalThis,L=W.trustedTypes,K=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+F,B=`<${Z}>`,A=document,M=()=>A.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=A.createTreeWalker(A,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=j;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===j?"!--"===l[1]?a=T:void 0!==l[1]?a=_:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=G):void 0!==l[3]&&(a=G):a===G?">"===l[0]?(a=r??j,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?G:'"'===l[3]?V:Y):a===V||a===Y?a=G:a===T||a===_?a=j:(a=G,r=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===j?e+B:c>=0?(i.push(s),e.slice(0,c)+z+e.slice(c)+F+f):e+F+(-2===c?o:f)}return[et(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(z)){const o=p[a++],e=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ct:at}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(F),o=t.length-1;if(o>0){r.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const e=A.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,i){if(o===X)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=D(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=rt(t,r._$AS(t,o.values),r,i)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),D(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=it.createElement(et(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??A).importNode(o,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new nt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new pt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=A,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new it(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Q}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=rt(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=rt(this,i[e+a],o,a),s===X&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===Q?t=Q:t!==Q&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Q?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},ct=class extends at{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??Q)===X)return;const e=this._$AH,i=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Q&&(e===Q||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const ft=W.litHtmlPolyfillSupport;ft?.(it,nt),(W.litHtmlVersions??=[]).push("3.1.0");
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2019 Google LLC
@@ -70,7 +70,7 @@ const ht=globalThis,dt=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeS
70
70
  * Copyright 2017 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
72
  */
73
- const zt=globalThis,Zt=zt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,Mt="?"+At,Dt=`<${Mt}>`,Pt=document,Ht=()=>Pt.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Tt=Array.isArray,_t="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Jt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Xt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,to=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),oo=Symbol.for("lit-noChange"),eo=Symbol.for("lit-nothing"),io=new WeakMap,ro=Pt.createTreeWalker(Pt,129);function no(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Gt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Gt?"!--"===l[1]?a=Yt:void 0!==l[1]?a=Vt:void 0!==l[2]?(Qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Jt):void 0!==l[3]&&(a=Jt):a===Jt?">"===l[0]?(a=r??Gt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Jt:'"'===l[3]?Xt:qt):a===Xt||a===qt?a=Jt:a===Yt||a===Vt?a=Gt:(a=Jt,r=void 0);const f=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===Gt?e+Dt:c>=0?(i.push(s),e.slice(0,c)+Bt+e.slice(c)+At+f):e+At+(-2===c?o:f)}return[no(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class so{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ao(t,o);if(this.el=so.createElement(l,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ro.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Bt)){const o=c[n++],e=i.getAttribute(t).split(At),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?ho:"@"===a[1]?yo:po}),i.removeAttribute(t)}else t.startsWith(At)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Qt.test(i.tagName)){const t=i.textContent.split(At),o=t.length-1;if(o>0){i.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Ht()),ro.nextNode(),s.push({type:2,index:++r});i.append(t[o],Ht())}}}else if(8===i.nodeType)if(i.data===Mt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(At,t+1));)s.push({type:7,index:r}),t+=At.length-1}r++}}static createElement(t,o){const e=Pt.createElement("template");return e.innerHTML=t,e}}function lo(t,o,e=t,i){if(o===oo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=jt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=lo(t,r._$AS(t,o.values),r,i)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=eo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lo(this,t,o),jt(t)?t===eo||null==t||""===t?(this._$AH!==eo&&this._$AR(),this._$AH=eo):t!==this._$AH&&t!==oo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Tt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==eo&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(no(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Pt).importNode(o,!0);ro.currentNode=i;let r=ro.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new co(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new uo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ro.nextNode(),n++)}return ro.currentNode=Pt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(t){Tt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new co(this.k(Ht()),this.k(Ht()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class po{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=eo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=eo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lo(this,t,o,0),n=!jt(t)||t!==this._$AH&&t!==oo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lo(this,i[e+a],o,a),s===oo&&(s=this._$AH[a]),n||=!jt(s)||s!==this._$AH[a],s===eo?t=eo:t!==eo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===eo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fo extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===eo?void 0:t}}class ho extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==eo)}}class yo extends po{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lo(this,t,o,0)??eo)===oo)return;const e=this._$AH,i=t===eo&&e!==eo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==eo&&(e===eo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class uo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){lo(this,t)}}const go=zt.litHtmlPolyfillSupport;go?.(so,co),(zt.litHtmlVersions??=[]).push("3.1.0");
73
+ const zt=globalThis,Ft=zt.trustedTypes,Zt=Ft?Ft.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,Mt="?"+At,Dt=`<${Mt}>`,Pt=document,Ht=()=>Pt.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Tt=Array.isArray,_t="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Jt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Xt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,to=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),oo=Symbol.for("lit-noChange"),eo=Symbol.for("lit-nothing"),io=new WeakMap,ro=Pt.createTreeWalker(Pt,129);function no(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Zt?Zt.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Gt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Gt?"!--"===l[1]?a=Yt:void 0!==l[1]?a=Vt:void 0!==l[2]?(Qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Jt):void 0!==l[3]&&(a=Jt):a===Jt?">"===l[0]?(a=r??Gt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Jt:'"'===l[3]?Xt:qt):a===Xt||a===qt?a=Jt:a===Yt||a===Vt?a=Gt:(a=Jt,r=void 0);const f=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===Gt?e+Dt:c>=0?(i.push(s),e.slice(0,c)+Bt+e.slice(c)+At+f):e+At+(-2===c?o:f)}return[no(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class so{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ao(t,o);if(this.el=so.createElement(l,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ro.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Bt)){const o=c[n++],e=i.getAttribute(t).split(At),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?ho:"@"===a[1]?yo:po}),i.removeAttribute(t)}else t.startsWith(At)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Qt.test(i.tagName)){const t=i.textContent.split(At),o=t.length-1;if(o>0){i.textContent=Ft?Ft.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Ht()),ro.nextNode(),s.push({type:2,index:++r});i.append(t[o],Ht())}}}else if(8===i.nodeType)if(i.data===Mt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(At,t+1));)s.push({type:7,index:r}),t+=At.length-1}r++}}static createElement(t,o){const e=Pt.createElement("template");return e.innerHTML=t,e}}function lo(t,o,e=t,i){if(o===oo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=jt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=lo(t,r._$AS(t,o.values),r,i)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=eo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lo(this,t,o),jt(t)?t===eo||null==t||""===t?(this._$AH!==eo&&this._$AR(),this._$AH=eo):t!==this._$AH&&t!==oo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Tt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==eo&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(no(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Pt).importNode(o,!0);ro.currentNode=i;let r=ro.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new co(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new uo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ro.nextNode(),n++)}return ro.currentNode=Pt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(t){Tt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new co(this.k(Ht()),this.k(Ht()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class po{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=eo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=eo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lo(this,t,o,0),n=!jt(t)||t!==this._$AH&&t!==oo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lo(this,i[e+a],o,a),s===oo&&(s=this._$AH[a]),n||=!jt(s)||s!==this._$AH[a],s===eo?t=eo:t!==eo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===eo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fo extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===eo?void 0:t}}class ho extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==eo)}}class yo extends po{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lo(this,t,o,0)??eo)===oo)return;const e=this._$AH,i=t===eo&&e!==eo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==eo&&(e===eo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class uo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){lo(this,t)}}const go=zt.litHtmlPolyfillSupport;go?.(so,co),(zt.litHtmlVersions??=[]).push("3.1.0");
74
74
  /**
75
75
  * @license
76
76
  * Copyright 2017 Google LLC
@@ -81,7 +81,11 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
81
81
  * @license
82
82
  * Copyright 2019 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class Uo extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Ro.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Io,ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Wo=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Ko=Symbol("exportpartsDebouncer");class zo extends Uo{constructor(){super(),this[Io]=new o(5),this[Lo]=this.constructor.name,this[Wo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Wo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ko].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Io=Ko,ko([C()],zo.prototype,"exportpartsPrefix",void 0),ko([k([])],zo.prototype,"exportpartsPrefixes",void 0),ko([C()],zo.prototype,"customStylesheet",void 0);const Zo=mt`
84
+ */class Uo extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Ro.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Io,ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Wo=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Ko=Symbol("exportpartsDebouncer");class zo extends Uo{constructor(){super(),this[Io]=new o(5),this[Lo]=this.constructor.name,this[Wo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Wo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ko].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Io=Ko,ko([C()],zo.prototype,"exportpartsPrefix",void 0),ko([k([])],zo.prototype,"exportpartsPrefixes",void 0),ko([C()],zo.prototype,"customStylesheet",void 0);const Fo=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
85
+ .highlight-html-match {
86
+ background: ${Fo};
87
+ }
88
+ `;const Zo=mt`
85
89
  .ft-no-text-select {
86
90
  -webkit-touch-callout: none;
87
91
  -webkit-user-select: none;
@@ -102,7 +106,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
102
106
  -webkit-hyphens: auto;
103
107
  hyphens: auto
104
108
  }
105
- `;const Fo=mt`
109
+ `;const Bo=mt`
106
110
  .ft-safari-ellipsis-fix {
107
111
  margin-right: 0;
108
112
 
@@ -113,17 +117,17 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
113
117
  display: inline-block;
114
118
  width: 0;
115
119
  }
116
- `;window.ftReduxStores||(window.ftReduxStores={});const Bo=Symbol("elementInternals");var Ao,Mo,Do;const Po=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Do=null===(Mo=null===(Ao=window.safari)||void 0===Ao?void 0:Ao.pushNotification)||void 0===Mo?void 0:Mo.toString())&&void 0!==Do?Do:""),Ho=1,jo=2,To=t=>(...o)=>({_$litDirective$:t,values:o});
120
+ `;window.ftReduxStores||(window.ftReduxStores={});const Ao=Symbol("elementInternals");var Mo,Do,Po;const Ho=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Po=null===(Do=null===(Mo=window.safari)||void 0===Mo?void 0:Mo.pushNotification)||void 0===Do?void 0:Do.toString())&&void 0!==Po?Po:""),jo=1,To=2,_o=t=>(...o)=>({_$litDirective$:t,values:o});
117
121
  /**
118
122
  * @license
119
123
  * Copyright 2017 Google LLC
120
124
  * SPDX-License-Identifier: BSD-3-Clause
121
- */let _o=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
125
+ */let Go=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
122
126
  /**
123
127
  * @license
124
128
  * Copyright 2018 Google LLC
125
129
  * SPDX-License-Identifier: BSD-3-Clause
126
- */const Go=To(class extends _o{constructor(t){if(super(t),t.type!==Ho||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}});var Yo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vo extends zo{constructor(){super(...arguments),this.open=!1,this.animated=!1,this.closeCollapsibleMatchers=[],this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.dense=!1,this.round=!1,this.small=!1,this.disabled=!1,this.tooltipPosition="right",this.openIcon="THIN_ARROW",this.closedIcon="THIN_ARROW_RIGHT",this.trailingIcon=!1,this.animationInProgress=!1,this.animationEndSafeguard=new o(800)}render(){const t={"ft-collapsible--content":!0,"ft-collapsible--hidden":!this.open,"ft-collapsible--animated":this.animated,"ft-collapsible--animation-in-progress":this.animated&&this.animationInProgress};return to`
130
+ */const Yo=_o(class extends Go{constructor(t){if(super(t),t.type!==jo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}});var Vo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Jo extends zo{constructor(){super(...arguments),this.open=!1,this.animated=!1,this.closeCollapsibleMatchers=[],this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.dense=!1,this.round=!1,this.small=!1,this.disabled=!1,this.tooltipPosition="right",this.openIcon="THIN_ARROW",this.closedIcon="THIN_ARROW_RIGHT",this.trailingIcon=!1,this.animationInProgress=!1,this.animationEndSafeguard=new o(800)}render(){const t={"ft-collapsible--content":!0,"ft-collapsible--hidden":!this.open,"ft-collapsible--animated":this.animated,"ft-collapsible--animation-in-progress":this.animated&&this.animationInProgress};return to`
127
131
  <slot name="toggle"
128
132
  part="toggle"
129
133
  @click=${this.toggleOpenAnimation}>
@@ -149,10 +153,10 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
149
153
  </ft-or-ftds-button>
150
154
  </slot>
151
155
  <slot id="ft-collapsible-content"
152
- class="${Go(t)}"
156
+ class="${Yo(t)}"
153
157
  @click=${this.onContentClick}
154
158
  @transitionend=${()=>this.animationInProgress=!1}></slot>
155
- `}toggleOpenAnimation(){this.animationInProgress=!0,setTimeout((()=>this.toggleOpen()),5),this.animationEndSafeguard.run((()=>this.animationInProgress=!1))}toggleOpen(){this.open=!this.open,this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}onContentClick(t){(function(t,o,e){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeCollapsibleMatchers,this)&&this.toggleOpenAnimation()}}Yo([C({type:Boolean,reflect:!0})],Vo.prototype,"open",void 0),Yo([C({type:Boolean})],Vo.prototype,"animated",void 0),Yo([k([])],Vo.prototype,"closeCollapsibleMatchers",void 0),Yo([C({type:Boolean})],Vo.prototype,"primary",void 0),Yo([C({type:Boolean})],Vo.prototype,"secondary",void 0),Yo([C({type:Boolean})],Vo.prototype,"tertiary",void 0),Yo([C({type:Boolean})],Vo.prototype,"neutral",void 0),Yo([C({type:Boolean})],Vo.prototype,"dense",void 0),Yo([C({type:Boolean})],Vo.prototype,"round",void 0),Yo([C({type:Boolean})],Vo.prototype,"small",void 0),Yo([C()],Vo.prototype,"label",void 0),Yo([C()],Vo.prototype,"openLabel",void 0),Yo([C()],Vo.prototype,"closedLabel",void 0),Yo([C()],Vo.prototype,"text",void 0),Yo([C()],Vo.prototype,"openText",void 0),Yo([C()],Vo.prototype,"closedText",void 0),Yo([C({type:Boolean})],Vo.prototype,"disabled",void 0),Yo([C()],Vo.prototype,"tooltipPosition",void 0),Yo([C()],Vo.prototype,"iconVariant",void 0),Yo([C()],Vo.prototype,"openIcon",void 0),Yo([C()],Vo.prototype,"closedIcon",void 0),Yo([C({type:Boolean})],Vo.prototype,"trailingIcon",void 0),Yo([$()],Vo.prototype,"animationInProgress",void 0);const Jo=Oo.extend("--ft-ripple-color","",$o.colorContent),qo={color:Jo,backgroundColor:Oo.extend("--ft-ripple-background-color","",Jo),opacityContentOnSurfacePressed:Oo.external($o.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external($o.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external($o.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external($o.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},Xo=Oo.extend("--ft-ripple-color","",$o.colorPrimary),Qo=Xo,te=Oo.extend("--ft-ripple-background-color","",Xo),oe=Oo.extend("--ft-ripple-color","",$o.colorSecondary),ee=oe,ie=Oo.extend("--ft-ripple-background-color","",oe),re=mt`
159
+ `}toggleOpenAnimation(){this.animationInProgress=!0,setTimeout((()=>this.toggleOpen()),5),this.animationEndSafeguard.run((()=>this.animationInProgress=!1))}toggleOpen(){this.open=!this.open,this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}onContentClick(t){(function(t,o,e){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeCollapsibleMatchers,this)&&this.toggleOpenAnimation()}}Vo([C({type:Boolean,reflect:!0})],Jo.prototype,"open",void 0),Vo([C({type:Boolean})],Jo.prototype,"animated",void 0),Vo([k([])],Jo.prototype,"closeCollapsibleMatchers",void 0),Vo([C({type:Boolean})],Jo.prototype,"primary",void 0),Vo([C({type:Boolean})],Jo.prototype,"secondary",void 0),Vo([C({type:Boolean})],Jo.prototype,"tertiary",void 0),Vo([C({type:Boolean})],Jo.prototype,"neutral",void 0),Vo([C({type:Boolean})],Jo.prototype,"dense",void 0),Vo([C({type:Boolean})],Jo.prototype,"round",void 0),Vo([C({type:Boolean})],Jo.prototype,"small",void 0),Vo([C()],Jo.prototype,"label",void 0),Vo([C()],Jo.prototype,"openLabel",void 0),Vo([C()],Jo.prototype,"closedLabel",void 0),Vo([C()],Jo.prototype,"text",void 0),Vo([C()],Jo.prototype,"openText",void 0),Vo([C()],Jo.prototype,"closedText",void 0),Vo([C({type:Boolean})],Jo.prototype,"disabled",void 0),Vo([C()],Jo.prototype,"tooltipPosition",void 0),Vo([C()],Jo.prototype,"iconVariant",void 0),Vo([C()],Jo.prototype,"openIcon",void 0),Vo([C()],Jo.prototype,"closedIcon",void 0),Vo([C({type:Boolean})],Jo.prototype,"trailingIcon",void 0),Vo([$()],Jo.prototype,"animationInProgress",void 0);const qo=Oo.extend("--ft-ripple-color","",$o.colorContent),Xo={color:qo,backgroundColor:Oo.extend("--ft-ripple-background-color","",qo),opacityContentOnSurfacePressed:Oo.external($o.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external($o.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external($o.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external($o.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},Qo=Oo.extend("--ft-ripple-color","",$o.colorPrimary),te=Qo,oe=Oo.extend("--ft-ripple-background-color","",Qo),ee=Oo.extend("--ft-ripple-color","",$o.colorSecondary),ie=ee,re=Oo.extend("--ft-ripple-background-color","",ee),ne=mt`
156
160
  :host {
157
161
  display: contents;
158
162
  }
@@ -165,7 +169,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
165
169
 
166
170
  .ft-ripple:not(.ft-ripple--unbounded) {
167
171
  overflow: hidden;
168
- border-radius: ${qo.borderRadius};
172
+ border-radius: ${Xo.borderRadius};
169
173
  }
170
174
 
171
175
  .ft-ripple .ft-ripple--background,
@@ -199,27 +203,27 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
199
203
  }
200
204
 
201
205
  .ft-ripple .ft-ripple--background {
202
- background-color: ${qo.backgroundColor};
206
+ background-color: ${Xo.backgroundColor};
203
207
  }
204
208
 
205
209
  .ft-ripple .ft-ripple--effect {
206
- background-color: ${qo.color};
210
+ background-color: ${Xo.color};
207
211
  }
208
212
 
209
213
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
210
- background-color: ${ie};
214
+ background-color: ${re};
211
215
  }
212
216
 
213
217
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
214
- background-color: ${ee};
218
+ background-color: ${ie};
215
219
  }
216
220
 
217
221
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
218
- background-color: ${te};
222
+ background-color: ${oe};
219
223
  }
220
224
 
221
225
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
222
- background-color: ${Qo};
226
+ background-color: ${te};
223
227
  }
224
228
 
225
229
  .ft-ripple .ft-ripple--background {
@@ -249,117 +253,117 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
249
253
  }
250
254
 
251
255
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
252
- opacity: ${qo.opacityContentOnSurfaceHover};
256
+ opacity: ${Xo.opacityContentOnSurfaceHover};
253
257
  }
254
258
 
255
259
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
256
- opacity: ${qo.opacityContentOnSurfaceSelected};
260
+ opacity: ${Xo.opacityContentOnSurfaceSelected};
257
261
  }
258
262
 
259
263
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
260
- opacity: ${qo.opacityContentOnSurfaceFocused};
264
+ opacity: ${Xo.opacityContentOnSurfaceFocused};
261
265
  }
262
266
 
263
267
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
264
- opacity: ${qo.opacityContentOnSurfacePressed};
268
+ opacity: ${Xo.opacityContentOnSurfacePressed};
265
269
  transform: translate(-50%, -50%) scale(1);
266
270
  }
267
- `;const ne=Oo.extend("--ft-typography-font-family","",$o.titleFont),ae=Oo.extend("--ft-typography-font-family","",$o.contentFont),se={fontFamily:ae,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},le=Oo.extend("--ft-typography-title-font-family","",ne),ce=Oo.extend("--ft-typography-title-font-size","",se.fontSize,"20px"),pe=Oo.extend("--ft-typography-title-font-weight","",se.fontWeight,"normal"),fe=Oo.extend("--ft-typography-title-letter-spacing","",se.letterSpacing,"0.15px"),he=Oo.extend("--ft-typography-title-line-height","",se.lineHeight,"1.2"),de=Oo.extend("--ft-typography-title-text-transform","",se.textTransform,"inherit"),ye=Oo.extend("--ft-typography-title-dense-font-family","",ne),ue=Oo.extend("--ft-typography-title-dense-font-size","",se.fontSize,"14px"),ge=Oo.extend("--ft-typography-title-dense-font-weight","",se.fontWeight,"normal"),be=Oo.extend("--ft-typography-title-dense-letter-spacing","",se.letterSpacing,"0.105px"),me=Oo.extend("--ft-typography-title-dense-line-height","",se.lineHeight,"1.7"),xe=Oo.extend("--ft-typography-title-dense-text-transform","",se.textTransform,"inherit"),Oe=Oo.extend("--ft-typography-subtitle1-font-family","",ae),ve=Oo.extend("--ft-typography-subtitle1-font-size","",se.fontSize,"16px"),Ne=Oo.extend("--ft-typography-subtitle1-font-weight","",se.fontWeight,"600"),Se=Oo.extend("--ft-typography-subtitle1-letter-spacing","",se.letterSpacing,"0.144px"),we=Oo.extend("--ft-typography-subtitle1-line-height","",se.lineHeight,"1.5"),Ce=Oo.extend("--ft-typography-subtitle1-text-transform","",se.textTransform,"inherit"),$e=Oo.extend("--ft-typography-subtitle2-font-family","",ae),Re=Oo.extend("--ft-typography-subtitle2-font-size","",se.fontSize,"14px"),Ee=Oo.extend("--ft-typography-subtitle2-font-weight","",se.fontWeight,"normal"),Ue=Oo.extend("--ft-typography-subtitle2-letter-spacing","",se.letterSpacing,"0.098px"),Ie=Oo.extend("--ft-typography-subtitle2-line-height","",se.lineHeight,"1.7"),ke=Oo.extend("--ft-typography-subtitle2-text-transform","",se.textTransform,"inherit"),We=Oo.extend("--ft-typography-body1-font-family","",ae),Le=Oo.extend("--ft-typography-body1-font-size","",se.fontSize,"16px"),Ke=Oo.extend("--ft-typography-body1-font-weight","",se.fontWeight,"normal"),ze=Oo.extend("--ft-typography-body1-letter-spacing","",se.letterSpacing,"0.496px"),Ze=Oo.extend("--ft-typography-body1-line-height","",se.lineHeight,"1.5"),Fe=Oo.extend("--ft-typography-body1-text-transform","",se.textTransform,"inherit"),Be=Oo.extend("--ft-typography-body2-font-family","",ae),Ae=Oo.extend("--ft-typography-body2-font-size","",se.fontSize,"14px"),Me=Oo.extend("--ft-typography-body2-font-weight","",se.fontWeight,"normal"),De=Oo.extend("--ft-typography-body2-letter-spacing","",se.letterSpacing,"0.252px"),Pe=Oo.extend("--ft-typography-body2-line-height","",se.lineHeight,"1.4"),He=Oo.extend("--ft-typography-body2-text-transform","",se.textTransform,"inherit"),je=Oo.extend("--ft-typography-caption-font-family","",ae),Te=Oo.extend("--ft-typography-caption-font-size","",se.fontSize,"12px"),_e=Oo.extend("--ft-typography-caption-font-weight","",se.fontWeight,"normal"),Ge=Oo.extend("--ft-typography-caption-letter-spacing","",se.letterSpacing,"0.396px"),Ye=Oo.extend("--ft-typography-caption-line-height","",se.lineHeight,"1.33"),Ve=Oo.extend("--ft-typography-caption-text-transform","",se.textTransform,"inherit"),Je=Oo.extend("--ft-typography-breadcrumb-font-family","",ae),qe=Oo.extend("--ft-typography-breadcrumb-font-size","",se.fontSize,"10px"),Xe=Oo.extend("--ft-typography-breadcrumb-font-weight","",se.fontWeight,"normal"),Qe=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",se.letterSpacing,"0.33px"),ti=Oo.extend("--ft-typography-breadcrumb-line-height","",se.lineHeight,"1.6"),oi=Oo.extend("--ft-typography-breadcrumb-text-transform","",se.textTransform,"inherit"),ei=Oo.extend("--ft-typography-overline-font-family","",ae),ii=Oo.extend("--ft-typography-overline-font-size","",se.fontSize,"10px"),ri=Oo.extend("--ft-typography-overline-font-weight","",se.fontWeight,"normal"),ni=Oo.extend("--ft-typography-overline-letter-spacing","",se.letterSpacing,"1.5px"),ai=Oo.extend("--ft-typography-overline-line-height","",se.lineHeight,"1.6"),si=Oo.extend("--ft-typography-overline-text-transform","",se.textTransform,"uppercase"),li={fontFamily:Oo.extend("--ft-typography-button-font-family","",ae),fontSize:Oo.extend("--ft-typography-button-font-size","",se.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",se.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",se.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",se.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",se.textTransform,"uppercase")},ci=mt`
271
+ `;const ae=Oo.extend("--ft-typography-font-family","",$o.titleFont),se=Oo.extend("--ft-typography-font-family","",$o.contentFont),le={fontFamily:se,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ce=Oo.extend("--ft-typography-title-font-family","",ae),pe=Oo.extend("--ft-typography-title-font-size","",le.fontSize,"20px"),fe=Oo.extend("--ft-typography-title-font-weight","",le.fontWeight,"normal"),he=Oo.extend("--ft-typography-title-letter-spacing","",le.letterSpacing,"0.15px"),de=Oo.extend("--ft-typography-title-line-height","",le.lineHeight,"1.2"),ye=Oo.extend("--ft-typography-title-text-transform","",le.textTransform,"inherit"),ue=Oo.extend("--ft-typography-title-dense-font-family","",ae),ge=Oo.extend("--ft-typography-title-dense-font-size","",le.fontSize,"14px"),be=Oo.extend("--ft-typography-title-dense-font-weight","",le.fontWeight,"normal"),me=Oo.extend("--ft-typography-title-dense-letter-spacing","",le.letterSpacing,"0.105px"),xe=Oo.extend("--ft-typography-title-dense-line-height","",le.lineHeight,"1.7"),Oe=Oo.extend("--ft-typography-title-dense-text-transform","",le.textTransform,"inherit"),ve=Oo.extend("--ft-typography-subtitle1-font-family","",se),Ne=Oo.extend("--ft-typography-subtitle1-font-size","",le.fontSize,"16px"),Se=Oo.extend("--ft-typography-subtitle1-font-weight","",le.fontWeight,"600"),we=Oo.extend("--ft-typography-subtitle1-letter-spacing","",le.letterSpacing,"0.144px"),Ce=Oo.extend("--ft-typography-subtitle1-line-height","",le.lineHeight,"1.5"),$e=Oo.extend("--ft-typography-subtitle1-text-transform","",le.textTransform,"inherit"),Re=Oo.extend("--ft-typography-subtitle2-font-family","",se),Ee=Oo.extend("--ft-typography-subtitle2-font-size","",le.fontSize,"14px"),Ue=Oo.extend("--ft-typography-subtitle2-font-weight","",le.fontWeight,"normal"),Ie=Oo.extend("--ft-typography-subtitle2-letter-spacing","",le.letterSpacing,"0.098px"),ke=Oo.extend("--ft-typography-subtitle2-line-height","",le.lineHeight,"1.7"),We=Oo.extend("--ft-typography-subtitle2-text-transform","",le.textTransform,"inherit"),Le=Oo.extend("--ft-typography-body1-font-family","",se),Ke=Oo.extend("--ft-typography-body1-font-size","",le.fontSize,"16px"),ze=Oo.extend("--ft-typography-body1-font-weight","",le.fontWeight,"normal"),Fe=Oo.extend("--ft-typography-body1-letter-spacing","",le.letterSpacing,"0.496px"),Ze=Oo.extend("--ft-typography-body1-line-height","",le.lineHeight,"1.5"),Be=Oo.extend("--ft-typography-body1-text-transform","",le.textTransform,"inherit"),Ae=Oo.extend("--ft-typography-body2-font-family","",se),Me=Oo.extend("--ft-typography-body2-font-size","",le.fontSize,"14px"),De=Oo.extend("--ft-typography-body2-font-weight","",le.fontWeight,"normal"),Pe=Oo.extend("--ft-typography-body2-letter-spacing","",le.letterSpacing,"0.252px"),He=Oo.extend("--ft-typography-body2-line-height","",le.lineHeight,"1.4"),je=Oo.extend("--ft-typography-body2-text-transform","",le.textTransform,"inherit"),Te=Oo.extend("--ft-typography-caption-font-family","",se),_e=Oo.extend("--ft-typography-caption-font-size","",le.fontSize,"12px"),Ge=Oo.extend("--ft-typography-caption-font-weight","",le.fontWeight,"normal"),Ye=Oo.extend("--ft-typography-caption-letter-spacing","",le.letterSpacing,"0.396px"),Ve=Oo.extend("--ft-typography-caption-line-height","",le.lineHeight,"1.33"),Je=Oo.extend("--ft-typography-caption-text-transform","",le.textTransform,"inherit"),qe=Oo.extend("--ft-typography-breadcrumb-font-family","",se),Xe=Oo.extend("--ft-typography-breadcrumb-font-size","",le.fontSize,"10px"),Qe=Oo.extend("--ft-typography-breadcrumb-font-weight","",le.fontWeight,"normal"),ti=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",le.letterSpacing,"0.33px"),oi=Oo.extend("--ft-typography-breadcrumb-line-height","",le.lineHeight,"1.6"),ei=Oo.extend("--ft-typography-breadcrumb-text-transform","",le.textTransform,"inherit"),ii=Oo.extend("--ft-typography-overline-font-family","",se),ri=Oo.extend("--ft-typography-overline-font-size","",le.fontSize,"10px"),ni=Oo.extend("--ft-typography-overline-font-weight","",le.fontWeight,"normal"),ai=Oo.extend("--ft-typography-overline-letter-spacing","",le.letterSpacing,"1.5px"),si=Oo.extend("--ft-typography-overline-line-height","",le.lineHeight,"1.6"),li=Oo.extend("--ft-typography-overline-text-transform","",le.textTransform,"uppercase"),ci={fontFamily:Oo.extend("--ft-typography-button-font-family","",se),fontSize:Oo.extend("--ft-typography-button-font-size","",le.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",le.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",le.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",le.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",le.textTransform,"uppercase")},pi=mt`
268
272
  .ft-typography--title {
269
- font-family: ${le};
270
- font-size: ${ce};
271
- font-weight: ${pe};
272
- letter-spacing: ${fe};
273
- line-height: ${he};
274
- text-transform: ${de};
275
- }
276
- `,pi=mt`
277
- .ft-typography--title-dense {
278
- font-family: ${ye};
279
- font-size: ${ue};
280
- font-weight: ${ge};
281
- letter-spacing: ${be};
282
- line-height: ${me};
283
- text-transform: ${xe};
273
+ font-family: ${ce};
274
+ font-size: ${pe};
275
+ font-weight: ${fe};
276
+ letter-spacing: ${he};
277
+ line-height: ${de};
278
+ text-transform: ${ye};
284
279
  }
285
280
  `,fi=mt`
286
- .ft-typography--subtitle1 {
287
- font-family: ${Oe};
288
- font-size: ${ve};
289
- font-weight: ${Ne};
290
- letter-spacing: ${Se};
291
- line-height: ${we};
292
- text-transform: ${Ce};
281
+ .ft-typography--title-dense {
282
+ font-family: ${ue};
283
+ font-size: ${ge};
284
+ font-weight: ${be};
285
+ letter-spacing: ${me};
286
+ line-height: ${xe};
287
+ text-transform: ${Oe};
293
288
  }
294
289
  `,hi=mt`
290
+ .ft-typography--subtitle1 {
291
+ font-family: ${ve};
292
+ font-size: ${Ne};
293
+ font-weight: ${Se};
294
+ letter-spacing: ${we};
295
+ line-height: ${Ce};
296
+ text-transform: ${$e};
297
+ }
298
+ `,di=mt`
295
299
  .ft-typography--subtitle2 {
296
- font-family: ${$e};
297
- font-size: ${Re};
298
- font-weight: ${Ee};
299
- letter-spacing: ${Ue};
300
- line-height: ${Ie};
301
- text-transform: ${ke};
300
+ font-family: ${Re};
301
+ font-size: ${Ee};
302
+ font-weight: ${Ue};
303
+ letter-spacing: ${Ie};
304
+ line-height: ${ke};
305
+ text-transform: ${We};
302
306
  }
303
307
 
304
- `,di=mt`
308
+ `,yi=mt`
305
309
  .ft-typography--body1 {
306
- font-family: ${We};
307
- font-size: ${Le};
308
- font-weight: ${Ke};
309
- letter-spacing: ${ze};
310
+ font-family: ${Le};
311
+ font-size: ${Ke};
312
+ font-weight: ${ze};
313
+ letter-spacing: ${Fe};
310
314
  line-height: ${Ze};
311
- text-transform: ${Fe};
312
- }
313
- `,yi=mt`
314
- .ft-typography--body2 {
315
- font-family: ${Be};
316
- font-size: ${Ae};
317
- font-weight: ${Me};
318
- letter-spacing: ${De};
319
- line-height: ${Pe};
320
- text-transform: ${He};
315
+ text-transform: ${Be};
321
316
  }
322
317
  `,ui=mt`
323
- .ft-typography--caption {
324
- font-family: ${je};
325
- font-size: ${Te};
326
- font-weight: ${_e};
327
- letter-spacing: ${Ge};
328
- line-height: ${Ye};
329
- text-transform: ${Ve};
318
+ .ft-typography--body2 {
319
+ font-family: ${Ae};
320
+ font-size: ${Me};
321
+ font-weight: ${De};
322
+ letter-spacing: ${Pe};
323
+ line-height: ${He};
324
+ text-transform: ${je};
330
325
  }
331
326
  `,gi=mt`
332
- .ft-typography--breadcrumb {
333
- font-family: ${Je};
334
- font-size: ${qe};
335
- font-weight: ${Xe};
336
- letter-spacing: ${Qe};
337
- line-height: ${ti};
338
- text-transform: ${oi};
327
+ .ft-typography--caption {
328
+ font-family: ${Te};
329
+ font-size: ${_e};
330
+ font-weight: ${Ge};
331
+ letter-spacing: ${Ye};
332
+ line-height: ${Ve};
333
+ text-transform: ${Je};
339
334
  }
340
335
  `,bi=mt`
341
- .ft-typography--overline {
342
- font-family: ${ei};
343
- font-size: ${ii};
344
- font-weight: ${ri};
345
- letter-spacing: ${ni};
346
- line-height: ${ai};
347
- text-transform: ${si};
336
+ .ft-typography--breadcrumb {
337
+ font-family: ${qe};
338
+ font-size: ${Xe};
339
+ font-weight: ${Qe};
340
+ letter-spacing: ${ti};
341
+ line-height: ${oi};
342
+ text-transform: ${ei};
348
343
  }
349
344
  `,mi=mt`
350
- .ft-typography--button {
351
- font-family: ${li.fontFamily};
352
- font-size: ${li.fontSize};
353
- font-weight: ${li.fontWeight};
354
- letter-spacing: ${li.letterSpacing};
355
- line-height: ${li.lineHeight};
356
- text-transform: ${li.textTransform};
345
+ .ft-typography--overline {
346
+ font-family: ${ii};
347
+ font-size: ${ri};
348
+ font-weight: ${ni};
349
+ letter-spacing: ${ai};
350
+ line-height: ${si};
351
+ text-transform: ${li};
357
352
  }
358
353
  `,xi=mt`
354
+ .ft-typography--button {
355
+ font-family: ${ci.fontFamily};
356
+ font-size: ${ci.fontSize};
357
+ font-weight: ${ci.fontWeight};
358
+ letter-spacing: ${ci.letterSpacing};
359
+ line-height: ${ci.lineHeight};
360
+ text-transform: ${ci.textTransform};
361
+ }
362
+ `,Oi=mt`
359
363
  .ft-typography {
360
364
  vertical-align: inherit;
361
365
  }
362
- `,Oi=[Object.keys(So).map((t=>function(t){const o=So[t];return mt`
366
+ `,vi=[Object.keys(So).map((t=>function(t){const o=So[t];return mt`
363
367
  .ft-typography--${bt(t)} {
364
368
  font-family: ${o.fontFamily};
365
369
  font-size: ${o.fontSize};
@@ -368,7 +372,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
368
372
  line-height: ${o.lineHeight};
369
373
  text-transform: ${o.textCase};
370
374
  }
371
- `}(t)))],vi={color:Oo.extend("--ft-loader-color","",$o.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},Ni=mt`
375
+ `}(t)))],Ni={color:Oo.extend("--ft-loader-color","",$o.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},Si=mt`
372
376
  :host {
373
377
  line-height: 0;
374
378
  }
@@ -377,8 +381,8 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
377
381
  display: inline-block;
378
382
  position: relative;
379
383
 
380
- width: ${vi.size};
381
- height: ${vi.size};
384
+ width: ${Ni.size};
385
+ height: ${Ni.size};
382
386
  }
383
387
 
384
388
  .ft-loader div {
@@ -387,7 +391,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
387
391
  width: 25%;
388
392
  height: 25%;
389
393
  border-radius: 50%;
390
- background: ${vi.color};
394
+ background: ${Ni.color};
391
395
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
392
396
  }
393
397
 
@@ -434,10 +438,10 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
434
438
  transform: translate(0, 0);
435
439
  }
436
440
  100% {
437
- transform: translate(calc(0.35 * ${vi.size}), 0);
441
+ transform: translate(calc(0.35 * ${Ni.size}), 0);
438
442
  }
439
443
  }
440
- `,Si={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},wi=mt`
444
+ `,wi={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ci=mt`
441
445
  :host, i.ft-icon {
442
446
  display: inline-flex;
443
447
  align-items: center;
@@ -446,14 +450,14 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
446
450
  }
447
451
 
448
452
  :host {
449
- width: ${Si.size};
450
- height: ${Si.size};
453
+ width: ${wi.size};
454
+ height: ${wi.size};
451
455
  }
452
456
 
453
457
  i.ft-icon {
454
458
  width: 100%;
455
459
  height: 100%;
456
- font-size: ${Si.size};
460
+ font-size: ${wi.size};
457
461
  line-height: 1;
458
462
  font-weight: normal;
459
463
  text-transform: none;
@@ -464,28 +468,28 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
464
468
  text-rendering: auto;
465
469
  -webkit-font-smoothing: antialiased;
466
470
  -moz-osx-font-smoothing: grayscale;
467
- vertical-align: ${Si.verticalAlign};
471
+ vertical-align: ${wi.verticalAlign};
468
472
  }
469
473
 
470
474
  i.ft-icon.ft-icon--fluid-topics {
471
- font-family: ${Si.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
475
+ font-family: ${wi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
472
476
 
473
477
  /* Ugly fix because font is broken */
474
- font-size: calc(0.75 * ${Si.size});
475
- line-height: ${Si.size};
478
+ font-size: calc(0.75 * ${wi.size});
479
+ line-height: ${wi.size};
476
480
  position: relative;
477
481
  top: -4%;
478
482
  justify-content: center;
479
483
  }
480
484
 
481
485
  .ft-icon--file-format {
482
- font-family: ${Si.fileFormatFontFamily}, ft-mime, sans-serif;
486
+ font-family: ${wi.fileFormatFontFamily}, ft-mime, sans-serif;
483
487
  }
484
488
 
485
489
  .ft-icon--material {
486
- font-family: ${Si.materialFontFamily}, "Material Icons", sans-serif;
490
+ font-family: ${wi.materialFontFamily}, "Material Icons", sans-serif;
487
491
  }
488
- `,Ci=Oo.extend("--ft-button-color","",$o.colorPrimary),$i={backgroundColor:Oo.extend("--ft-button-background-color","",$o.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",$o.borderRadiusL),color:Ci,fontSize:Oo.extend("--ft-button-font-size","",li.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Ci),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external($o.colorOpacityDisabled,"Design system")},Ri=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",$o.colorOnPrimary)),Ei={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",$o.colorPrimary)),color:Ri,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",Ri)},Ui=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",$o.borderRadiusM)),Ii=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ki=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Wi=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Li=[mt`
492
+ `,$i=Oo.extend("--ft-button-color","",$o.colorPrimary),Ri={backgroundColor:Oo.extend("--ft-button-background-color","",$o.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",$o.borderRadiusL),color:$i,fontSize:Oo.extend("--ft-button-font-size","",ci.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",$i),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external($o.colorOpacityDisabled,"Design system")},Ei=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",$o.colorOnPrimary)),Ui={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",$o.colorPrimary)),color:Ei,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",Ei)},Ii=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",$o.borderRadiusM)),ki=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Wi=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Li=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ki=[mt`
489
493
  :host {
490
494
  display: inline-block;
491
495
  max-width: 100%;
@@ -496,7 +500,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
496
500
  box-shadow: 0px 0px 0px transparent;
497
501
  border: 0px solid transparent;
498
502
  text-shadow: 0px 0px 0px transparent;
499
- font-size: ${$i.fontSize};
503
+ font-size: ${Ri.fontSize};
500
504
  }
501
505
 
502
506
  button:hover {
@@ -525,31 +529,31 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
525
529
  border: none;
526
530
  pointer-events: auto;
527
531
 
528
- --ft-button-internal-line-height: max(calc(${$i.fontSize} + 2px), ${$i.iconSize});
529
- --ft-button-internal-color: ${$i.color};
530
- ${vo(Si.size,$i.iconSize)};
531
- ${vo(qo.color,$i.rippleColor)};
532
+ --ft-button-internal-line-height: max(calc(${Ri.fontSize} + 2px), ${Ri.iconSize});
533
+ --ft-button-internal-color: ${Ri.color};
534
+ ${vo(wi.size,Ri.iconSize)};
535
+ ${vo(Xo.color,Ri.rippleColor)};
532
536
 
533
- border-radius: ${$i.borderRadius};
534
- padding: ${$i.verticalPadding} ${$i.horizontalPadding};
535
- background-color: ${$i.backgroundColor};
537
+ border-radius: ${Ri.borderRadius};
538
+ padding: ${Ri.verticalPadding} ${Ri.horizontalPadding};
539
+ background-color: ${Ri.backgroundColor};
536
540
  color: var(--ft-button-internal-color);
537
541
  -webkit-mask-image: radial-gradient(white, black);
538
542
  }
539
543
 
540
544
  .ft-button.ft-button--outlined {
541
545
  border: 1px solid var(--ft-button-internal-color);
542
- padding: calc(${$i.verticalPadding} - 1px) calc(${$i.horizontalPadding} - 1px);
546
+ padding: calc(${Ri.verticalPadding} - 1px) calc(${Ri.horizontalPadding} - 1px);
543
547
  }
544
548
 
545
549
  .ft-button.ft-button--dense {
546
- padding: ${Ii} ${ki};
547
- border-radius: ${Ui};
548
- gap: ${Wi};
550
+ padding: ${ki} ${Wi};
551
+ border-radius: ${Ii};
552
+ gap: ${Li};
549
553
  }
550
554
 
551
555
  .ft-button.ft-button--dense.ft-button--outlined {
552
- padding: calc(${Ii} - 1px) calc(${ki} - 1px);
556
+ padding: calc(${ki} - 1px) calc(${Wi} - 1px);
553
557
  }
554
558
 
555
559
  .ft-button:not([disabled]):hover {
@@ -557,22 +561,22 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
557
561
  }
558
562
 
559
563
  .ft-button--round {
560
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$i.verticalPadding});
564
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ri.verticalPadding});
561
565
  }
562
566
 
563
567
  .ft-button--round.ft-button--dense {
564
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ii});
568
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ki});
565
569
  }
566
570
 
567
571
  .ft-button[disabled] {
568
572
  filter: grayscale(1);
569
- opacity: ${$i.opacityDisabled};
573
+ opacity: ${Ri.opacityDisabled};
570
574
  }
571
575
 
572
576
  .ft-button.ft-button--primary {
573
- background-color: ${Ei.backgroundColor};
574
- --ft-button-internal-color: ${Ei.color};
575
- ${vo(qo.color,Ei.rippleColor)};
577
+ background-color: ${Ui.backgroundColor};
578
+ --ft-button-internal-color: ${Ui.color};
579
+ ${vo(Xo.color,Ui.rippleColor)};
576
580
  }
577
581
 
578
582
  .ft-button:focus {
@@ -585,13 +589,13 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
585
589
  white-space: nowrap;
586
590
  text-overflow: ellipsis;
587
591
  display: block;
588
- margin: 0 ${$i.iconPadding};
589
- ${vo(li.fontSize,"1em")};
590
- ${vo(li.lineHeight,"var(--ft-button-internal-line-height)")};
592
+ margin: 0 ${Ri.iconPadding};
593
+ ${vo(ci.fontSize,"1em")};
594
+ ${vo(ci.lineHeight,"var(--ft-button-internal-line-height)")};
591
595
  }
592
596
 
593
597
  .ft-button--dense .ft-button--label {
594
- margin: 0 ${Wi};
598
+ margin: 0 ${Li};
595
599
  }
596
600
 
597
601
  .ft-button--label[hidden] {
@@ -604,13 +608,13 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
604
608
  }
605
609
 
606
610
  .ft-button--label[hidden] + ft-icon {
607
- margin: 0 calc(${$i.horizontalPadding} * -1);
608
- padding: 0 ${$i.verticalPadding};
611
+ margin: 0 calc(${Ri.horizontalPadding} * -1);
612
+ padding: 0 ${Ri.verticalPadding};
609
613
  }
610
614
 
611
615
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
612
- margin: 0 calc(${ki} * -1);
613
- padding: 0 ${Ii};
616
+ margin: 0 calc(${Wi} * -1);
617
+ padding: 0 ${ki};
614
618
  }
615
619
 
616
620
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -619,34 +623,34 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
619
623
  }
620
624
 
621
625
  ft-loader {
622
- ${vo(vi.size,$i.iconSize)};
623
- ${vo(vi.color,"var(--ft-button-internal-color)")};
626
+ ${vo(Ni.size,Ri.iconSize)};
627
+ ${vo(Ni.color,"var(--ft-button-internal-color)")};
624
628
  }
625
- `,Zo];var Ki=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class zi extends zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
629
+ `,Zo];var zi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fi extends zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
626
630
  <style>
627
631
  .ft-ripple .ft-ripple--effect {
628
632
  left: ${this.originX}px;
629
633
  top: ${this.originY}px;
630
634
  }
631
635
  </style>
632
- <div class="${Go(t)}">
636
+ <div class="${Yo(t)}">
633
637
  <div class="ft-ripple--background"></div>
634
638
  <div class="ft-ripple--effect"></div>
635
639
  </div>
636
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}zi.elementDefinitions={},zi.styles=re,Ki([C({type:Boolean})],zi.prototype,"primary",void 0),Ki([C({type:Boolean})],zi.prototype,"secondary",void 0),Ki([C({type:Boolean})],zi.prototype,"unbounded",void 0),Ki([C({type:Boolean})],zi.prototype,"activated",void 0),Ki([C({type:Boolean})],zi.prototype,"selected",void 0),Ki([C({type:Boolean})],zi.prototype,"disabled",void 0),Ki([$()],zi.prototype,"hovered",void 0),Ki([$()],zi.prototype,"focused",void 0),Ki([$()],zi.prototype,"pressed",void 0),Ki([$()],zi.prototype,"rippling",void 0),Ki([$()],zi.prototype,"originX",void 0),Ki([$()],zi.prototype,"originY",void 0),Ki([E(".ft-ripple")],zi.prototype,"ripple",void 0),Ki([E(".ft-ripple--effect")],zi.prototype,"rippleEffect",void 0),I("ft-ripple")(zi);
640
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Fi.elementDefinitions={},Fi.styles=ne,zi([C({type:Boolean})],Fi.prototype,"primary",void 0),zi([C({type:Boolean})],Fi.prototype,"secondary",void 0),zi([C({type:Boolean})],Fi.prototype,"unbounded",void 0),zi([C({type:Boolean})],Fi.prototype,"activated",void 0),zi([C({type:Boolean})],Fi.prototype,"selected",void 0),zi([C({type:Boolean})],Fi.prototype,"disabled",void 0),zi([$()],Fi.prototype,"hovered",void 0),zi([$()],Fi.prototype,"focused",void 0),zi([$()],Fi.prototype,"pressed",void 0),zi([$()],Fi.prototype,"rippling",void 0),zi([$()],Fi.prototype,"originX",void 0),zi([$()],Fi.prototype,"originY",void 0),zi([E(".ft-ripple")],Fi.prototype,"ripple",void 0),zi([E(".ft-ripple--effect")],Fi.prototype,"rippleEffect",void 0),I("ft-ripple")(Fi);
637
641
  /**
638
642
  * @license
639
643
  * Copyright 2020 Google LLC
640
644
  * SPDX-License-Identifier: BSD-3-Clause
641
645
  */
642
- const Zi=Symbol.for(""),Fi=t=>{if(t?.r===Zi)return t?._$litStatic$},Bi=t=>({_$litStatic$:t,r:Zi}),Ai=new Map,Mi=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Fi(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Ai.get(t))&&(a.raw=a,Ai.set(t,o=a)),e=s}return t(o,...e)})(q);var Di;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Di||(Di={}));var Pi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Hi extends zo{constructor(){super(...arguments),this.variant=Di.body1}render(){return this.element?Mi`
643
- <${Bi(this.element)}
646
+ const Zi=Symbol.for(""),Bi=t=>{if(t?.r===Zi)return t?._$litStatic$},Ai=t=>({_$litStatic$:t,r:Zi}),Mi=new Map,Di=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Bi(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Mi.get(t))&&(a.raw=a,Mi.set(t,o=a)),e=s}return t(o,...e)})(q);var Pi;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Pi||(Pi={}));var Hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ji extends zo{constructor(){super(...arguments),this.variant=Pi.body1}render(){return this.element?Di`
647
+ <${Ai(this.element)}
644
648
  class="ft-typography ft-typography--${this.variant}">
645
649
  <slot></slot>
646
- </${Bi(this.element)}>
647
- `:Mi`
650
+ </${Ai(this.element)}>
651
+ `:Di`
648
652
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
649
- `}}Hi.styles=[ci,pi,fi,hi,di,yi,ui,gi,bi,mi,xi,...Oi],Pi([C()],Hi.prototype,"element",void 0),Pi([C()],Hi.prototype,"variant",void 0),I("ft-typography")(Hi);const ji=Oo.create("--ft-tooltip-distance","","SIZE","4px"),Ti=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_i=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),Gi=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),Yi=Oo.external($o.borderRadiusS,"Design system"),Vi=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),Ji=mt`
653
+ `}}ji.styles=[pi,fi,hi,di,yi,ui,gi,bi,mi,xi,Oi,...vi],Hi([C()],ji.prototype,"element",void 0),Hi([C()],ji.prototype,"variant",void 0),I("ft-typography")(ji);const Ti=Oo.create("--ft-tooltip-distance","","SIZE","4px"),_i=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Gi=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),Yi=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),Vi=Oo.external($o.borderRadiusS,"Design system"),Ji=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),qi=mt`
650
654
  .ft-tooltip--container {
651
655
  display: block;
652
656
  }
@@ -661,21 +665,21 @@ const Zi=Symbol.for(""),Fi=t=>{if(t?.r===Zi)return t?._$litStatic$},Bi=t=>({_$li
661
665
  box-sizing: border-box;
662
666
  overflow: hidden;
663
667
  width: max-content;
664
- max-width: ${Vi};
668
+ max-width: ${Ji};
665
669
  text-align: center;
666
- padding: ${ji};
667
- z-index: ${Gi};
670
+ padding: ${Ti};
671
+ z-index: ${Yi};
668
672
  }
669
673
 
670
674
  .ft-tooltip--content {
671
675
  padding: 4px 8px;
672
- border-radius: ${Yi};
673
- background-color: ${_i};
674
- color: ${Ti};
676
+ border-radius: ${Vi};
677
+ background-color: ${Gi};
678
+ color: ${_i};
675
679
  position: relative;
676
680
  word-break: break-word;
677
681
  }
678
- `;var qi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xi extends zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
682
+ `;var Xi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qi extends zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
679
683
  <div part="container"
680
684
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
681
685
  @mouseenter=${this.onHover}
@@ -693,34 +697,34 @@ const Zi=Symbol.for(""),Fi=t=>{if(t?.r===Zi)return t?._$litStatic$},Bi=t=>({_$li
693
697
  </div>
694
698
  </div>
695
699
  </div>
696
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-l.y,h=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(f,h))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Vi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Xi.elementDefinitions={"ft-typography":Hi},Xi.styles=Ji,qi([C()],Xi.prototype,"text",void 0),qi([C({type:Boolean})],Xi.prototype,"manual",void 0),qi([C({type:Boolean})],Xi.prototype,"inline",void 0),qi([C({type:Number})],Xi.prototype,"delay",void 0),qi([C()],Xi.prototype,"position",void 0),qi([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Xi.prototype,"slotNodes",void 0),qi([E(".ft-tooltip--container")],Xi.prototype,"container",void 0),qi([E(".ft-tooltip")],Xi.prototype,"tooltip",void 0),qi([E(".ft-tooltip--content")],Xi.prototype,"tooltipContent",void 0),qi([$()],Xi.prototype,"visible",void 0),I("ft-tooltip")(Xi);
700
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-l.y,h=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(f,h))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Ji})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Qi.elementDefinitions={"ft-typography":ji},Qi.styles=qi,Xi([C()],Qi.prototype,"text",void 0),Xi([C({type:Boolean})],Qi.prototype,"manual",void 0),Xi([C({type:Boolean})],Qi.prototype,"inline",void 0),Xi([C({type:Number})],Qi.prototype,"delay",void 0),Xi([C()],Qi.prototype,"position",void 0),Xi([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Qi.prototype,"slotNodes",void 0),Xi([E(".ft-tooltip--container")],Qi.prototype,"container",void 0),Xi([E(".ft-tooltip")],Qi.prototype,"tooltip",void 0),Xi([E(".ft-tooltip--content")],Qi.prototype,"tooltipContent",void 0),Xi([$()],Qi.prototype,"visible",void 0),I("ft-tooltip")(Qi);
697
701
  /**
698
702
  * @license
699
703
  * Copyright 2017 Google LLC
700
704
  * SPDX-License-Identifier: BSD-3-Clause
701
705
  */
702
- class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Qi.directiveName="unsafeHTML",Qi.resultType=1;const tr=To(Qi);var or,er,ir;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(or||(or={})),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;"}(er||(er={})),new Map([...["abw"].map((t=>[t,er.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,er.AUDIO])),...["avi"].map((t=>[t,er.AVI])),...["chm","xhs"].map((t=>[t,er.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,er.CODE])),...["csv"].map((t=>[t,er.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,er.DITA])),...["epub"].map((t=>[t,er.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,er.EXCEL])),...["flac"].map((t=>[t,er.FLAC])),...["gif"].map((t=>[t,er.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,er.GZIP])),...["html","htm","xhtml"].map((t=>[t,er.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,er.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,er.JPEG])),...["json"].map((t=>[t,er.JSON])),...["m4a","m4p"].map((t=>[t,er.M4A])),...["mov","qt"].map((t=>[t,er.MOV])),...["mp3"].map((t=>[t,er.MP3])),...["mp4","m4v"].map((t=>[t,er.MP4])),...["ogg","oga"].map((t=>[t,er.OGG])),...["pdf","ps"].map((t=>[t,er.PDF])),...["png"].map((t=>[t,er.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,er.POWERPOINT])),...["rar"].map((t=>[t,er.RAR])),...["stp"].map((t=>[t,er.STP])),...["txt","rtf","md","mdown"].map((t=>[t,er.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,er.VIDEO])),...["wav"].map((t=>[t,er.WAV])),...["wma"].map((t=>[t,er.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,er.WORD])),...["xml","xsl","rdf"].map((t=>[t,er.XML])),...["yaml","yml","x-yaml"].map((t=>[t,er.YAML])),...["zip"].map((t=>[t,er.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ir||(ir={}));var rr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nr extends zo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(ir).includes(this.variant)?this.variant:ir.fluid_topics,o=t!==ir.material||!!this.value;return to`
706
+ class tr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}tr.directiveName="unsafeHTML",tr.resultType=1;const or=_o(tr);var er,ir,rr;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(er||(er={})),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;"}(ir||(ir={})),new Map([...["abw"].map((t=>[t,ir.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,ir.AUDIO])),...["avi"].map((t=>[t,ir.AVI])),...["chm","xhs"].map((t=>[t,ir.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,ir.CODE])),...["csv"].map((t=>[t,ir.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ir.DITA])),...["epub"].map((t=>[t,ir.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ir.EXCEL])),...["flac"].map((t=>[t,ir.FLAC])),...["gif"].map((t=>[t,ir.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ir.GZIP])),...["html","htm","xhtml"].map((t=>[t,ir.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,ir.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ir.JPEG])),...["json"].map((t=>[t,ir.JSON])),...["m4a","m4p"].map((t=>[t,ir.M4A])),...["mov","qt"].map((t=>[t,ir.MOV])),...["mp3"].map((t=>[t,ir.MP3])),...["mp4","m4v"].map((t=>[t,ir.MP4])),...["ogg","oga"].map((t=>[t,ir.OGG])),...["pdf","ps"].map((t=>[t,ir.PDF])),...["png"].map((t=>[t,ir.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ir.POWERPOINT])),...["rar"].map((t=>[t,ir.RAR])),...["stp"].map((t=>[t,ir.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ir.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,ir.VIDEO])),...["wav"].map((t=>[t,ir.WAV])),...["wma"].map((t=>[t,ir.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ir.WORD])),...["xml","xsl","rdf"].map((t=>[t,ir.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ir.YAML])),...["zip"].map((t=>[t,ir.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rr||(rr={}));var nr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends zo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(rr).includes(this.variant)?this.variant:rr.fluid_topics,o=t!==rr.material||!!this.value;return to`
703
707
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
704
- ${tr(this.resolvedIcon)}
708
+ ${or(this.resolvedIcon)}
705
709
  <slot ?hidden=${o}></slot>
706
710
  </i>
707
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case ir.file_format:this.resolvedIcon=null!==(t=er[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ir.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=or[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}nr.elementDefinitions={},nr.styles=wi,rr([C()],nr.prototype,"variant",void 0),rr([C()],nr.prototype,"value",void 0),rr([$()],nr.prototype,"resolvedIcon",void 0),rr([E("slot")],nr.prototype,"slottedContent",void 0),I("ft-icon")(nr);class ar extends zo{render(){return to`
711
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case rr.file_format:this.resolvedIcon=null!==(t=ir[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case rr.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=er[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ar.elementDefinitions={},ar.styles=Ci,nr([C()],ar.prototype,"variant",void 0),nr([C()],ar.prototype,"value",void 0),nr([$()],ar.prototype,"resolvedIcon",void 0),nr([E("slot")],ar.prototype,"slottedContent",void 0),I("ft-icon")(ar);class sr extends zo{render(){return to`
708
712
  <div class="ft-loader">
709
713
  <div></div>
710
714
  <div></div>
711
715
  <div></div>
712
716
  <div></div>
713
717
  </div>
714
- `}}ar.styles=Ni,I("ft-loader")(ar);var sr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class lr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Bo].form}constructor(...t){super(t),this[Bo]=this.attachInternals(),this[Bo].role=o}setFormValue(t){this[Bo].setFormValue(t)}}}(zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
718
+ `}}sr.styles=Si,I("ft-loader")(sr);var lr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cr extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ao].form}constructor(...t){super(t),this[Ao]=this.attachInternals(),this[Ao].role=o}setFormValue(t){this[Ao].setFormValue(t)}}}(zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
715
719
  <button part="button"
716
- class="${Go(this.buttonClasses)}"
720
+ class="${Yo(this.buttonClasses)}"
717
721
  aria-label="${this.getLabel()}"
718
722
  ?disabled=${this.isDisabled()}>
719
723
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
720
724
  <ft-typography part="label"
721
725
  variant=${this.typographyVariant}
722
726
  element="span"
723
- class="ft-button--label ${Po?"ft-safari-ellipsis-fix":""}"
727
+ class="ft-button--label ${Ho?"ft-safari-ellipsis-fix":""}"
724
728
  ?hidden=${!this.hasTextContent()}>
725
729
  <slot @slotchange=${this.onSlotchange}></slot>
726
730
  </ft-typography>
@@ -734,7 +738,7 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
734
738
  </ft-tooltip>
735
739
  `:t}resolveIcon(){return this.loading?to`
736
740
  <ft-loader part="loader icon"></ft-loader> `:this.icon?to`
737
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}lr.elementDefinitions={"ft-ripple":zi,"ft-tooltip":Xi,"ft-typography":Hi,"ft-icon":nr,"ft-loader":ar},sr([C({type:String,reflect:!0})],lr.prototype,"role",void 0),sr([C()],lr.prototype,"type",void 0),sr([C({type:Boolean})],lr.prototype,"disabled",void 0),sr([C()],lr.prototype,"label",void 0),sr([C()],lr.prototype,"icon",void 0),sr([C()],lr.prototype,"iconVariant",void 0),sr([C({type:Boolean})],lr.prototype,"trailingIcon",void 0),sr([C({type:Boolean})],lr.prototype,"loading",void 0),sr([C()],lr.prototype,"tooltipPosition",void 0),sr([C({type:Boolean})],lr.prototype,"hideTooltip",void 0),sr([C({type:Boolean})],lr.prototype,"forceTooltip",void 0),sr([E(".ft-button")],lr.prototype,"button",void 0),sr([E(".ft-button--label slot")],lr.prototype,"slottedContent",void 0);var cr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pr extends lr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}pr.styles=[Fo,Li],cr([C({type:Boolean})],pr.prototype,"primary",void 0),cr([C({type:Boolean})],pr.prototype,"outlined",void 0),cr([C({type:Boolean})],pr.prototype,"dense",void 0),cr([C({type:Boolean})],pr.prototype,"round",void 0);const fr=[mt`
741
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}cr.elementDefinitions={"ft-ripple":Fi,"ft-tooltip":Qi,"ft-typography":ji,"ft-icon":ar,"ft-loader":sr},lr([C({type:String,reflect:!0})],cr.prototype,"role",void 0),lr([C()],cr.prototype,"type",void 0),lr([C({type:Boolean})],cr.prototype,"disabled",void 0),lr([C()],cr.prototype,"label",void 0),lr([C()],cr.prototype,"icon",void 0),lr([C()],cr.prototype,"iconVariant",void 0),lr([C({type:Boolean})],cr.prototype,"trailingIcon",void 0),lr([C({type:Boolean})],cr.prototype,"loading",void 0),lr([C()],cr.prototype,"tooltipPosition",void 0),lr([C({type:Boolean})],cr.prototype,"hideTooltip",void 0),lr([C({type:Boolean})],cr.prototype,"forceTooltip",void 0),lr([E(".ft-button")],cr.prototype,"button",void 0),lr([E(".ft-button--label slot")],cr.prototype,"slottedContent",void 0);var pr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fr extends cr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}fr.styles=[Bo,Ki],pr([C({type:Boolean})],fr.prototype,"primary",void 0),pr([C({type:Boolean})],fr.prototype,"outlined",void 0),pr([C({type:Boolean})],fr.prototype,"dense",void 0),pr([C({type:Boolean})],fr.prototype,"round",void 0);const hr=[mt`
738
742
  :host {
739
743
  display: inline-block;
740
744
  max-width: 100%;
@@ -813,13 +817,13 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
813
817
  /** Primary styles **/
814
818
 
815
819
  .ft-button--primary {
816
- ${vo(vi.color,Co.primaryIconColor)};
820
+ ${vo(Ni.color,Co.primaryIconColor)};
817
821
 
818
- ${vo(qo.color,Co.primaryStateLayerColor)};
819
- ${vo(qo.opacityContentOnSurfaceHover,Co.primaryStateLayerOpacityHover)};
820
- ${vo(qo.opacityContentOnSurfaceFocused,Co.primaryStateLayerOpacityFocus)};
821
- ${vo(qo.opacityContentOnSurfaceSelected,Co.primaryStateLayerOpacityActive)};
822
- ${vo(qo.opacityContentOnSurfacePressed,Co.primaryStateLayerOpacityActive)};
822
+ ${vo(Xo.color,Co.primaryStateLayerColor)};
823
+ ${vo(Xo.opacityContentOnSurfaceHover,Co.primaryStateLayerOpacityHover)};
824
+ ${vo(Xo.opacityContentOnSurfaceFocused,Co.primaryStateLayerOpacityFocus)};
825
+ ${vo(Xo.opacityContentOnSurfaceSelected,Co.primaryStateLayerOpacityActive)};
826
+ ${vo(Xo.opacityContentOnSurfacePressed,Co.primaryStateLayerOpacityActive)};
823
827
 
824
828
  background-color: ${Co.primaryBackgroundColor};
825
829
  color: ${Co.primaryColor};
@@ -837,13 +841,13 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
837
841
  /** Secondary styles **/
838
842
 
839
843
  .ft-button--secondary {
840
- ${vo(vi.color,Co.secondaryIconColor)};
844
+ ${vo(Ni.color,Co.secondaryIconColor)};
841
845
 
842
- ${vo(qo.color,Co.secondaryStateLayerColor)};
843
- ${vo(qo.opacityContentOnSurfaceHover,Co.secondaryStateLayerOpacityHover)};
844
- ${vo(qo.opacityContentOnSurfaceFocused,Co.secondaryStateLayerOpacityFocus)};
845
- ${vo(qo.opacityContentOnSurfaceSelected,Co.secondaryStateLayerOpacityActive)};
846
- ${vo(qo.opacityContentOnSurfacePressed,Co.secondaryStateLayerOpacityActive)};
846
+ ${vo(Xo.color,Co.secondaryStateLayerColor)};
847
+ ${vo(Xo.opacityContentOnSurfaceHover,Co.secondaryStateLayerOpacityHover)};
848
+ ${vo(Xo.opacityContentOnSurfaceFocused,Co.secondaryStateLayerOpacityFocus)};
849
+ ${vo(Xo.opacityContentOnSurfaceSelected,Co.secondaryStateLayerOpacityActive)};
850
+ ${vo(Xo.opacityContentOnSurfacePressed,Co.secondaryStateLayerOpacityActive)};
847
851
 
848
852
  background-color: ${Co.secondaryBackgroundColor};
849
853
  color: ${Co.secondaryColor};
@@ -862,13 +866,13 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
862
866
  /** Tertiary styles **/
863
867
 
864
868
  .ft-button--tertiary {
865
- ${vo(vi.color,Co.tertiaryIconColor)};
869
+ ${vo(Ni.color,Co.tertiaryIconColor)};
866
870
 
867
- ${vo(qo.color,Co.tertiaryStateLayerColor)};
868
- ${vo(qo.opacityContentOnSurfaceHover,Co.tertiaryStateLayerOpacityHover)};
869
- ${vo(qo.opacityContentOnSurfaceFocused,Co.tertiaryStateLayerOpacityFocus)};
870
- ${vo(qo.opacityContentOnSurfaceSelected,Co.tertiaryStateLayerOpacityActive)};
871
- ${vo(qo.opacityContentOnSurfacePressed,Co.tertiaryStateLayerOpacityActive)};
871
+ ${vo(Xo.color,Co.tertiaryStateLayerColor)};
872
+ ${vo(Xo.opacityContentOnSurfaceHover,Co.tertiaryStateLayerOpacityHover)};
873
+ ${vo(Xo.opacityContentOnSurfaceFocused,Co.tertiaryStateLayerOpacityFocus)};
874
+ ${vo(Xo.opacityContentOnSurfaceSelected,Co.tertiaryStateLayerOpacityActive)};
875
+ ${vo(Xo.opacityContentOnSurfacePressed,Co.tertiaryStateLayerOpacityActive)};
872
876
 
873
877
  background-color: ${Co.tertiaryBackgroundColor};
874
878
  color: ${Co.tertiaryColor};
@@ -886,13 +890,13 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
886
890
  /** Neutral styles **/
887
891
 
888
892
  .ft-button--neutral {
889
- ${vo(vi.color,Co.neutralIconColor)};
893
+ ${vo(Ni.color,Co.neutralIconColor)};
890
894
 
891
- ${vo(qo.backgroundColor,Co.neutralStateLayerColor)};
892
- ${vo(qo.opacityContentOnSurfaceHover,Co.neutralStateLayerOpacityHover)};
893
- ${vo(qo.opacityContentOnSurfaceFocused,Co.neutralStateLayerOpacityFocus)};
894
- ${vo(qo.opacityContentOnSurfaceSelected,Co.neutralStateLayerOpacityActive)};
895
- ${vo(qo.opacityContentOnSurfacePressed,Co.neutralStateLayerOpacityActive)};
895
+ ${vo(Xo.backgroundColor,Co.neutralStateLayerColor)};
896
+ ${vo(Xo.opacityContentOnSurfaceHover,Co.neutralStateLayerOpacityHover)};
897
+ ${vo(Xo.opacityContentOnSurfaceFocused,Co.neutralStateLayerOpacityFocus)};
898
+ ${vo(Xo.opacityContentOnSurfaceSelected,Co.neutralStateLayerOpacityActive)};
899
+ ${vo(Xo.opacityContentOnSurfacePressed,Co.neutralStateLayerOpacityActive)};
896
900
 
897
901
  background-color: ${Co.neutralBackgroundColor};
898
902
  color: ${Co.neutralColor};
@@ -910,8 +914,8 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
910
914
  /** Large styles **/
911
915
 
912
916
  .ft-button--large {
913
- ${vo(Si.size,Co.largeIconSize)};
914
- ${vo(vi.size,Co.largeIconSize)};
917
+ ${vo(wi.size,Co.largeIconSize)};
918
+ ${vo(Ni.size,Co.largeIconSize)};
915
919
 
916
920
  height: ${Co.largeHeight};
917
921
  padding: 0 ${Co.largeHorizontalPadding};
@@ -933,8 +937,8 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
933
937
  /** Small styles **/
934
938
 
935
939
  .ft-button--small {
936
- ${vo(Si.size,Co.smallIconSize)};
937
- ${vo(vi.size,Co.smallIconSize)};
940
+ ${vo(wi.size,Co.smallIconSize)};
941
+ ${vo(Ni.size,Co.smallIconSize)};
938
942
 
939
943
  height: ${Co.smallHeight};
940
944
  padding: 0 ${Co.smallHorizontalPadding};
@@ -952,7 +956,7 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
952
956
  width: ${Co.smallIconOnlyWidth};
953
957
  padding: unset;
954
958
  }
955
- `,Zo];var hr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class dr extends lr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Di.caption1medium:Di.body2medium}}dr.styles=[Fo,fr],hr([C({type:Boolean})],dr.prototype,"primary",void 0),hr([C({type:Boolean})],dr.prototype,"secondary",void 0),hr([C({type:Boolean})],dr.prototype,"tertiary",void 0),hr([C({type:Boolean})],dr.prototype,"neutral",void 0),hr([C({type:Boolean})],dr.prototype,"small",void 0),I("ft-button")(pr),I("ftds-button")(dr);const yr=mt`
959
+ `,Zo];var dr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yr extends cr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Pi.caption1medium:Pi.body2medium}}yr.styles=[Bo,hr],dr([C({type:Boolean})],yr.prototype,"primary",void 0),dr([C({type:Boolean})],yr.prototype,"secondary",void 0),dr([C({type:Boolean})],yr.prototype,"tertiary",void 0),dr([C({type:Boolean})],yr.prototype,"neutral",void 0),dr([C({type:Boolean})],yr.prototype,"small",void 0),I("ft-button")(fr),I("ftds-button")(yr);const ur=mt`
956
960
  :host {
957
961
  display: contents;
958
962
  }
@@ -976,4 +980,4 @@ class Qi extends _o{constructor(t){if(super(t),this.et=Q,t.type!==jo)throw Error
976
980
  .ft-collapsible--animated.ft-collapsible--hidden, .ft-collapsible--animated.ft-collapsible--hidden::slotted(*) {
977
981
  transition: opacity 300ms;
978
982
  }
979
- `;class ur extends Vo{}ur.elementDefinitions={"ft-or-ftds-button":pr},ur.styles=yr;class gr extends Vo{}gr.elementDefinitions={"ft-or-ftds-button":dr},gr.styles=yr,I("ft-collapsible")(ur),I("ftds-collapsible")(gr),t.FtCollapsible=ur,t.FtdsCollapsible=gr,t.styles=yr}({});
983
+ `;class gr extends Jo{}gr.elementDefinitions={"ft-or-ftds-button":fr},gr.styles=ur;class br extends Jo{}br.elementDefinitions={"ft-or-ftds-button":yr},br.styles=ur,I("ft-collapsible")(gr),I("ftds-collapsible")(br),t.FtCollapsible=gr,t.FtdsCollapsible=br,t.styles=ur}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-collapsible",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Collapsible web component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.1.1",
23
- "@fluid-topics/ft-wc-utils": "1.1.1",
22
+ "@fluid-topics/ft-button": "1.1.2",
23
+ "@fluid-topics/ft-wc-utils": "1.1.2",
24
24
  "lit": "3.1.0"
25
25
  },
26
- "gitHead": "ceae4aed142c27cbf6034f45bb6e3f562163cc15"
26
+ "gitHead": "53ce99f657872582bca43cbb7ad691b239b22823"
27
27
  }