@fluid-topics/ft-tabs 0.3.12 → 0.3.14

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,s=new WeakMap,r=new WeakMap,n=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,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=s.prototype.attributeChangedCallback,l=new Set(s.observedAttributes||[]);f(s,l,a);const p={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(s,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(n.set(s,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}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=n.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),s.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,s=o._getDefinition(e);return s?u(i,s):r.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.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,s){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,s),i.call(this,r,t,s)}else o.call(this,r,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.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),s.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 x=(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}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const b=(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(b(Element,"innerHTML"),b(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!==s.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 r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),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 n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(se){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,s=new WeakMap,r=new WeakMap,n=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,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=s.prototype.attributeChangedCallback,l=new Set(s.observedAttributes||[]);f(s,l,a);const p={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,p),this._definitionsByClass.set(s,p);let h=i.call(o,t);h||(h=c(t),e.call(o,t,h)),this===window.customElements&&(n.set(s,p),p.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,p,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(s),this._whenDefinedPromises.delete(t)),s}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=n.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),s.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,s=o._getDefinition(e);return s?u(i,s):r.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.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,s){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,s),i.call(this,r,t,s)}else o.call(this,r,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.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),s.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 x=(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}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const b=(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(b(Element,"innerHTML"),b(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!==s.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 r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),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 n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch($i){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
@@ -68,12 +68,12 @@ var nt,at;null==rt||rt(J,Y),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
- */var ft,dt,ut=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class yt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(s,this.constructor.elementStyles),s}}}(lt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
71
+ */var ft,dt,ut,yt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class vt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(s,this.constructor.elementStyles),s}}}(lt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
72
72
  ${t.map((t=>W`
73
73
  <style>${t}</style>
74
74
  `))}
75
75
  ${this.getTemplate()}
76
- `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,s,r,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(n=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}ut([o()],yt.prototype,"exportpartsPrefix",void 0),ut([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],yt.prototype,"exportpartsPrefixes",void 0),d`
76
+ `}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,s,r,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(n=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const h=[...p.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}contentAvailableCallback(t){}}yt([o()],vt.prototype,"exportpartsPrefix",void 0),yt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],vt.prototype,"exportpartsPrefixes",void 0),d`
77
77
  .ft-no-text-select {
78
78
  -webkit-touch-callout: none;
79
79
  -webkit-user-select: none;
@@ -82,78 +82,119 @@ var nt,at;null==rt||rt(J,Y),(null!==(S=globalThis.litHtmlVersions)&&void 0!==S?S
82
82
  -ms-user-select: none;
83
83
  user-select: none;
84
84
  }
85
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(dt=null===(ft=window.safari)||void 0===ft?void 0:ft.pushNotification)||void 0===dt||dt.toString());
86
- /**
87
- * @license
88
- * Copyright 2017 Google LLC
89
- * SPDX-License-Identifier: BSD-3-Clause
90
- */
91
- const vt=1,xt=2,bt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
92
- /**
93
- * @license
94
- * Copyright 2017 Google LLC
95
- * SPDX-License-Identifier: BSD-3-Clause
96
- */class mt extends gt{constructor(t){if(super(t),this.it=H,t.type!==xt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this._t=void 0,this.it=t;if(t===I)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:[]}}}mt.directiveName="unsafeHTML",mt.resultType=1;const wt=bt(mt);var $t,Ot;!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;"}($t||($t={})),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;"}(Ot||(Ot={})),new Map([...["abw"].map((t=>[t,Ot.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,Ot.AUDIO])),...["avi"].map((t=>[t,Ot.AVI])),...["chm","xhs"].map((t=>[t,Ot.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,Ot.CODE])),...["csv"].map((t=>[t,Ot.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ot.DITA])),...["epub"].map((t=>[t,Ot.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ot.EXCEL])),...["flac"].map((t=>[t,Ot.FLAC])),...["gif"].map((t=>[t,Ot.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ot.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ot.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,Ot.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ot.JPEG])),...["json"].map((t=>[t,Ot.JSON])),...["m4a","m4p"].map((t=>[t,Ot.M4A])),...["mov","qt"].map((t=>[t,Ot.MOV])),...["mp3"].map((t=>[t,Ot.MP3])),...["mp4","m4v"].map((t=>[t,Ot.MP4])),...["ogg","oga"].map((t=>[t,Ot.OGG])),...["pdf","ps"].map((t=>[t,Ot.PDF])),...["png"].map((t=>[t,Ot.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ot.POWERPOINT])),...["rar"].map((t=>[t,Ot.RAR])),...["stp"].map((t=>[t,Ot.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ot.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,Ot.VIDEO])),...["wav"].map((t=>[t,Ot.WAV])),...["wma"].map((t=>[t,Ot.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ot.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ot.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ot.YAML])),...["zip"].map((t=>[t,Ot.ZIP]))]);var St,Nt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(St||(St={}));const kt=ht.create("--ft-icon-font-size","SIZE","24px"),Ct=ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Et=ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Rt=ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Mt=ht.create("--ft-icon-vertical-align","UNKNOWN","unset");class Ut extends yt{constructor(){super(...arguments),this.variant=St.fluid_topics,this.resolvedIcon=H}render(){const t="material"!==this.variant||this.value;return W`
97
- <i class="ft-icon ${"ft-icon--"+this.variant}">
98
- ${wt(this.resolvedIcon)}
99
- <slot ?hidden=${t}></slot>
100
- </i>
101
- `}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 St.file_format:this.resolvedIcon=null!==(t=Ot[i.toUpperCase()])&&void 0!==t?t:i;break;case St.fluid_topics:this.resolvedIcon=null!==(e=$t[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||H}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}Ut.elementDefinitions={},Ut.styles=d`
102
- :host {
103
- display: inline-block;
104
- }
105
-
106
- :host, i.ft-icon {
107
- width: ${kt};
108
- height: ${kt};
109
- text-align: center;
110
- }
111
-
112
- i.ft-icon {
113
- font-size: ${kt};
114
- line-height: 1;
115
- font-weight: normal;
116
- text-transform: none;
117
- font-style: normal;
118
- font-variant: normal;
119
- speak: none;
120
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
121
- text-rendering: auto;
122
- -webkit-font-smoothing: antialiased;
123
- -moz-osx-font-smoothing: grayscale;
124
- vertical-align: ${Mt};
125
- }
126
-
127
- .ft-icon--fluid-topics {
128
- font-family: ${Ct}, ft-icons, fticons, sans-serif;
129
- }
130
-
131
- .ft-icon--file-format {
132
- font-family: ${Et}, ft-mime, sans-serif;
133
- }
134
-
135
- .ft-icon--material {
136
- font-family: ${Rt}, "Material Icons", sans-serif;
137
- }
138
- `,Nt([o()],Ut.prototype,"variant",void 0),Nt([o()],Ut.prototype,"value",void 0),Nt([s()],Ut.prototype,"resolvedIcon",void 0),Nt([r("slot")],Ut.prototype,"slottedContent",void 0),a("ft-icon")(Ut);var jt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ft extends yt{constructor(){super(...arguments),this.label="",this.icon="",this.iconVariant=St.material,this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return W`
85
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(dt=null===(ft=window.safari)||void 0===ft?void 0:ft.pushNotification)||void 0===dt||dt.toString()),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ut||(ut={}));var xt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class bt extends vt{constructor(){super(...arguments),this.label="",this.icon="",this.iconVariant=ut.material,this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return W`
139
86
  <style>
140
87
  :host {
141
88
  display: ${f(this.active?"block":"none")};
142
89
  }
143
90
  </style>
144
91
  <slot></slot>
145
- `}updated(t){super.updated(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control",this.dispatchEvent(new Event("updated"))}}Ft.elementDefinitions={},jt([o({type:String})],Ft.prototype,"label",void 0),jt([o({type:String})],Ft.prototype,"icon",void 0),jt([o()],Ft.prototype,"iconVariant",void 0),jt([o({type:Boolean})],Ft.prototype,"active",void 0),jt([o({type:Boolean})],Ft.prototype,"disabled",void 0),jt([o({type:String,reflect:!0})],Ft.prototype,"id",void 0),jt([o({type:String,reflect:!0,attribute:"aria-labelledby"})],Ft.prototype,"ariaLabelledBy",void 0);
92
+ `}updated(t){super.updated(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control",this.dispatchEvent(new Event("updated"))}}bt.elementDefinitions={},xt([o({type:String})],bt.prototype,"label",void 0),xt([o({type:String})],bt.prototype,"icon",void 0),xt([o()],bt.prototype,"iconVariant",void 0),xt([o({type:Boolean})],bt.prototype,"active",void 0),xt([o({type:Boolean})],bt.prototype,"disabled",void 0),xt([o({type:String,reflect:!0})],bt.prototype,"id",void 0),xt([o({type:String,reflect:!0,attribute:"aria-labelledby"})],bt.prototype,"ariaLabelledBy",void 0);
146
93
  /**
147
94
  * @license
148
- * Copyright 2020 Google LLC
95
+ * Copyright 2017 Google LLC
149
96
  * SPDX-License-Identifier: BSD-3-Clause
150
97
  */
151
- const{H:zt}=st,At=()=>document.createComment(""),Bt=(t,e,i)=>{var o;const s=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(At(),r),o=s.insertBefore(At(),r);i=new zt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,n=i._$AM,a=n!==t;if(a){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==n._$AU&&i._$AP(e)}if(e!==r||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,r),t=e}}}return i},Lt=(t,e,i=t)=>(t._$AI(e,i),t),Tt={},Pt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Dt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},_t=bt(class extends gt{constructor(t){if(super(t),t.type!==xt)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],r=[];let n=0;for(const e of t)s[n]=o?o(e,n):n,r[n]=i(e,n),n++;return{values:r,keys:s}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var s;const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,i,o);if(!Array.isArray(r))return this.ut=a,n;const l=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],p=[];let h,c,f=0,d=r.length-1,u=0,y=n.length-1;for(;f<=d&&u<=y;)if(null===r[f])f++;else if(null===r[d])d--;else if(l[f]===a[u])p[u]=Lt(r[f],n[u]),f++,u++;else if(l[d]===a[y])p[y]=Lt(r[d],n[y]),d--,y--;else if(l[f]===a[y])p[y]=Lt(r[f],n[y]),Bt(t,p[y+1],r[f]),f++,y--;else if(l[d]===a[u])p[u]=Lt(r[d],n[u]),Bt(t,r[f],r[d]),d--,u++;else if(void 0===h&&(h=Dt(a,u,y),c=Dt(l,f,d)),h.has(l[f]))if(h.has(l[d])){const e=c.get(a[u]),i=void 0!==e?r[e]:null;if(null===i){const e=Bt(t,r[f]);Lt(e,n[u]),p[u]=e}else p[u]=Lt(i,n[u]),Bt(t,r[f],i),r[e]=null;u++}else Pt(r[d]),d--;else Pt(r[f]),f++;for(;u<=y;){const e=Bt(t,p[y+1]);Lt(e,n[u]),p[u++]=e}for(;f<=d;){const t=r[f++];null!==t&&Pt(t)}return this.ut=a,((t,e=Tt)=>{t._$AH=e})(t,p),I}}),Wt=bt(class extends gt{constructor(t){var e;if(super(t),t.type!==vt||"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 s=t.element.classList;this.nt.forEach((t=>{t in e||(s.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?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return I}});
98
+ const gt=1,mt=2,wt=t=>(...e)=>({_$litDirective$:t,values:e});class $t{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
99
+ /**
100
+ * @license
101
+ * Copyright 2020 Google LLC
102
+ * SPDX-License-Identifier: BSD-3-Clause
103
+ */const{H:Ot}=st,St=()=>document.createComment(""),Nt=(t,e,i)=>{var o;const s=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(St(),r),o=s.insertBefore(St(),r);i=new Ot(e,o,t,t.options)}else{const e=i._$AB.nextSibling,n=i._$AM,a=n!==t;if(a){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==n._$AU&&i._$AP(e)}if(e!==r||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,r),t=e}}}return i},kt=(t,e,i=t)=>(t._$AI(e,i),t),Ct={},Et=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Rt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Mt=wt(class extends $t{constructor(t){if(super(t),t.type!==mt)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],r=[];let n=0;for(const e of t)s[n]=o?o(e,n):n,r[n]=i(e,n),n++;return{values:r,keys:s}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var s;const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,i,o);if(!Array.isArray(r))return this.ut=a,n;const l=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],p=[];let h,c,f=0,d=r.length-1,u=0,y=n.length-1;for(;f<=d&&u<=y;)if(null===r[f])f++;else if(null===r[d])d--;else if(l[f]===a[u])p[u]=kt(r[f],n[u]),f++,u++;else if(l[d]===a[y])p[y]=kt(r[d],n[y]),d--,y--;else if(l[f]===a[y])p[y]=kt(r[f],n[y]),Nt(t,p[y+1],r[f]),f++,y--;else if(l[d]===a[u])p[u]=kt(r[d],n[u]),Nt(t,r[f],r[d]),d--,u++;else if(void 0===h&&(h=Rt(a,u,y),c=Rt(l,f,d)),h.has(l[f]))if(h.has(l[d])){const e=c.get(a[u]),i=void 0!==e?r[e]:null;if(null===i){const e=Nt(t,r[f]);kt(e,n[u]),p[u]=e}else p[u]=kt(i,n[u]),Nt(t,r[f],i),r[e]=null;u++}else Et(r[d]),d--;else Et(r[f]),f++;for(;u<=y;){const e=Nt(t,p[y+1]);kt(e,n[u]),p[u++]=e}for(;f<=d;){const t=r[f++];null!==t&&Et(t)}return this.ut=a,((t,e=Ct)=>{t._$AH=e})(t,p),I}}),Ut=wt(class extends $t{constructor(t){var e;if(super(t),t.type!==gt||"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 s=t.element.classList;this.nt.forEach((t=>{t in e||(s.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?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return I}}),jt=ht.extend("--ft-ripple-color",ct.colorContent),Ft=jt,zt=ht.extend("--ft-ripple-background-color",jt),At=ht.external(ct.opacityContentOnSurfacePressed,"Design system"),Bt=ht.external(ct.opacityContentOnSurfaceHover,"Design system"),Lt=ht.external(ct.opacityContentOnSurfaceFocused,"Design system"),Tt=ht.external(ct.opacityContentOnSurfaceSelected,"Design system"),Pt=ht.extend("--ft-ripple-color",ct.colorPrimary),Dt=Pt,_t=ht.extend("--ft-ripple-background-color",Pt),Wt=ht.extend("--ft-ripple-color",ct.colorSecondary),It=Wt,Ht=ht.extend("--ft-ripple-background-color",Wt),Kt=d`
104
+ :host {
105
+ display: contents;
106
+ }
107
+
108
+ .ft-ripple {
109
+ position: absolute;
110
+ inset: 0;
111
+ pointer-events: none;
112
+ }
113
+
114
+ .ft-ripple:not(.ft-ripple--unbounded) {
115
+ overflow: hidden;
116
+ }
117
+
118
+ .ft-ripple .ft-ripple--background,
119
+ .ft-ripple .ft-ripple--effect {
120
+ position: absolute;
121
+ opacity: 0;
122
+ }
123
+
124
+ .ft-ripple .ft-ripple--background {
125
+ background-color: ${zt};
126
+ }
127
+
128
+ .ft-ripple .ft-ripple--effect {
129
+ background-color: ${Ft};
130
+ }
131
+
132
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
133
+ background-color: ${Ht};
134
+ }
135
+
136
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
137
+ background-color: ${It};
138
+ }
139
+
140
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
141
+ background-color: ${_t};
142
+ }
143
+
144
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
145
+ background-color: ${Dt};
146
+ }
147
+
148
+ .ft-ripple .ft-ripple--background {
149
+ top: 0;
150
+ left: 0;
151
+ height: 100%;
152
+ width: 100%;
153
+ transition: opacity 75ms linear;
154
+ }
155
+
156
+ .ft-ripple .ft-ripple--effect,
157
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
158
+ border-radius: 50%;
159
+ }
160
+
161
+ .ft-ripple .ft-ripple--effect {
162
+ transform: translate(-50%, -50%) scale(0.15);
163
+ transition: transform 300ms ease, opacity 75ms linear;
164
+ }
165
+
166
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
167
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
168
+ left: 50%;
169
+ top: 50%;
170
+ }
171
+
172
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
173
+ transform: translate(-50%, -50%);
174
+ }
175
+
176
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
177
+ opacity: ${Bt};
178
+ }
179
+
180
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
181
+ opacity: ${Tt};
182
+ }
183
+
184
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
185
+ opacity: ${Lt};
186
+ }
187
+
188
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
189
+ opacity: ${At};
190
+ transform: translate(-50%, -50%) scale(1);
191
+ }
192
+ `;
152
193
  /**
153
194
  * @license
154
195
  * Copyright 2017 Google LLC
155
196
  * SPDX-License-Identifier: BSD-3-Clause
156
- */var It=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const Ht=ht.extend("--ft-ripple-color",ct.colorContent),Kt=Ht,Vt=ht.extend("--ft-ripple-background-color",Ht),Zt=ht.external(ct.opacityContentOnSurfacePressed,"Design system"),Jt=ht.external(ct.opacityContentOnSurfaceHover,"Design system"),qt=ht.external(ct.opacityContentOnSurfaceFocused,"Design system"),Xt=ht.external(ct.opacityContentOnSurfaceSelected,"Design system"),Yt=ht.extend("--ft-ripple-color",ct.colorPrimary),Gt=Yt,Qt=ht.extend("--ft-ripple-background-color",Yt),te=ht.extend("--ft-ripple-color",ct.colorSecondary),ee=te,ie=ht.extend("--ft-ripple-background-color",te);class oe extends yt{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:s}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
197
+ */var Vt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Zt extends vt{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:s}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
157
198
  <style>
158
199
  .ft-ripple .ft-ripple--effect,
159
200
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -166,212 +207,259 @@ const{H:zt}=st,At=()=>document.createComment(""),Bt=(t,e,i)=>{var o;const s=t._$
166
207
  top: ${this.originY}px;
167
208
  }
168
209
  </style>
169
- <div class="${Wt(t)}">
210
+ <div class="${Ut(t)}">
170
211
  <div class="ft-ripple--background"></div>
171
212
  <div class="ft-ripple--effect"></div>
172
213
  </div>
173
- `}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"),s=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",s),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",s),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,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}oe.elementDefinitions={},oe.styles=d`
174
- :host {
175
- display: contents;
176
- }
177
-
178
- .ft-ripple {
179
- position: absolute;
180
- inset: 0;
181
- pointer-events: none;
182
- }
183
-
184
- .ft-ripple:not(.ft-ripple--unbounded) {
185
- overflow: hidden;
186
- }
187
-
188
- .ft-ripple .ft-ripple--background,
189
- .ft-ripple .ft-ripple--effect {
190
- position: absolute;
191
- opacity: 0;
192
- }
193
-
194
- .ft-ripple .ft-ripple--background {
195
- background-color: ${Vt};
196
- }
197
-
198
- .ft-ripple .ft-ripple--effect {
199
- background-color: ${Kt};
200
- }
201
-
202
- .ft-ripple.ft-ripple--secondary .ft-ripple--background {
203
- background-color: ${ie};
204
- }
205
-
206
- .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
207
- background-color: ${ee};
208
- }
209
-
210
- .ft-ripple.ft-ripple--primary .ft-ripple--background {
211
- background-color: ${Qt};
212
- }
213
-
214
- .ft-ripple.ft-ripple--primary .ft-ripple--effect {
215
- background-color: ${Gt};
216
- }
217
-
218
- .ft-ripple .ft-ripple--background {
219
- top: 0;
220
- left: 0;
221
- height: 100%;
222
- width: 100%;
223
- transition: opacity 75ms linear;
224
- }
225
-
226
- .ft-ripple .ft-ripple--effect,
227
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
228
- border-radius: 50%;
229
- }
230
-
231
- .ft-ripple .ft-ripple--effect {
232
- transform: translate(-50%, -50%) scale(0.15);
233
- transition: transform 300ms ease, opacity 75ms linear;
234
- }
235
-
236
- .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
237
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
238
- left: 50%;
239
- top: 50%;
240
- }
241
-
242
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
243
- transform: translate(-50%, -50%);
244
- }
245
-
246
- .ft-ripple.ft-ripple--hovered .ft-ripple--background {
247
- opacity: ${Jt};
248
- }
249
-
250
- .ft-ripple.ft-ripple--selected .ft-ripple--background {
251
- opacity: ${Xt};
252
- }
253
-
254
- .ft-ripple.ft-ripple--focused .ft-ripple--background {
255
- opacity: ${qt};
256
- }
257
-
258
- .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
259
- opacity: ${Zt};
260
- transform: translate(-50%, -50%) scale(1);
261
- }
262
- `,It([o({type:Boolean})],oe.prototype,"primary",void 0),It([o({type:Boolean})],oe.prototype,"secondary",void 0),It([o({type:Boolean})],oe.prototype,"unbounded",void 0),It([o({type:Boolean})],oe.prototype,"activated",void 0),It([o({type:Boolean})],oe.prototype,"selected",void 0),It([o({type:Boolean})],oe.prototype,"disabled",void 0),It([s()],oe.prototype,"hovered",void 0),It([s()],oe.prototype,"focused",void 0),It([s()],oe.prototype,"pressed",void 0),It([s()],oe.prototype,"rippling",void 0),It([s()],oe.prototype,"rippleSize",void 0),It([s()],oe.prototype,"originX",void 0),It([s()],oe.prototype,"originY",void 0),It([r(".ft-ripple")],oe.prototype,"ripple",void 0),It([r(".ft-ripple--effect")],oe.prototype,"rippleEffect",void 0),a("ft-ripple")(oe);
214
+ `}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"),s=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",s),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",s),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,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}Zt.elementDefinitions={},Zt.styles=Kt,Vt([o({type:Boolean})],Zt.prototype,"primary",void 0),Vt([o({type:Boolean})],Zt.prototype,"secondary",void 0),Vt([o({type:Boolean})],Zt.prototype,"unbounded",void 0),Vt([o({type:Boolean})],Zt.prototype,"activated",void 0),Vt([o({type:Boolean})],Zt.prototype,"selected",void 0),Vt([o({type:Boolean})],Zt.prototype,"disabled",void 0),Vt([s()],Zt.prototype,"hovered",void 0),Vt([s()],Zt.prototype,"focused",void 0),Vt([s()],Zt.prototype,"pressed",void 0),Vt([s()],Zt.prototype,"rippling",void 0),Vt([s()],Zt.prototype,"rippleSize",void 0),Vt([s()],Zt.prototype,"originX",void 0),Vt([s()],Zt.prototype,"originY",void 0),Vt([r(".ft-ripple")],Zt.prototype,"ripple",void 0),Vt([r(".ft-ripple--effect")],Zt.prototype,"rippleEffect",void 0),a("ft-ripple")(Zt);
263
215
  /**
264
216
  * @license
265
217
  * Copyright 2020 Google LLC
266
218
  * SPDX-License-Identifier: BSD-3-Clause
267
219
  */
