@fluid-topics/ft-in-product-help 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(_i){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(tr){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -59,7 +59,7 @@ const S={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},w=(t=S,o,
59
59
  * Copyright 2017 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
61
  */
62
- const L=globalThis,W=L.trustedTypes,z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,B=`<${F}>`,M=document,A=()=>M.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,_=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,Y=/"/g,J=/^(?:script|style|textarea|title)$/i,X=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=M.createTreeWalker(M,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=T;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=j:void 0!==l[1]?a=_:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=G):void 0!==l[3]&&(a=G):a===G?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?G:'"'===l[3]?Y:V):a===Y||a===V?a=G:a===j||a===_?a=T:(a=G,r=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===T?e+B:c>=0?(i.push(s),e.slice(0,c)+Z+e.slice(c)+K+f):e+K+(-2===c?o:f)}return[et(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const o=p[a++],e=r.getAttribute(t).split(K),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ct:at}),r.removeAttribute(t)}else t.startsWith(K)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:n}),t+=K.length-1}n++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,i){if(o===q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=D(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=rt(t,r._$AS(t,o.values),r,i)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),D(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=it.createElement(et(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??M).importNode(o,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new nt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new pt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=M,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new it(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Q}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=rt(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=rt(this,i[e+a],o,a),s===q&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===Q?t=Q:t!==Q&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Q?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},ct=class extends at{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??Q)===q)return;const e=this._$AH,i=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Q&&(e===Q||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const ft=L.litHtmlPolyfillSupport;ft?.(it,nt),(L.litHtmlVersions??=[]).push("3.1.0");
62
+ const L=globalThis,W=L.trustedTypes,z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,K="?"+F,B=`<${K}>`,M=document,A=()=>M.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,_=/>/g,G=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,Y=/"/g,J=/^(?:script|style|textarea|title)$/i,X=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=M.createTreeWalker(M,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=T;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=j:void 0!==l[1]?a=_:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=G):void 0!==l[3]&&(a=G):a===G?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?G:'"'===l[3]?Y:V):a===Y||a===V?a=G:a===j||a===_?a=T:(a=G,r=void 0);const f=a===G&&t[o+1].startsWith("/>")?" ":"";n+=a===T?e+B:c>=0?(i.push(s),e.slice(0,c)+Z+e.slice(c)+F+f):e+F+(-2===c?o:f)}return[et(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const o=p[a++],e=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?st:"?"===i[1]?lt:"@"===i[1]?ct:at}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(F),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===K)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,i){if(o===q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=D(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=rt(t,r._$AS(t,o.values),r,i)),o}let nt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),D(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Q&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=it.createElement(et(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??M).importNode(o,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new nt(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new pt(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=M,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new it(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Q}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=rt(this,t,o,0),n=!D(t)||t!==this._$AH&&t!==q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=rt(this,i[e+a],o,a),s===q&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===Q?t=Q:t!==Q&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Q?void 0:t}},lt=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},ct=class extends at{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??Q)===q)return;const e=this._$AH,i=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Q&&(e===Q||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const ft=L.litHtmlPolyfillSupport;ft?.(it,nt),(L.litHtmlVersions??=[]).push("3.1.0");
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2019 Google LLC
@@ -76,7 +76,7 @@ const ht=globalThis,dt=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeS
76
76
  * Copyright 2017 Google LLC
77
77
  * SPDX-License-Identifier: BSD-3-Clause
78
78
  */
79
- const Zt=globalThis,Kt=Zt.trustedTypes,Ft=Kt?Kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Mt,Dt=`<${At}>`,Pt=document,Ht=()=>Pt.createComment(""),Tt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,_t="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Yt=/>/g,Jt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,qt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,to=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),oo=Symbol.for("lit-noChange"),eo=Symbol.for("lit-nothing"),io=new WeakMap,ro=Pt.createTreeWalker(Pt,129);function no(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Gt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Gt?"!--"===l[1]?a=Vt:void 0!==l[1]?a=Yt:void 0!==l[2]?(Qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Jt):void 0!==l[3]&&(a=Jt):a===Jt?">"===l[0]?(a=r??Gt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Jt:'"'===l[3]?qt:Xt):a===qt||a===Xt?a=Jt:a===Vt||a===Yt?a=Gt:(a=Jt,r=void 0);const f=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===Gt?e+Dt:c>=0?(i.push(s),e.slice(0,c)+Bt+e.slice(c)+Mt+f):e+Mt+(-2===c?o:f)}return[no(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class so{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ao(t,o);if(this.el=so.createElement(l,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ro.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Bt)){const o=c[n++],e=i.getAttribute(t).split(Mt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?ho:"@"===a[1]?uo:po}),i.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Qt.test(i.tagName)){const t=i.textContent.split(Mt),o=t.length-1;if(o>0){i.textContent=Kt?Kt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Ht()),ro.nextNode(),s.push({type:2,index:++r});i.append(t[o],Ht())}}}else if(8===i.nodeType)if(i.data===At)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Mt,t+1));)s.push({type:7,index:r}),t+=Mt.length-1}r++}}static createElement(t,o){const e=Pt.createElement("template");return e.innerHTML=t,e}}function lo(t,o,e=t,i){if(o===oo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Tt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=lo(t,r._$AS(t,o.values),r,i)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=eo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lo(this,t,o),Tt(t)?t===eo||null==t||""===t?(this._$AH!==eo&&this._$AR(),this._$AH=eo):t!==this._$AH&&t!==oo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>jt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==eo&&Tt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(no(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Pt).importNode(o,!0);ro.currentNode=i;let r=ro.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new co(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new yo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ro.nextNode(),n++)}return ro.currentNode=Pt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(t){jt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new co(this.k(Ht()),this.k(Ht()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class po{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=eo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=eo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lo(this,t,o,0),n=!Tt(t)||t!==this._$AH&&t!==oo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lo(this,i[e+a],o,a),s===oo&&(s=this._$AH[a]),n||=!Tt(s)||s!==this._$AH[a],s===eo?t=eo:t!==eo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===eo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fo extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===eo?void 0:t}}class ho extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==eo)}}class uo extends po{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lo(this,t,o,0)??eo)===oo)return;const e=this._$AH,i=t===eo&&e!==eo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==eo&&(e===eo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class yo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){lo(this,t)}}const go=Zt.litHtmlPolyfillSupport;go?.(so,co),(Zt.litHtmlVersions??=[]).push("3.1.0");
79
+ const Zt=globalThis,Ft=Zt.trustedTypes,Kt=Ft?Ft.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Mt,Dt=`<${At}>`,Pt=document,Ht=()=>Pt.createComment(""),Tt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,_t="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Yt=/>/g,Jt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,qt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,to=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),oo=Symbol.for("lit-noChange"),eo=Symbol.for("lit-nothing"),io=new WeakMap,ro=Pt.createTreeWalker(Pt,129);function no(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Kt?Kt.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Gt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Gt?"!--"===l[1]?a=Vt:void 0!==l[1]?a=Yt:void 0!==l[2]?(Qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Jt):void 0!==l[3]&&(a=Jt):a===Jt?">"===l[0]?(a=r??Gt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Jt:'"'===l[3]?qt:Xt):a===qt||a===Xt?a=Jt:a===Vt||a===Yt?a=Gt:(a=Jt,r=void 0);const f=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===Gt?e+Dt:c>=0?(i.push(s),e.slice(0,c)+Bt+e.slice(c)+Mt+f):e+Mt+(-2===c?o:f)}return[no(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class so{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ao(t,o);if(this.el=so.createElement(l,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ro.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Bt)){const o=c[n++],e=i.getAttribute(t).split(Mt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?ho:"@"===a[1]?uo:po}),i.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Qt.test(i.tagName)){const t=i.textContent.split(Mt),o=t.length-1;if(o>0){i.textContent=Ft?Ft.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Ht()),ro.nextNode(),s.push({type:2,index:++r});i.append(t[o],Ht())}}}else if(8===i.nodeType)if(i.data===At)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Mt,t+1));)s.push({type:7,index:r}),t+=Mt.length-1}r++}}static createElement(t,o){const e=Pt.createElement("template");return e.innerHTML=t,e}}function lo(t,o,e=t,i){if(o===oo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Tt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=lo(t,r._$AS(t,o.values),r,i)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=eo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lo(this,t,o),Tt(t)?t===eo||null==t||""===t?(this._$AH!==eo&&this._$AR(),this._$AH=eo):t!==this._$AH&&t!==oo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>jt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==eo&&Tt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(no(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Pt).importNode(o,!0);ro.currentNode=i;let r=ro.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new co(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new yo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=ro.nextNode(),n++)}return ro.currentNode=Pt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(t){jt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new co(this.k(Ht()),this.k(Ht()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class po{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=eo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=eo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=lo(this,t,o,0),n=!Tt(t)||t!==this._$AH&&t!==oo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=lo(this,i[e+a],o,a),s===oo&&(s=this._$AH[a]),n||=!Tt(s)||s!==this._$AH[a],s===eo?t=eo:t!==eo&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===eo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fo extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===eo?void 0:t}}class ho extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==eo)}}class uo extends po{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=lo(this,t,o,0)??eo)===oo)return;const e=this._$AH,i=t===eo&&e!==eo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==eo&&(e===eo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class yo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){lo(this,t)}}const go=Zt.litHtmlPolyfillSupport;go?.(so,co),(Zt.litHtmlVersions??=[]).push("3.1.0");
80
80
  /**
81
81
  * @license
82
82
  * Copyright 2017 Google LLC
@@ -87,11 +87,11 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
87
87
  * @license
88
88
  * Copyright 2019 Google LLC
89
89
  * SPDX-License-Identifier: BSD-3-Clause
90
- */class Uo extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ro?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Eo.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Io,ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Lo=Symbol("constructorPrototype"),Wo=Symbol("constructorName"),zo=Symbol("exportpartsDebouncer");class Zo extends Uo{constructor(){super(),this[Io]=new U(5),this[Wo]=this.constructor.name,this[Lo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wo]&&Object.setPrototypeOf(this,this[Lo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[zo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Io=zo,ko([N()],Zo.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return N({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!I(t,o),...null!=o?o:{}})}([])],Zo.prototype,"exportpartsPrefixes",void 0),ko([N()],Zo.prototype,"customStylesheet",void 0);const Ko=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
90
+ */class Uo extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ro?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Eo.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Io,ko=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Lo=Symbol("constructorPrototype"),Wo=Symbol("constructorName"),zo=Symbol("exportpartsDebouncer");class Zo extends Uo{constructor(){super(),this[Io]=new U(5),this[Wo]=this.constructor.name,this[Lo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wo]&&Object.setPrototypeOf(this,this[Lo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[zo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Io=zo,ko([N()],Zo.prototype,"exportpartsPrefix",void 0),ko([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return N({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!I(t,o),...null!=o?o:{}})}([])],Zo.prototype,"exportpartsPrefixes",void 0),ko([N()],Zo.prototype,"customStylesheet",void 0);const Fo=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
91
91
  .highlight-html-match {
92
- background: ${Ko};
92
+ background: ${Fo};
93
93
  }
94
- `;const Fo=mt`
94
+ `;const Ko=mt`
95
95
  .ft-no-text-select {
96
96
  -webkit-touch-callout: none;
97
97
  -webkit-user-select: none;
@@ -123,29 +123,29 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
123
123
  display: inline-block;
124
124
  width: 0;
125
125
  }
126
- `;window.ftReduxStores||(window.ftReduxStores={});const Mo=Symbol("elementInternals");var Ao,Do,Po;const Ho=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Po=null===(Do=null===(Ao=window.safari)||void 0===Ao?void 0:Ao.pushNotification)||void 0===Do?void 0:Do.toString())&&void 0!==Po?Po:"");var To;t.FtInProductHelpMode=void 0,(To=t.FtInProductHelpMode||(t.FtInProductHelpMode={})).STANDARD="standard",To.THEATER="theater",To.FULLSCREEN="fullscreen";class jo extends CustomEvent{constructor(t,o){super("visibility-change",{detail:{opened:t,displayMode:o}})}}const _o={standardSizeWidth:Oo.create("--ft-in-product-help-standard-width","","SIZE","400px"),standardSizeHeight:Oo.create("--ft-in-product-help-standard-height","","SIZE","630px"),topPosition:Oo.create("--ft-in-product-help-top","","SIZE","unset"),rightPosition:Oo.create("--ft-in-product-help-right","","SIZE","1rem"),bottomPosition:Oo.create("--ft-in-product-help-bottom","","SIZE","1rem"),leftPosition:Oo.create("--ft-in-product-help-left","","SIZE","unset"),zIndex:Oo.create("--ft-in-product-help-zindex","","NUMBER","10"),theaterSizeWidth:Oo.create("--ft-in-product-help-theater-width","","SIZE","90%"),theaterSizeHeight:Oo.create("--ft-in-product-help-theater-height","","SIZE","60%"),fullscreenSizeWidth:Oo.create("--ft-in-product-help-fullscreen-width","","SIZE","100%"),fullscreenSizeHeight:Oo.create("--ft-in-product-help-fullscreen-height","","SIZE","100%"),borderStyle:Oo.create("--ft-in-product-help-border-style","","BORDER-STYLE","solid"),borderWidth:Oo.create("--ft-in-product-help-border-width","","SIZE","0"),borderColor:Oo.extend("--ft-in-product-help-border-color","",$o.colorPrimary),borderRadius:Oo.extend("--ft-in-product-help-border-radius","",$o.borderRadiusM),shadow:Oo.extend("--ft-in-product-help-shadow","",$o.elevation02),topBarHeight:Oo.create("--ft-in-product-help-top-bar-height","","SIZE","28px"),iconColor:Oo.extend("--ft-in-product-help-icon-color","",$o.colorOnSurface),iconGap:Oo.create("--ft-in-product-help-icon-gap","","SIZE","8px"),tabletBreakpoint:Oo.create("--ft-in-product-help-tablet-breakpoint","","SIZE","768px"),desktopBreakpoint:Oo.create("--ft-in-product-help-desktop-breakpoint","","SIZE","1280px"),colorSurface:Oo.external($o.colorSurface,"Design system"),colorPrimary:Oo.external($o.colorPrimary,"Design system")},Go=mt`
126
+ `;function Mo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ao,Do,Po;const Ho=Symbol("internalReduxEventsUnsubscribers"),To=Symbol("internalStoresUnsubscribers"),jo=Symbol("internalStores");class _o extends Zo{constructor(){super(...arguments),this[Ao]=new Map,this[Do]=new Map,this[Po]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[jo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[jo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Mo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[jo].delete(o)}setupStore(t,o){this[jo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[jo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[To].has(t.store):this[To].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[To].set(t,o.subscribe((()=>this.updateFromStores()))),Mo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Ho].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[To].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Ho].forEach((t=>t())),this[Ho]=[]}unsubscribeFromStore(t){this[To].has(t)&&this[To].get(t)(),this[To].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Ao=To,Do=jo,Po=Ho,_o.reduxProperties=new Map,_o.reduxReactiveProperties=new Set,_o.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Go=Symbol("elementInternals");var Vo,Yo,Jo;const Xo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Jo=null===(Yo=null===(Vo=window.safari)||void 0===Vo?void 0:Vo.pushNotification)||void 0===Yo?void 0:Yo.toString())&&void 0!==Jo?Jo:"");var qo;t.FtInProductHelpMode=void 0,(qo=t.FtInProductHelpMode||(t.FtInProductHelpMode={})).STANDARD="standard",qo.THEATER="theater",qo.FULLSCREEN="fullscreen";class Qo extends CustomEvent{constructor(t,o){super("visibility-change",{detail:{opened:t,displayMode:o}})}}const te={standardSizeWidth:Oo.create("--ft-in-product-help-standard-width","","SIZE","400px"),standardSizeHeight:Oo.create("--ft-in-product-help-standard-height","","SIZE","630px"),topPosition:Oo.create("--ft-in-product-help-top","","SIZE","unset"),rightPosition:Oo.create("--ft-in-product-help-right","","SIZE","1rem"),bottomPosition:Oo.create("--ft-in-product-help-bottom","","SIZE","1rem"),leftPosition:Oo.create("--ft-in-product-help-left","","SIZE","unset"),zIndex:Oo.create("--ft-in-product-help-zindex","","NUMBER","10"),theaterSizeWidth:Oo.create("--ft-in-product-help-theater-width","","SIZE","90%"),theaterSizeHeight:Oo.create("--ft-in-product-help-theater-height","","SIZE","60%"),fullscreenSizeWidth:Oo.create("--ft-in-product-help-fullscreen-width","","SIZE","100%"),fullscreenSizeHeight:Oo.create("--ft-in-product-help-fullscreen-height","","SIZE","100%"),borderStyle:Oo.create("--ft-in-product-help-border-style","","BORDER-STYLE","solid"),borderWidth:Oo.create("--ft-in-product-help-border-width","","SIZE","0"),borderColor:Oo.extend("--ft-in-product-help-border-color","",$o.colorPrimary),borderRadius:Oo.extend("--ft-in-product-help-border-radius","",$o.borderRadiusM),shadow:Oo.extend("--ft-in-product-help-shadow","",$o.elevation02),topBarHeight:Oo.create("--ft-in-product-help-top-bar-height","","SIZE","28px"),iconColor:Oo.extend("--ft-in-product-help-icon-color","",$o.colorOnSurface),iconGap:Oo.create("--ft-in-product-help-icon-gap","","SIZE","8px"),tabletBreakpoint:Oo.create("--ft-in-product-help-tablet-breakpoint","","SIZE","768px"),desktopBreakpoint:Oo.create("--ft-in-product-help-desktop-breakpoint","","SIZE","1280px"),colorSurface:Oo.external($o.colorSurface,"Design system"),colorPrimary:Oo.external($o.colorPrimary,"Design system")},oe=mt`
127
127
  .ft-in-product-help {
128
128
  display: none;
129
129
  position: fixed;
130
- width: ${_o.standardSizeWidth};
131
- height: ${_o.standardSizeHeight};
132
- top: ${_o.topPosition};
133
- right: ${_o.rightPosition};
134
- bottom: ${_o.bottomPosition};
135
- left: ${_o.leftPosition};
136
- z-index: ${_o.zIndex};
137
-
138
- border-style: ${_o.borderStyle};
139
- border-width: ${_o.borderWidth};
140
- border-color: ${_o.borderColor};
141
- border-radius: ${_o.borderRadius};
142
- box-shadow: ${_o.shadow};
130
+ width: ${te.standardSizeWidth};
131
+ height: ${te.standardSizeHeight};
132
+ top: ${te.topPosition};
133
+ right: ${te.rightPosition};
134
+ bottom: ${te.bottomPosition};
135
+ left: ${te.leftPosition};
136
+ z-index: ${te.zIndex};
137
+
138
+ border-style: ${te.borderStyle};
139
+ border-width: ${te.borderWidth};
140
+ border-color: ${te.borderColor};
141
+ border-radius: ${te.borderRadius};
142
+ box-shadow: ${te.shadow};
143
143
  overflow: hidden;
144
144
  }
145
145
 
146
146
  .ft-in-product-help.ft-in-product-help--theater {
147
- width: ${_o.theaterSizeWidth};
148
- height: ${_o.theaterSizeHeight};
147
+ width: ${te.theaterSizeWidth};
148
+ height: ${te.theaterSizeHeight};
149
149
  }
150
150
 
151
151
  .ft-in-product-help.ft-in-product-help--fullscreen {
@@ -161,15 +161,15 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
161
161
  }
162
162
 
163
163
  .ft-in-product-help--top-bar {
164
- height: ${_o.topBarHeight};
165
- background-color: ${_o.colorSurface};
164
+ height: ${te.topBarHeight};
165
+ background-color: ${te.colorSurface};
166
166
  display: flex;
167
167
  justify-content: flex-end;
168
- gap: ${_o.iconGap};
168
+ gap: ${te.iconGap};
169
169
  }
170
170
 
171
171
  .ft-in-product-help--top-bar ft-button:not(.ft-in-product-help--active-mode) {
172
- --ft-button-color: ${_o.iconColor};
172
+ --ft-button-color: ${te.iconColor};
173
173
  }
174
174
 
175
175
  .ft-in-product-help--home-button {
@@ -178,7 +178,7 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
178
178
 
179
179
  iframe {
180
180
  width: 100%;
181
- height: calc(100% - ${_o.topBarHeight});
181
+ height: calc(100% - ${te.topBarHeight});
182
182
  border: none;
183
183
  }
184
184
  `
@@ -186,12 +186,12 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
186
186
  * @license
187
187
  * Copyright 2017 Google LLC
188
188
  * SPDX-License-Identifier: BSD-3-Clause
189
- */,Vo=1,Yo=2,Jo=t=>(...o)=>({_$litDirective$:t,values:o});let Xo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}},qo=class extends Xo{constructor(t){if(super(t),this.et=Q,t.type!==Yo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};
189
+ */,ee=1,ie=2,re=t=>(...o)=>({_$litDirective$:t,values:o});let ne=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}},ae=class extends ne{constructor(t){if(super(t),this.et=Q,t.type!==ie)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};
190
190
  /**
191
191
  * @license
192
192
  * Copyright 2017 Google LLC
193
193
  * SPDX-License-Identifier: BSD-3-Clause
194
- */qo.directiveName="unsafeHTML",qo.resultType=1;const Qo=Jo(qo);var te,oe;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(te||(te={})),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;"}(oe||(oe={})),new Map([...["abw"].map((t=>[t,oe.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,oe.AUDIO])),...["avi"].map((t=>[t,oe.AVI])),...["chm","xhs"].map((t=>[t,oe.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,oe.CODE])),...["csv"].map((t=>[t,oe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,oe.DITA])),...["epub"].map((t=>[t,oe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,oe.EXCEL])),...["flac"].map((t=>[t,oe.FLAC])),...["gif"].map((t=>[t,oe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,oe.GZIP])),...["html","htm","xhtml"].map((t=>[t,oe.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,oe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,oe.JPEG])),...["json"].map((t=>[t,oe.JSON])),...["m4a","m4p"].map((t=>[t,oe.M4A])),...["mov","qt"].map((t=>[t,oe.MOV])),...["mp3"].map((t=>[t,oe.MP3])),...["mp4","m4v"].map((t=>[t,oe.MP4])),...["ogg","oga"].map((t=>[t,oe.OGG])),...["pdf","ps"].map((t=>[t,oe.PDF])),...["png"].map((t=>[t,oe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,oe.POWERPOINT])),...["rar"].map((t=>[t,oe.RAR])),...["stp"].map((t=>[t,oe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,oe.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,oe.VIDEO])),...["wav"].map((t=>[t,oe.WAV])),...["wma"].map((t=>[t,oe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,oe.WORD])),...["xml","xsl","rdf"].map((t=>[t,oe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,oe.YAML])),...["zip"].map((t=>[t,oe.ZIP]))]);const ee={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ie=mt`
194
+ */ae.directiveName="unsafeHTML",ae.resultType=1;const se=re(ae);var le,ce;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(le||(le={})),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;"}(ce||(ce={})),new Map([...["abw"].map((t=>[t,ce.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,ce.AUDIO])),...["avi"].map((t=>[t,ce.AVI])),...["chm","xhs"].map((t=>[t,ce.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,ce.CODE])),...["csv"].map((t=>[t,ce.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ce.DITA])),...["epub"].map((t=>[t,ce.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ce.EXCEL])),...["flac"].map((t=>[t,ce.FLAC])),...["gif"].map((t=>[t,ce.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ce.GZIP])),...["html","htm","xhtml"].map((t=>[t,ce.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,ce.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ce.JPEG])),...["json"].map((t=>[t,ce.JSON])),...["m4a","m4p"].map((t=>[t,ce.M4A])),...["mov","qt"].map((t=>[t,ce.MOV])),...["mp3"].map((t=>[t,ce.MP3])),...["mp4","m4v"].map((t=>[t,ce.MP4])),...["ogg","oga"].map((t=>[t,ce.OGG])),...["pdf","ps"].map((t=>[t,ce.PDF])),...["png"].map((t=>[t,ce.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ce.POWERPOINT])),...["rar"].map((t=>[t,ce.RAR])),...["stp"].map((t=>[t,ce.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ce.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,ce.VIDEO])),...["wav"].map((t=>[t,ce.WAV])),...["wma"].map((t=>[t,ce.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ce.WORD])),...["xml","xsl","rdf"].map((t=>[t,ce.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ce.YAML])),...["zip"].map((t=>[t,ce.ZIP]))]);const pe={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},fe=mt`
195
195
  :host, i.ft-icon {
196
196
  display: inline-flex;
197
197
  align-items: center;
@@ -200,14 +200,14 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
200
200
  }
201
201
 
202
202
  :host {
203
- width: ${ee.size};
204
- height: ${ee.size};
203
+ width: ${pe.size};
204
+ height: ${pe.size};
205
205
  }
206
206
 
207
207
  i.ft-icon {
208
208
  width: 100%;
209
209
  height: 100%;
210
- font-size: ${ee.size};
210
+ font-size: ${pe.size};
211
211
  line-height: 1;
212
212
  font-weight: normal;
213
213
  text-transform: none;
@@ -218,39 +218,39 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
218
218
  text-rendering: auto;
219
219
  -webkit-font-smoothing: antialiased;
220
220
  -moz-osx-font-smoothing: grayscale;
221
- vertical-align: ${ee.verticalAlign};
221
+ vertical-align: ${pe.verticalAlign};
222
222
  }
223
223
 
224
224
  i.ft-icon.ft-icon--fluid-topics {
225
- font-family: ${ee.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
225
+ font-family: ${pe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
226
226
 
227
227
  /* Ugly fix because font is broken */
228
- font-size: calc(0.75 * ${ee.size});
229
- line-height: ${ee.size};
228
+ font-size: calc(0.75 * ${pe.size});
229
+ line-height: ${pe.size};
230
230
  position: relative;
231
231
  top: -4%;
232
232
  justify-content: center;
233
233
  }
234
234
 
235
235
  .ft-icon--file-format {
236
- font-family: ${ee.fileFormatFontFamily}, ft-mime, sans-serif;
236
+ font-family: ${pe.fileFormatFontFamily}, ft-mime, sans-serif;
237
237
  }
238
238
 
239
239
  .ft-icon--material {
240
- font-family: ${ee.materialFontFamily}, "Material Icons", sans-serif;
240
+ font-family: ${pe.materialFontFamily}, "Material Icons", sans-serif;
241
241
  }
242
- `;var re;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(re||(re={}));var ne=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ae extends Zo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(re).includes(this.variant)?this.variant:re.fluid_topics,o=t!==re.material||!!this.value;return to`
242
+ `;var he;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(he||(he={}));var de=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ue extends Zo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(he).includes(this.variant)?this.variant:he.fluid_topics,o=t!==he.material||!!this.value;return to`
243
243
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
244
- ${Qo(this.resolvedIcon)}
244
+ ${se(this.resolvedIcon)}
245
245
  <slot ?hidden=${o}></slot>
246
246
  </i>
247
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case re.file_format:this.resolvedIcon=null!==(t=oe[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case re.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=te[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ae.elementDefinitions={},ae.styles=ie,ne([N()],ae.prototype,"variant",void 0),ne([N()],ae.prototype,"value",void 0),ne([C()],ae.prototype,"resolvedIcon",void 0),ne([R("slot")],ae.prototype,"slottedContent",void 0),k("ft-icon")(ae);
247
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case he.file_format:this.resolvedIcon=null!==(t=ce[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case he.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=le[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ue.elementDefinitions={},ue.styles=fe,de([N()],ue.prototype,"variant",void 0),de([N()],ue.prototype,"value",void 0),de([C()],ue.prototype,"resolvedIcon",void 0),de([R("slot")],ue.prototype,"slottedContent",void 0),k("ft-icon")(ue);
248
248
  /**
249
249
  * @license
250
250
  * Copyright 2018 Google LLC
251
251
  * SPDX-License-Identifier: BSD-3-Clause
252
252
  */
253
- const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return q}}),le=Oo.extend("--ft-ripple-color","",$o.colorContent),ce={color:le,backgroundColor:Oo.extend("--ft-ripple-background-color","",le),opacityContentOnSurfacePressed:Oo.external($o.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external($o.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external($o.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external($o.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},pe=Oo.extend("--ft-ripple-color","",$o.colorPrimary),fe=pe,he=Oo.extend("--ft-ripple-background-color","",pe),de=Oo.extend("--ft-ripple-color","",$o.colorSecondary),ue=de,ye=Oo.extend("--ft-ripple-background-color","",de),ge=mt`
253
+ const ye=re(class extends ne{constructor(t){if(super(t),t.type!==ee||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return q}}),ge=Oo.extend("--ft-ripple-color","",$o.colorContent),be={color:ge,backgroundColor:Oo.extend("--ft-ripple-background-color","",ge),opacityContentOnSurfacePressed:Oo.external($o.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external($o.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external($o.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external($o.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},me=Oo.extend("--ft-ripple-color","",$o.colorPrimary),xe=me,Oe=Oo.extend("--ft-ripple-background-color","",me),ve=Oo.extend("--ft-ripple-color","",$o.colorSecondary),Se=ve,we=Oo.extend("--ft-ripple-background-color","",ve),Ne=mt`
254
254
  :host {
255
255
  display: contents;
256
256
  }
@@ -263,7 +263,7 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
263
263
 
264
264
  .ft-ripple:not(.ft-ripple--unbounded) {
265
265
  overflow: hidden;
266
- border-radius: ${ce.borderRadius};
266
+ border-radius: ${be.borderRadius};
267
267
  }
268
268
 
269
269
  .ft-ripple .ft-ripple--background,
@@ -297,27 +297,27 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
297
297
  }
298
298
 
299
299
  .ft-ripple .ft-ripple--background {
300
- background-color: ${ce.backgroundColor};
300
+ background-color: ${be.backgroundColor};
301
301
  }
302
302
 
303
303
  .ft-ripple .ft-ripple--effect {
304
- background-color: ${ce.color};
304
+ background-color: ${be.color};
305
305
  }
306
306
 
307
307
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
308
- background-color: ${ye};
308
+ background-color: ${we};
309
309
  }
310
310
 
311
311
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
312
- background-color: ${ue};
312
+ background-color: ${Se};
313
313
  }
314
314
 
315
315
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
316
- background-color: ${he};
316
+ background-color: ${Oe};
317
317
  }
318
318
 
319
319
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
320
- background-color: ${fe};
320
+ background-color: ${xe};
321
321
  }
322
322
 
323
323
  .ft-ripple .ft-ripple--background {
@@ -347,117 +347,117 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
347
347
  }
348
348
 
349
349
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
350
- opacity: ${ce.opacityContentOnSurfaceHover};
350
+ opacity: ${be.opacityContentOnSurfaceHover};
351
351
  }
352
352
 
353
353
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
354
- opacity: ${ce.opacityContentOnSurfaceSelected};
354
+ opacity: ${be.opacityContentOnSurfaceSelected};
355
355
  }
356
356
 
357
357
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
358
- opacity: ${ce.opacityContentOnSurfaceFocused};
358
+ opacity: ${be.opacityContentOnSurfaceFocused};
359
359
  }
360
360
 
361
361
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
362
- opacity: ${ce.opacityContentOnSurfacePressed};
362
+ opacity: ${be.opacityContentOnSurfacePressed};
363
363
  transform: translate(-50%, -50%) scale(1);
364
364
  }
365
- `;const be=Oo.extend("--ft-typography-font-family","",$o.titleFont),me=Oo.extend("--ft-typography-font-family","",$o.contentFont),xe={fontFamily:me,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Oe=Oo.extend("--ft-typography-title-font-family","",be),ve=Oo.extend("--ft-typography-title-font-size","",xe.fontSize,"20px"),Se=Oo.extend("--ft-typography-title-font-weight","",xe.fontWeight,"normal"),we=Oo.extend("--ft-typography-title-letter-spacing","",xe.letterSpacing,"0.15px"),Ne=Oo.extend("--ft-typography-title-line-height","",xe.lineHeight,"1.2"),Ce=Oo.extend("--ft-typography-title-text-transform","",xe.textTransform,"inherit"),$e=Oo.extend("--ft-typography-title-dense-font-family","",be),Ee=Oo.extend("--ft-typography-title-dense-font-size","",xe.fontSize,"14px"),Re=Oo.extend("--ft-typography-title-dense-font-weight","",xe.fontWeight,"normal"),Ue=Oo.extend("--ft-typography-title-dense-letter-spacing","",xe.letterSpacing,"0.105px"),Ie=Oo.extend("--ft-typography-title-dense-line-height","",xe.lineHeight,"1.7"),ke=Oo.extend("--ft-typography-title-dense-text-transform","",xe.textTransform,"inherit"),Le=Oo.extend("--ft-typography-subtitle1-font-family","",me),We=Oo.extend("--ft-typography-subtitle1-font-size","",xe.fontSize,"16px"),ze=Oo.extend("--ft-typography-subtitle1-font-weight","",xe.fontWeight,"600"),Ze=Oo.extend("--ft-typography-subtitle1-letter-spacing","",xe.letterSpacing,"0.144px"),Ke=Oo.extend("--ft-typography-subtitle1-line-height","",xe.lineHeight,"1.5"),Fe=Oo.extend("--ft-typography-subtitle1-text-transform","",xe.textTransform,"inherit"),Be=Oo.extend("--ft-typography-subtitle2-font-family","",me),Me=Oo.extend("--ft-typography-subtitle2-font-size","",xe.fontSize,"14px"),Ae=Oo.extend("--ft-typography-subtitle2-font-weight","",xe.fontWeight,"normal"),De=Oo.extend("--ft-typography-subtitle2-letter-spacing","",xe.letterSpacing,"0.098px"),Pe=Oo.extend("--ft-typography-subtitle2-line-height","",xe.lineHeight,"1.7"),He=Oo.extend("--ft-typography-subtitle2-text-transform","",xe.textTransform,"inherit"),Te=Oo.extend("--ft-typography-body1-font-family","",me),je=Oo.extend("--ft-typography-body1-font-size","",xe.fontSize,"16px"),_e=Oo.extend("--ft-typography-body1-font-weight","",xe.fontWeight,"normal"),Ge=Oo.extend("--ft-typography-body1-letter-spacing","",xe.letterSpacing,"0.496px"),Ve=Oo.extend("--ft-typography-body1-line-height","",xe.lineHeight,"1.5"),Ye=Oo.extend("--ft-typography-body1-text-transform","",xe.textTransform,"inherit"),Je=Oo.extend("--ft-typography-body2-font-family","",me),Xe=Oo.extend("--ft-typography-body2-font-size","",xe.fontSize,"14px"),qe=Oo.extend("--ft-typography-body2-font-weight","",xe.fontWeight,"normal"),Qe=Oo.extend("--ft-typography-body2-letter-spacing","",xe.letterSpacing,"0.252px"),ti=Oo.extend("--ft-typography-body2-line-height","",xe.lineHeight,"1.4"),oi=Oo.extend("--ft-typography-body2-text-transform","",xe.textTransform,"inherit"),ei=Oo.extend("--ft-typography-caption-font-family","",me),ii=Oo.extend("--ft-typography-caption-font-size","",xe.fontSize,"12px"),ri=Oo.extend("--ft-typography-caption-font-weight","",xe.fontWeight,"normal"),ni=Oo.extend("--ft-typography-caption-letter-spacing","",xe.letterSpacing,"0.396px"),ai=Oo.extend("--ft-typography-caption-line-height","",xe.lineHeight,"1.33"),si=Oo.extend("--ft-typography-caption-text-transform","",xe.textTransform,"inherit"),li=Oo.extend("--ft-typography-breadcrumb-font-family","",me),ci=Oo.extend("--ft-typography-breadcrumb-font-size","",xe.fontSize,"10px"),pi=Oo.extend("--ft-typography-breadcrumb-font-weight","",xe.fontWeight,"normal"),fi=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",xe.letterSpacing,"0.33px"),hi=Oo.extend("--ft-typography-breadcrumb-line-height","",xe.lineHeight,"1.6"),di=Oo.extend("--ft-typography-breadcrumb-text-transform","",xe.textTransform,"inherit"),ui=Oo.extend("--ft-typography-overline-font-family","",me),yi=Oo.extend("--ft-typography-overline-font-size","",xe.fontSize,"10px"),gi=Oo.extend("--ft-typography-overline-font-weight","",xe.fontWeight,"normal"),bi=Oo.extend("--ft-typography-overline-letter-spacing","",xe.letterSpacing,"1.5px"),mi=Oo.extend("--ft-typography-overline-line-height","",xe.lineHeight,"1.6"),xi=Oo.extend("--ft-typography-overline-text-transform","",xe.textTransform,"uppercase"),Oi={fontFamily:Oo.extend("--ft-typography-button-font-family","",me),fontSize:Oo.extend("--ft-typography-button-font-size","",xe.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",xe.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",xe.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",xe.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",xe.textTransform,"uppercase")},vi=mt`
365
+ `;const Ce=Oo.extend("--ft-typography-font-family","",$o.titleFont),$e=Oo.extend("--ft-typography-font-family","",$o.contentFont),Ee={fontFamily:$e,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Re=Oo.extend("--ft-typography-title-font-family","",Ce),Ue=Oo.extend("--ft-typography-title-font-size","",Ee.fontSize,"20px"),Ie=Oo.extend("--ft-typography-title-font-weight","",Ee.fontWeight,"normal"),ke=Oo.extend("--ft-typography-title-letter-spacing","",Ee.letterSpacing,"0.15px"),Le=Oo.extend("--ft-typography-title-line-height","",Ee.lineHeight,"1.2"),We=Oo.extend("--ft-typography-title-text-transform","",Ee.textTransform,"inherit"),ze=Oo.extend("--ft-typography-title-dense-font-family","",Ce),Ze=Oo.extend("--ft-typography-title-dense-font-size","",Ee.fontSize,"14px"),Fe=Oo.extend("--ft-typography-title-dense-font-weight","",Ee.fontWeight,"normal"),Ke=Oo.extend("--ft-typography-title-dense-letter-spacing","",Ee.letterSpacing,"0.105px"),Be=Oo.extend("--ft-typography-title-dense-line-height","",Ee.lineHeight,"1.7"),Me=Oo.extend("--ft-typography-title-dense-text-transform","",Ee.textTransform,"inherit"),Ae=Oo.extend("--ft-typography-subtitle1-font-family","",$e),De=Oo.extend("--ft-typography-subtitle1-font-size","",Ee.fontSize,"16px"),Pe=Oo.extend("--ft-typography-subtitle1-font-weight","",Ee.fontWeight,"600"),He=Oo.extend("--ft-typography-subtitle1-letter-spacing","",Ee.letterSpacing,"0.144px"),Te=Oo.extend("--ft-typography-subtitle1-line-height","",Ee.lineHeight,"1.5"),je=Oo.extend("--ft-typography-subtitle1-text-transform","",Ee.textTransform,"inherit"),_e=Oo.extend("--ft-typography-subtitle2-font-family","",$e),Ge=Oo.extend("--ft-typography-subtitle2-font-size","",Ee.fontSize,"14px"),Ve=Oo.extend("--ft-typography-subtitle2-font-weight","",Ee.fontWeight,"normal"),Ye=Oo.extend("--ft-typography-subtitle2-letter-spacing","",Ee.letterSpacing,"0.098px"),Je=Oo.extend("--ft-typography-subtitle2-line-height","",Ee.lineHeight,"1.7"),Xe=Oo.extend("--ft-typography-subtitle2-text-transform","",Ee.textTransform,"inherit"),qe=Oo.extend("--ft-typography-body1-font-family","",$e),Qe=Oo.extend("--ft-typography-body1-font-size","",Ee.fontSize,"16px"),ti=Oo.extend("--ft-typography-body1-font-weight","",Ee.fontWeight,"normal"),oi=Oo.extend("--ft-typography-body1-letter-spacing","",Ee.letterSpacing,"0.496px"),ei=Oo.extend("--ft-typography-body1-line-height","",Ee.lineHeight,"1.5"),ii=Oo.extend("--ft-typography-body1-text-transform","",Ee.textTransform,"inherit"),ri=Oo.extend("--ft-typography-body2-font-family","",$e),ni=Oo.extend("--ft-typography-body2-font-size","",Ee.fontSize,"14px"),ai=Oo.extend("--ft-typography-body2-font-weight","",Ee.fontWeight,"normal"),si=Oo.extend("--ft-typography-body2-letter-spacing","",Ee.letterSpacing,"0.252px"),li=Oo.extend("--ft-typography-body2-line-height","",Ee.lineHeight,"1.4"),ci=Oo.extend("--ft-typography-body2-text-transform","",Ee.textTransform,"inherit"),pi=Oo.extend("--ft-typography-caption-font-family","",$e),fi=Oo.extend("--ft-typography-caption-font-size","",Ee.fontSize,"12px"),hi=Oo.extend("--ft-typography-caption-font-weight","",Ee.fontWeight,"normal"),di=Oo.extend("--ft-typography-caption-letter-spacing","",Ee.letterSpacing,"0.396px"),ui=Oo.extend("--ft-typography-caption-line-height","",Ee.lineHeight,"1.33"),yi=Oo.extend("--ft-typography-caption-text-transform","",Ee.textTransform,"inherit"),gi=Oo.extend("--ft-typography-breadcrumb-font-family","",$e),bi=Oo.extend("--ft-typography-breadcrumb-font-size","",Ee.fontSize,"10px"),mi=Oo.extend("--ft-typography-breadcrumb-font-weight","",Ee.fontWeight,"normal"),xi=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",Ee.letterSpacing,"0.33px"),Oi=Oo.extend("--ft-typography-breadcrumb-line-height","",Ee.lineHeight,"1.6"),vi=Oo.extend("--ft-typography-breadcrumb-text-transform","",Ee.textTransform,"inherit"),Si=Oo.extend("--ft-typography-overline-font-family","",$e),wi=Oo.extend("--ft-typography-overline-font-size","",Ee.fontSize,"10px"),Ni=Oo.extend("--ft-typography-overline-font-weight","",Ee.fontWeight,"normal"),Ci=Oo.extend("--ft-typography-overline-letter-spacing","",Ee.letterSpacing,"1.5px"),$i=Oo.extend("--ft-typography-overline-line-height","",Ee.lineHeight,"1.6"),Ei=Oo.extend("--ft-typography-overline-text-transform","",Ee.textTransform,"uppercase"),Ri={fontFamily:Oo.extend("--ft-typography-button-font-family","",$e),fontSize:Oo.extend("--ft-typography-button-font-size","",Ee.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",Ee.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",Ee.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",Ee.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",Ee.textTransform,"uppercase")},Ui=mt`
366
366
  .ft-typography--title {
367
- font-family: ${Oe};
368
- font-size: ${ve};
369
- font-weight: ${Se};
370
- letter-spacing: ${we};
371
- line-height: ${Ne};
372
- text-transform: ${Ce};
373
- }
374
- `,Si=mt`
367
+ font-family: ${Re};
368
+ font-size: ${Ue};
369
+ font-weight: ${Ie};
370
+ letter-spacing: ${ke};
371
+ line-height: ${Le};
372
+ text-transform: ${We};
373
+ }
374
+ `,Ii=mt`
375
375
  .ft-typography--title-dense {
376
- font-family: ${$e};
377
- font-size: ${Ee};
378
- font-weight: ${Re};
379
- letter-spacing: ${Ue};
380
- line-height: ${Ie};
381
- text-transform: ${ke};
382
- }
383
- `,wi=mt`
376
+ font-family: ${ze};
377
+ font-size: ${Ze};
378
+ font-weight: ${Fe};
379
+ letter-spacing: ${Ke};
380
+ line-height: ${Be};
381
+ text-transform: ${Me};
382
+ }
383
+ `,ki=mt`
384
384
  .ft-typography--subtitle1 {
385
- font-family: ${Le};
386
- font-size: ${We};
387
- font-weight: ${ze};
388
- letter-spacing: ${Ze};
389
- line-height: ${Ke};
390
- text-transform: ${Fe};
391
- }
392
- `,Ni=mt`
385
+ font-family: ${Ae};
386
+ font-size: ${De};
387
+ font-weight: ${Pe};
388
+ letter-spacing: ${He};
389
+ line-height: ${Te};
390
+ text-transform: ${je};
391
+ }
392
+ `,Li=mt`
393
393
  .ft-typography--subtitle2 {
394
- font-family: ${Be};
395
- font-size: ${Me};
396
- font-weight: ${Ae};
397
- letter-spacing: ${De};
398
- line-height: ${Pe};
399
- text-transform: ${He};
394
+ font-family: ${_e};
395
+ font-size: ${Ge};
396
+ font-weight: ${Ve};
397
+ letter-spacing: ${Ye};
398
+ line-height: ${Je};
399
+ text-transform: ${Xe};
400
400
  }
401
401
 
402
- `,Ci=mt`
402
+ `,Wi=mt`
403
403
  .ft-typography--body1 {
404
- font-family: ${Te};
405
- font-size: ${je};
406
- font-weight: ${_e};
407
- letter-spacing: ${Ge};
408
- line-height: ${Ve};
409
- text-transform: ${Ye};
410
- }
411
- `,$i=mt`
404
+ font-family: ${qe};
405
+ font-size: ${Qe};
406
+ font-weight: ${ti};
407
+ letter-spacing: ${oi};
408
+ line-height: ${ei};
409
+ text-transform: ${ii};
410
+ }
411
+ `,zi=mt`
412
412
  .ft-typography--body2 {
413
- font-family: ${Je};
414
- font-size: ${Xe};
415
- font-weight: ${qe};
416
- letter-spacing: ${Qe};
417
- line-height: ${ti};
418
- text-transform: ${oi};
419
- }
420
- `,Ei=mt`
413
+ font-family: ${ri};
414
+ font-size: ${ni};
415
+ font-weight: ${ai};
416
+ letter-spacing: ${si};
417
+ line-height: ${li};
418
+ text-transform: ${ci};
419
+ }
420
+ `,Zi=mt`
421
421
  .ft-typography--caption {
422
- font-family: ${ei};
423
- font-size: ${ii};
424
- font-weight: ${ri};
425
- letter-spacing: ${ni};
426
- line-height: ${ai};
427
- text-transform: ${si};
428
- }
429
- `,Ri=mt`
422
+ font-family: ${pi};
423
+ font-size: ${fi};
424
+ font-weight: ${hi};
425
+ letter-spacing: ${di};
426
+ line-height: ${ui};
427
+ text-transform: ${yi};
428
+ }
429
+ `,Fi=mt`
430
430
  .ft-typography--breadcrumb {
431
- font-family: ${li};
432
- font-size: ${ci};
433
- font-weight: ${pi};
434
- letter-spacing: ${fi};
435
- line-height: ${hi};
436
- text-transform: ${di};
437
- }
438
- `,Ui=mt`
431
+ font-family: ${gi};
432
+ font-size: ${bi};
433
+ font-weight: ${mi};
434
+ letter-spacing: ${xi};
435
+ line-height: ${Oi};
436
+ text-transform: ${vi};
437
+ }
438
+ `,Ki=mt`
439
439
  .ft-typography--overline {
440
- font-family: ${ui};
441
- font-size: ${yi};
442
- font-weight: ${gi};
443
- letter-spacing: ${bi};
444
- line-height: ${mi};
445
- text-transform: ${xi};
446
- }
447
- `,Ii=mt`
440
+ font-family: ${Si};
441
+ font-size: ${wi};
442
+ font-weight: ${Ni};
443
+ letter-spacing: ${Ci};
444
+ line-height: ${$i};
445
+ text-transform: ${Ei};
446
+ }
447
+ `,Bi=mt`
448
448
  .ft-typography--button {
449
- font-family: ${Oi.fontFamily};
450
- font-size: ${Oi.fontSize};
451
- font-weight: ${Oi.fontWeight};
452
- letter-spacing: ${Oi.letterSpacing};
453
- line-height: ${Oi.lineHeight};
454
- text-transform: ${Oi.textTransform};
455
- }
456
- `,ki=mt`
449
+ font-family: ${Ri.fontFamily};
450
+ font-size: ${Ri.fontSize};
451
+ font-weight: ${Ri.fontWeight};
452
+ letter-spacing: ${Ri.letterSpacing};
453
+ line-height: ${Ri.lineHeight};
454
+ text-transform: ${Ri.textTransform};
455
+ }
456
+ `,Mi=mt`
457
457
  .ft-typography {
458
458
  vertical-align: inherit;
459
459
  }
460
- `,Li=[Object.keys(wo).map((t=>function(t){const o=wo[t];return mt`
460
+ `,Ai=[Object.keys(wo).map((t=>function(t){const o=wo[t];return mt`
461
461
  .ft-typography--${bt(t)} {
462
462
  font-family: ${o.fontFamily};
463
463
  font-size: ${o.fontSize};
@@ -466,7 +466,7 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
466
466
  line-height: ${o.lineHeight};
467
467
  text-transform: ${o.textCase};
468
468
  }
469
- `}(t)))],Wi={color:Oo.extend("--ft-loader-color","",$o.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},zi=mt`
469
+ `}(t)))],Di={color:Oo.extend("--ft-loader-color","",$o.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},Pi=mt`
470
470
  :host {
471
471
  line-height: 0;
472
472
  }
@@ -475,8 +475,8 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
475
475
  display: inline-block;
476
476
  position: relative;
477
477
 
478
- width: ${Wi.size};
479
- height: ${Wi.size};
478
+ width: ${Di.size};
479
+ height: ${Di.size};
480
480
  }
481
481
 
482
482
  .ft-loader div {
@@ -485,7 +485,7 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
485
485
  width: 25%;
486
486
  height: 25%;
487
487
  border-radius: 50%;
488
- background: ${Wi.color};
488
+ background: ${Di.color};
489
489
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
490
490
  }
491
491
 
@@ -532,10 +532,10 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
532
532
  transform: translate(0, 0);
533
533
  }
