@fluid-topics/ft-collapsible 0.3.12 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const p={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(n,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const x=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(di){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const p={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(n,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const p=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!p(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),p(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const x=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(bi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -91,119 +91,119 @@ var rt,at;null==st||st(q,G),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?N
91
91
  * @license
92
92
  * Copyright 2018 Google LLC
93
93
  * SPDX-License-Identifier: BSD-3-Clause
94
- */const St=$t(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return H}});var kt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Nt=ht.extend("--ft-ripple-color",ft.colorContent),Ct={color:Nt,backgroundColor:ht.extend("--ft-ripple-background-color",Nt),opacityContentOnSurfacePressed:ht.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ft.opacityContentOnSurfaceSelected,"Design system")},Et=ht.extend("--ft-ripple-color",ft.colorPrimary),Rt=Et,Mt=ht.extend("--ft-ripple-background-color",Et),zt=ht.extend("--ft-ripple-color",ft.colorSecondary),Ft=zt,Ut=ht.extend("--ft-ripple-background-color",zt);class jt extends ut{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
95
- <style>
96
- .ft-ripple .ft-ripple--effect,
97
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
98
- width: ${this.rippleSize}px;
99
- height: ${this.rippleSize}px;
100
- }
94
+ */const St=$t(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return H}}),kt=ht.extend("--ft-ripple-color",ft.colorContent),Nt={color:kt,backgroundColor:ht.extend("--ft-ripple-background-color",kt),opacityContentOnSurfacePressed:ht.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ht.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ht.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ht.external(ft.opacityContentOnSurfaceSelected,"Design system")},Ct=ht.extend("--ft-ripple-color",ft.colorPrimary),Et=Ct,Rt=ht.extend("--ft-ripple-background-color",Ct),Mt=ht.extend("--ft-ripple-color",ft.colorSecondary),zt=Mt,Ft=ht.extend("--ft-ripple-background-color",Mt),Ut=y`
95
+ :host {
96
+ display: contents;
97
+ }
101
98
 
102
- .ft-ripple .ft-ripple--effect {
103
- left: ${this.originX}px;
104
- top: ${this.originY}px;
105
- }
106
- </style>
107
- <div class="${St(t)}">
108
- <div class="ft-ripple--background"></div>
109
- <div class="ft-ripple--effect"></div>
110
- </div>
111
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}jt.elementDefinitions={},jt.styles=y`
112
- :host {
113
- display: contents;
114
- }
99
+ .ft-ripple {
100
+ position: absolute;
101
+ inset: 0;
102
+ pointer-events: none;
103
+ }
115
104
 
116
- .ft-ripple {
117
- position: absolute;
118
- inset: 0;
119
- pointer-events: none;
120
- }
105
+ .ft-ripple:not(.ft-ripple--unbounded) {
106
+ overflow: hidden;
107
+ }
121
108
 
122
- .ft-ripple:not(.ft-ripple--unbounded) {
123
- overflow: hidden;
124
- }
109
+ .ft-ripple .ft-ripple--background,
110
+ .ft-ripple .ft-ripple--effect {
111
+ position: absolute;
112
+ opacity: 0;
113
+ }
125
114
 
126
- .ft-ripple .ft-ripple--background,
127
- .ft-ripple .ft-ripple--effect {
128
- position: absolute;
129
- opacity: 0;
130
- }
115
+ .ft-ripple .ft-ripple--background {
116
+ background-color: ${Nt.backgroundColor};
117
+ }
131
118
 
132
- .ft-ripple .ft-ripple--background {
133
- background-color: ${Ct.backgroundColor};
134
- }
119
+ .ft-ripple .ft-ripple--effect {
120
+ background-color: ${Nt.color};
121
+ }
135
122
 
136
- .ft-ripple .ft-ripple--effect {
137
- background-color: ${Ct.color};
138
- }
123
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
124
+ background-color: ${Ft};
125
+ }
139
126
 
140
- .ft-ripple.ft-ripple--secondary .ft-ripple--background {
141
- background-color: ${Ut};
142
- }
127
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
128
+ background-color: ${zt};
129
+ }
143
130
 
144
- .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
145
- background-color: ${Ft};
146
- }
131
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
132
+ background-color: ${Rt};
133
+ }
147
134
 
148
- .ft-ripple.ft-ripple--primary .ft-ripple--background {
149
- background-color: ${Mt};
150
- }
135
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
136
+ background-color: ${Et};
137
+ }
151
138
 
152
- .ft-ripple.ft-ripple--primary .ft-ripple--effect {
153
- background-color: ${Rt};
154
- }
139
+ .ft-ripple .ft-ripple--background {
140
+ top: 0;
141
+ left: 0;
142
+ height: 100%;
143
+ width: 100%;
144
+ transition: opacity 75ms linear;
145
+ }
155
146
 
156
- .ft-ripple .ft-ripple--background {
157
- top: 0;
158
- left: 0;
159
- height: 100%;
160
- width: 100%;
161
- transition: opacity 75ms linear;
162
- }
147
+ .ft-ripple .ft-ripple--effect,
148
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
149
+ border-radius: 50%;
150
+ }
163
151
 
164
- .ft-ripple .ft-ripple--effect,
165
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
166
- border-radius: 50%;
167
- }
152
+ .ft-ripple .ft-ripple--effect {
153
+ transform: translate(-50%, -50%) scale(0.15);
154
+ transition: transform 300ms ease, opacity 75ms linear;
155
+ }
168
156
 
169
- .ft-ripple .ft-ripple--effect {
170
- transform: translate(-50%, -50%) scale(0.15);
171
- transition: transform 300ms ease, opacity 75ms linear;
172
- }
157
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
158
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
159
+ left: 50%;
160
+ top: 50%;
161
+ }
173
162
 
174
- .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
175
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
176
- left: 50%;
177
- top: 50%;
178
- }
163
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
164
+ transform: translate(-50%, -50%);
165
+ }
179
166
 
180
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
181
- transform: translate(-50%, -50%);
182
- }
167
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
168
+ opacity: ${Nt.opacityContentOnSurfaceHover};
169
+ }
183
170
 
184
- .ft-ripple.ft-ripple--hovered .ft-ripple--background {
185
- opacity: ${Ct.opacityContentOnSurfaceHover};
186
- }
171
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
172
+ opacity: ${Nt.opacityContentOnSurfaceSelected};
173
+ }
187
174
 
188
- .ft-ripple.ft-ripple--selected .ft-ripple--background {
189
- opacity: ${Ct.opacityContentOnSurfaceSelected};
190
- }
175
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
176
+ opacity: ${Nt.opacityContentOnSurfaceFocused};
177
+ }
191
178
 