268
- const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void 0:t._$litStatic$},ne=t=>({_$litStatic$:t,r:se}),ae=new Map,le=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(r=i[p],s=re(r));)l+=s+e[++p],h=!0;a.push(r),n.push(l),p++}if(p===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=ae.get(t))&&(n.raw=n,ae.set(t,e=n)),i=a}return t(e,...i)})(W);var pe,he=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!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"}(pe||(pe={}));const ce=ht.extend("--ft-typography-font-family",ct.titleFont),fe=ht.extend("--ft-typography-font-family",ct.contentFont),de={fontFamily:fe,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")},ue=ht.extend("--ft-typography-title-font-family",ce),ye=ht.extend("--ft-typography-title-font-size",de.fontSize,"20px"),ve=ht.extend("--ft-typography-title-font-weight",de.fontWeight,"normal"),xe=ht.extend("--ft-typography-title-letter-spacing",de.letterSpacing,"0.15px"),be=ht.extend("--ft-typography-title-line-height",de.lineHeight,"1.2"),ge=ht.extend("--ft-typography-title-text-transform",de.textTransform,"inherit"),me=ht.extend("--ft-typography-title-dense-font-family",ce),we=ht.extend("--ft-typography-title-dense-font-size",de.fontSize,"14px"),$e=ht.extend("--ft-typography-title-dense-font-weight",de.fontWeight,"normal"),Oe=ht.extend("--ft-typography-title-dense-letter-spacing",de.letterSpacing,"0.105px"),Se=ht.extend("--ft-typography-title-dense-line-height",de.lineHeight,"1.7"),Ne=ht.extend("--ft-typography-title-dense-text-transform",de.textTransform,"inherit"),ke=ht.extend("--ft-typography-subtitle1-font-family",fe),Ce=ht.extend("--ft-typography-subtitle1-font-size",de.fontSize,"16px"),Ee=ht.extend("--ft-typography-subtitle1-font-weight",de.fontWeight,"600"),Re=ht.extend("--ft-typography-subtitle1-letter-spacing",de.letterSpacing,"0.144px"),Me=ht.extend("--ft-typography-subtitle1-line-height",de.lineHeight,"1.5"),Ue=ht.extend("--ft-typography-subtitle1-text-transform",de.textTransform,"inherit"),je=ht.extend("--ft-typography-subtitle2-font-family",fe),Fe=ht.extend("--ft-typography-subtitle2-font-size",de.fontSize,"14px"),ze=ht.extend("--ft-typography-subtitle2-font-weight",de.fontWeight,"normal"),Ae=ht.extend("--ft-typography-subtitle2-letter-spacing",de.letterSpacing,"0.098px"),Be=ht.extend("--ft-typography-subtitle2-line-height",de.lineHeight,"1.7"),Le=ht.extend("--ft-typography-subtitle2-text-transform",de.textTransform,"inherit"),Te=ht.extend("--ft-typography-body1-font-family",fe),Pe=ht.extend("--ft-typography-body1-font-size",de.fontSize,"16px"),De=ht.extend("--ft-typography-body1-font-weight",de.fontWeight,"normal"),_e=ht.extend("--ft-typography-body1-letter-spacing",de.letterSpacing,"0.496px"),We=ht.extend("--ft-typography-body1-line-height",de.lineHeight,"1.5"),Ie=ht.extend("--ft-typography-body1-text-transform",de.textTransform,"inherit"),He=ht.extend("--ft-typography-body2-font-family",fe),Ke=ht.extend("--ft-typography-body2-font-size",de.fontSize,"14px"),Ve=ht.extend("--ft-typography-body2-font-weight",de.fontWeight,"normal"),Ze=ht.extend("--ft-typography-body2-letter-spacing",de.letterSpacing,"0.252px"),Je=ht.extend("--ft-typography-body2-line-height",de.lineHeight,"1.4"),qe=ht.extend("--ft-typography-body2-text-transform",de.textTransform,"inherit"),Xe=ht.extend("--ft-typography-caption-font-family",fe),Ye=ht.extend("--ft-typography-caption-font-size",de.fontSize,"12px"),Ge=ht.extend("--ft-typography-caption-font-weight",de.fontWeight,"normal"),Qe=ht.extend("--ft-typography-caption-letter-spacing",de.letterSpacing,"0.396px"),ti=ht.extend("--ft-typography-caption-line-height",de.lineHeight,"1.33"),ei=ht.extend("--ft-typography-caption-text-transform",de.textTransform,"inherit"),ii=ht.extend("--ft-typography-breadcrumb-font-family",fe),oi=ht.extend("--ft-typography-breadcrumb-font-size",de.fontSize,"10px"),si=ht.extend("--ft-typography-breadcrumb-font-weight",de.fontWeight,"normal"),ri=ht.extend("--ft-typography-breadcrumb-letter-spacing",de.letterSpacing,"0.33px"),ni=ht.extend("--ft-typography-breadcrumb-line-height",de.lineHeight,"1.6"),ai=ht.extend("--ft-typography-breadcrumb-text-transform",de.textTransform,"inherit"),li=ht.extend("--ft-typography-overline-font-family",fe),pi=ht.extend("--ft-typography-overline-font-size",de.fontSize,"10px"),hi=ht.extend("--ft-typography-overline-font-weight",de.fontWeight,"normal"),ci=ht.extend("--ft-typography-overline-letter-spacing",de.letterSpacing,"1.5px"),fi=ht.extend("--ft-typography-overline-line-height",de.lineHeight,"1.6"),di=ht.extend("--ft-typography-overline-text-transform",de.textTransform,"uppercase"),ui=ht.extend("--ft-typography-button-font-family",fe),yi=ht.extend("--ft-typography-button-font-size",de.fontSize,"14px"),vi=ht.extend("--ft-typography-button-font-weight",de.fontWeight,"600"),xi=ht.extend("--ft-typography-button-letter-spacing",de.letterSpacing,"1.246px"),bi=ht.extend("--ft-typography-button-line-height",de.lineHeight,"1.15"),gi=ht.extend("--ft-typography-button-text-transform",de.textTransform,"uppercase"),mi=d`
220
+ const Jt=Symbol.for(""),qt=t=>{if((null==t?void 0:t.r)===Jt)return null==t?void 0:t._$litStatic$},Xt=t=>({_$litStatic$:t,r:Jt}),Yt=new Map,Gt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(r=i[p],s=qt(r));)l+=s+e[++p],h=!0;a.push(r),n.push(l),p++}if(p===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=Yt.get(t))&&(n.raw=n,Yt.set(t,e=n)),i=a}return t(e,...i)})(W);var Qt;!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"}(Qt||(Qt={}));const te=ht.extend("--ft-typography-font-family",ct.titleFont),ee=ht.extend("--ft-typography-font-family",ct.contentFont),ie={fontFamily:ee,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")},oe=ht.extend("--ft-typography-title-font-family",te),se=ht.extend("--ft-typography-title-font-size",ie.fontSize,"20px"),re=ht.extend("--ft-typography-title-font-weight",ie.fontWeight,"normal"),ne=ht.extend("--ft-typography-title-letter-spacing",ie.letterSpacing,"0.15px"),ae=ht.extend("--ft-typography-title-line-height",ie.lineHeight,"1.2"),le=ht.extend("--ft-typography-title-text-transform",ie.textTransform,"inherit"),pe=ht.extend("--ft-typography-title-dense-font-family",te),he=ht.extend("--ft-typography-title-dense-font-size",ie.fontSize,"14px"),ce=ht.extend("--ft-typography-title-dense-font-weight",ie.fontWeight,"normal"),fe=ht.extend("--ft-typography-title-dense-letter-spacing",ie.letterSpacing,"0.105px"),de=ht.extend("--ft-typography-title-dense-line-height",ie.lineHeight,"1.7"),ue=ht.extend("--ft-typography-title-dense-text-transform",ie.textTransform,"inherit"),ye=ht.extend("--ft-typography-subtitle1-font-family",ee),ve=ht.extend("--ft-typography-subtitle1-font-size",ie.fontSize,"16px"),xe=ht.extend("--ft-typography-subtitle1-font-weight",ie.fontWeight,"600"),be=ht.extend("--ft-typography-subtitle1-letter-spacing",ie.letterSpacing,"0.144px"),ge=ht.extend("--ft-typography-subtitle1-line-height",ie.lineHeight,"1.5"),me=ht.extend("--ft-typography-subtitle1-text-transform",ie.textTransform,"inherit"),we=ht.extend("--ft-typography-subtitle2-font-family",ee),$e=ht.extend("--ft-typography-subtitle2-font-size",ie.fontSize,"14px"),Oe=ht.extend("--ft-typography-subtitle2-font-weight",ie.fontWeight,"normal"),Se=ht.extend("--ft-typography-subtitle2-letter-spacing",ie.letterSpacing,"0.098px"),Ne=ht.extend("--ft-typography-subtitle2-line-height",ie.lineHeight,"1.7"),ke=ht.extend("--ft-typography-subtitle2-text-transform",ie.textTransform,"inherit"),Ce=ht.extend("--ft-typography-body1-font-family",ee),Ee=ht.extend("--ft-typography-body1-font-size",ie.fontSize,"16px"),Re=ht.extend("--ft-typography-body1-font-weight",ie.fontWeight,"normal"),Me=ht.extend("--ft-typography-body1-letter-spacing",ie.letterSpacing,"0.496px"),Ue=ht.extend("--ft-typography-body1-line-height",ie.lineHeight,"1.5"),je=ht.extend("--ft-typography-body1-text-transform",ie.textTransform,"inherit"),Fe=ht.extend("--ft-typography-body2-font-family",ee),ze=ht.extend("--ft-typography-body2-font-size",ie.fontSize,"14px"),Ae=ht.extend("--ft-typography-body2-font-weight",ie.fontWeight,"normal"),Be=ht.extend("--ft-typography-body2-letter-spacing",ie.letterSpacing,"0.252px"),Le=ht.extend("--ft-typography-body2-line-height",ie.lineHeight,"1.4"),Te=ht.extend("--ft-typography-body2-text-transform",ie.textTransform,"inherit"),Pe=ht.extend("--ft-typography-caption-font-family",ee),De=ht.extend("--ft-typography-caption-font-size",ie.fontSize,"12px"),_e=ht.extend("--ft-typography-caption-font-weight",ie.fontWeight,"normal"),We=ht.extend("--ft-typography-caption-letter-spacing",ie.letterSpacing,"0.396px"),Ie=ht.extend("--ft-typography-caption-line-height",ie.lineHeight,"1.33"),He=ht.extend("--ft-typography-caption-text-transform",ie.textTransform,"inherit"),Ke=ht.extend("--ft-typography-breadcrumb-font-family",ee),Ve=ht.extend("--ft-typography-breadcrumb-font-size",ie.fontSize,"10px"),Ze=ht.extend("--ft-typography-breadcrumb-font-weight",ie.fontWeight,"normal"),Je=ht.extend("--ft-typography-breadcrumb-letter-spacing",ie.letterSpacing,"0.33px"),qe=ht.extend("--ft-typography-breadcrumb-line-height",ie.lineHeight,"1.6"),Xe=ht.extend("--ft-typography-breadcrumb-text-transform",ie.textTransform,"inherit"),Ye=ht.extend("--ft-typography-overline-font-family",ee),Ge=ht.extend("--ft-typography-overline-font-size",ie.fontSize,"10px"),Qe=ht.extend("--ft-typography-overline-font-weight",ie.fontWeight,"normal"),ti=ht.extend("--ft-typography-overline-letter-spacing",ie.letterSpacing,"1.5px"),ei=ht.extend("--ft-typography-overline-line-height",ie.lineHeight,"1.6"),ii=ht.extend("--ft-typography-overline-text-transform",ie.textTransform,"uppercase"),oi=ht.extend("--ft-typography-button-font-family",ee),si=ht.extend("--ft-typography-button-font-size",ie.fontSize,"14px"),ri=ht.extend("--ft-typography-button-font-weight",ie.fontWeight,"600"),ni=ht.extend("--ft-typography-button-letter-spacing",ie.letterSpacing,"1.246px"),ai=ht.extend("--ft-typography-button-line-height",ie.lineHeight,"1.15"),li=ht.extend("--ft-typography-button-text-transform",ie.textTransform,"uppercase"),pi=d`
269
221
  .ft-typography--title {
270
- font-family: ${ue};
271
- font-size: ${ye};
272
- font-weight: ${ve};
273
- letter-spacing: ${xe};
274
- line-height: ${be};
275
- text-transform: ${ge};
276
- }
277
- `,wi=d`
222
+ font-family: ${oe};
223
+ font-size: ${se};
224
+ font-weight: ${re};
225
+ letter-spacing: ${ne};
226
+ line-height: ${ae};
227
+ text-transform: ${le};
228
+ }
229
+ `,hi=d`
278
230
  .ft-typography--title-dense {
279
- font-family: ${me};
280
- font-size: ${we};
281
- font-weight: ${$e};
282
- letter-spacing: ${Oe};
283
- line-height: ${Se};
284
- text-transform: ${Ne};
285
- }
286
- `,$i=d`
231
+ font-family: ${pe};
232
+ font-size: ${he};
233
+ font-weight: ${ce};
234
+ letter-spacing: ${fe};
235
+ line-height: ${de};
236
+ text-transform: ${ue};
237
+ }
238
+ `,ci=d`
287
239
  .ft-typography--subtitle1 {
288
- font-family: ${ke};
289
- font-size: ${Ce};
290
- font-weight: ${Ee};
291
- letter-spacing: ${Re};
292
- line-height: ${Me};
293
- text-transform: ${Ue};
294
- }
295
- `,Oi=d`
240
+ font-family: ${ye};
241
+ font-size: ${ve};
242
+ font-weight: ${xe};
243
+ letter-spacing: ${be};
244
+ line-height: ${ge};
245
+ text-transform: ${me};
246
+ }
247
+ `,fi=d`
296
248
  .ft-typography--subtitle2 {
297
- font-family: ${je};
298
- font-size: ${Fe};
299
- font-weight: ${ze};
300
- letter-spacing: ${Ae};
301
- line-height: ${Be};
302
- text-transform: ${Le};
249
+ font-family: ${we};
250
+ font-size: ${$e};
251
+ font-weight: ${Oe};
252
+ letter-spacing: ${Se};
253
+ line-height: ${Ne};
254
+ text-transform: ${ke};
303
255
  }