534
534
  100% {
535
- transform: translate(calc(0.35 * ${Wi.size}), 0);
535
+ transform: translate(calc(0.35 * ${Di.size}), 0);
536
536
  }
537
537
  }
538
- `,Zi=Oo.extend("--ft-button-color","",$o.colorPrimary),Ki={backgroundColor:Oo.extend("--ft-button-background-color","",$o.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",$o.borderRadiusL),color:Zi,fontSize:Oo.extend("--ft-button-font-size","",Oi.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Zi),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external($o.colorOpacityDisabled,"Design system")},Fi=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",$o.colorOnPrimary)),Bi={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",$o.colorPrimary)),color:Fi,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",Fi)},Mi=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",$o.borderRadiusM)),Ai=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Di=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Pi=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Hi=[mt`
538
+ `,Hi=Oo.extend("--ft-button-color","",$o.colorPrimary),Ti={backgroundColor:Oo.extend("--ft-button-background-color","",$o.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",$o.borderRadiusL),color:Hi,fontSize:Oo.extend("--ft-button-font-size","",Ri.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Hi),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external($o.colorOpacityDisabled,"Design system")},ji=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",$o.colorOnPrimary)),_i={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",$o.colorPrimary)),color:ji,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",ji)},Gi=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",$o.borderRadiusM)),Vi=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Yi=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ji=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Xi=[mt`
539
539
  :host {
540
540
  display: inline-block;
541
541
  max-width: 100%;
@@ -546,7 +546,7 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
546
546
  box-shadow: 0px 0px 0px transparent;
547
547
  border: 0px solid transparent;
548
548
  text-shadow: 0px 0px 0px transparent;
549
- font-size: ${Ki.fontSize};
549
+ font-size: ${Ti.fontSize};
550
550
  }