192
- .ft-ripple.ft-ripple--focused .ft-ripple--background {
193
- opacity: ${Ct.opacityContentOnSurfaceFocused};
194
- }
179
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
180
+ opacity: ${Nt.opacityContentOnSurfacePressed};
181
+ transform: translate(-50%, -50%) scale(1);
182
+ }
183
+ `;var jt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Bt extends ut{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
184
+ <style>
185
+ .ft-ripple .ft-ripple--effect,
186
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
187
+ width: ${this.rippleSize}px;
188
+ height: ${this.rippleSize}px;
189
+ }
195
190
 
196
- .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
197
- opacity: ${Ct.opacityContentOnSurfacePressed};
198
- transform: translate(-50%, -50%) scale(1);
199
- }
200
- `,kt([o({type:Boolean})],jt.prototype,"primary",void 0),kt([o({type:Boolean})],jt.prototype,"secondary",void 0),kt([o({type:Boolean})],jt.prototype,"unbounded",void 0),kt([o({type:Boolean})],jt.prototype,"activated",void 0),kt([o({type:Boolean})],jt.prototype,"selected",void 0),kt([o({type:Boolean})],jt.prototype,"disabled",void 0),kt([n()],jt.prototype,"hovered",void 0),kt([n()],jt.prototype,"focused",void 0),kt([n()],jt.prototype,"pressed",void 0),kt([n()],jt.prototype,"rippling",void 0),kt([n()],jt.prototype,"rippleSize",void 0),kt([n()],jt.prototype,"originX",void 0),kt([n()],jt.prototype,"originY",void 0),kt([r(".ft-ripple")],jt.prototype,"ripple",void 0),kt([r(".ft-ripple--effect")],jt.prototype,"rippleEffect",void 0),p("ft-ripple")(jt);
191
+ .ft-ripple .ft-ripple--effect {
192
+ left: ${this.originX}px;
193
+ top: ${this.originY}px;
194
+ }
195
+ </style>
196
+ <div class="${St(t)}">
197
+ <div class="ft-ripple--background"></div>
198
+ <div class="ft-ripple--effect"></div>
199
+ </div>
200
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Bt.elementDefinitions={},Bt.styles=Ut,jt([o({type:Boolean})],Bt.prototype,"primary",void 0),jt([o({type:Boolean})],Bt.prototype,"secondary",void 0),jt([o({type:Boolean})],Bt.prototype,"unbounded",void 0),jt([o({type:Boolean})],Bt.prototype,"activated",void 0),jt([o({type:Boolean})],Bt.prototype,"selected",void 0),jt([o({type:Boolean})],Bt.prototype,"disabled",void 0),jt([n()],Bt.prototype,"hovered",void 0),jt([n()],Bt.prototype,"focused",void 0),jt([n()],Bt.prototype,"pressed",void 0),jt([n()],Bt.prototype,"rippling",void 0),jt([n()],Bt.prototype,"rippleSize",void 0),jt([n()],Bt.prototype,"originX",void 0),jt([n()],Bt.prototype,"originY",void 0),jt([r(".ft-ripple")],Bt.prototype,"ripple",void 0),jt([r(".ft-ripple--effect")],Bt.prototype,"rippleEffect",void 0),p("ft-ripple")(Bt);
201
201
  /**
202
202
  * @license
203
203
  * Copyright 2020 Google LLC
204
204
  * SPDX-License-Identifier: BSD-3-Clause
205
205
  */