304
256
 
305
- `,Si=d`
257
+ `,di=d`
306
258
  .ft-typography--body1 {
307
- font-family: ${Te};
308
- font-size: ${Pe};
309
- font-weight: ${De};
310
- letter-spacing: ${_e};
311
- line-height: ${We};
312
- text-transform: ${Ie};
313
- }
314
- `,Ni=d`
259
+ font-family: ${Ce};
260
+ font-size: ${Ee};
261
+ font-weight: ${Re};
262
+ letter-spacing: ${Me};
263
+ line-height: ${Ue};
264
+ text-transform: ${je};
265
+ }
266
+ `,ui=d`
315
267
  .ft-typography--body2 {
316
- font-family: ${He};
317
- font-size: ${Ke};
318
- font-weight: ${Ve};
319
- letter-spacing: ${Ze};
320
- line-height: ${Je};
321
- text-transform: ${qe};
322
- }
323
- `,ki=d`
268
+ font-family: ${Fe};
269
+ font-size: ${ze};
270
+ font-weight: ${Ae};
271
+ letter-spacing: ${Be};
272
+ line-height: ${Le};
273
+ text-transform: ${Te};
274
+ }
275
+ `,yi=d`
324
276
  .ft-typography--caption {
325
- font-family: ${Xe};
326
- font-size: ${Ye};
327
- font-weight: ${Ge};
328
- letter-spacing: ${Qe};
329
- line-height: ${ti};
330
- text-transform: ${ei};
331
- }
332
- `,Ci=d`
277
+ font-family: ${Pe};
278
+ font-size: ${De};
279
+ font-weight: ${_e};
280
+ letter-spacing: ${We};
281
+ line-height: ${Ie};
282
+ text-transform: ${He};
283
+ }
284
+ `,vi=d`
333
285
  .ft-typography--breadcrumb {
334
- font-family: ${ii};
335
- font-size: ${oi};
336
- font-weight: ${si};
337
- letter-spacing: ${ri};
338
- line-height: ${ni};
339
- text-transform: ${ai};
340
- }
341
- `,Ei=d`
286
+ font-family: ${Ke};
287
+ font-size: ${Ve};
288
+ font-weight: ${Ze};
289
+ letter-spacing: ${Je};
290
+ line-height: ${qe};
291
+ text-transform: ${Xe};
292
+ }
293
+ `,xi=d`
342
294
  .ft-typography--overline {
343
- font-family: ${li};
344
- font-size: ${pi};
345
- font-weight: ${hi};
346
- letter-spacing: ${ci};
347
- line-height: ${fi};
348
- text-transform: ${di};
349
- }
350
- `,Ri=d`
295
+ font-family: ${Ye};
296
+ font-size: ${Ge};
297
+ font-weight: ${Qe};
298
+ letter-spacing: ${ti};
299
+ line-height: ${ei};
300
+ text-transform: ${ii};
301
+ }
302
+ `,bi=d`
351
303
  .ft-typography--button {
352
- font-family: ${ui};
353
- font-size: ${yi};
354
- font-weight: ${vi};
355
- letter-spacing: ${xi};
356
- line-height: ${bi};
357
- text-transform: ${gi};
358
- }
359
- `;class Mi extends yt{constructor(){super(...arguments),this.variant=pe.body1}render(){return this.element?le`
360
- <${ne(this.element)}
304
+ font-family: ${oi};
305
+ font-size: ${si};
306
+ font-weight: ${ri};
307
+ letter-spacing: ${ni};
308
+ line-height: ${ai};
309
+ text-transform: ${li};
310
+ }
311
+ `,gi=d`
312
+ .ft-typography {
313
+ vertical-align: inherit;
314
+ }
315
+ `;var mi=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class wi extends vt{constructor(){super(...arguments),this.variant=Qt.body1}render(){return this.element?Gt`
316
+ <${Xt(this.element)}
361
317
  class="ft-typography ft-typography--${this.variant}">