551
551
 
552
552
  button:hover {
@@ -575,31 +575,31 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
575
575
  border: none;
576
576
  pointer-events: auto;
577
577
 
578
- --ft-button-internal-line-height: max(calc(${Ki.fontSize} + 2px), ${Ki.iconSize});
579
- --ft-button-internal-color: ${Ki.color};
580
- ${vo(ee.size,Ki.iconSize)};
581
- ${vo(ce.color,Ki.rippleColor)};
578
+ --ft-button-internal-line-height: max(calc(${Ti.fontSize} + 2px), ${Ti.iconSize});
579
+ --ft-button-internal-color: ${Ti.color};
580
+ ${vo(pe.size,Ti.iconSize)};
581
+ ${vo(be.color,Ti.rippleColor)};
582
582
 
583
- border-radius: ${Ki.borderRadius};
584
- padding: ${Ki.verticalPadding} ${Ki.horizontalPadding};
585
- background-color: ${Ki.backgroundColor};
583
+ border-radius: ${Ti.borderRadius};
584
+ padding: ${Ti.verticalPadding} ${Ti.horizontalPadding};
585
+ background-color: ${Ti.backgroundColor};
586
586
  color: var(--ft-button-internal-color);
587
587
  -webkit-mask-image: radial-gradient(white, black);
588
588
  }