206
- const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void 0:t._$litStatic$},At=t=>({_$litStatic$:t,r:Bt}),Lt=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(s=i[p],n=Tt(s));)l+=n+e[++p],h=!0;a.push(s),r.push(l),p++}if(p===o&&r.push(e[o]),h){const t=r.join("$$lit$$");void 0===(e=Lt.get(t))&&(r.raw=r,Lt.set(t,e=r)),i=a}return t(e,...i)})(W);var _t,Dt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!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||(_t={}));const It=ht.extend("--ft-typography-font-family",ft.titleFont),Wt=ht.extend("--ft-typography-font-family",ft.contentFont),Ht={fontFamily:Wt,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=ht.extend("--ft-typography-title-font-family",It),Zt=ht.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Vt=ht.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),Jt=ht.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),qt=ht.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Xt=ht.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Yt=ht.extend("--ft-typography-title-dense-font-family",It),Gt=ht.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),Qt=ht.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),te=ht.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ee=ht.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),ie=ht.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),oe=ht.extend("--ft-typography-subtitle1-font-family",Wt),ne=ht.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),se=ht.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),re=ht.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),ae=ht.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),le=ht.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),pe=ht.extend("--ft-typography-subtitle2-font-family",Wt),he=ht.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),ce=ht.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),fe=ht.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),de=ht.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),ue=ht.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),ye=ht.extend("--ft-typography-body1-font-family",Wt),ve=ht.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),be=ht.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),xe=ht.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),ge=ht.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),me=ht.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),we=ht.extend("--ft-typography-body2-font-family",Wt),$e=ht.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),Oe=ht.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),Se=ht.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),ke=ht.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),Ne=ht.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),Ce=ht.extend("--ft-typography-caption-font-family",Wt),Ee=ht.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),Re=ht.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Me=ht.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),ze=ht.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Fe=ht.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Ue=ht.extend("--ft-typography-breadcrumb-font-family",Wt),je=ht.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Be=ht.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Te=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Ae=ht.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),Le=ht.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Pe=ht.extend("--ft-typography-overline-font-family",Wt),_e=ht.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),De=ht.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Ie=ht.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),We=ht.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),He=ht.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Ke={fontFamily:ht.extend("--ft-typography-button-font-family",Wt),fontSize:ht.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase")},Ze=y`
206
+ const Tt=Symbol.for(""),At=t=>{if((null==t?void 0:t.r)===Tt)return null==t?void 0:t._$litStatic$},Lt=t=>({_$litStatic$:t,r:Tt}),Pt=new Map,_t=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(s=i[p],n=At(s));)l+=n+e[++p],h=!0;a.push(s),r.push(l),p++}if(p===o&&r.push(e[o]),h){const t=r.join("$$lit$$");void 0===(e=Pt.get(t))&&(r.raw=r,Pt.set(t,e=r)),i=a}return t(e,...i)})(W);var Dt;!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"}(Dt||(Dt={}));const It=ht.extend("--ft-typography-font-family",ft.titleFont),Wt=ht.extend("--ft-typography-font-family",ft.contentFont),Ht={fontFamily:Wt,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},Kt=ht.extend("--ft-typography-title-font-family",It),Zt=ht.extend("--ft-typography-title-font-size",Ht.fontSize,"20px"),Vt=ht.extend("--ft-typography-title-font-weight",Ht.fontWeight,"normal"),Jt=ht.extend("--ft-typography-title-letter-spacing",Ht.letterSpacing,"0.15px"),qt=ht.extend("--ft-typography-title-line-height",Ht.lineHeight,"1.2"),Xt=ht.extend("--ft-typography-title-text-transform",Ht.textTransform,"inherit"),Yt=ht.extend("--ft-typography-title-dense-font-family",It),Gt=ht.extend("--ft-typography-title-dense-font-size",Ht.fontSize,"14px"),Qt=ht.extend("--ft-typography-title-dense-font-weight",Ht.fontWeight,"normal"),te=ht.extend("--ft-typography-title-dense-letter-spacing",Ht.letterSpacing,"0.105px"),ee=ht.extend("--ft-typography-title-dense-line-height",Ht.lineHeight,"1.7"),ie=ht.extend("--ft-typography-title-dense-text-transform",Ht.textTransform,"inherit"),oe=ht.extend("--ft-typography-subtitle1-font-family",Wt),ne=ht.extend("--ft-typography-subtitle1-font-size",Ht.fontSize,"16px"),se=ht.extend("--ft-typography-subtitle1-font-weight",Ht.fontWeight,"600"),re=ht.extend("--ft-typography-subtitle1-letter-spacing",Ht.letterSpacing,"0.144px"),ae=ht.extend("--ft-typography-subtitle1-line-height",Ht.lineHeight,"1.5"),le=ht.extend("--ft-typography-subtitle1-text-transform",Ht.textTransform,"inherit"),pe=ht.extend("--ft-typography-subtitle2-font-family",Wt),he=ht.extend("--ft-typography-subtitle2-font-size",Ht.fontSize,"14px"),ce=ht.extend("--ft-typography-subtitle2-font-weight",Ht.fontWeight,"normal"),fe=ht.extend("--ft-typography-subtitle2-letter-spacing",Ht.letterSpacing,"0.098px"),de=ht.extend("--ft-typography-subtitle2-line-height",Ht.lineHeight,"1.7"),ue=ht.extend("--ft-typography-subtitle2-text-transform",Ht.textTransform,"inherit"),ye=ht.extend("--ft-typography-body1-font-family",Wt),ve=ht.extend("--ft-typography-body1-font-size",Ht.fontSize,"16px"),be=ht.extend("--ft-typography-body1-font-weight",Ht.fontWeight,"normal"),xe=ht.extend("--ft-typography-body1-letter-spacing",Ht.letterSpacing,"0.496px"),ge=ht.extend("--ft-typography-body1-line-height",Ht.lineHeight,"1.5"),me=ht.extend("--ft-typography-body1-text-transform",Ht.textTransform,"inherit"),we=ht.extend("--ft-typography-body2-font-family",Wt),$e=ht.extend("--ft-typography-body2-font-size",Ht.fontSize,"14px"),Oe=ht.extend("--ft-typography-body2-font-weight",Ht.fontWeight,"normal"),Se=ht.extend("--ft-typography-body2-letter-spacing",Ht.letterSpacing,"0.252px"),ke=ht.extend("--ft-typography-body2-line-height",Ht.lineHeight,"1.4"),Ne=ht.extend("--ft-typography-body2-text-transform",Ht.textTransform,"inherit"),Ce=ht.extend("--ft-typography-caption-font-family",Wt),Ee=ht.extend("--ft-typography-caption-font-size",Ht.fontSize,"12px"),Re=ht.extend("--ft-typography-caption-font-weight",Ht.fontWeight,"normal"),Me=ht.extend("--ft-typography-caption-letter-spacing",Ht.letterSpacing,"0.396px"),ze=ht.extend("--ft-typography-caption-line-height",Ht.lineHeight,"1.33"),Fe=ht.extend("--ft-typography-caption-text-transform",Ht.textTransform,"inherit"),Ue=ht.extend("--ft-typography-breadcrumb-font-family",Wt),je=ht.extend("--ft-typography-breadcrumb-font-size",Ht.fontSize,"10px"),Be=ht.extend("--ft-typography-breadcrumb-font-weight",Ht.fontWeight,"normal"),Te=ht.extend("--ft-typography-breadcrumb-letter-spacing",Ht.letterSpacing,"0.33px"),Ae=ht.extend("--ft-typography-breadcrumb-line-height",Ht.lineHeight,"1.6"),Le=ht.extend("--ft-typography-breadcrumb-text-transform",Ht.textTransform,"inherit"),Pe=ht.extend("--ft-typography-overline-font-family",Wt),_e=ht.extend("--ft-typography-overline-font-size",Ht.fontSize,"10px"),De=ht.extend("--ft-typography-overline-font-weight",Ht.fontWeight,"normal"),Ie=ht.extend("--ft-typography-overline-letter-spacing",Ht.letterSpacing,"1.5px"),We=ht.extend("--ft-typography-overline-line-height",Ht.lineHeight,"1.6"),He=ht.extend("--ft-typography-overline-text-transform",Ht.textTransform,"uppercase"),Ke={fontFamily:ht.extend("--ft-typography-button-font-family",Wt),fontSize:ht.extend("--ft-typography-button-font-size",Ht.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",Ht.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",Ht.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",Ht.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",Ht.textTransform,"uppercase")},Ze=y`
207
207
  .ft-typography--title {
208
208
  font-family: ${Kt};
209
209
  font-size: ${Zt};
@@ -294,18 +294,50 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
294
294
  line-height: ${Ke.lineHeight};
295
295
  text-transform: ${Ke.textTransform};
296
296
  }
297
- `;class ii extends ut{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Pt`
298
- <${At(this.element)}
297
+ `,ii=y`
298
+ .ft-typography {
299
+ vertical-align: inherit;
300
+ }
301
+ `;var oi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ni extends ut{constructor(){super(...arguments),this.variant=Dt.body1}render(){return this.element?_t`
302
+ <${Lt(this.element)}
299
303
  class="ft-typography ft-typography--${this.variant}">
300
304
  <slot></slot>