362
318
  <slot></slot>
363
- </${ne(this.element)}>
364
- `:le`
319
+ </${Xt(this.element)}>
320
+ `:Gt`
365
321
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
366
- `}}Mi.styles=[mi,wi,$i,Oi,Si,Ni,ki,Ci,Ei,Ri,d`
367
- .ft-typography {
368
- vertical-align: inherit;
369
- }
370
- `],he([o()],Mi.prototype,"element",void 0),he([o()],Mi.prototype,"variant",void 0),a("ft-typography")(Mi);var Ui,ji=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};t.FtTabsAlignment=void 0,(Ui=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",Ui.right="right",Ui.justify="justify";const Fi={colorSurface:ht.external(ct.colorSurface,"Design system"),colorPrimary:ht.external(ct.colorPrimary,"Design system"),colorOnSurfaceMedium:ht.external(ct.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ht.external(ct.colorOnSurfaceDisabled,"Design system")};class zi extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class Ai extends yt{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new e(20),this.scheduleRequestUpdate=()=>this.updateDebouncer.run((()=>this.requestUpdate())),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){const t={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense};return W`
371
- <div class="${Wt(t)}" part="container">
322
+ `}}wi.styles=[pi,hi,ci,fi,di,ui,yi,vi,xi,bi,gi],mi([o()],wi.prototype,"element",void 0),mi([o()],wi.prototype,"variant",void 0),a("ft-typography")(wi);
323
+ /**
324
+ * @license
325
+ * Copyright 2017 Google LLC
326
+ * SPDX-License-Identifier: BSD-3-Clause
327
+ */
328
+ class $i extends $t{constructor(t){if(super(t),this.it=H,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this._t=void 0,this.it=t;if(t===I)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:[]}}}$i.directiveName="unsafeHTML",$i.resultType=1;const Oi=wt($i);var Si,Ni;!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;"}(Si||(Si={})),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;"}(Ni||(Ni={})),new Map([...["abw"].map((t=>[t,Ni.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,Ni.AUDIO])),...["avi"].map((t=>[t,Ni.AVI])),...["chm","xhs"].map((t=>[t,Ni.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,Ni.CODE])),...["csv"].map((t=>[t,Ni.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ni.DITA])),...["epub"].map((t=>[t,Ni.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ni.EXCEL])),...["flac"].map((t=>[t,Ni.FLAC])),...["gif"].map((t=>[t,Ni.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ni.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ni.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,Ni.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ni.JPEG])),...["json"].map((t=>[t,Ni.JSON])),...["m4a","m4p"].map((t=>[t,Ni.M4A])),...["mov","qt"].map((t=>[t,Ni.MOV])),...["mp3"].map((t=>[t,Ni.MP3])),...["mp4","m4v"].map((t=>[t,Ni.MP4])),...["ogg","oga"].map((t=>[t,Ni.OGG])),...["pdf","ps"].map((t=>[t,Ni.PDF])),...["png"].map((t=>[t,Ni.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ni.POWERPOINT])),...["rar"].map((t=>[t,Ni.RAR])),...["stp"].map((t=>[t,Ni.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ni.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,Ni.VIDEO])),...["wav"].map((t=>[t,Ni.WAV])),...["wma"].map((t=>[t,Ni.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ni.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ni.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ni.YAML])),...["zip"].map((t=>[t,Ni.ZIP]))]);const ki=ht.create("--ft-icon-font-size","SIZE","24px"),Ci=ht.extend("--ft-icon-fluid-topics-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ei=ht.extend("--ft-icon-file-format-font-family",ht.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ri=ht.extend("--ft-icon-material-font-family",ht.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Mi=ht.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ui=d`
329
+ :host {
330
+ display: inline-block;
331
+ }
332
+
333
+ :host, i.ft-icon {
334
+ width: ${ki};
335
+ height: ${ki};
336
+ text-align: center;
337
+ }
338
+
339
+ i.ft-icon {
340
+ font-size: ${ki};
341
+ line-height: 1;
342
+ font-weight: normal;
343
+ text-transform: none;
344
+ font-style: normal;
345
+ font-variant: normal;
346
+ speak: none;
347
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
348
+ text-rendering: auto;
349
+ -webkit-font-smoothing: antialiased;
350
+ -moz-osx-font-smoothing: grayscale;
351
+ vertical-align: ${Mi};
352
+ }
353
+
354
+ .ft-icon--fluid-topics {
355
+ font-family: ${Ci}, ft-icons, fticons, sans-serif;
356
+ }
357
+
358
+ .ft-icon--file-format {
359
+ font-family: ${Ei}, ft-mime, sans-serif;
360
+ }
361
+
362
+ .ft-icon--material {
363
+ font-family: ${Ri}, "Material Icons", sans-serif;
364
+ }
365
+ `;var ji,Fi=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class zi extends vt{constructor(){super(...arguments),this.variant=ut.fluid_topics,this.resolvedIcon=H}render(){const t="material"!==this.variant||this.value;return W`
366
+ <i class="ft-icon ${"ft-icon--"+this.variant}">
367
+ ${Oi(this.resolvedIcon)}
368
+ <slot ?hidden=${t}></slot>
369
+ </i>
370
+ `}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 ut.file_format:this.resolvedIcon=null!==(t=Ni[i.toUpperCase()])&&void 0!==t?t:i;break;case ut.fluid_topics:this.resolvedIcon=null!==(e=Si[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||H}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}zi.elementDefinitions={},zi.styles=Ui,Fi([o()],zi.prototype,"variant",void 0),Fi([o()],zi.prototype,"value",void 0),Fi([s()],zi.prototype,"resolvedIcon",void 0),Fi([r("slot")],zi.prototype,"slottedContent",void 0),a("ft-icon")(zi),t.FtTabsAlignment=void 0,(ji=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",ji.right="right",ji.justify="justify";const Ai={colorSurface:ht.external(ct.colorSurface,"Design system"),colorPrimary:ht.external(ct.colorPrimary,"Design system"),colorOnSurfaceMedium:ht.external(ct.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ht.external(ct.colorOnSurfaceDisabled,"Design system")},Bi=d`
371
+ .ft-tabs {
372
+ display: flex;
373
+ flex-direction: column;
374
+ background-color: ${Ai.colorSurface};
375
+ height: 100%;
376
+ }
377
+
378
+ .ft-tabs--reverse {
379
+ flex-direction: column-reverse;
380
+ }
381
+
382
+ [role="tablist"] {
383
+ flex-shrink: 0;
384
+ flex-grow: 0;
385
+ display: flex;
386
+ position: relative;
387
+ flex-wrap: wrap;
388
+ }
389
+
390
+ .ft-tabs--align-right {
391
+ justify-content: flex-end;
392
+ }
393
+
394
+ .ft-tabs--align-justify {
395
+ justify-content: space-evenly;
396
+ }
397
+
398
+ [role='tab'] {
399
+ position: relative;
400
+ display: flex;
401
+ overflow: hidden;
402
+ flex-direction: column;
403
+ align-items: center;
404
+ justify-content: center;
405
+ padding: 8px 16px;
406
+ background: none;
407
+ box-shadow: 0px 0px 0px transparent;
408
+ border: 0px solid transparent;
409
+ text-shadow: 0px 0px 0px transparent;
410
+ cursor: pointer;
411
+ outline: none;
412
+ font-size: 16px;
413
+ line-height: 1;
414
+ color: ${Ai.colorOnSurfaceMedium};
415
+ }
416
+
417
+ [role='tab'][aria-selected='true'] {
418
+ color: ${Ai.colorPrimary};
419
+ }
420
+
421
+ [role='tab'][disabled] {
422
+ color: ${Ai.colorOnSurfaceDisabled};
423
+ }
424
+
425
+ .ft-tabs--align-justify [role='tab'] {
426
+ flex-grow: 1;
427
+ }
428
+
429
+ [role='tab'] .ft-tabs--tab-label {
430
+ width: 100%;
431
+ white-space: nowrap;
432
+ overflow: hidden;
433
+ text-overflow: ellipsis;
434
+ }
435
+
436
+ [role='tab']:not(.ft-tabs--tab-with-label) .ft-tabs--tab-label,
437
+ .ft-tabs--dense .ft-tabs--tab-with-icon .ft-tabs--tab-label {
438
+ display: none;
439
+ }
440
+
441
+ [role='tab']:not(.ft-tabs--tab-with-icon) .ft-tabs--tab-icon {
442
+ display: none;
443
+ }
444
+
445
+ .ft-tabs--active-tab-indicator {
446
+ position: absolute;
447
+ height: 3px;
448
+ border-radius: 2px;
449
+ background-color: ${Ai.colorPrimary};
450
+ transition: width 200ms ease, left 200ms ease, top 200ms ease;
451
+ }
452
+
453
+ .ft-tabs--content {
454
+ flex-shrink: 1;
455
+ flex-grow: 1;
456
+ overflow: auto;
457
+ }
458
+ `;var Li=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ti extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class Pi extends vt{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new e(20),this.scheduleRequestUpdate=()=>this.updateDebouncer.run((()=>this.requestUpdate())),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){const t={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense};return W`
459
+ <div class="${Ut(t)}" part="container">
372
460
  <div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