589
589
 
590
590
  .ft-button.ft-button--outlined {
591
591
  border: 1px solid var(--ft-button-internal-color);
592
- padding: calc(${Ki.verticalPadding} - 1px) calc(${Ki.horizontalPadding} - 1px);
592
+ padding: calc(${Ti.verticalPadding} - 1px) calc(${Ti.horizontalPadding} - 1px);
593
593
  }
594
594
 
595
595
  .ft-button.ft-button--dense {
596
- padding: ${Ai} ${Di};
597
- border-radius: ${Mi};
598
- gap: ${Pi};
596
+ padding: ${Vi} ${Yi};
597
+ border-radius: ${Gi};
598
+ gap: ${Ji};
599
599
  }
600
600
 
601
601
  .ft-button.ft-button--dense.ft-button--outlined {
602
- padding: calc(${Ai} - 1px) calc(${Di} - 1px);
602
+ padding: calc(${Vi} - 1px) calc(${Yi} - 1px);
603
603
  }
604
604
 
605
605
  .ft-button:not([disabled]):hover {
@@ -607,22 +607,22 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
607
607
  }
608
608
 
609
609
  .ft-button--round {
610
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ki.verticalPadding});
610
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ti.verticalPadding});
611
611
  }
612
612
 
613
613
  .ft-button--round.ft-button--dense {
614
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ai});
614
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vi});
615
615
  }