301
- </${At(this.element)}>
302
- `:Pt`
305
+ </${Lt(this.element)}>
306
+ `:_t`
303
307
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
304
- `}}ii.styles=[Ze,Ve,Je,qe,Xe,Ye,Ge,Qe,ti,ei,y`
305
- .ft-typography {
306
- vertical-align: inherit;
307
- }
308
- `],Dt([o()],ii.prototype,"element",void 0),Dt([o()],ii.prototype,"variant",void 0),p("ft-typography")(ii);var oi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const ni=ht.create("--ft-tooltip-distance","SIZE","4px"),si=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ri=ht.create("--ft-tooltip-background-color","COLOR","#666666"),ai=ht.create("--ft-tooltip-z-index","NUMBER","1"),li=ht.external(ft.borderRadiusS,"Design system"),pi=ht.create("--ft-tooltip-max-width","SIZE","150px");class hi extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
308
+ `}}ni.styles=[Ze,Ve,Je,qe,Xe,Ye,Ge,Qe,ti,ei,ii],oi([o()],ni.prototype,"element",void 0),oi([o()],ni.prototype,"variant",void 0),p("ft-typography")(ni);const si=ht.create("--ft-tooltip-distance","SIZE","4px"),ri=ht.create("--ft-tooltip-color","COLOR","#FFFFFF"),ai=ht.create("--ft-tooltip-background-color","COLOR","#666666"),li=ht.create("--ft-tooltip-z-index","NUMBER","1"),pi=ht.external(ft.borderRadiusS,"Design system"),hi=ht.create("--ft-tooltip-max-width","SIZE","150px"),ci=y`
309
+ .ft-tooltip--container {
310
+ display: block;
311
+ position: relative;
312
+ }
313
+
314
+ .ft-tooltip--inline {
315
+ display: inline-block;
316
+ max-width: 100%;
317
+ }
318
+
319
+ .ft-tooltip {
320
+ position: absolute;
321
+ box-sizing: border-box;
322
+ overflow: hidden;
323
+ width: max-content;
324
+ max-width: ${hi};
325
+ text-align: center;
326
+ padding: ${si};
327
+ z-index: ${li};
328
+ }
329
+
330
+ .ft-tooltip--content {
331
+ padding: 4px 8px;
332
+ border-radius: ${pi};
333
+ background-color: ${ai};
334
+ color: ${ri};
335
+ top: -500px;
336
+ left: -500px;
337
+ position: relative;
338
+ word-break: break-word;
339
+ }
340
+ `;var fi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class di extends ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
309
341
  <div part="container"
310
342
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
311
343
  @mouseenter=${this.onHover}
@@ -321,302 +353,270 @@ const Bt=Symbol.for(""),Tt=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void
321
353
  </div>
322
354
  <slot></slot>
323
355
  </div>