373
- ${_t(this.ftTabs,((t,e)=>W`
374
- <button class="${Wt({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
461
+ ${Mt(this.ftTabs,((t,e)=>W`
462
+ <button class="${Ut({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
375
463
  title="${t.label}"
376
464
  ?disabled=${t.disabled}
377
465
  @click=${()=>this.activeIndex=e}
@@ -387,9 +475,9 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
387
475
  <ft-icon class="ft-tabs--tab-icon" part="tab-icon" variant="${t.iconVariant}">
388
476
  ${t.icon}
389
477
  </ft-icon>
390
- <ft-typography class="ft-tabs--tab-label"
478
+ <ft-typography class="ft-tabs--tab-label"
391
479
  part="tab-label"
392
- variant="${pe.body2}">
480
+ variant="${Qt.body2}">
393
481
  ${t.label}
394
482
  </ft-typography>
395
483
  </button>
@@ -400,92 +488,4 @@ const se=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===se)return null==t?void
400
488
  <slot @slotchange=${this.onContentChange}></slot>
401
489
  </div>
402
490
  </div>
403
- `}onContentChange(t){const e=t.composedPath()[0];this.ftTabs=e.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.scheduleRequestUpdate),t.addEventListener("updated",this.scheduleRequestUpdate)})),this.updateTabs()}updated(t){super.updated(t),(t.has("tabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new zi(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,e,i,o,s,r,n,a,l,p;this.activeTabIndicator&&(this.activeTabIndicator.style.width=(null!==(e=null===(t=this.activeTab)||void 0===t?void 0:t.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(o=null===(i=this.activeTab)||void 0===i?void 0:i.offsetLeft)&&void 0!==o?o:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(r=null===(s=this.activeTab)||void 0===s?void 0:s.offsetTop)&&void 0!==r?r:0)+"px":this.activeTabIndicator.style.top=(null!==(a=null===(n=this.activeTab)||void 0===n?void 0:n.offsetTop)&&void 0!==a?a:0)+(null!==(p=null===(l=this.activeTab)||void 0===l?void 0:l.clientHeight)&&void 0!==p?p:0)-this.activeTabIndicator.clientHeight+"px")}updateTabs(){this.ftTabs.forEach(((t,e)=>{t.active=e==this.activeIndex}))}}Ai.elementDefinitions={"ft-tab":Ft,"ft-ripple":oe,"ft-typography":Mi,"ft-icon":Ut},Ai.styles=d`
404
- .ft-tabs {
405
- display: flex;
406
- flex-direction: column;
407
- background-color: ${Fi.colorSurface};
408
- height: 100%;
409
- }
410
-
411
- .ft-tabs--reverse {
412
- flex-direction: column-reverse;
413
- }
414
-
415
- [role="tablist"] {
416
- flex-shrink: 0;
417
- flex-grow: 0;
418
- display: flex;
419
- position: relative;
420
- flex-wrap: wrap;
421
- }
422
-
423
- .ft-tabs--align-right {
424
- justify-content: flex-end;
425
- }
426
-
427
- .ft-tabs--align-justify {
428
- justify-content: space-evenly;
429
- }
430
-
431
- [role='tab'] {
432
- position: relative;
433
- display: flex;
434
- overflow: hidden;
435
- flex-direction: column;
436
- align-items: center;
437
- justify-content: center;
438
- padding: 8px 16px;
439
- background: none;
440
- box-shadow: 0px 0px 0px transparent;
441
- border: 0px solid transparent;
442
- text-shadow: 0px 0px 0px transparent;
443
- cursor: pointer;
444
- outline: none;
445
- font-size: 16px;
446
- line-height: 1;
447
- color: ${Fi.colorOnSurfaceMedium};
448
- }
449
-
450
- [role='tab'][aria-selected='true'] {
451
- color: ${Fi.colorPrimary};
452
- }
453
-
454
- [role='tab'][disabled] {
455
- color: ${Fi.colorOnSurfaceDisabled};
456
- }
457
-
458
- .ft-tabs--align-justify [role='tab'] {
459
- flex-grow: 1;
460
- }
461
-
462
- [role='tab'] .ft-tabs--tab-label {
463
- width: 100%;
464
- white-space: nowrap;
465
- overflow: hidden;
466
- text-overflow: ellipsis;
467
- }
468
-
469
- [role='tab']:not(.ft-tabs--tab-with-label) .ft-tabs--tab-label,
470
- .ft-tabs--dense .ft-tabs--tab-with-icon .ft-tabs--tab-label {
471
- display: none;
472
- }
473
-
474
- [role='tab']:not(.ft-tabs--tab-with-icon) .ft-tabs--tab-icon {
475
- display: none;
476
- }
477
-
478
- .ft-tabs--active-tab-indicator {
479
- position: absolute;
480
- height: 3px;
481
- border-radius: 2px;
482
- background-color: ${Fi.colorPrimary};
483
- transition: width 200ms ease, left 200ms ease, top 200ms ease;
484
- }
485
-
486
- .ft-tabs--content {
487
- flex-shrink: 1;
488
- flex-grow: 1;
489
- overflow: auto;
490
- }
491
- `,ji([o({type:Boolean})],Ai.prototype,"dense",void 0),ji([o({type:Boolean})],Ai.prototype,"contentBefore",void 0),ji([o()],Ai.prototype,"alignTabs",void 0),ji([s()],Ai.prototype,"ftTabs",void 0),ji([r("[role='tablist']")],Ai.prototype,"tabsContainer",void 0),ji([r("[aria-selected='true']")],Ai.prototype,"activeTab",void 0),ji([r(".ft-tabs--active-tab-indicator")],Ai.prototype,"activeTabIndicator",void 0),ji([o({type:Number,reflect:!0})],Ai.prototype,"activeIndex",void 0),a("ft-tab")(Ft),a("ft-tabs")(Ai),t.FtTab=Ft,t.FtTabs=Ai,t.FtTabsCssVariables=Fi,t.IndexChangeEvent=zi,Object.defineProperty(t,"i",{value:!0})}({});
491
+ `}onContentChange(t){const e=t.composedPath()[0];this.ftTabs=e.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.scheduleRequestUpdate),t.addEventListener("updated",this.scheduleRequestUpdate)})),this.updateTabs()}updated(t){super.updated(t),(t.has("tabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new Ti(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,e,i,o,s,r,n,a,l,p;this.activeTabIndicator&&(this.activeTabIndicator.style.width=(null!==(e=null===(t=this.activeTab)||void 0===t?void 0:t.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(o=null===(i=this.activeTab)||void 0===i?void 0:i.offsetLeft)&&void 0!==o?o:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(r=null===(s=this.activeTab)||void 0===s?void 0:s.offsetTop)&&void 0!==r?r:0)+"px":this.activeTabIndicator.style.top=(null!==(a=null===(n=this.activeTab)||void 0===n?void 0:n.offsetTop)&&void 0!==a?a:0)+(null!==(p=null===(l=this.activeTab)||void 0===l?void 0:l.clientHeight)&&void 0!==p?p:0)-this.activeTabIndicator.clientHeight+"px")}updateTabs(){this.ftTabs.forEach(((t,e)=>{t.active=e==this.activeIndex}))}}Pi.elementDefinitions={"ft-tab":bt,"ft-ripple":Zt,"ft-typography":wi,"ft-icon":zi},Pi.styles=Bi,Li([o({type:Boolean})],Pi.prototype,"dense",void 0),Li([o({type:Boolean})],Pi.prototype,"contentBefore",void 0),Li([o()],Pi.prototype,"alignTabs",void 0),Li([s()],Pi.prototype,"ftTabs",void 0),Li([r("[role='tablist']")],Pi.prototype,"tabsContainer",void 0),Li([r("[aria-selected='true']")],Pi.prototype,"activeTab",void 0),Li([r(".ft-tabs--active-tab-indicator")],Pi.prototype,"activeTabIndicator",void 0),Li([o({type:Number,reflect:!0})],Pi.prototype,"activeIndex",void 0);a("ft-tab")(bt),a("ft-tabs")(Pi),t.FtTab=bt,t.FtTabCssVariables={},t.FtTabs=Pi,t.FtTabsCssVariables=Ai,t.IndexChangeEvent=Ti,t.styles=Bi,Object.defineProperty(t,"i",{value:!0})}({});