616
616
 
617
617
  .ft-button[disabled] {
618
618
  filter: grayscale(1);
619
- opacity: ${Ki.opacityDisabled};
619
+ opacity: ${Ti.opacityDisabled};
620
620
  }
621
621
 
622
622
  .ft-button.ft-button--primary {
623
- background-color: ${Bi.backgroundColor};
624
- --ft-button-internal-color: ${Bi.color};
625
- ${vo(ce.color,Bi.rippleColor)};
623
+ background-color: ${_i.backgroundColor};
624
+ --ft-button-internal-color: ${_i.color};
625
+ ${vo(be.color,_i.rippleColor)};
626
626
  }
627
627
 
628
628
  .ft-button:focus {
@@ -635,13 +635,13 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
635
635
  white-space: nowrap;
636
636
  text-overflow: ellipsis;
637
637
  display: block;
638
- margin: 0 ${Ki.iconPadding};
639
- ${vo(Oi.fontSize,"1em")};
640
- ${vo(Oi.lineHeight,"var(--ft-button-internal-line-height)")};
638
+ margin: 0 ${Ti.iconPadding};
639
+ ${vo(Ri.fontSize,"1em")};
640
+ ${vo(Ri.lineHeight,"var(--ft-button-internal-line-height)")};
641
641
  }
642
642
 
643
643
  .ft-button--dense .ft-button--label {
644
- margin: 0 ${Pi};
644
+ margin: 0 ${Ji};
645
645
  }
646
646
 
647
647
  .ft-button--label[hidden] {
@@ -654,13 +654,13 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
654
654
  }
655
655
 
656
656
  .ft-button--label[hidden] + ft-icon {
657
- margin: 0 calc(${Ki.horizontalPadding} * -1);
658
- padding: 0 ${Ki.verticalPadding};
657
+ margin: 0 calc(${Ti.horizontalPadding} * -1);
658
+ padding: 0 ${Ti.verticalPadding};
659
659
  }
660
660
 
661
661
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
662
- margin: 0 calc(${Di} * -1);
663
- padding: 0 ${Ai};
662
+ margin: 0 calc(${Yi} * -1);
663
+ padding: 0 ${Vi};
664
664
  }
665
665
 