324
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&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.position){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 e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.position){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${pi})`}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())}}hi.elementDefinitions={"ft-typography":ii},hi.styles=y`
325
- .ft-tooltip--container {
326
- display: block;
327
- position: relative;
328
- }
329
-
330
- .ft-tooltip--inline {
331
- display: inline-block;
332
- max-width: 100%;
333
- }
334
-
335
- .ft-tooltip {
336
- position: absolute;
337
- box-sizing: border-box;
338
- overflow: hidden;
339
- width: max-content;
340
- max-width: ${pi};
341
- text-align: center;
342
- padding: ${ni};
343
- z-index: ${ai};
344
- }
345
-
346
- .ft-tooltip--content {
347
- padding: 4px 8px;
348
- border-radius: ${li};
349
- background-color: ${ri};
350
- color: ${si};
351
- top: -500px;
352
- left: -500px;
353
- position: relative;
354
- word-break: break-word;
355
- }
356
- `,oi([o()],hi.prototype,"text",void 0),oi([o({type:Boolean})],hi.prototype,"manual",void 0),oi([o({type:Boolean})],hi.prototype,"inline",void 0),oi([o({type:Number})],hi.prototype,"delay",void 0),oi([o()],hi.prototype,"position",void 0),oi([
356
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&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.position){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 e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.position){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${hi})`}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())}}di.elementDefinitions={"ft-typography":ni},di.styles=ci,fi([o()],di.prototype,"text",void 0),fi([o({type:Boolean})],di.prototype,"manual",void 0),fi([o({type:Boolean})],di.prototype,"inline",void 0),fi([o({type:Number})],di.prototype,"delay",void 0),fi([o()],di.prototype,"position",void 0),fi([
357
357
  /**
358
358
  * @license
359
359
  * Copyright 2017 Google LLC
360
360
  * SPDX-License-Identifier: BSD-3-Clause
361
361
  */
362
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],hi.prototype,"slotNodes",void 0),oi([r(".ft-tooltip--container")],hi.prototype,"container",void 0),oi([r("slot")],hi.prototype,"target",void 0),oi([r(".ft-tooltip")],hi.prototype,"tooltip",void 0),oi([r(".ft-tooltip--content")],hi.prototype,"tooltipContent",void 0),oi([n()],hi.prototype,"visible",void 0),p("ft-tooltip")(hi);const ci={color:ht.extend("--ft-loader-color",ft.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")};class fi extends ut{static get styles(){return y`
363
- :host {
364
- line-height: 0;
365
- }
366
-
367
- .ft-loader {
368
- display: inline-block;
369
- position: relative;
370
-
371
- width: ${ci.size};
372
- height: ${ci.size};
373
- }
374
-
375
- .ft-loader div {
376
- position: absolute;
377
- top: 37.5%;
378
- width: 25%;
379
- height: 25%;
380
- border-radius: 50%;
381
- background: ${ci.color};
382
- animation-timing-function: cubic-bezier(0, 1, 1, 0);
383
- }
384
-
385
- .ft-loader div:nth-child(1) {
386
- left: 2.5%;
387
- animation: appear 0.6s infinite;
388
- }
389
-
390
- .ft-loader div:nth-child(2) {
391
- left: 2.5%;
392
- animation: move 0.6s infinite;
393
- }
394
-
395
- .ft-loader div:nth-child(3) {
396
- left: 37.5%;
397
- animation: move 0.6s infinite;
398
- }
399
-
400
- .ft-loader div:nth-child(4) {
401
- left: 72.5%;
402
- animation: disappear 0.6s infinite;
403
- }
404
-
405
- @keyframes appear {
406
- 0% {
407
- transform: scale(0);
408
- }
409
- 100% {
410
- transform: scale(1);
411
- }
412
- }
362
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],di.prototype,"slotNodes",void 0),fi([r(".ft-tooltip--container")],di.prototype,"container",void 0),fi([r("slot")],di.prototype,"target",void 0),fi([r(".ft-tooltip")],di.prototype,"tooltip",void 0),fi([r(".ft-tooltip--content")],di.prototype,"tooltipContent",void 0),fi([n()],di.prototype,"visible",void 0),p("ft-tooltip")(di);const ui={color:ht.extend("--ft-loader-color",ft.colorPrimary),size:ht.create("--ft-loader-size","SIZE","80px")},yi=y`
363
+ :host {
364
+ line-height: 0;
365
+ }
413
366
 
414
- @keyframes disappear {
415
- 0% {
416
- transform: scale(1);
417
- }
418
- 100% {
419
- transform: scale(0);
420
- }
421
- }
367
+ .ft-loader {
368
+ display: inline-block;
369
+ position: relative;
422
370
 
423
- @keyframes move {
424
- 0% {
425
- transform: translate(0, 0);
426
- }
427
- 100% {
428
- transform: translate(calc(0.35 * ${ci.size}), 0);
429
- }
430
- }
431
- `}render(){return W`
371
+ width: ${ui.size};
372
+ height: ${ui.size};
373
+ }
374
+
375
+ .ft-loader div {
376
+ position: absolute;
377
+ top: 37.5%;
378
+ width: 25%;
379
+ height: 25%;
380
+ border-radius: 50%;
381
+ background: ${ui.color};
382
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
383
+ }
384
+
385
+ .ft-loader div:nth-child(1) {
386
+ left: 2.5%;
387
+ animation: appear 0.6s infinite;
388
+ }
389
+
390
+ .ft-loader div:nth-child(2) {
391
+ left: 2.5%;
392
+ animation: move 0.6s infinite;
393
+ }
394
+
395
+ .ft-loader div:nth-child(3) {
396
+ left: 37.5%;
397
+ animation: move 0.6s infinite;
398
+ }
399
+
400
+ .ft-loader div:nth-child(4) {
401
+ left: 72.5%;
402
+ animation: disappear 0.6s infinite;
403
+ }
404
+
405
+ @keyframes appear {
406
+ 0% {
407
+ transform: scale(0);
408
+ }
409
+ 100% {
410
+ transform: scale(1);
411
+ }
412
+ }
413
+
414
+ @keyframes disappear {
415
+ 0% {
416
+ transform: scale(1);
417
+ }
418
+ 100% {
419
+ transform: scale(0);
420
+ }
421
+ }
422
+
423
+ @keyframes move {
424
+ 0% {
425
+ transform: translate(0, 0);
426
+ }
427
+ 100% {
428
+ transform: translate(calc(0.35 * ${ui.size}), 0);
429
+ }
430
+ }
431
+ `;class vi extends ut{render(){return W`
432
432
  <div class="ft-loader">
433
433
  <div></div>
434
434
  <div></div>
435
435
  <div></div>
436
436
  <div></div>
437
437
  </div>
438
- `}}p("ft-loader")(fi);
438
+ `}}vi.styles=yi,p("ft-loader")(vi);
439
439
  /**
440
440
  * @license
441
441
  * Copyright 2017 Google LLC
442
442
  * SPDX-License-Identifier: BSD-3-Clause
443
443
  */
444
- class di extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}di.directiveName="unsafeHTML",di.resultType=1;const ui=$t(di);var yi,vi;!function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(yi||(yi={})),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;"}(vi||(vi={})),new Map([...["abw"].map((t=>[t,vi.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,vi.AUDIO])),...["avi"].map((t=>[t,vi.AVI])),...["chm","xhs"].map((t=>[t,vi.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,vi.CODE])),...["csv"].map((t=>[t,vi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,vi.DITA])),...["epub"].map((t=>[t,vi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,vi.EXCEL])),...["flac"].map((t=>[t,vi.FLAC])),...["gif"].map((t=>[t,vi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,vi.GZIP])),...["html","htm","xhtml"].map((t=>[t,vi.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,vi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,vi.JPEG])),...["json"].map((t=>[t,vi.JSON])),...["m4a","m4p"].map((t=>[t,vi.M4A])),...["mov","qt"].map((t=>[t,vi.MOV])),...["mp3"].map((t=>[t,vi.MP3])),...["mp4","m4v"].map((t=>[t,vi.MP4])),...["ogg","oga"].map((t=>[t,vi.OGG])),...["pdf","ps"].map((t=>[t,vi.PDF])),...["png"].map((t=>[t,vi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,vi.POWERPOINT])),...["rar"].map((t=>[t,vi.RAR])),...["stp"].map((t=>[t,vi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,vi.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,vi.VIDEO])),...["wav"].map((t=>[t,vi.WAV])),...["wma"].map((t=>[t,vi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,vi.WORD])),...["xml","xsl","rdf"].map((t=>[t,vi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,vi.YAML])),...["zip"].map((t=>[t,vi.ZIP]))]);var bi,xi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(bi||(bi={}));const gi={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ht.create("--ft-icon-vertical-align","UNKNOWN","unset")};class mi extends ut{constructor(){super(...arguments),this.variant=bi.fluid_topics,this.resolvedIcon=K}render(){const t="material"!==this.variant||this.value;return W`
444
+ class bi extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this._t=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}bi.directiveName="unsafeHTML",bi.resultType=1;const xi=$t(bi);var gi,mi;!function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(gi||(gi={})),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;"}(mi||(mi={})),new Map([...["abw"].map((t=>[t,mi.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,mi.AUDIO])),...["avi"].map((t=>[t,mi.AVI])),...["chm","xhs"].map((t=>[t,mi.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,mi.CODE])),...["csv"].map((t=>[t,mi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,mi.DITA])),...["epub"].map((t=>[t,mi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,mi.EXCEL])),...["flac"].map((t=>[t,mi.FLAC])),...["gif"].map((t=>[t,mi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,mi.GZIP])),...["html","htm","xhtml"].map((t=>[t,mi.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,mi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,mi.JPEG])),...["json"].map((t=>[t,mi.JSON])),...["m4a","m4p"].map((t=>[t,mi.M4A])),...["mov","qt"].map((t=>[t,mi.MOV])),...["mp3"].map((t=>[t,mi.MP3])),...["mp4","m4v"].map((t=>[t,mi.MP4])),...["ogg","oga"].map((t=>[t,mi.OGG])),...["pdf","ps"].map((t=>[t,mi.PDF])),...["png"].map((t=>[t,mi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,mi.POWERPOINT])),...["rar"].map((t=>[t,mi.RAR])),...["stp"].map((t=>[t,mi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,mi.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,mi.VIDEO])),...["wav"].map((t=>[t,mi.WAV])),...["wma"].map((t=>[t,mi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,mi.WORD])),...["xml","xsl","rdf"].map((t=>[t,mi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,mi.YAML])),...["zip"].map((t=>[t,mi.ZIP]))]);const wi={size:ht.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ht.create("--ft-icon-vertical-align","UNKNOWN","unset")},$i=y`
445
+ :host {
446
+ display: inline-block;
447
+ }
448
+
449
+ :host, i.ft-icon {
450
+ width: ${wi.size};
451
+ height: ${wi.size};
452
+ text-align: center;
453
+ }
454
+
455
+ i.ft-icon {
456
+ font-size: ${wi.size};
457
+ line-height: 1;
458
+ font-weight: normal;
459
+ text-transform: none;
460
+ font-style: normal;
461
+ font-variant: normal;
462
+ speak: none;
463
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
464
+ text-rendering: auto;
465
+ -webkit-font-smoothing: antialiased;
466
+ -moz-osx-font-smoothing: grayscale;
467
+ vertical-align: ${wi.verticalAlign};
468
+ }
469
+
470
+ .ft-icon--fluid-topics {
471
+ font-family: ${wi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
472
+ }
473
+
474
+ .ft-icon--file-format {
475
+ font-family: ${wi.fileFormatFontFamily}, ft-mime, sans-serif;
476
+ }
477
+
478
+ .ft-icon--material {
479
+ font-family: ${wi.materialFontFamily}, "Material Icons", sans-serif;
480
+ }
481
+ `;var Oi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oi||(Oi={}));var Si=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ki extends ut{constructor(){super(...arguments),this.variant=Oi.fluid_topics,this.resolvedIcon=K}render(){const t="material"!==this.variant||this.value;return W`
445
482
  <i class="ft-icon ${"ft-icon--"+this.variant}">
446
- ${ui(this.resolvedIcon)}
483
+ ${xi(this.resolvedIcon)}
447
484
  <slot ?hidden=${t}></slot>
448
485
  </i>
449
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case bi.file_format:this.resolvedIcon=null!==(t=vi[i.toUpperCase()])&&void 0!==t?t:i;break;case bi.fluid_topics:this.resolvedIcon=null!==(e=yi[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||K}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}mi.elementDefinitions={},mi.styles=y`
486
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Oi.file_format:this.resolvedIcon=null!==(t=mi[i.toUpperCase()])&&void 0!==t?t:i;break;case Oi.fluid_topics:this.resolvedIcon=null!==(e=gi[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||K}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}ki.elementDefinitions={},ki.styles=$i,Si([o()],ki.prototype,"variant",void 0),Si([o()],ki.prototype,"value",void 0),Si([n()],ki.prototype,"resolvedIcon",void 0),Si([r("slot")],ki.prototype,"slottedContent",void 0),p("ft-icon")(ki);const Ni=ht.extend("--ft-button-color",ft.colorPrimary),Ci={backgroundColor:ht.extend("--ft-button-background-color",ft.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ft.borderRadiusL),color:Ni,fontSize:ht.extend("--ft-button-font-size",Ke.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",Ni),opacityDisabled:ht.external(ft.colorOpacityDisabled,"Design system")},Ei=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ft.colorOnPrimary)),Ri={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ft.colorPrimary)),color:Ei,rippleColor:ht.extend("--ft-button-primary-ripple-color",Ei)},Mi=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ft.borderRadiusM)),zi=[yt,y`
450
487
  :host {
451
488
  display: inline-block;
489
+ max-width: 100%;
490
+ pointer-events: none;
452
491
  }
453
492
 
454
- :host, i.ft-icon {
455
- width: ${gi.size};
456
- height: ${gi.size};
457
- text-align: center;
458
- }
459
-
460
- i.ft-icon {
461
- font-size: ${gi.size};
462
- line-height: 1;
463
- font-weight: normal;
464
- text-transform: none;
465
- font-style: normal;
466
- font-variant: normal;
467
- speak: none;
468
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
469
- text-rendering: auto;
470
- -webkit-font-smoothing: antialiased;
471
- -moz-osx-font-smoothing: grayscale;
472
- vertical-align: ${gi.verticalAlign};
493
+ button {
494
+ box-shadow: 0px 0px 0px transparent;
495
+ border: 0px solid transparent;
496
+ text-shadow: 0px 0px 0px transparent;
497
+ font-size: ${Ci.fontSize};
473
498
  }
474
499
 
475
- .ft-icon--fluid-topics {
476
- font-family: ${gi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
500
+ button:hover {
501
+ box-shadow: 0px 0px 0px transparent;
502
+ border: 0px solid transparent;
503
+ text-shadow: 0px 0px 0px transparent;
477
504
  }
478
505
 
479
- .ft-icon--file-format {
480
- font-family: ${gi.fileFormatFontFamily}, ft-mime, sans-serif;
506
+ button:active {
507
+ outline: none;
508
+ border: none;
481
509
  }
482
510
 
483
- .ft-icon--material {
484
- font-family: ${gi.materialFontFamily}, "Material Icons", sans-serif;
511
+ button:focus {
512
+ outline: 0;
485
513
  }
486
- `,xi([o()],mi.prototype,"variant",void 0),xi([o()],mi.prototype,"value",void 0),xi([n()],mi.prototype,"resolvedIcon",void 0),xi([r("slot")],mi.prototype,"slottedContent",void 0),p("ft-icon")(mi);var wi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const $i=ht.extend("--ft-button-color",ft.colorPrimary),Oi={backgroundColor:ht.extend("--ft-button-background-color",ft.colorSurface),borderRadius:ht.extend("--ft-button-border-radius",ft.borderRadiusL),color:$i,fontSize:ht.extend("--ft-button-font-size",Ke.fontSize),iconSize:ht.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ht.extend("--ft-button-ripple-color",$i),opacityDisabled:ht.external(ft.colorOpacityDisabled,"Design system")},Si=ht.extend("--ft-button-primary-color",ht.extend("--ft-button-color",ft.colorOnPrimary)),ki={backgroundColor:ht.extend("--ft-button-primary-background-color",ht.extend("--ft-button-background-color",ft.colorPrimary)),color:Si,rippleColor:ht.extend("--ft-button-primary-ripple-color",Si)},Ni=ht.extend("--ft-button-dense-border-radius",ht.extend("--ft-button-border-radius",ft.borderRadiusM));class Ci extends ut{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=bi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[yt,y`
487
- :host {
488
- display: inline-block;
489
- max-width: 100%;
490
- pointer-events: none;
491
- }
492
-
493
- button {
494
- box-shadow: 0px 0px 0px transparent;
495
- border: 0px solid transparent;
496
- text-shadow: 0px 0px 0px transparent;
497
- font-size: ${Oi.fontSize};
498
- }
499
-
500
- button:hover {
501
- box-shadow: 0px 0px 0px transparent;
502
- border: 0px solid transparent;
503
- text-shadow: 0px 0px 0px transparent;
504
- }
505
514
 
506
- button:active {
507
- outline: none;
508
- border: none;
509
- }
515
+ .ft-button {
516
+ position: relative;
517
+ display: flex;
518
+ justify-content: center;
519
+ align-items: center;
520
+ width: 100%;
521
+ overflow: hidden;
522
+ box-sizing: border-box;
523
+ border: none;
524
+ pointer-events: auto;
510
525
 
511
- button:focus {
512
- outline: 0;
513
- }
526
+ --ft-button-internal-line-height: calc(${Ci.fontSize} + 2px);
527
+ --ft-button-internal-color: ${Ci.color};
528
+ ${ct(wi.size,Ci.iconSize)};
529
+ --ft-button-internal-vertical-padding: 6px;
530
+ --ft-button-internal-horizontal-padding: 8px;
531
+ ${ct(Nt.color,Ci.rippleColor)};
532
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ci.iconSize});
514
533
 
515
- .ft-button {
516
- position: relative;
517
- display: flex;
518
- justify-content: center;
519
- align-items: center;
520
- width: 100%;
521
- overflow: hidden;
522
- box-sizing: border-box;
523
- border: none;
524
- pointer-events: auto;
525
-
526
- --ft-button-internal-line-height: calc(${Oi.fontSize} + 2px);
527
- --ft-button-internal-color: ${Oi.color};
528
- ${ct(gi.size,Oi.iconSize)};
529
- --ft-button-internal-vertical-padding: 6px;
530
- --ft-button-internal-horizontal-padding: 8px;
531
- ${ct(Ct.color,Oi.rippleColor)};
532
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Oi.iconSize});
533
-
534
- border-radius: ${Oi.borderRadius};
535
- padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
536
- background-color: ${Oi.backgroundColor};
537
- color: var(--ft-button-internal-color);
538
- -webkit-mask-image: radial-gradient(white, black);
539
- }
534
+ border-radius: ${Ci.borderRadius};
535
+ padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
536
+ background-color: ${Ci.backgroundColor};
537
+ color: var(--ft-button-internal-color);
538
+ -webkit-mask-image: radial-gradient(white, black);
539
+ }
540
540
 
541
- .ft-button:not([disabled]):hover {
542
- cursor: pointer;
543
- }
541
+ .ft-button:not([disabled]):hover {
542
+ cursor: pointer;
543
+ }
544
544
 
545
- .ft-button--dense {
546
- --ft-button-internal-vertical-padding: 2px;
547
- --ft-button-internal-horizontal-padding: 4px;
548
- border-radius: ${Ni};
549
- }
545
+ .ft-button--dense {
546
+ --ft-button-internal-vertical-padding: 2px;
547
+ --ft-button-internal-horizontal-padding: 4px;
548
+ border-radius: ${Mi};
549
+ }
550
550
 
551
- .ft-button--round {
552
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + var(--ft-button-internal-vertical-padding));
553
- }
551
+ .ft-button--round {
552
+ border-radius: calc(var(--ft-button-internal-content-height) / 2 + var(--ft-button-internal-vertical-padding));
553
+ }
554
554
 
555
- .ft-button[disabled] {
556
- filter: grayscale(1);
557
- opacity: ${Oi.opacityDisabled};
558
- }
555
+ .ft-button[disabled] {
556
+ filter: grayscale(1);
557
+ opacity: ${Ci.opacityDisabled};
558
+ }
559
559
 
560
- .ft-button.ft-button--primary {
561
- background-color: ${ki.backgroundColor};
562
- --ft-button-internal-color: ${ki.color};
563
- ${ct(Ct.color,ki.rippleColor)};
564
- }
560
+ .ft-button.ft-button--primary {
561
+ background-color: ${Ri.backgroundColor};
562
+ --ft-button-internal-color: ${Ri.color};
563
+ ${ct(Nt.color,Ri.rippleColor)};
564
+ }
565
565
 
566
- .ft-button.ft-button--outlined {
567
- border: 1px solid var(--ft-button-internal-color);
568
- padding: calc(var(--ft-button-internal-vertical-padding) - 1px) calc(var(--ft-button-internal-horizontal-padding) - 1px);
569
- }
566
+ .ft-button.ft-button--outlined {
567
+ border: 1px solid var(--ft-button-internal-color);
568
+ padding: calc(var(--ft-button-internal-vertical-padding) - 1px) calc(var(--ft-button-internal-horizontal-padding) - 1px);
569
+ }
570
570
 
571
- .ft-button:focus {
572
- outline: none;
573
- }
571
+ .ft-button:focus {
572
+ outline: none;
573
+ }
574
574
 
575
- .ft-button--label {
576
- position: relative;
577
- overflow: hidden;
578
- white-space: nowrap;
579
- text-overflow: ellipsis;
580
- display: block;
581
- margin: 0 var(--ft-button-internal-horizontal-padding);
582
- ${ct(Ke.fontSize,"1em")};
583
- ${ct(Ke.lineHeight,"var(--ft-button-internal-content-height)")};
584
- }
575
+ .ft-button--label {
576
+ position: relative;
577
+ overflow: hidden;
578
+ white-space: nowrap;
579
+ text-overflow: ellipsis;
580
+ display: block;
581
+ margin: 0 var(--ft-button-internal-horizontal-padding);
582
+ ${ct(Ke.fontSize,"1em")};
583
+ ${ct(Ke.lineHeight,"var(--ft-button-internal-content-height)")};
584
+ }
585
585
 
586
- .ft-button--safari-fix .ft-button--label {
587
- margin-right: 0;
588
- }
586
+ .ft-button--safari-fix .ft-button--label {
587
+ margin-right: 0;
588
+ }
589
589
 
590
- .ft-button--safari-fix .ft-button--label:after {
591
- content: "\\0000a0";
592
- display: inline-block;
593
- width: 0;
594
- }
590
+ .ft-button--safari-fix .ft-button--label:after {
591
+ content: "\\0000a0";
592
+ display: inline-block;
593
+ width: 0;
594
+ }
595
595
 
596
- .ft-button--label[hidden] {
597
- display: none;
598
- }
596
+ .ft-button--label[hidden] {
597
+ display: none;
598
+ }
599
599
 
600
- ft-icon {
601
- flex-shrink: 0;
602
- position: relative;
603
- }
600
+ ft-icon {
601
+ flex-shrink: 0;
602
+ position: relative;
603
+ }
604
604
 
605
- .ft-button--label[hidden] + ft-icon {
606
- margin: 0 calc(var(--ft-button-internal-horizontal-padding) * -1);
607
- padding: 0 var(--ft-button-internal-vertical-padding);
608
- }
605
+ .ft-button--label[hidden] + ft-icon {
606
+ margin: 0 calc(var(--ft-button-internal-horizontal-padding) * -1);
607
+ padding: 0 var(--ft-button-internal-vertical-padding);
608
+ }
609
609
 
610
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
611
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
612
- order: -1;
613
- }
610
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
611
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
612
+ order: -1;
613
+ }
614
614
 