666
666
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -669,34 +669,34 @@ const se=Jo(class extends Xo{constructor(t){if(super(t),t.type!==Vo||"class"!==t
669
669
  }
670
670
 
671
671
  ft-loader {
672
- ${vo(Wi.size,Ki.iconSize)};
673
- ${vo(Wi.color,"var(--ft-button-internal-color)")};
672
+ ${vo(Di.size,Ti.iconSize)};
673
+ ${vo(Di.color,"var(--ft-button-internal-color)")};
674
674
  }
675
- `,Fo];var Ti=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ji extends Zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
675
+ `,Ko];var qi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qi extends Zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
676
676
  <style>
677
677
  .ft-ripple .ft-ripple--effect {
678
678
  left: ${this.originX}px;
679
679
  top: ${this.originY}px;
680
680
  }
681
681
  </style>
682
- <div class="${se(t)}">
682
+ <div class="${ye(t)}">
683
683
  <div class="ft-ripple--background"></div>
684
684
  <div class="ft-ripple--effect"></div>
685
685
  </div>
686
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ji.elementDefinitions={},ji.styles=ge,Ti([N({type:Boolean})],ji.prototype,"primary",void 0),Ti([N({type:Boolean})],ji.prototype,"secondary",void 0),Ti([N({type:Boolean})],ji.prototype,"unbounded",void 0),Ti([N({type:Boolean})],ji.prototype,"activated",void 0),Ti([N({type:Boolean})],ji.prototype,"selected",void 0),Ti([N({type:Boolean})],ji.prototype,"disabled",void 0),Ti([C()],ji.prototype,"hovered",void 0),Ti([C()],ji.prototype,"focused",void 0),Ti([C()],ji.prototype,"pressed",void 0),Ti([C()],ji.prototype,"rippling",void 0),Ti([C()],ji.prototype,"originX",void 0),Ti([C()],ji.prototype,"originY",void 0),Ti([R(".ft-ripple")],ji.prototype,"ripple",void 0),Ti([R(".ft-ripple--effect")],ji.prototype,"rippleEffect",void 0),k("ft-ripple")(ji);
686
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Qi.elementDefinitions={},Qi.styles=Ne,qi([N({type:Boolean})],Qi.prototype,"primary",void 0),qi([N({type:Boolean})],Qi.prototype,"secondary",void 0),qi([N({type:Boolean})],Qi.prototype,"unbounded",void 0),qi([N({type:Boolean})],Qi.prototype,"activated",void 0),qi([N({type:Boolean})],Qi.prototype,"selected",void 0),qi([N({type:Boolean})],Qi.prototype,"disabled",void 0),qi([C()],Qi.prototype,"hovered",void 0),qi([C()],Qi.prototype,"focused",void 0),qi([C()],Qi.prototype,"pressed",void 0),qi([C()],Qi.prototype,"rippling",void 0),qi([C()],Qi.prototype,"originX",void 0),qi([C()],Qi.prototype,"originY",void 0),qi([R(".ft-ripple")],Qi.prototype,"ripple",void 0),qi([R(".ft-ripple--effect")],Qi.prototype,"rippleEffect",void 0),k("ft-ripple")(Qi);
687
687
  /**
688
688
  * @license
689
689
  * Copyright 2020 Google LLC
690
690
  * SPDX-License-Identifier: BSD-3-Clause
691
691
  */
692
- const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$litStatic$:t,r:_i}),Yi=new Map,Ji=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Gi(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Yi.get(t))&&(a.raw=a,Yi.set(t,o=a)),e=s}return t(o,...e)})(X);var Xi;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Xi||(Xi={}));var qi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qi extends Zo{constructor(){super(...arguments),this.variant=Xi.body1}render(){return this.element?Ji`
693
- <${Vi(this.element)}
692
+ const tr=Symbol.for(""),or=t=>{if(t?.r===tr)return t?._$litStatic$},er=t=>({_$litStatic$:t,r:tr}),ir=new Map,rr=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=or(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=ir.get(t))&&(a.raw=a,ir.set(t,o=a)),e=s}return t(o,...e)})(X);var nr;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(nr||(nr={}));var ar=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sr extends Zo{constructor(){super(...arguments),this.variant=nr.body1}render(){return this.element?rr`
693
+ <${er(this.element)}
694
694
  class="ft-typography ft-typography--${this.variant}">
695
695
  <slot></slot>
696
- </${Vi(this.element)}>
697
- `:Ji`
696
+ </${er(this.element)}>
697
+ `:rr`
698
698
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
699
- `}}Qi.styles=[vi,Si,wi,Ni,Ci,$i,Ei,Ri,Ui,Ii,ki,...Li],qi([N()],Qi.prototype,"element",void 0),qi([N()],Qi.prototype,"variant",void 0),k("ft-typography")(Qi);const tr=Oo.create("--ft-tooltip-distance","","SIZE","4px"),or=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),er=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),ir=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),rr=Oo.external($o.borderRadiusS,"Design system"),nr=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),ar=mt`
699
+ `}}sr.styles=[Ui,Ii,ki,Li,Wi,zi,Zi,Fi,Ki,Bi,Mi,...Ai],ar([N()],sr.prototype,"element",void 0),ar([N()],sr.prototype,"variant",void 0),k("ft-typography")(sr);const lr=Oo.create("--ft-tooltip-distance","","SIZE","4px"),cr=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),pr=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),fr=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),hr=Oo.external($o.borderRadiusS,"Design system"),dr=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),ur=mt`
700
700
  .ft-tooltip--container {
701
701
  display: block;
702
702
  }
@@ -711,21 +711,21 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
711
711
  box-sizing: border-box;
712
712
  overflow: hidden;
713
713
  width: max-content;
714
- max-width: ${nr};
714
+ max-width: ${dr};
715
715
  text-align: center;
716
- padding: ${tr};
717
- z-index: ${ir};
716
+ padding: ${lr};
717
+ z-index: ${fr};
718
718
  }
719
719
 
720
720
  .ft-tooltip--content {
721
721
  padding: 4px 8px;
722
- border-radius: ${rr};
723
- background-color: ${er};
724
- color: ${or};
722
+ border-radius: ${hr};
723
+ background-color: ${pr};
724
+ color: ${cr};
725
725
  position: relative;
726
726
  word-break: break-word;
727
727
  }
728
- `,sr=["start","end"],lr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+sr[0],o+"-"+sr[1])),[]),cr=Math.min,pr=Math.max,fr=Math.round,hr=t=>({x:t,y:t}),dr={left:"right",right:"left",bottom:"top",top:"bottom"},ur={start:"end",end:"start"};function yr(t,o,e){return pr(t,cr(o,e))}function gr(t,o){return"function"==typeof t?t(o):t}function br(t){return t.split("-")[0]}function mr(t){return t.split("-")[1]}function xr(t){return"x"===t?"y":"x"}function Or(t){return"y"===t?"height":"width"}function vr(t){return["top","bottom"].includes(br(t))?"y":"x"}function Sr(t){return xr(vr(t))}function wr(t){return t.replace(/left|right|bottom|top/g,(t=>dr[t]))}function Nr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Cr(t,o,e){let{reference:i,floating:r}=t;const n=vr(o),a=Sr(o),s=Or(a),l=br(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(mr(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function $r(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=gr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Nr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Nr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Er(t,o,e){return(t?[...e.filter((o=>mr(o)===t)),...e.filter((o=>mr(o)!==t))]:e.filter((t=>br(t)===t))).filter((e=>!t||(mr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ur[t]))}(e)!==e)))}const Rr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=lr,autoAlignment:d=!0,...u}=gr(t,o),y=void 0!==f||h===lr?Er(f||null,d,h):h,g=await $r(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=mr(t),r=Sr(t),n=Or(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=wr(a)),[a,wr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[br(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:v},reset:{placement:S}};const w=v.map((t=>{const o=mr(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,mr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=N[0])?void 0:r[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Ur(t){return Lr(t)?(t.nodeName||"").toLowerCase():"#document"}function Ir(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function kr(t){var o;return null==(o=(Lr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Lr(t){return t instanceof Node||t instanceof Ir(t).Node}function Wr(t){return t instanceof Element||t instanceof Ir(t).Element}function zr(t){return t instanceof HTMLElement||t instanceof Ir(t).HTMLElement}function Zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ir(t).ShadowRoot)}function Kr(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Dr(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Fr(t){return["table","td","th"].includes(Ur(t))}function Br(t){const o=Mr(),e=Dr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Mr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ar(t){return["html","body","#document"].includes(Ur(t))}function Dr(t){return Ir(t).getComputedStyle(t)}function Pr(t){return Wr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hr(t){if("html"===Ur(t))return t;const o=t.assignedSlot||t.parentNode||Zr(t)&&t.host||kr(t);return Zr(o)?o.host:o}function Tr(t){const o=Hr(t);return Ar(o)?t.ownerDocument?t.ownerDocument.body:t.body:zr(o)&&Kr(o)?o:Tr(o)}function jr(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Tr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Ir(r);return n?o.concat(a,a.visualViewport||[],Kr(r)?r:[],a.frameElement&&e?jr(a.frameElement):[]):o.concat(r,jr(r,[],e))}function _r(t){const o=Dr(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=zr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=fr(e)!==n||fr(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function Gr(t){return Wr(t)?t:t.contextElement}function Vr(t){const o=Gr(t);if(!zr(o))return hr(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=_r(o);let a=(n?fr(e.width):e.width)/i,s=(n?fr(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Yr=hr(0);function Jr(t){const o=Ir(t);return Mr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Yr}function Xr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Gr(t);let a=hr(1);o&&(i?Wr(i)&&(a=Vr(i)):a=Vr(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ir(t))&&o}(n,e,i)?Jr(n):hr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Ir(n),o=i&&Wr(i)?Ir(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Vr(e),o=e.getBoundingClientRect(),i=Dr(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=Ir(e).frameElement}}return Nr({width:p,height:f,x:l,y:c})}function qr(t){return Xr(kr(t)).left+Pr(t).scrollLeft}function Qr(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Ir(t),i=kr(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Mr();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=kr(t),e=Pr(t),i=t.ownerDocument.body,r=pr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=pr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+qr(t);const s=-e.scrollTop;return"rtl"===Dr(i).direction&&(a+=pr(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(kr(t));else if(Wr(o))i=function(t,o){const e=Xr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=zr(t)?Vr(t):hr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Jr(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Nr(i)}function tn(t,o){const e=Hr(t);return!(e===o||!Wr(e)||Ar(e))&&("fixed"===Dr(e).position||tn(e,o))}function on(t,o,e){const i=zr(o),r=kr(o),n="fixed"===e,a=Xr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=hr(0);if(i||!i&&!n)if(("body"!==Ur(o)||Kr(r))&&(s=Pr(o)),i){const t=Xr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=qr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function en(t,o){return zr(t)&&"fixed"!==Dr(t).position?o?o(t):t.offsetParent:null}function rn(t,o){const e=Ir(t);if(!zr(t))return e;let i=en(t,o);for(;i&&Fr(i)&&"static"===Dr(i).position;)i=en(i,o);return i&&("html"===Ur(i)||"body"===Ur(i)&&"static"===Dr(i).position&&!Br(i))?e:i||function(t){let o=Hr(t);for(;zr(o)&&!Ar(o);){if(Br(o))return o;o=Hr(o)}return null}(t)||e}const nn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=zr(e),n=kr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=hr(1);const l=hr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Ur(e)||Kr(n))&&(a=Pr(e)),zr(e))){const t=Xr(e);s=Vr(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:kr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=jr(t,[],!1).filter((t=>Wr(t)&&"body"!==Ur(t))),r=null;const n="fixed"===Dr(t).position;let a=n?Hr(t):t;for(;Wr(a)&&!Ar(a);){const o=Dr(a),e=Br(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Kr(a)&&!e&&tn(t,a))?i=i.filter((t=>t!==a)):r=o,a=Hr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Qr(o,e,r);return t.top=pr(i.top,t.top),t.right=cr(i.right,t.right),t.bottom=cr(i.bottom,t.bottom),t.left=pr(i.left,t.left),t}),Qr(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:rn,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||rn,n=this.getDimensions;return{reference:on(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return _r(t)},getScale:Vr,isElement:Wr,isRTL:function(t){return"rtl"===Dr(t).direction}},an=(t,o,e)=>{const i=new Map,r={platform:nn,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Cr(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Cr(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var sn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ln extends Zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
728
+ `,yr=["start","end"],gr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+yr[0],o+"-"+yr[1])),[]),br=Math.min,mr=Math.max,xr=Math.round,Or=t=>({x:t,y:t}),vr={left:"right",right:"left",bottom:"top",top:"bottom"},Sr={start:"end",end:"start"};function wr(t,o,e){return mr(t,br(o,e))}function Nr(t,o){return"function"==typeof t?t(o):t}function Cr(t){return t.split("-")[0]}function $r(t){return t.split("-")[1]}function Er(t){return"x"===t?"y":"x"}function Rr(t){return"y"===t?"height":"width"}function Ur(t){return["top","bottom"].includes(Cr(t))?"y":"x"}function Ir(t){return Er(Ur(t))}function kr(t){return t.replace(/left|right|bottom|top/g,(t=>vr[t]))}function Lr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Wr(t,o,e){let{reference:i,floating:r}=t;const n=Ur(o),a=Ir(o),s=Rr(a),l=Cr(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch($r(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function zr(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Nr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Lr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Lr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Zr(t,o,e){return(t?[...e.filter((o=>$r(o)===t)),...e.filter((o=>$r(o)!==t))]:e.filter((t=>Cr(t)===t))).filter((e=>!t||($r(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Sr[t]))}(e)!==e)))}const Fr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=gr,autoAlignment:d=!0,...u}=Nr(t,o),y=void 0!==f||h===gr?Zr(f||null,d,h):h,g=await zr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=$r(t),r=Ir(t),n=Rr(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=kr(a)),[a,kr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Cr(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:v},reset:{placement:S}};const w=v.map((t=>{const o=$r(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,$r(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=N[0])?void 0:r[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Kr(t){return Ar(t)?(t.nodeName||"").toLowerCase():"#document"}function Br(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Mr(t){var o;return null==(o=(Ar(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ar(t){return t instanceof Node||t instanceof Br(t).Node}function Dr(t){return t instanceof Element||t instanceof Br(t).Element}function Pr(t){return t instanceof HTMLElement||t instanceof Br(t).HTMLElement}function Hr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Br(t).ShadowRoot)}function Tr(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Yr(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function jr(t){return["table","td","th"].includes(Kr(t))}function _r(t){const o=Gr(),e=Yr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Gr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Vr(t){return["html","body","#document"].includes(Kr(t))}function Yr(t){return Br(t).getComputedStyle(t)}function Jr(t){return Dr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xr(t){if("html"===Kr(t))return t;const o=t.assignedSlot||t.parentNode||Hr(t)&&t.host||Mr(t);return Hr(o)?o.host:o}function qr(t){const o=Xr(t);return Vr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Pr(o)&&Tr(o)?o:qr(o)}function Qr(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=qr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Br(r);return n?o.concat(a,a.visualViewport||[],Tr(r)?r:[],a.frameElement&&e?Qr(a.frameElement):[]):o.concat(r,Qr(r,[],e))}function tn(t){const o=Yr(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Pr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=xr(e)!==n||xr(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function on(t){return Dr(t)?t:t.contextElement}function en(t){const o=on(t);if(!Pr(o))return Or(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=tn(o);let a=(n?xr(e.width):e.width)/i,s=(n?xr(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const rn=Or(0);function nn(t){const o=Br(t);return Gr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:rn}function an(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=on(t);let a=Or(1);o&&(i?Dr(i)&&(a=en(i)):a=en(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Br(t))&&o}(n,e,i)?nn(n):Or(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Br(n),o=i&&Dr(i)?Br(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=en(e),o=e.getBoundingClientRect(),i=Yr(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=Br(e).frameElement}}return Lr({width:p,height:f,x:l,y:c})}function sn(t){return an(Mr(t)).left+Jr(t).scrollLeft}function ln(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Br(t),i=Mr(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Gr();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Mr(t),e=Jr(t),i=t.ownerDocument.body,r=mr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=mr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+sn(t);const s=-e.scrollTop;return"rtl"===Yr(i).direction&&(a+=mr(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Mr(t));else if(Dr(o))i=function(t,o){const e=an(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Pr(t)?en(t):Or(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=nn(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Lr(i)}function cn(t,o){const e=Xr(t);return!(e===o||!Dr(e)||Vr(e))&&("fixed"===Yr(e).position||cn(e,o))}function pn(t,o,e){const i=Pr(o),r=Mr(o),n="fixed"===e,a=an(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Or(0);if(i||!i&&!n)if(("body"!==Kr(o)||Tr(r))&&(s=Jr(o)),i){const t=an(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=sn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function fn(t,o){return Pr(t)&&"fixed"!==Yr(t).position?o?o(t):t.offsetParent:null}function hn(t,o){const e=Br(t);if(!Pr(t))return e;let i=fn(t,o);for(;i&&jr(i)&&"static"===Yr(i).position;)i=fn(i,o);return i&&("html"===Kr(i)||"body"===Kr(i)&&"static"===Yr(i).position&&!_r(i))?e:i||function(t){let o=Xr(t);for(;Pr(o)&&!Vr(o);){if(_r(o))return o;o=Xr(o)}return null}(t)||e}const dn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Pr(e),n=Mr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Or(1);const l=Or(0);if((r||!r&&"fixed"!==i)&&(("body"!==Kr(e)||Tr(n))&&(a=Jr(e)),Pr(e))){const t=an(e);s=en(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Mr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Qr(t,[],!1).filter((t=>Dr(t)&&"body"!==Kr(t))),r=null;const n="fixed"===Yr(t).position;let a=n?Xr(t):t;for(;Dr(a)&&!Vr(a);){const o=Yr(a),e=_r(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Tr(a)&&!e&&cn(t,a))?i=i.filter((t=>t!==a)):r=o,a=Xr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=ln(o,e,r);return t.top=mr(i.top,t.top),t.right=br(i.right,t.right),t.bottom=br(i.bottom,t.bottom),t.left=mr(i.left,t.left),t}),ln(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:hn,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||hn,n=this.getDimensions;return{reference:pn(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return tn(t)},getScale:en,isElement:Dr,isRTL:function(t){return"rtl"===Yr(t).direction}},un=(t,o,e)=>{const i=new Map,r={platform:dn,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Wr(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Wr(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var yn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gn extends Zo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
729
729
  <div part="container"
730
730
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
731
731
  @mouseenter=${this.onHover}
@@ -743,23 +743,23 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
743
743
  </div>
744
744
  </div>
745
745
  </div>
746
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",an(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=gr(t,o),c={x:e,y:i},p=await $r(o,l),f=vr(br(r)),h=xr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=yr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=yr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Rr({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ln.elementDefinitions={"ft-typography":Qi},ln.styles=ar,sn([N()],ln.prototype,"text",void 0),sn([N({type:Boolean})],ln.prototype,"manual",void 0),sn([N({type:Boolean})],ln.prototype,"inline",void 0),sn([N({type:Number})],ln.prototype,"delay",void 0),sn([N()],ln.prototype,"position",void 0),sn([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],ln.prototype,"slotNodes",void 0),sn([R(".ft-tooltip--container")],ln.prototype,"container",void 0),sn([R(".ft-tooltip")],ln.prototype,"tooltip",void 0),sn([R(".ft-tooltip--content")],ln.prototype,"tooltipContent",void 0),sn([C()],ln.prototype,"visible",void 0),sn([$({passive:!0})],ln.prototype,"onTouch",null),sn([$({passive:!0})],ln.prototype,"onHover",null),sn([$({passive:!0})],ln.prototype,"onOut",null),k("ft-tooltip")(ln);class cn extends Zo{render(){return to`
746
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",un(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Nr(t,o),c={x:e,y:i},p=await zr(o,l),f=Ur(Cr(r)),h=Er(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=wr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=wr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Fr({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}gn.elementDefinitions={"ft-typography":sr},gn.styles=ur,yn([N()],gn.prototype,"text",void 0),yn([N({type:Boolean})],gn.prototype,"manual",void 0),yn([N({type:Boolean})],gn.prototype,"inline",void 0),yn([N({type:Number})],gn.prototype,"delay",void 0),yn([N()],gn.prototype,"position",void 0),yn([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],gn.prototype,"slotNodes",void 0),yn([R(".ft-tooltip--container")],gn.prototype,"container",void 0),yn([R(".ft-tooltip")],gn.prototype,"tooltip",void 0),yn([R(".ft-tooltip--content")],gn.prototype,"tooltipContent",void 0),yn([C()],gn.prototype,"visible",void 0),yn([$({passive:!0})],gn.prototype,"onTouch",null),yn([$({passive:!0})],gn.prototype,"onHover",null),yn([$({passive:!0})],gn.prototype,"onOut",null),k("ft-tooltip")(gn);class bn extends Zo{render(){return to`
747
747
  <div class="ft-loader">
748
748
  <div></div>
749
749
  <div></div>
750
750
  <div></div>
751
751
  <div></div>
752
752
  </div>
753
- `}}cn.styles=zi,k("ft-loader")(cn);var pn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Mo].form}constructor(...t){super(t),this[Mo]=this.attachInternals(),this[Mo].role=o}setFormValue(t){this[Mo].setFormValue(t)}}}(Zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
753
+ `}}bn.styles=Pi,k("ft-loader")(bn);var mn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Go].form}constructor(...t){super(t),this[Go]=this.attachInternals(),this[Go].role=o}setFormValue(t){this[Go].setFormValue(t)}}}(Zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
754
754
  <button part="button"
755
- class="${se(this.buttonClasses)}"
755
+ class="${ye(this.buttonClasses)}"
756
756
  aria-label="${this.getLabel()}"
757
757
  ?disabled=${this.isDisabled()}>
758
758
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
759
759
  <ft-typography part="label"
760
760
  variant=${this.typographyVariant}
761
761
  element="span"
762
- class="ft-button--label ${Ho?"ft-safari-ellipsis-fix":""}"
762
+ class="ft-button--label ${Xo?"ft-safari-ellipsis-fix":""}"
763
763
  ?hidden=${!this.hasTextContent()}>
764
764
  <slot @slotchange=${this.onSlotchange}></slot>
765
765
  </ft-typography>
@@ -773,7 +773,7 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
773
773
  </ft-tooltip>
774
774
  `:t}resolveIcon(){return this.loading?to`
775
775
  <ft-loader part="loader icon"></ft-loader> `:this.icon?to`
776
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fn.elementDefinitions={"ft-ripple":ji,"ft-tooltip":ln,"ft-typography":Qi,"ft-icon":ae,"ft-loader":cn},pn([N({type:String,reflect:!0})],fn.prototype,"role",void 0),pn([N()],fn.prototype,"type",void 0),pn([N({type:Boolean})],fn.prototype,"disabled",void 0),pn([N()],fn.prototype,"label",void 0),pn([N()],fn.prototype,"icon",void 0),pn([N()],fn.prototype,"iconVariant",void 0),pn([N({type:Boolean})],fn.prototype,"trailingIcon",void 0),pn([N({type:Boolean})],fn.prototype,"loading",void 0),pn([N()],fn.prototype,"tooltipPosition",void 0),pn([N({type:Boolean})],fn.prototype,"hideTooltip",void 0),pn([N({type:Boolean})],fn.prototype,"forceTooltip",void 0),pn([R(".ft-button")],fn.prototype,"button",void 0),pn([R(".ft-button--label slot")],fn.prototype,"slottedContent",void 0);var hn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class dn extends fn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}dn.styles=[Bo,Hi],hn([N({type:Boolean})],dn.prototype,"primary",void 0),hn([N({type:Boolean})],dn.prototype,"outlined",void 0),hn([N({type:Boolean})],dn.prototype,"dense",void 0),hn([N({type:Boolean})],dn.prototype,"round",void 0);const un=[mt`
776
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xn.elementDefinitions={"ft-ripple":Qi,"ft-tooltip":gn,"ft-typography":sr,"ft-icon":ue,"ft-loader":bn},mn([N({type:String,reflect:!0})],xn.prototype,"role",void 0),mn([N()],xn.prototype,"type",void 0),mn([N({type:Boolean})],xn.prototype,"disabled",void 0),mn([N()],xn.prototype,"label",void 0),mn([N()],xn.prototype,"icon",void 0),mn([N()],xn.prototype,"iconVariant",void 0),mn([N({type:Boolean})],xn.prototype,"trailingIcon",void 0),mn([N({type:Boolean})],xn.prototype,"loading",void 0),mn([N()],xn.prototype,"tooltipPosition",void 0),mn([N({type:Boolean})],xn.prototype,"hideTooltip",void 0),mn([N({type:Boolean})],xn.prototype,"forceTooltip",void 0),mn([R(".ft-button")],xn.prototype,"button",void 0),mn([R(".ft-button--label slot")],xn.prototype,"slottedContent",void 0);var On=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vn extends xn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}vn.styles=[Bo,Xi],On([N({type:Boolean})],vn.prototype,"primary",void 0),On([N({type:Boolean})],vn.prototype,"outlined",void 0),On([N({type:Boolean})],vn.prototype,"dense",void 0),On([N({type:Boolean})],vn.prototype,"round",void 0);const Sn=[mt`
777
777
  :host {
778
778
  display: inline-block;
779
779
  max-width: 100%;
@@ -852,13 +852,13 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
852
852
  /** Primary styles **/
853
853
 
854
854
  .ft-button--primary {
855
- ${vo(Wi.color,Co.primaryIconColor)};
855
+ ${vo(Di.color,Co.primaryIconColor)};
856
856
 
857
- ${vo(ce.color,Co.primaryStateLayerColor)};
858
- ${vo(ce.opacityContentOnSurfaceHover,Co.primaryStateLayerOpacityHover)};
859
- ${vo(ce.opacityContentOnSurfaceFocused,Co.primaryStateLayerOpacityFocus)};
860
- ${vo(ce.opacityContentOnSurfaceSelected,Co.primaryStateLayerOpacityActive)};
861
- ${vo(ce.opacityContentOnSurfacePressed,Co.primaryStateLayerOpacityActive)};
857
+ ${vo(be.color,Co.primaryStateLayerColor)};
858
+ ${vo(be.opacityContentOnSurfaceHover,Co.primaryStateLayerOpacityHover)};
859
+ ${vo(be.opacityContentOnSurfaceFocused,Co.primaryStateLayerOpacityFocus)};
860
+ ${vo(be.opacityContentOnSurfaceSelected,Co.primaryStateLayerOpacityActive)};
861
+ ${vo(be.opacityContentOnSurfacePressed,Co.primaryStateLayerOpacityActive)};
862
862
 
863
863
  background-color: ${Co.primaryBackgroundColor};
864
864
  color: ${Co.primaryColor};
@@ -876,13 +876,13 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
876
876
  /** Secondary styles **/
877
877
 
878
878
  .ft-button--secondary {
879
- ${vo(Wi.color,Co.secondaryIconColor)};
879
+ ${vo(Di.color,Co.secondaryIconColor)};
880
880
 
881
- ${vo(ce.color,Co.secondaryStateLayerColor)};
882
- ${vo(ce.opacityContentOnSurfaceHover,Co.secondaryStateLayerOpacityHover)};
883
- ${vo(ce.opacityContentOnSurfaceFocused,Co.secondaryStateLayerOpacityFocus)};
884
- ${vo(ce.opacityContentOnSurfaceSelected,Co.secondaryStateLayerOpacityActive)};
885
- ${vo(ce.opacityContentOnSurfacePressed,Co.secondaryStateLayerOpacityActive)};
881
+ ${vo(be.color,Co.secondaryStateLayerColor)};
882
+ ${vo(be.opacityContentOnSurfaceHover,Co.secondaryStateLayerOpacityHover)};
883
+ ${vo(be.opacityContentOnSurfaceFocused,Co.secondaryStateLayerOpacityFocus)};
884
+ ${vo(be.opacityContentOnSurfaceSelected,Co.secondaryStateLayerOpacityActive)};
885
+ ${vo(be.opacityContentOnSurfacePressed,Co.secondaryStateLayerOpacityActive)};
886
886
 
887
887
  background-color: ${Co.secondaryBackgroundColor};
888
888
  color: ${Co.secondaryColor};
@@ -901,13 +901,13 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
901
901
  /** Tertiary styles **/
902
902
 
903
903
  .ft-button--tertiary {
904
- ${vo(Wi.color,Co.tertiaryIconColor)};
904
+ ${vo(Di.color,Co.tertiaryIconColor)};
905
905
 
906
- ${vo(ce.color,Co.tertiaryStateLayerColor)};
907
- ${vo(ce.opacityContentOnSurfaceHover,Co.tertiaryStateLayerOpacityHover)};
908
- ${vo(ce.opacityContentOnSurfaceFocused,Co.tertiaryStateLayerOpacityFocus)};
909
- ${vo(ce.opacityContentOnSurfaceSelected,Co.tertiaryStateLayerOpacityActive)};
910
- ${vo(ce.opacityContentOnSurfacePressed,Co.tertiaryStateLayerOpacityActive)};
906
+ ${vo(be.color,Co.tertiaryStateLayerColor)};
907
+ ${vo(be.opacityContentOnSurfaceHover,Co.tertiaryStateLayerOpacityHover)};
908
+ ${vo(be.opacityContentOnSurfaceFocused,Co.tertiaryStateLayerOpacityFocus)};
909
+ ${vo(be.opacityContentOnSurfaceSelected,Co.tertiaryStateLayerOpacityActive)};
910
+ ${vo(be.opacityContentOnSurfacePressed,Co.tertiaryStateLayerOpacityActive)};
911
911
 
912
912
  background-color: ${Co.tertiaryBackgroundColor};
913
913
  color: ${Co.tertiaryColor};
@@ -925,13 +925,13 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
925
925
  /** Neutral styles **/
926
926
 
927
927
  .ft-button--neutral {
928
- ${vo(Wi.color,Co.neutralIconColor)};
928
+ ${vo(Di.color,Co.neutralIconColor)};
929
929
 
930
- ${vo(ce.backgroundColor,Co.neutralStateLayerColor)};
931
- ${vo(ce.opacityContentOnSurfaceHover,Co.neutralStateLayerOpacityHover)};
932
- ${vo(ce.opacityContentOnSurfaceFocused,Co.neutralStateLayerOpacityFocus)};
933
- ${vo(ce.opacityContentOnSurfaceSelected,Co.neutralStateLayerOpacityActive)};
934
- ${vo(ce.opacityContentOnSurfacePressed,Co.neutralStateLayerOpacityActive)};
930
+ ${vo(be.backgroundColor,Co.neutralStateLayerColor)};
931
+ ${vo(be.opacityContentOnSurfaceHover,Co.neutralStateLayerOpacityHover)};
932
+ ${vo(be.opacityContentOnSurfaceFocused,Co.neutralStateLayerOpacityFocus)};
933
+ ${vo(be.opacityContentOnSurfaceSelected,Co.neutralStateLayerOpacityActive)};
934
+ ${vo(be.opacityContentOnSurfacePressed,Co.neutralStateLayerOpacityActive)};
935
935
 
936
936
  background-color: ${Co.neutralBackgroundColor};
937
937
  color: ${Co.neutralColor};
@@ -949,8 +949,8 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
949
949
  /** Large styles **/
950
950
 
951
951
  .ft-button--large {
952
- ${vo(ee.size,Co.largeIconSize)};
953
- ${vo(Wi.size,Co.largeIconSize)};
952
+ ${vo(pe.size,Co.largeIconSize)};
953
+ ${vo(Di.size,Co.largeIconSize)};
954
954
 
955
955
  height: ${Co.largeHeight};
956
956
  padding: 0 ${Co.largeHorizontalPadding};
@@ -972,8 +972,8 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
972
972
  /** Small styles **/
973
973
 
974
974
  .ft-button--small {
975
- ${vo(ee.size,Co.smallIconSize)};
976
- ${vo(Wi.size,Co.smallIconSize)};
975
+ ${vo(pe.size,Co.smallIconSize)};
976
+ ${vo(Di.size,Co.smallIconSize)};
977
977
 
978
978
  height: ${Co.smallHeight};
979
979
  padding: 0 ${Co.smallHorizontalPadding};
@@ -991,7 +991,7 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
991
991
  width: ${Co.smallIconOnlyWidth};
992
992
  padding: unset;
993
993
  }
994
- `,Fo];var yn,gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends fn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Xi.caption1medium:Xi.body2medium}}bn.styles=[Bo,un],gn([N({type:Boolean})],bn.prototype,"primary",void 0),gn([N({type:Boolean})],bn.prototype,"secondary",void 0),gn([N({type:Boolean})],bn.prototype,"tertiary",void 0),gn([N({type:Boolean})],bn.prototype,"neutral",void 0),gn([N({type:Boolean})],bn.prototype,"small",void 0),k("ft-button")(dn),k("ftds-button")(bn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(yn||(yn={}));const mn=mt`
994
+ `,Ko];var wn,Nn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Cn extends xn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?nr.caption1medium:nr.body2medium}}Cn.styles=[Bo,Sn],Nn([N({type:Boolean})],Cn.prototype,"primary",void 0),Nn([N({type:Boolean})],Cn.prototype,"secondary",void 0),Nn([N({type:Boolean})],Cn.prototype,"tertiary",void 0),Nn([N({type:Boolean})],Cn.prototype,"neutral",void 0),Nn([N({type:Boolean})],Cn.prototype,"small",void 0),k("ft-button")(vn),k("ftds-button")(Cn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(wn||(wn={}));const $n=mt`
995
995
  .ft-size-watcher--pixel {
996
996
  width: 0;
997
997
  height: 0;
@@ -1010,13 +1010,13 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
1010
1010
  .ft-size-watcher--local .ft-size-watcher--watcher {
1011
1011
  width: 100%;
1012
1012
  }
1013
- `;var xn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class On extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class vn extends Zo{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=yn.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new U}render(){return to`
1013
+ `;var En=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rn extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Un extends Zo{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=wn.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new U}render(){return to`
1014
1014
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1015
1015
  <div class="ft-size-watcher--watcher"></div>
1016
1016
  </div>
1017
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=yn.S:this.size<976?this.category=yn.M:this.size<1024?this.category=yn.L:this.size<1440?this.category=yn.XL:this.category=yn.XXL,this.dispatchEvent(new On(this.size,this.category)))}),this.debounceTimeout)}}vn.elementDefinitions={},vn.styles=mn,xn([N({type:Number})],vn.prototype,"debounceTimeout",void 0),xn([N({type:Boolean})],vn.prototype,"local",void 0),xn([N({type:Number,reflect:!0})],vn.prototype,"size",void 0),xn([N({type:String,reflect:!0})],vn.prototype,"category",void 0),xn([R(".ft-size-watcher--watcher")],vn.prototype,"watcher",void 0),k("ft-size-watcher")(vn);var Sn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wn extends Zo{constructor(){super(...arguments),this.portalUrl="",this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.closeIcon=te.X_MARK,this.standardModeIcon=te.PIP,this.disableStandardMode=!1,this.theaterModeIcon=te.PIP_WIDE,this.disableTheaterMode=!1,this.fullscreenModeIcon=te.EXPAND_WIDE,this.disableFullscreenMode=!1,this.enableHomeButton=!1,this.homeIcon=te.HOME,this.enableOpenTabButton=!1,this.openTabIcon=te.EXTLINK_LIGHT,this.allowStandardMode=!0,this.allowTheaterMode=!0,this.allowFullscreenMode=!0}render(){const o={"ft-in-product-help":!0,"ft-in-product-help--opened":this.opened,"ft-in-product-help--standard":this.displayMode==t.FtInProductHelpMode.STANDARD,"ft-in-product-help--theater":this.displayMode==t.FtInProductHelpMode.THEATER,"ft-in-product-help--fullscreen":this.displayMode==t.FtInProductHelpMode.FULLSCREEN},e=this.allowStandardMode&&(this.allowTheaterMode||this.allowFullscreenMode),i=this.allowTheaterMode&&(this.allowStandardMode||this.allowFullscreenMode),r=this.allowFullscreenMode&&(this.allowStandardMode||this.allowTheaterMode);return to`
1017
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=wn.S:this.size<976?this.category=wn.M:this.size<1024?this.category=wn.L:this.size<1440?this.category=wn.XL:this.category=wn.XXL,this.dispatchEvent(new Rn(this.size,this.category)))}),this.debounceTimeout)}}Un.elementDefinitions={},Un.styles=$n,En([N({type:Number})],Un.prototype,"debounceTimeout",void 0),En([N({type:Boolean})],Un.prototype,"local",void 0),En([N({type:Number,reflect:!0})],Un.prototype,"size",void 0),En([N({type:String,reflect:!0})],Un.prototype,"category",void 0),En([R(".ft-size-watcher--watcher")],Un.prototype,"watcher",void 0),k("ft-size-watcher")(Un);var In=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class kn extends Zo{constructor(){super(...arguments),this.portalUrl="",this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.closeIcon=le.X_MARK,this.standardModeIcon=le.PIP,this.disableStandardMode=!1,this.theaterModeIcon=le.PIP_WIDE,this.disableTheaterMode=!1,this.fullscreenModeIcon=le.EXPAND_WIDE,this.disableFullscreenMode=!1,this.enableHomeButton=!1,this.homeIcon=le.HOME,this.enableOpenTabButton=!1,this.openTabIcon=le.EXTLINK_LIGHT,this.allowStandardMode=!0,this.allowTheaterMode=!0,this.allowFullscreenMode=!0}render(){const o={"ft-in-product-help":!0,"ft-in-product-help--opened":this.opened,"ft-in-product-help--standard":this.displayMode==t.FtInProductHelpMode.STANDARD,"ft-in-product-help--theater":this.displayMode==t.FtInProductHelpMode.THEATER,"ft-in-product-help--fullscreen":this.displayMode==t.FtInProductHelpMode.FULLSCREEN},e=this.allowStandardMode&&(this.allowTheaterMode||this.allowFullscreenMode),i=this.allowTheaterMode&&(this.allowStandardMode||this.allowFullscreenMode),r=this.allowFullscreenMode&&(this.allowStandardMode||this.allowTheaterMode);return to`
1018
1018
  <ft-size-watcher @change=${this.onViewportChange}></ft-size-watcher>
1019
- <div class="${se(o)}" part="container">
1019
+ <div class="${ye(o)}" part="container">
1020
1020
  <div class="ft-in-product-help--top-bar" part="top-bar">
1021
1021
  ${this.enableHomeButton?to`
1022
1022
  <ft-button icon="${this.homeIcon}"
@@ -1083,4 +1083,4 @@ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Vi=t=>({_$li
1083
1083
  </div>
1084
1084
  <iframe src="${this.portalUrl}" part="iframe"/>
1085
1085
  </div>
1086
- `}update(t){super.update(t),(t.has("disableStandardMode")||t.has("disableTheaterMode")||t.has("disableFullscreenMode"))&&this.computeAllowedModes(),t.has("opened")&&this.updateModeOnOpen()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=t.FtInProductHelpMode.STANDARD:this.allowTheaterMode?this.displayMode=t.FtInProductHelpMode.THEATER:this.displayMode=t.FtInProductHelpMode.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),this.allowStandardMode||this.displayMode!=t.FtInProductHelpMode.STANDARD||(this.displayMode=t.FtInProductHelpMode.THEATER),this.allowTheaterMode||this.displayMode!=t.FtInProductHelpMode.THEATER||(this.displayMode=t.FtInProductHelpMode.FULLSCREEN)}setMode(t){this.displayMode=t,this.dispatchVisibilityChange()}open(){this.opened=!0}close(){this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new jo(this.opened,this.displayMode))}isTablet(){const t=getComputedStyle(this).getPropertyValue(_o.tabletBreakpoint.name)||_o.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}isDesktop(){const t=getComputedStyle(this).getPropertyValue(_o.desktopBreakpoint.name)||_o.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}navigateTo(t){this.iframe.contentWindow.postMessage({navigateTo:t},this.portalUrl)}openTab(){this.iframe.contentWindow.postMessage({openTabToCurrentUrl:!0},this.portalUrl)}}wn.elementDefinitions={"ft-button":dn,"ft-size-watcher":vn},wn.styles=Go,Sn([N()],wn.prototype,"portalUrl",void 0),Sn([N({reflect:!0,type:Boolean})],wn.prototype,"opened",void 0),Sn([N({reflect:!0})],wn.prototype,"displayMode",void 0),Sn([N()],wn.prototype,"closeIcon",void 0),Sn([N()],wn.prototype,"standardModeIcon",void 0),Sn([N({type:Boolean})],wn.prototype,"disableStandardMode",void 0),Sn([N()],wn.prototype,"theaterModeIcon",void 0),Sn([N({type:Boolean})],wn.prototype,"disableTheaterMode",void 0),Sn([N()],wn.prototype,"fullscreenModeIcon",void 0),Sn([N({type:Boolean})],wn.prototype,"disableFullscreenMode",void 0),Sn([N({type:Boolean})],wn.prototype,"enableHomeButton",void 0),Sn([N()],wn.prototype,"homeIcon",void 0),Sn([N({type:Boolean})],wn.prototype,"enableOpenTabButton",void 0),Sn([N()],wn.prototype,"openTabIcon",void 0),Sn([N()],wn.prototype,"iconVariant",void 0),Sn([C()],wn.prototype,"allowStandardMode",void 0),Sn([C()],wn.prototype,"allowTheaterMode",void 0),Sn([C()],wn.prototype,"allowFullscreenMode",void 0),Sn([R("iframe")],wn.prototype,"iframe",void 0),k("ft-in-product-help")(wn),t.FtInProductHelp=wn,t.FtInProductHelpCssVariables=_o,t.FtInProductHelpVisibilityChange=jo,t.styles=Go}({});
1086
+ `}update(t){super.update(t),(t.has("disableStandardMode")||t.has("disableTheaterMode")||t.has("disableFullscreenMode"))&&this.computeAllowedModes(),t.has("opened")&&this.updateModeOnOpen()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=t.FtInProductHelpMode.STANDARD:this.allowTheaterMode?this.displayMode=t.FtInProductHelpMode.THEATER:this.displayMode=t.FtInProductHelpMode.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),this.allowStandardMode||this.displayMode!=t.FtInProductHelpMode.STANDARD||(this.displayMode=t.FtInProductHelpMode.THEATER),this.allowTheaterMode||this.displayMode!=t.FtInProductHelpMode.THEATER||(this.displayMode=t.FtInProductHelpMode.FULLSCREEN)}setMode(t){this.displayMode=t,this.dispatchVisibilityChange()}open(){this.opened=!0}close(){this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new Qo(this.opened,this.displayMode))}isTablet(){const t=getComputedStyle(this).getPropertyValue(te.tabletBreakpoint.name)||te.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}isDesktop(){const t=getComputedStyle(this).getPropertyValue(te.desktopBreakpoint.name)||te.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}navigateTo(t){this.iframe.contentWindow.postMessage({navigateTo:t},this.portalUrl)}openTab(){this.iframe.contentWindow.postMessage({openTabToCurrentUrl:!0},this.portalUrl)}}kn.elementDefinitions={"ft-button":vn,"ft-size-watcher":Un},kn.styles=oe,In([N()],kn.prototype,"portalUrl",void 0),In([N({reflect:!0,type:Boolean})],kn.prototype,"opened",void 0),In([N({reflect:!0})],kn.prototype,"displayMode",void 0),In([N()],kn.prototype,"closeIcon",void 0),In([N()],kn.prototype,"standardModeIcon",void 0),In([N({type:Boolean})],kn.prototype,"disableStandardMode",void 0),In([N()],kn.prototype,"theaterModeIcon",void 0),In([N({type:Boolean})],kn.prototype,"disableTheaterMode",void 0),In([N()],kn.prototype,"fullscreenModeIcon",void 0),In([N({type:Boolean})],kn.prototype,"disableFullscreenMode",void 0),In([N({type:Boolean})],kn.prototype,"enableHomeButton",void 0),In([N()],kn.prototype,"homeIcon",void 0),In([N({type:Boolean})],kn.prototype,"enableOpenTabButton",void 0),In([N()],kn.prototype,"openTabIcon",void 0),In([N()],kn.prototype,"iconVariant",void 0),In([C()],kn.prototype,"allowStandardMode",void 0),In([C()],kn.prototype,"allowTheaterMode",void 0),In([C()],kn.prototype,"allowFullscreenMode",void 0),In([R("iframe")],kn.prototype,"iframe",void 0),k("ft-in-product-help")(kn),t.FtInProductHelp=kn,t.FtInProductHelpCssVariables=te,t.FtInProductHelpVisibilityChange=Qo,t.styles=oe}({});