615
- ft-loader {
616
- ${ct(ci.size,Oi.iconSize)};
617
- ${ct(ci.color,"var(--ft-button-internal-color)")};
618
- }
619
- `]}render(){const t={"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-button--safari-fix":gt,"ft-no-text-select":!0};return this.addTooltipIfNeeded(W`
615
+ ft-loader {
616
+ ${ct(ui.size,Ci.iconSize)};
617
+ ${ct(ui.color,"var(--ft-button-internal-color)")};
618
+ }
619
+ `];var Fi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ui extends ut{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=Oi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"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-button--safari-fix":gt,"ft-no-text-select":!0};return this.addTooltipIfNeeded(W`
620
620
  <button part="button"
621
621
  class="${St(t)}"
622
622
  aria-label="${this.getLabel()}"
@@ -638,7 +638,19 @@ class di extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
638
638
  </ft-tooltip>
639
639
  `}resolveIcon(){return this.loading?W`
640
640
  <ft-loader></ft-loader> `:this.icon?W`
641
- <ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:K}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}}Ci.elementDefinitions={"ft-ripple":jt,"ft-tooltip":hi,"ft-typography":ii,"ft-icon":mi,"ft-loader":fi},wi([o({type:Boolean})],Ci.prototype,"primary",void 0),wi([o({type:Boolean})],Ci.prototype,"outlined",void 0),wi([o({type:Boolean})],Ci.prototype,"disabled",void 0),wi([o({type:Boolean})],Ci.prototype,"dense",void 0),wi([o({type:Boolean})],Ci.prototype,"round",void 0),wi([o({type:String})],Ci.prototype,"label",void 0),wi([o({type:String})],Ci.prototype,"icon",void 0),wi([o({type:String})],Ci.prototype,"iconVariant",void 0),wi([o({type:Boolean})],Ci.prototype,"trailingIcon",void 0),wi([o({type:Boolean})],Ci.prototype,"loading",void 0),wi([o({type:String})],Ci.prototype,"tooltipPosition",void 0),wi([o({type:Boolean})],Ci.prototype,"hideTooltip",void 0),wi([r(".ft-button")],Ci.prototype,"button",void 0),wi([r(".ft-button--label slot")],Ci.prototype,"slottedContent",void 0),p("ft-button")(Ci);var Ei=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ri extends ut{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return W`
641
+ <ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:K}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}}Ui.elementDefinitions={"ft-ripple":Bt,"ft-tooltip":di,"ft-typography":ni,"ft-icon":ki,"ft-loader":vi},Ui.styles=zi,Fi([o({type:Boolean})],Ui.prototype,"primary",void 0),Fi([o({type:Boolean})],Ui.prototype,"outlined",void 0),Fi([o({type:Boolean})],Ui.prototype,"disabled",void 0),Fi([o({type:Boolean})],Ui.prototype,"dense",void 0),Fi([o({type:Boolean})],Ui.prototype,"round",void 0),Fi([o({type:String})],Ui.prototype,"label",void 0),Fi([o({type:String})],Ui.prototype,"icon",void 0),Fi([o({type:String})],Ui.prototype,"iconVariant",void 0),Fi([o({type:Boolean})],Ui.prototype,"trailingIcon",void 0),Fi([o({type:Boolean})],Ui.prototype,"loading",void 0),Fi([o({type:String})],Ui.prototype,"tooltipPosition",void 0),Fi([o({type:Boolean})],Ui.prototype,"hideTooltip",void 0),Fi([r(".ft-button")],Ui.prototype,"button",void 0),Fi([r(".ft-button--label slot")],Ui.prototype,"slottedContent",void 0),p("ft-button")(Ui);const ji=y`
642
+ :host, :root {
643
+ display: block;
644
+ }
645
+
646
+ .content {
647
+ margin: 12px 0;
648
+ }
649
+
650
+ .hidden {
651
+ display: none;
652
+ }
653
+ `;var Bi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ti extends ut{constructor(){super(...arguments),this.open=!1,this.label="Open here",this.primary=!1,this.secondary=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.openIcon="expand_less",this.closedIcon="expand_more",this.trailingIcon=!1}render(){return W`
642
654
  <ft-button
643
655
  part="toggle"
644
656
  icon=${this.open?this.openIcon:this.closedIcon}
@@ -660,16 +672,4 @@ class di extends Ot{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
660
672
  class="${this.hasCustomToggle()?"":"hidden"}"
661
673
  ></slot>
662
674
  <slot class="content ${this.open?"":"hidden"}"></slot>
663
- `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,e;return 0!==(null!==(e=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==e?e:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Ri.elementDefinitions={"ft-button":Ci},Ri.styles=y`
664
- :host, :root {
665
- display: block;
666
- }
667
-
668
- .content {
669
- margin: 12px 0;
670
- }
671
-
672
- .hidden {
673
- display: none;
674
- }
675
- `,Ei([r(".content")],Ri.prototype,"content",void 0),Ei([o({type:Boolean,reflect:!0})],Ri.prototype,"open",void 0),Ei([o()],Ri.prototype,"label",void 0),Ei([o({type:Boolean})],Ri.prototype,"primary",void 0),Ei([o({type:Boolean})],Ri.prototype,"secondary",void 0),Ei([o({type:Boolean})],Ri.prototype,"disabled",void 0),Ei([o({type:Boolean})],Ri.prototype,"dense",void 0),Ei([o({type:Boolean})],Ri.prototype,"round",void 0),Ei([o({type:String})],Ri.prototype,"openIcon",void 0),Ei([o({type:String})],Ri.prototype,"closedIcon",void 0),Ei([o({type:Boolean})],Ri.prototype,"trailingIcon",void 0),Ei([r('slot[name="toggle"]')],Ri.prototype,"toggleSlot",void 0),p("ft-collapsible")(Ri),t.FtCollapsible=Ri,Object.defineProperty(t,"i",{value:!0})}({});
675
+ `}onCustomToggleSlotChange(){this.requestUpdate()}hasCustomToggle(){var t,e;return 0!==(null!==(e=null===(t=this.toggleSlot)||void 0===t?void 0:t.assignedNodes().length)&&void 0!==e?e:0)}toggleOpen(){this.open=!this.open}update(t){super.update(t),t.has("open")&&this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}}Ti.elementDefinitions={"ft-button":Ui},Ti.styles=ji,Bi([r(".content")],Ti.prototype,"content",void 0),Bi([o({type:Boolean,reflect:!0})],Ti.prototype,"open",void 0),Bi([o()],Ti.prototype,"label",void 0),Bi([o({type:Boolean})],Ti.prototype,"primary",void 0),Bi([o({type:Boolean})],Ti.prototype,"secondary",void 0),Bi([o({type:Boolean})],Ti.prototype,"disabled",void 0),Bi([o({type:Boolean})],Ti.prototype,"dense",void 0),Bi([o({type:Boolean})],Ti.prototype,"round",void 0),Bi([o({type:String})],Ti.prototype,"openIcon",void 0),Bi([o({type:String})],Ti.prototype,"closedIcon",void 0),Bi([o({type:Boolean})],Ti.prototype,"trailingIcon",void 0),Bi([r('slot[name="toggle"]')],Ti.prototype,"toggleSlot",void 0),p("ft-collapsible")(Ti),t.FtCollapsible=Ti,t.styles=ji,Object.defineProperty(t,"i",{value:!0})}({});