@fluid-topics/ft-dialog
Advanced tools
Comparing version 0.2.4 to 0.2.6
@@ -17,3 +17,3 @@ !function(){ | ||
*/ | ||
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const c={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let h=i.call(o,t);h||(h=p(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.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,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Le){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}} | ||
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const c={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let h=i.call(o,t);h||(h=p(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.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,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Te){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}} | ||
/** | ||
@@ -44,3 +44,3 @@ * @license | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/;var f;const d=window.trustedTypes,u=d?d.emptyScript:"",y=window.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},g=(t,e)=>e!==t&&(e==e||t==t),m={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:g};class v extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||m}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(p(t))}else void 0!==t&&e.push(p(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return h(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=m){var o,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:x.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:x.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||g)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}} | ||
*/;var f;const d=window.trustedTypes,u=d?d.emptyScript:"",y=window.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},g=(t,e)=>e!==t&&(e==e||t==t),m={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:g};class v extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||m}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(p(t))}else void 0!==t&&e.push(p(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return h(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=m){var o,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:x.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:x.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||g)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}} | ||
/** | ||
@@ -51,3 +51,3 @@ * @license | ||
*/ | ||
var b;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==y||y({ReactiveElement:v}),(null!==(f=globalThis.reactiveElementVersions)&&void 0!==f?f:globalThis.reactiveElementVersions=[]).push("1.2.2");const w=globalThis.trustedTypes,$=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,O=`lit$${(Math.random()+"").slice(9)}$`,S="?"+O,N=`<${S}>`,E=document,C=(t="")=>E.createComment(t),R=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,F=/>/g,z=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,j=/'/g,L=/"/g,A=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),_=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),D=new WeakMap,P=E.createTreeWalker(E,129,null,!1),W=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=k;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===k?"!--"===l[1]?r=U:void 0!==l[1]?r=F:void 0!==l[2]?(A.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=z):void 0!==l[3]&&(r=z):r===z?">"===l[0]?(r=null!=n?n:k,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?z:'"'===l[3]?L:j):r===L||r===j?r=z:r===U||r===F?r=k:(r=z,n=void 0);const p=r===z&&t[e+1].startsWith("/>")?" ":"";s+=r===k?i+N:c>=0?(o.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+O+p):i+O+(-2===c?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(a):a,o]};class I{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,c]=W(t,e);if(this.el=I.createElement(l,i),P.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=P.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(O)){const i=c[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(O),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?q:"?"===e[1]?X:"@"===e[1]?G:V})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(A.test(o.tagName)){const t=o.textContent.split(O),e=t.length-1;if(e>0){o.textContent=w?w.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],C()),P.nextNode(),a.push({type:2,index:++n});o.append(t[e],C())}}}else if(8===o.nodeType)if(o.data===S)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(O,t+1));)a.push({type:7,index:n}),t+=O.length-1}n++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function K(t,e,i=t,o){var n,s,r,a;if(e===_)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const c=R(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=K(t,l._$AS(t,e.values),l,o)),e}class H{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);P.currentNode=n;let s=P.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Z(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new Q(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=P.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Z{constructor(t,e,i,o){var n;this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=K(this,t,e),R(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==_&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return M(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==B&&R(this._$AH)?this._$AA.nextSibling.data=t:this.S(E.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=I.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new H(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new I(t)),e}A(t){M(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Z(this.M(C()),this.M(C()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class V{constructor(t,e,i,o,n){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=K(this,t,e,0),s=!R(t)||t!==this._$AH&&t!==_,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=K(this,o[i+r],e,r),a===_&&(a=this._$AH[r]),s||(s=!R(a)||a!==this._$AH[r]),a===B?t=B:t!==B&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.k(t)}k(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends V{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===B?void 0:t}}const J=w?w.emptyScript:"";class X extends V{constructor(){super(...arguments),this.type=4}k(t){t&&t!==B?this.element.setAttribute(this.name,J):this.element.removeAttribute(this.name)}}class G extends V{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=K(this,t,e,0))&&void 0!==i?i:B)===_)return;const o=this._$AH,n=t===B&&o!==B||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==B&&(o===B||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){K(this,t)}}const Y=window.litHtmlPolyfillSupport; | ||
var b;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==y||y({ReactiveElement:v}),(null!==(f=globalThis.reactiveElementVersions)&&void 0!==f?f:globalThis.reactiveElementVersions=[]).push("1.3.2");const w=globalThis.trustedTypes,$=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,O=`lit$${(Math.random()+"").slice(9)}$`,S="?"+O,N=`<${S}>`,E=document,C=(t="")=>E.createComment(t),R=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,F=/>/g,z=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,j=/'/g,L=/"/g,A=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),_=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),D=new WeakMap,P=E.createTreeWalker(E,129,null,!1),W=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=U;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===U?"!--"===l[1]?r=k:void 0!==l[1]?r=F:void 0!==l[2]?(A.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=z):void 0!==l[3]&&(r=z):r===z?">"===l[0]?(r=null!=n?n:U,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?z:'"'===l[3]?L:j):r===L||r===j?r=z:r===k||r===F?r=U:(r=z,n=void 0);const p=r===z&&t[e+1].startsWith("/>")?" ":"";s+=r===U?i+N:c>=0?(o.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+O+p):i+O+(-2===c?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(a):a,o]};class I{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,c]=W(t,e);if(this.el=I.createElement(l,i),P.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=P.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(O)){const i=c[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(O),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?q:"?"===e[1]?X:"@"===e[1]?G:V})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(A.test(o.tagName)){const t=o.textContent.split(O),e=t.length-1;if(e>0){o.textContent=w?w.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],C()),P.nextNode(),a.push({type:2,index:++n});o.append(t[e],C())}}}else if(8===o.nodeType)if(o.data===S)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(O,t+1));)a.push({type:7,index:n}),t+=O.length-1}n++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function K(t,e,i=t,o){var n,s,r,a;if(e===_)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const c=R(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=K(t,l._$AS(t,e.values),l,o)),e}class H{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);P.currentNode=n;let s=P.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Z(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new Q(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=P.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Z{constructor(t,e,i,o){var n;this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=K(this,t,e),R(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==_&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return M(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==B&&R(this._$AH)?this._$AA.nextSibling.data=t:this.k(E.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=I.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new H(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new I(t)),e}S(t){M(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Z(this.M(C()),this.M(C()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class V{constructor(t,e,i,o,n){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=K(this,t,e,0),s=!R(t)||t!==this._$AH&&t!==_,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=K(this,o[i+r],e,r),a===_&&(a=this._$AH[r]),s||(s=!R(a)||a!==this._$AH[r]),a===B?t=B:t!==B&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.C(t)}C(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends V{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===B?void 0:t}}const J=w?w.emptyScript:"";class X extends V{constructor(){super(...arguments),this.type=4}C(t){t&&t!==B?this.element.setAttribute(this.name,J):this.element.removeAttribute(this.name)}}class G extends V{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=K(this,t,e,0))&&void 0!==i?i:B)===_)return;const o=this._$AH,n=t===B&&o!==B||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==B&&(o===B||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){K(this,t)}}const Y=window.litHtmlPolyfillSupport; | ||
/** | ||
@@ -58,3 +58,3 @@ * @license | ||
*/ | ||
var tt,et;null==Y||Y(I,Z),(null!==(b=globalThis.litHtmlVersions)&&void 0!==b?b:globalThis.litHtmlVersions=[]).push("2.1.3");class it extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new Z(e.insertBefore(C(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return _}}it.finalized=!0,it._$litElement$=!0,null===(tt=globalThis.litElementHydrateSupport)||void 0===tt||tt.call(globalThis,{LitElement:it});const ot=globalThis.litElementPolyfillSupport;null==ot||ot({LitElement:it}),(null!==(et=globalThis.litElementVersions)&&void 0!==et?et:globalThis.litElementVersions=[]).push("3.1.2");class nt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new nt(t,e,void 0,i)}static extend(t,e,i){return new nt(t,e.category,e,i)}static external(t,e){return new nt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return c`var(${l(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):l(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const st={colorPrimary:nt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:nt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:nt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:nt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:nt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:nt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:nt.create("--ft-color-error","COLOR","#B00020"),colorOutline:nt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:nt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:nt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:nt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:nt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:nt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:nt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:nt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:nt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:nt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:nt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:nt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:nt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:nt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:nt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:nt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:nt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:nt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:nt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:nt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:nt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:nt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:nt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:nt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:nt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:nt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:nt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:nt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:nt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:nt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:nt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:nt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:nt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:nt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:nt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:nt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:nt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:nt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:nt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:nt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:nt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:nt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:nt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:nt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:nt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:nt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:nt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:nt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:nt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:nt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:nt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:nt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:nt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")}; | ||
var tt,et;null==Y||Y(I,Z),(null!==(b=globalThis.litHtmlVersions)&&void 0!==b?b:globalThis.litHtmlVersions=[]).push("2.2.4");class it extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new Z(e.insertBefore(C(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return _}}it.finalized=!0,it._$litElement$=!0,null===(tt=globalThis.litElementHydrateSupport)||void 0===tt||tt.call(globalThis,{LitElement:it});const ot=globalThis.litElementPolyfillSupport;null==ot||ot({LitElement:it}),(null!==(et=globalThis.litElementVersions)&&void 0!==et?et:globalThis.litElementVersions=[]).push("3.2.0");class nt{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new nt(t,e,void 0,i)}static extend(t,e,i){return new nt(t,e.category,e,i)}static external(t,e){return new nt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return c`var(${l(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):l(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const st={colorPrimary:nt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:nt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:nt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:nt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:nt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:nt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:nt.create("--ft-color-error","COLOR","#B00020"),colorOutline:nt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:nt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:nt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:nt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:nt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:nt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:nt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:nt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:nt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:nt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:nt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:nt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:nt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:nt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:nt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:nt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:nt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:nt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:nt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:nt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:nt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:nt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:nt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:nt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:nt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:nt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:nt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:nt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:nt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:nt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:nt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:nt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:nt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:nt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:nt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:nt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:nt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:nt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:nt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:nt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:nt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:nt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:nt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:nt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:nt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:nt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:nt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:nt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:nt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:nt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:nt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:nt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:nt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")}; | ||
/** | ||
@@ -84,105 +84,105 @@ * @license | ||
*/ | ||
const ct=t=>({_$litStatic$:t}),ht=new Map,pt=(t=>(e,...i)=>{var o;const n=i.length;let s,r;const a=[],l=[];let c,h=0,p=!1;for(;h<n;){for(c=e[h];h<n&&void 0!==(r=i[h],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)c+=s+e[++h],p=!0;l.push(r),a.push(c),h++}if(h===n&&a.push(e[n]),p){const t=a.join("$$lit$$");void 0===(e=ht.get(t))&&(a.raw=a,ht.set(t,e=a)),i=l}return t(e,...i)})(T);var ft,dt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(ft||(ft={}));const ut=nt.extend("--ft-typography-font-family",st.titleFont),yt=nt.extend("--ft-typography-font-family",st.contentFont),xt={fontFamily:yt,fontSize:nt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:nt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:nt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:nt.create("--ft-typography-line-height","SIZE","24px"),textTransform:nt.create("--ft-typography-text-transform","UNKNOWN","inherit")},gt=nt.extend("--ft-typography-title-font-family",ut),mt=nt.extend("--ft-typography-title-font-size",xt.fontSize,"20px"),vt=nt.extend("--ft-typography-title-font-weight",xt.fontWeight,"normal"),bt=nt.extend("--ft-typography-title-letter-spacing",xt.letterSpacing,"0.15px"),wt=nt.extend("--ft-typography-title-line-height",xt.lineHeight,"24px"),$t=nt.extend("--ft-typography-title-text-transform",xt.textTransform,"inherit"),Ot=nt.extend("--ft-typography-title-dense-font-family",ut),St=nt.extend("--ft-typography-title-dense-font-size",xt.fontSize,"14px"),Nt=nt.extend("--ft-typography-title-dense-font-weight",xt.fontWeight,"normal"),Et=nt.extend("--ft-typography-title-dense-letter-spacing",xt.letterSpacing,"0.105px"),Ct=nt.extend("--ft-typography-title-dense-line-height",xt.lineHeight,"24px"),Rt=nt.extend("--ft-typography-title-dense-text-transform",xt.textTransform,"inherit"),Mt=nt.extend("--ft-typography-subtitle1-font-family",yt),kt=nt.extend("--ft-typography-subtitle1-font-size",xt.fontSize,"16px"),Ut=nt.extend("--ft-typography-subtitle1-font-weight",xt.fontWeight,"600"),Ft=nt.extend("--ft-typography-subtitle1-letter-spacing",xt.letterSpacing,"0.144px"),zt=nt.extend("--ft-typography-subtitle1-line-height",xt.lineHeight,"24px"),jt=nt.extend("--ft-typography-subtitle1-text-transform",xt.textTransform,"inherit"),Lt=nt.extend("--ft-typography-subtitle2-font-family",yt),At=nt.extend("--ft-typography-subtitle2-font-size",xt.fontSize,"14px"),Tt=nt.extend("--ft-typography-subtitle2-font-weight",xt.fontWeight,"normal"),_t=nt.extend("--ft-typography-subtitle2-letter-spacing",xt.letterSpacing,"0.098px"),Bt=nt.extend("--ft-typography-subtitle2-line-height",xt.lineHeight,"24px"),Dt=nt.extend("--ft-typography-subtitle2-text-transform",xt.textTransform,"inherit"),Pt=nt.extend("--ft-typography-body1-font-family",yt),Wt=nt.extend("--ft-typography-body1-font-size",xt.fontSize,"16px"),It=nt.extend("--ft-typography-body1-font-weight",xt.fontWeight,"normal"),Kt=nt.extend("--ft-typography-body1-letter-spacing",xt.letterSpacing,"0.496px"),Ht=nt.extend("--ft-typography-body1-line-height",xt.lineHeight,"24px"),Zt=nt.extend("--ft-typography-body1-text-transform",xt.textTransform,"inherit"),Vt=nt.extend("--ft-typography-body2-font-family",yt),qt=nt.extend("--ft-typography-body2-font-size",xt.fontSize,"14px"),Jt=nt.extend("--ft-typography-body2-font-weight",xt.fontWeight,"normal"),Xt=nt.extend("--ft-typography-body2-letter-spacing",xt.letterSpacing,"0.252px"),Gt=nt.extend("--ft-typography-body2-line-height",xt.lineHeight,"20px"),Qt=nt.extend("--ft-typography-body2-text-transform",xt.textTransform,"inherit"),Yt=nt.extend("--ft-typography-caption-font-family",yt),te=nt.extend("--ft-typography-caption-font-size",xt.fontSize,"12px"),ee=nt.extend("--ft-typography-caption-font-weight",xt.fontWeight,"normal"),ie=nt.extend("--ft-typography-caption-letter-spacing",xt.letterSpacing,"0.396px"),oe=nt.extend("--ft-typography-caption-line-height",xt.lineHeight,"16px"),ne=nt.extend("--ft-typography-caption-text-transform",xt.textTransform,"inherit"),se=nt.extend("--ft-typography-breadcrumb-font-family",yt),re=nt.extend("--ft-typography-breadcrumb-font-size",xt.fontSize,"10px"),ae=nt.extend("--ft-typography-breadcrumb-font-weight",xt.fontWeight,"normal"),le=nt.extend("--ft-typography-breadcrumb-letter-spacing",xt.letterSpacing,"0.33px"),ce=nt.extend("--ft-typography-breadcrumb-line-height",xt.lineHeight,"16px"),he=nt.extend("--ft-typography-breadcrumb-text-transform",xt.textTransform,"inherit"),pe=nt.extend("--ft-typography-overline-font-family",yt),fe=nt.extend("--ft-typography-overline-font-size",xt.fontSize,"10px"),de=nt.extend("--ft-typography-overline-font-weight",xt.fontWeight,"normal"),ue=nt.extend("--ft-typography-overline-letter-spacing",xt.letterSpacing,"1.5px"),ye=nt.extend("--ft-typography-overline-line-height",xt.lineHeight,"16px"),xe=nt.extend("--ft-typography-overline-text-transform",xt.textTransform,"uppercase"),ge=nt.extend("--ft-typography-button-font-family",yt),me=nt.extend("--ft-typography-button-font-size",xt.fontSize,"14px"),ve=nt.extend("--ft-typography-button-font-weight",xt.fontWeight,"600"),be=nt.extend("--ft-typography-button-letter-spacing",xt.letterSpacing,"1.246px"),we=nt.extend("--ft-typography-button-line-height",xt.lineHeight,"16px"),$e=nt.extend("--ft-typography-button-text-transform",xt.textTransform,"uppercase"),Oe=c` | ||
const ct=Symbol.for(""),ht=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ct)return null===(i=t)||void 0===i?void 0:i._$litStatic$},pt=t=>({_$litStatic$:t,r:ct}),ft=new Map,dt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,c=0,h=!1;for(;c<o;){for(l=e[c];c<o&&void 0!==(s=i[c],n=ht(s));)l+=n+e[++c],h=!0;a.push(s),r.push(l),c++}if(c===o&&r.push(e[o]),h){const t=r.join("$$lit$$");void 0===(e=ft.get(t))&&(r.raw=r,ft.set(t,e=r)),i=a}return t(e,...i)})(T);var ut,yt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(ut||(ut={}));const xt=nt.extend("--ft-typography-font-family",st.titleFont),gt=nt.extend("--ft-typography-font-family",st.contentFont),mt={fontFamily:gt,fontSize:nt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:nt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:nt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:nt.create("--ft-typography-line-height","SIZE","24px"),textTransform:nt.create("--ft-typography-text-transform","UNKNOWN","inherit")},vt=nt.extend("--ft-typography-title-font-family",xt),bt=nt.extend("--ft-typography-title-font-size",mt.fontSize,"20px"),wt=nt.extend("--ft-typography-title-font-weight",mt.fontWeight,"normal"),$t=nt.extend("--ft-typography-title-letter-spacing",mt.letterSpacing,"0.15px"),Ot=nt.extend("--ft-typography-title-line-height",mt.lineHeight,"24px"),St=nt.extend("--ft-typography-title-text-transform",mt.textTransform,"inherit"),Nt=nt.extend("--ft-typography-title-dense-font-family",xt),Et=nt.extend("--ft-typography-title-dense-font-size",mt.fontSize,"14px"),Ct=nt.extend("--ft-typography-title-dense-font-weight",mt.fontWeight,"normal"),Rt=nt.extend("--ft-typography-title-dense-letter-spacing",mt.letterSpacing,"0.105px"),Mt=nt.extend("--ft-typography-title-dense-line-height",mt.lineHeight,"24px"),Ut=nt.extend("--ft-typography-title-dense-text-transform",mt.textTransform,"inherit"),kt=nt.extend("--ft-typography-subtitle1-font-family",gt),Ft=nt.extend("--ft-typography-subtitle1-font-size",mt.fontSize,"16px"),zt=nt.extend("--ft-typography-subtitle1-font-weight",mt.fontWeight,"600"),jt=nt.extend("--ft-typography-subtitle1-letter-spacing",mt.letterSpacing,"0.144px"),Lt=nt.extend("--ft-typography-subtitle1-line-height",mt.lineHeight,"24px"),At=nt.extend("--ft-typography-subtitle1-text-transform",mt.textTransform,"inherit"),Tt=nt.extend("--ft-typography-subtitle2-font-family",gt),_t=nt.extend("--ft-typography-subtitle2-font-size",mt.fontSize,"14px"),Bt=nt.extend("--ft-typography-subtitle2-font-weight",mt.fontWeight,"normal"),Dt=nt.extend("--ft-typography-subtitle2-letter-spacing",mt.letterSpacing,"0.098px"),Pt=nt.extend("--ft-typography-subtitle2-line-height",mt.lineHeight,"24px"),Wt=nt.extend("--ft-typography-subtitle2-text-transform",mt.textTransform,"inherit"),It=nt.extend("--ft-typography-body1-font-family",gt),Kt=nt.extend("--ft-typography-body1-font-size",mt.fontSize,"16px"),Ht=nt.extend("--ft-typography-body1-font-weight",mt.fontWeight,"normal"),Zt=nt.extend("--ft-typography-body1-letter-spacing",mt.letterSpacing,"0.496px"),Vt=nt.extend("--ft-typography-body1-line-height",mt.lineHeight,"24px"),qt=nt.extend("--ft-typography-body1-text-transform",mt.textTransform,"inherit"),Jt=nt.extend("--ft-typography-body2-font-family",gt),Xt=nt.extend("--ft-typography-body2-font-size",mt.fontSize,"14px"),Gt=nt.extend("--ft-typography-body2-font-weight",mt.fontWeight,"normal"),Qt=nt.extend("--ft-typography-body2-letter-spacing",mt.letterSpacing,"0.252px"),Yt=nt.extend("--ft-typography-body2-line-height",mt.lineHeight,"20px"),te=nt.extend("--ft-typography-body2-text-transform",mt.textTransform,"inherit"),ee=nt.extend("--ft-typography-caption-font-family",gt),ie=nt.extend("--ft-typography-caption-font-size",mt.fontSize,"12px"),oe=nt.extend("--ft-typography-caption-font-weight",mt.fontWeight,"normal"),ne=nt.extend("--ft-typography-caption-letter-spacing",mt.letterSpacing,"0.396px"),se=nt.extend("--ft-typography-caption-line-height",mt.lineHeight,"16px"),re=nt.extend("--ft-typography-caption-text-transform",mt.textTransform,"inherit"),ae=nt.extend("--ft-typography-breadcrumb-font-family",gt),le=nt.extend("--ft-typography-breadcrumb-font-size",mt.fontSize,"10px"),ce=nt.extend("--ft-typography-breadcrumb-font-weight",mt.fontWeight,"normal"),he=nt.extend("--ft-typography-breadcrumb-letter-spacing",mt.letterSpacing,"0.33px"),pe=nt.extend("--ft-typography-breadcrumb-line-height",mt.lineHeight,"16px"),fe=nt.extend("--ft-typography-breadcrumb-text-transform",mt.textTransform,"inherit"),de=nt.extend("--ft-typography-overline-font-family",gt),ue=nt.extend("--ft-typography-overline-font-size",mt.fontSize,"10px"),ye=nt.extend("--ft-typography-overline-font-weight",mt.fontWeight,"normal"),xe=nt.extend("--ft-typography-overline-letter-spacing",mt.letterSpacing,"1.5px"),ge=nt.extend("--ft-typography-overline-line-height",mt.lineHeight,"16px"),me=nt.extend("--ft-typography-overline-text-transform",mt.textTransform,"uppercase"),ve=nt.extend("--ft-typography-button-font-family",gt),be=nt.extend("--ft-typography-button-font-size",mt.fontSize,"14px"),we=nt.extend("--ft-typography-button-font-weight",mt.fontWeight,"600"),$e=nt.extend("--ft-typography-button-letter-spacing",mt.letterSpacing,"1.246px"),Oe=nt.extend("--ft-typography-button-line-height",mt.lineHeight,"16px"),Se=nt.extend("--ft-typography-button-text-transform",mt.textTransform,"uppercase"),Ne=c` | ||
.ft-typography--title { | ||
font-family: ${gt}; | ||
font-size: ${mt}; | ||
font-weight: ${vt}; | ||
letter-spacing: ${bt}; | ||
line-height: ${wt}; | ||
text-transform: ${$t}; | ||
font-family: ${vt}; | ||
font-size: ${bt}; | ||
font-weight: ${wt}; | ||
letter-spacing: ${$t}; | ||
line-height: ${Ot}; | ||
text-transform: ${St}; | ||
} | ||
`,Se=c` | ||
`,Ee=c` | ||
.ft-typography--title-dense { | ||
font-family: ${Ot}; | ||
font-size: ${St}; | ||
font-weight: ${Nt}; | ||
letter-spacing: ${Et}; | ||
line-height: ${Ct}; | ||
text-transform: ${Rt}; | ||
font-family: ${Nt}; | ||
font-size: ${Et}; | ||
font-weight: ${Ct}; | ||
letter-spacing: ${Rt}; | ||
line-height: ${Mt}; | ||
text-transform: ${Ut}; | ||
} | ||
`,Ne=c` | ||
`,Ce=c` | ||
.ft-typography--subtitle1 { | ||
font-family: ${Mt}; | ||
font-size: ${kt}; | ||
font-weight: ${Ut}; | ||
letter-spacing: ${Ft}; | ||
line-height: ${zt}; | ||
text-transform: ${jt}; | ||
font-family: ${kt}; | ||
font-size: ${Ft}; | ||
font-weight: ${zt}; | ||
letter-spacing: ${jt}; | ||
line-height: ${Lt}; | ||
text-transform: ${At}; | ||
} | ||
`,Ee=c` | ||
`,Re=c` | ||
.ft-typography--subtitle2 { | ||
font-family: ${Lt}; | ||
font-size: ${At}; | ||
font-weight: ${Tt}; | ||
letter-spacing: ${_t}; | ||
line-height: ${Bt}; | ||
text-transform: ${Dt}; | ||
font-family: ${Tt}; | ||
font-size: ${_t}; | ||
font-weight: ${Bt}; | ||
letter-spacing: ${Dt}; | ||
line-height: ${Pt}; | ||
text-transform: ${Wt}; | ||
} | ||
`,Ce=c` | ||
`,Me=c` | ||
.ft-typography--body1 { | ||
font-family: ${Pt}; | ||
font-size: ${Wt}; | ||
font-weight: ${It}; | ||
letter-spacing: ${Kt}; | ||
line-height: ${Ht}; | ||
text-transform: ${Zt}; | ||
font-family: ${It}; | ||
font-size: ${Kt}; | ||
font-weight: ${Ht}; | ||
letter-spacing: ${Zt}; | ||
line-height: ${Vt}; | ||
text-transform: ${qt}; | ||
} | ||
`,Re=c` | ||
`,Ue=c` | ||
.ft-typography--body2 { | ||
font-family: ${Vt}; | ||
font-size: ${qt}; | ||
font-weight: ${Jt}; | ||
letter-spacing: ${Xt}; | ||
line-height: ${Gt}; | ||
text-transform: ${Qt}; | ||
font-family: ${Jt}; | ||
font-size: ${Xt}; | ||
font-weight: ${Gt}; | ||
letter-spacing: ${Qt}; | ||
line-height: ${Yt}; | ||
text-transform: ${te}; | ||
} | ||
`,Me=c` | ||
`,ke=c` | ||
.ft-typography--caption { | ||
font-family: ${Yt}; | ||
font-size: ${te}; | ||
font-weight: ${ee}; | ||
letter-spacing: ${ie}; | ||
line-height: ${oe}; | ||
text-transform: ${ne}; | ||
font-family: ${ee}; | ||
font-size: ${ie}; | ||
font-weight: ${oe}; | ||
letter-spacing: ${ne}; | ||
line-height: ${se}; | ||
text-transform: ${re}; | ||
} | ||
`,ke=c` | ||
`,Fe=c` | ||
.ft-typography--breadcrumb { | ||
font-family: ${se}; | ||
font-size: ${re}; | ||
font-weight: ${ae}; | ||
letter-spacing: ${le}; | ||
line-height: ${ce}; | ||
text-transform: ${he}; | ||
font-family: ${ae}; | ||
font-size: ${le}; | ||
font-weight: ${ce}; | ||
letter-spacing: ${he}; | ||
line-height: ${pe}; | ||
text-transform: ${fe}; | ||
} | ||
`,Ue=c` | ||
`,ze=c` | ||
.ft-typography--overline { | ||
font-family: ${pe}; | ||
font-size: ${fe}; | ||
font-weight: ${de}; | ||
letter-spacing: ${ue}; | ||
line-height: ${ye}; | ||
text-transform: ${xe}; | ||
font-family: ${de}; | ||
font-size: ${ue}; | ||
font-weight: ${ye}; | ||
letter-spacing: ${xe}; | ||
line-height: ${ge}; | ||
text-transform: ${me}; | ||
} | ||
`,Fe=c` | ||
`,je=c` | ||
.ft-typography--button { | ||
font-family: ${ge}; | ||
font-size: ${me}; | ||
font-weight: ${ve}; | ||
letter-spacing: ${be}; | ||
line-height: ${we}; | ||
text-transform: ${$e}; | ||
font-family: ${ve}; | ||
font-size: ${be}; | ||
font-weight: ${we}; | ||
letter-spacing: ${$e}; | ||
line-height: ${Oe}; | ||
text-transform: ${Se}; | ||
} | ||
`;class ze extends rt{constructor(){super(...arguments),this.variant=ft.body1}render(){return this.element?pt` | ||
<${ct(this.element)} | ||
`;class Le extends rt{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?dt` | ||
<${pt(this.element)} | ||
class="ft-typography ft-typography--${this.variant}"> | ||
<slot></slot> | ||
</${ct(this.element)}> | ||
`:pt` | ||
</${pt(this.element)}> | ||
`:dt` | ||
<slot class="ft-typography ft-typography--${this.variant}"></slot> | ||
`}}ze.styles=[Oe,Se,Ne,Ee,Ce,Re,Me,ke,Ue,Fe,c` | ||
`}}Le.styles=[Ne,Ee,Ce,Re,Me,Ue,ke,Fe,ze,je,c` | ||
.ft-typography { | ||
vertical-align: inherit; | ||
} | ||
`],dt([e()],ze.prototype,"element",void 0),dt([e()],ze.prototype,"variant",void 0),o("ft-typography")(ze); | ||
`],yt([e()],Le.prototype,"element",void 0),yt([e()],Le.prototype,"variant",void 0),o("ft-typography")(Le); | ||
/** | ||
@@ -193,3 +193,3 @@ * @license | ||
*/ | ||
const je=2; | ||
const Ae=2; | ||
/** | ||
@@ -200,12 +200,12 @@ * @license | ||
*/ | ||
class Le extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=B,t.type!==je)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===B||null==t)return this.vt=void 0,this.it=t;if(t===_)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Le.directiveName="unsafeHTML",Le.resultType=1;const Ae=(t=>(...e)=>({_$litDirective$:t,values:e}))(Le);var Te,_e;!function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(Te||(Te={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(_e||(_e={})),new Map([...["abw"].map((t=>[t,_e.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,_e.AUDIO])),...["avi"].map((t=>[t,_e.AVI])),...["chm","xhs"].map((t=>[t,_e.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,_e.CODE])),...["csv"].map((t=>[t,_e.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,_e.DITA])),...["epub"].map((t=>[t,_e.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,_e.EXCEL])),...["flac"].map((t=>[t,_e.FLAC])),...["gif"].map((t=>[t,_e.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,_e.GZIP])),...["html","htm","xhtml"].map((t=>[t,_e.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,_e.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,_e.JPEG])),...["json"].map((t=>[t,_e.JSON])),...["m4a","m4p"].map((t=>[t,_e.M4A])),...["mov","qt"].map((t=>[t,_e.MOV])),...["mp3"].map((t=>[t,_e.MP3])),...["mp4","m4v"].map((t=>[t,_e.MP4])),...["ogg","oga"].map((t=>[t,_e.OGG])),...["pdf","ps"].map((t=>[t,_e.PDF])),...["png"].map((t=>[t,_e.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,_e.POWERPOINT])),...["rar"].map((t=>[t,_e.RAR])),...["stp"].map((t=>[t,_e.STP])),...["txt","rtf","md","mdown"].map((t=>[t,_e.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,_e.VIDEO])),...["wav"].map((t=>[t,_e.WAV])),...["wma"].map((t=>[t,_e.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,_e.WORD])),...["xml","xsl","rdf"].map((t=>[t,_e.XML])),...["yaml","yml","x-yaml"].map((t=>[t,_e.YAML])),...["zip"].map((t=>[t,_e.ZIP]))]);var Be,De=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Be||(Be={}));const Pe=nt.create("--ft-icon-font-size","SIZE","24px"),We=nt.extend("--ft-icon-fluid-topics-font-family",nt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ie=nt.extend("--ft-icon-file-format-font-family",nt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ke=nt.extend("--ft-icon-material-font-family",nt.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class He extends rt{constructor(){super(...arguments),this.variant=Be.fluid_topics}render(){return T` | ||
class Te extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=B,t.type!==Ae)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===B||null==t)return this.ft=void 0,this.it=t;if(t===_)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Te.directiveName="unsafeHTML",Te.resultType=1;const _e=(t=>(...e)=>({_$litDirective$:t,values:e}))(Te);var Be,De;!function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(Be||(Be={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(De||(De={})),new Map([...["abw"].map((t=>[t,De.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,De.AUDIO])),...["avi"].map((t=>[t,De.AVI])),...["chm","xhs"].map((t=>[t,De.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,De.CODE])),...["csv"].map((t=>[t,De.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,De.DITA])),...["epub"].map((t=>[t,De.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,De.EXCEL])),...["flac"].map((t=>[t,De.FLAC])),...["gif"].map((t=>[t,De.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,De.GZIP])),...["html","htm","xhtml"].map((t=>[t,De.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,De.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,De.JPEG])),...["json"].map((t=>[t,De.JSON])),...["m4a","m4p"].map((t=>[t,De.M4A])),...["mov","qt"].map((t=>[t,De.MOV])),...["mp3"].map((t=>[t,De.MP3])),...["mp4","m4v"].map((t=>[t,De.MP4])),...["ogg","oga"].map((t=>[t,De.OGG])),...["pdf","ps"].map((t=>[t,De.PDF])),...["png"].map((t=>[t,De.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,De.POWERPOINT])),...["rar"].map((t=>[t,De.RAR])),...["stp"].map((t=>[t,De.STP])),...["txt","rtf","md","mdown"].map((t=>[t,De.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,De.VIDEO])),...["wav"].map((t=>[t,De.WAV])),...["wma"].map((t=>[t,De.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,De.WORD])),...["xml","xsl","rdf"].map((t=>[t,De.XML])),...["yaml","yml","x-yaml"].map((t=>[t,De.YAML])),...["zip"].map((t=>[t,De.ZIP]))]);var Pe,We=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Pe||(Pe={}));const Ie=nt.create("--ft-icon-font-size","SIZE","24px"),Ke=nt.extend("--ft-icon-fluid-topics-font-family",nt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),He=nt.extend("--ft-icon-file-format-font-family",nt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ze=nt.extend("--ft-icon-material-font-family",nt.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Ve extends rt{constructor(){super(...arguments),this.variant=Pe.fluid_topics}render(){return T` | ||
<i class="ft-icon ${"ft-icon--"+this.variant}"> | ||
${Ae(this.getIcon())} | ||
${_e(this.getIcon())} | ||
<slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot> | ||
</i> | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===Be.file_format?null!==(t=_e[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Be.fluid_topics?null!==(e=Te[i.toUpperCase()])&&void 0!==e?e:i:B}}He.elementDefinitions={},He.styles=c` | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===Pe.file_format?null!==(t=De[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Pe.fluid_topics?null!==(e=Be[i.toUpperCase()])&&void 0!==e?e:i:B}}Ve.elementDefinitions={},Ve.styles=c` | ||
:host, i.ft-icon { | ||
display: inline-block; | ||
width: ${Pe}; | ||
height: ${Pe}; | ||
width: ${Ie}; | ||
height: ${Ie}; | ||
text-align: center; | ||
@@ -215,3 +215,3 @@ } | ||
i.ft-icon { | ||
font-size: ${Pe}; | ||
font-size: ${Ie}; | ||
line-height: 1; | ||
@@ -230,13 +230,13 @@ font-weight: normal; | ||
.ft-icon--fluid-topics { | ||
font-family: ${We}, ft-icons, fticons, sans-serif; | ||
font-family: ${Ke}, ft-icons, fticons, sans-serif; | ||
} | ||
.ft-icon--file-format { | ||
font-family: ${Ie}, ft-mime, sans-serif; | ||
font-family: ${He}, ft-mime, sans-serif; | ||
} | ||
.ft-icon--material { | ||
font-family: ${Ke}, "Material Icons", sans-serif; | ||
font-family: ${Ze}, "Material Icons", sans-serif; | ||
} | ||
`,De([e()],He.prototype,"variant",void 0),De([ | ||
`,We([e()],Ve.prototype,"variant",void 0),We([ | ||
/** | ||
@@ -247,3 +247,3 @@ * @license | ||
*/ | ||
function(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}("slot")],He.prototype,"slottedContent",void 0),o("ft-icon")(He);var Ze=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Ve=nt.create("--ft-dialog-z-index","NUMBER","2"),qe=nt.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),Je=nt.create("--ft-dialog-height","SIZE","unset"),Xe=nt.create("--ft-dialog-width","SIZE","unset"),Ge=nt.create("--ft-dialog-min-width","SIZE","unset"),Qe=nt.create("--ft-dialog-padding-top","SIZE","20px"),Ye=nt.create("--ft-dialog-padding-side","SIZE","16px"),ti=nt.create("--ft-dialog-padding-buttons","SIZE","20px"),ei=nt.external(st.colorSurface,"Design system"),ii=nt.external(st.colorOnSurfaceMedium,"Design system"),oi=nt.external(st.borderRadiusS,"Design system"),ni=nt.external(st.elevation24,"Design system");class si extends rt{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.heading="",this.icon=""}static get styles(){return c` | ||
function(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}("slot")],Ve.prototype,"slottedContent",void 0),o("ft-icon")(Ve);var qe=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Je=nt.create("--ft-dialog-z-index","NUMBER","2"),Xe=nt.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),Ge=nt.create("--ft-dialog-height","SIZE","unset"),Qe=nt.create("--ft-dialog-width","SIZE","unset"),Ye=nt.create("--ft-dialog-min-width","SIZE","unset"),ti=nt.create("--ft-dialog-padding-top","SIZE","20px"),ei=nt.create("--ft-dialog-padding-side","SIZE","16px"),ii=nt.create("--ft-dialog-padding-buttons","SIZE","20px"),oi=nt.external(st.colorSurface,"Design system"),ni=nt.external(st.colorOnSurfaceMedium,"Design system"),si=nt.external(st.borderRadiusS,"Design system"),ri=nt.external(st.elevation24,"Design system");class ai extends rt{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.heading="",this.icon=""}static get styles(){return c` | ||
.ft-dialog { | ||
@@ -255,3 +255,3 @@ position: fixed; | ||
left: 0; | ||
z-index: ${Ve}; | ||
z-index: ${Je}; | ||
@@ -276,3 +276,3 @@ display: flex; | ||
background-color: ${qe}; | ||
background-color: ${Xe}; | ||
@@ -286,16 +286,16 @@ } | ||
width: ${Xe}; | ||
height: ${Je}; | ||
width: ${Qe}; | ||
height: ${Ge}; | ||
max-width: 95vw; | ||
max-height: 95vh; | ||
min-width: ${Ge}; | ||
min-width: ${Ye}; | ||
padding-top: ${Qe}; | ||
padding-right: ${Ye}; | ||
padding-left: ${Ye}; | ||
padding-top: ${ti}; | ||
padding-right: ${ei}; | ||
padding-left: ${ei}; | ||
background-color: ${ei}; | ||
background-color: ${oi}; | ||
border-radius: ${oi}; | ||
box-shadow: ${ni}; | ||
border-radius: ${si}; | ||
box-shadow: ${ri}; | ||
} | ||
@@ -314,7 +314,7 @@ | ||
color: ${ii}; | ||
color: ${ni}; | ||
} | ||
.ft-dialog-buttons { | ||
padding-top: ${ti}; | ||
padding-top: ${ii}; | ||
} | ||
@@ -353,3 +353,3 @@ | ||
</div> | ||
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}si.elementDefinitions={"ft-typography":ze,"ft-icon":He},Ze([e({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],si.prototype,"opened",void 0),Ze([e({type:Boolean})],si.prototype,"closeOnEsc",void 0),Ze([e({type:Boolean})],si.prototype,"closeOnClickOutside",void 0),Ze([e({type:String})],si.prototype,"heading",void 0),Ze([e({type:String})],si.prototype,"icon",void 0),o("ft-dialog")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),T` | ||
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}ai.elementDefinitions={"ft-typography":Le,"ft-icon":Ve},qe([e({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],ai.prototype,"opened",void 0),qe([e({type:Boolean})],ai.prototype,"closeOnEsc",void 0),qe([e({type:Boolean})],ai.prototype,"closeOnClickOutside",void 0),qe([e({type:String})],ai.prototype,"heading",void 0),qe([e({type:String})],ai.prototype,"icon",void 0),o("ft-dialog")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),T` | ||
${i.map((t=>T` | ||
@@ -359,2 +359,2 @@ <style>${t}</style> | ||
${super.render()} | ||
`}},i.styles=void 0,i.elementDefinitions=o,i}(si))}(); | ||
`}},i.styles=void 0,i.elementDefinitions=o,i}(ai))}(); |
@@ -7,3 +7,3 @@ !function(t,e,i,o,n){ | ||
*/ | ||
var s;const a=globalThis.trustedTypes,r=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,l=`lit$${(Math.random()+"").slice(9)}$`,p="?"+l,h=`<${p}>`,f=document,x=(t="")=>f.createComment(t),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,m=/>/g,u=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,v=/'/g,$=/"/g,b=/^(?:script|style|textarea|title)$/i,w=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),z=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),S=new WeakMap,N=f.createTreeWalker(f,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",a=y;for(let e=0;e<i;e++){const i=t[e];let r,p,f=-1,x=0;for(;x<i.length&&(a.lastIndex=x,p=a.exec(i),null!==p);)x=a.lastIndex,a===y?"!--"===p[1]?a=c:void 0!==p[1]?a=m:void 0!==p[2]?(b.test(p[2])&&(n=RegExp("</"+p[2],"g")),a=u):void 0!==p[3]&&(a=u):a===u?">"===p[0]?(a=null!=n?n:y,f=-1):void 0===p[1]?f=-2:(f=a.lastIndex-p[2].length,r=p[1],a=void 0===p[3]?u:'"'===p[3]?$:v):a===$||a===v?a=u:a===c||a===m?a=y:(a=u,n=void 0);const g=a===u&&t[e+1].startsWith("/>")?" ":"";s+=a===y?i+h:f>=0?(o.push(r),i.slice(0,f)+"$lit$"+i.slice(f)+l+g):i+l+(-2===f?(o.push(void 0),e):g)}const p=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==r?r.createHTML(p):p,o]};class E{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,h=this.parts,[f,g]=j(t,e);if(this.el=E.createElement(f,i),N.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=N.nextNode())&&h.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(l)){const i=g[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(l),e=/([.?@])?(.*)/.exec(i);h.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?C:"?"===e[1]?M:"@"===e[1]?T:_})}else h.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(b.test(o.tagName)){const t=o.textContent.split(l),e=t.length-1;if(e>0){o.textContent=a?a.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),N.nextNode(),h.push({type:2,index:++n});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===p)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(l,t+1));)h.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,e){const i=f.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var n,s,a,r;if(e===z)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=g(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(a=(r=i)._$Cl)&&void 0!==a?a:r._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=I(t,l._$AS(t,e.values),l,o)),e}class O{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:f).importNode(i,!0);N.currentNode=n;let s=N.nextNode(),a=0,r=0,l=o[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new A(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new U(s,this,t)),this.v.push(e),l=o[++r]}a!==(null==l?void 0:l.index)&&(s=N.nextNode(),a++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var n;this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),g(t)?t===k||null==t||""===t?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return d(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==k&&g(this._$AH)?this._$AA.nextSibling.data=t:this.S(f.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=E.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new O(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new E(t)),e}A(t){d(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new A(this.M(x()),this.M(x()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,n){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=k}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=I(this,t,e,0),s=!g(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const o=t;let a,r;for(t=n[0],a=0;a<n.length-1;a++)r=I(this,o[i+a],e,a),r===z&&(r=this._$AH[a]),s||(s=!g(r)||r!==this._$AH[a]),r===k?t=k:t!==k&&(t+=(null!=r?r:"")+n[a+1]),this._$AH[a]=r}s&&!o&&this.k(t)}k(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class C extends _{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===k?void 0:t}}const Z=a?a.emptyScript:"";class M extends _{constructor(){super(...arguments),this.type=4}k(t){t&&t!==k?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class T extends _{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:k)===z)return;const o=this._$AH,n=t===k&&o!==k||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==k&&(o===k||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class U{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}}const W=window.litHtmlPolyfillSupport;null==W||W(E,A),(null!==(s=globalThis.litHtmlVersions)&&void 0!==s?s:globalThis.litHtmlVersions=[]).push("2.1.3"); | ||
var s;const a=globalThis.trustedTypes,r=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,l=`lit$${(Math.random()+"").slice(9)}$`,p="?"+l,h=`<${p}>`,f=document,x=(t="")=>f.createComment(t),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,m=/>/g,u=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,v=/'/g,$=/"/g,b=/^(?:script|style|textarea|title)$/i,w=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),k=new WeakMap,N=f.createTreeWalker(f,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",a=y;for(let e=0;e<i;e++){const i=t[e];let r,p,f=-1,x=0;for(;x<i.length&&(a.lastIndex=x,p=a.exec(i),null!==p);)x=a.lastIndex,a===y?"!--"===p[1]?a=c:void 0!==p[1]?a=m:void 0!==p[2]?(b.test(p[2])&&(n=RegExp("</"+p[2],"g")),a=u):void 0!==p[3]&&(a=u):a===u?">"===p[0]?(a=null!=n?n:y,f=-1):void 0===p[1]?f=-2:(f=a.lastIndex-p[2].length,r=p[1],a=void 0===p[3]?u:'"'===p[3]?$:v):a===$||a===v?a=u:a===c||a===m?a=y:(a=u,n=void 0);const g=a===u&&t[e+1].startsWith("/>")?" ":"";s+=a===y?i+h:f>=0?(o.push(r),i.slice(0,f)+"$lit$"+i.slice(f)+l+g):i+l+(-2===f?(o.push(void 0),e):g)}const p=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==r?r.createHTML(p):p,o]};class E{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,h=this.parts,[f,g]=j(t,e);if(this.el=E.createElement(f,i),N.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=N.nextNode())&&h.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(l)){const i=g[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(l),e=/([.?@])?(.*)/.exec(i);h.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?A:"?"===e[1]?M:"@"===e[1]?T:_})}else h.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(b.test(o.tagName)){const t=o.textContent.split(l),e=t.length-1;if(e>0){o.textContent=a?a.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),N.nextNode(),h.push({type:2,index:++n});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===p)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(l,t+1));)h.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,e){const i=f.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var n,s,a,r;if(e===z)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=g(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(a=(r=i)._$Cl)&&void 0!==a?a:r._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=I(t,l._$AS(t,e.values),l,o)),e}class O{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:f).importNode(i,!0);N.currentNode=n;let s=N.nextNode(),a=0,r=0,l=o[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new C(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new U(s,this,t)),this.v.push(e),l=o[++r]}a!==(null==l?void 0:l.index)&&(s=N.nextNode(),a++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class C{constructor(t,e,i,o){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),g(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return d(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==S&&g(this._$AH)?this._$AA.nextSibling.data=t:this.k(f.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=E.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new O(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=k.get(t.strings);return void 0===e&&k.set(t.strings,e=new E(t)),e}S(t){d(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new C(this.M(x()),this.M(x()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,n){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=I(this,t,e,0),s=!g(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const o=t;let a,r;for(t=n[0],a=0;a<n.length-1;a++)r=I(this,o[i+a],e,a),r===z&&(r=this._$AH[a]),s||(s=!g(r)||r!==this._$AH[a]),r===S?t=S:t!==S&&(t+=(null!=r?r:"")+n[a+1]),this._$AH[a]=r}s&&!o&&this.C(t)}C(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class A extends _{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===S?void 0:t}}const Z=a?a.emptyScript:"";class M extends _{constructor(){super(...arguments),this.type=4}C(t){t&&t!==S?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class T extends _{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:S)===z)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==S&&(o===S||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class U{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}}const W=window.litHtmlPolyfillSupport;null==W||W(E,C),(null!==(s=globalThis.litHtmlVersions)&&void 0!==s?s:globalThis.litHtmlVersions=[]).push("2.2.4"); | ||
/** | ||
@@ -14,105 +14,105 @@ * @license | ||
*/ | ||
const B=t=>({_$litStatic$:t}),K=new Map,R=(t=>(e,...i)=>{var o;const n=i.length;let s,a;const r=[],l=[];let p,h=0,f=!1;for(;h<n;){for(p=e[h];h<n&&void 0!==(a=i[h],s=null===(o=a)||void 0===o?void 0:o._$litStatic$);)p+=s+e[++h],f=!0;l.push(a),r.push(p),h++}if(h===n&&r.push(e[n]),f){const t=r.join("$$lit$$");void 0===(e=K.get(t))&&(r.raw=r,K.set(t,e=r)),i=l}return t(e,...i)})(w);var D,G=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!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"}(D||(D={}));const q=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),H=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:H,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},F=e.FtCssVariable.extend("--ft-typography-title-font-family",q),J=e.FtCssVariable.extend("--ft-typography-title-font-size",L.fontSize,"20px"),P=e.FtCssVariable.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Q=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),V=e.FtCssVariable.extend("--ft-typography-title-line-height",L.lineHeight,"24px"),X=e.FtCssVariable.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),Y=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",q),tt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),et=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),it=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",L.lineHeight,"24px"),nt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),st=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",H),at=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),rt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),lt=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"24px"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),ft=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",H),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),dt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"24px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),mt=e.FtCssVariable.extend("--ft-typography-body1-font-family",H),ut=e.FtCssVariable.extend("--ft-typography-body1-font-size",L.fontSize,"16px"),vt=e.FtCssVariable.extend("--ft-typography-body1-font-weight",L.fontWeight,"normal"),$t=e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",L.letterSpacing,"0.496px"),bt=e.FtCssVariable.extend("--ft-typography-body1-line-height",L.lineHeight,"24px"),wt=e.FtCssVariable.extend("--ft-typography-body1-text-transform",L.textTransform,"inherit"),zt=e.FtCssVariable.extend("--ft-typography-body2-font-family",H),kt=e.FtCssVariable.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),St=e.FtCssVariable.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),Nt=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),jt=e.FtCssVariable.extend("--ft-typography-body2-line-height",L.lineHeight,"20px"),Et=e.FtCssVariable.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),It=e.FtCssVariable.extend("--ft-typography-caption-font-family",H),Ot=e.FtCssVariable.extend("--ft-typography-caption-font-size",L.fontSize,"12px"),At=e.FtCssVariable.extend("--ft-typography-caption-font-weight",L.fontWeight,"normal"),_t=e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",L.letterSpacing,"0.396px"),Ct=e.FtCssVariable.extend("--ft-typography-caption-line-height",L.lineHeight,"16px"),Zt=e.FtCssVariable.extend("--ft-typography-caption-text-transform",L.textTransform,"inherit"),Mt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",H),Tt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),Ut=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),Wt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),Bt=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"16px"),Kt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),Rt=e.FtCssVariable.extend("--ft-typography-overline-font-family",H),Dt=e.FtCssVariable.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Gt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),qt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Ht=e.FtCssVariable.extend("--ft-typography-overline-line-height",L.lineHeight,"16px"),Lt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Ft=e.FtCssVariable.extend("--ft-typography-button-font-family",H),Jt=e.FtCssVariable.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Pt=e.FtCssVariable.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Qt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Vt=e.FtCssVariable.extend("--ft-typography-button-line-height",L.lineHeight,"16px"),Xt=e.FtCssVariable.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Yt=i.css` | ||
const B=Symbol.for(""),K=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===B)return null===(i=t)||void 0===i?void 0:i._$litStatic$},R=t=>({_$litStatic$:t,r:B}),D=new Map,G=(t=>(e,...i)=>{const o=i.length;let n,s;const a=[],r=[];let l,p=0,h=!1;for(;p<o;){for(l=e[p];p<o&&void 0!==(s=i[p],n=K(s));)l+=n+e[++p],h=!0;r.push(s),a.push(l),p++}if(p===o&&a.push(e[o]),h){const t=a.join("$$lit$$");void 0===(e=D.get(t))&&(a.raw=a,D.set(t,e=a)),i=r}return t(e,...i)})(w);var q,H=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!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"}(q||(q={}));const L=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),F=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),J={fontFamily:F,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},P=e.FtCssVariable.extend("--ft-typography-title-font-family",L),Q=e.FtCssVariable.extend("--ft-typography-title-font-size",J.fontSize,"20px"),V=e.FtCssVariable.extend("--ft-typography-title-font-weight",J.fontWeight,"normal"),X=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",J.letterSpacing,"0.15px"),Y=e.FtCssVariable.extend("--ft-typography-title-line-height",J.lineHeight,"24px"),tt=e.FtCssVariable.extend("--ft-typography-title-text-transform",J.textTransform,"inherit"),et=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",L),it=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",J.fontSize,"14px"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",J.fontWeight,"normal"),nt=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",J.letterSpacing,"0.105px"),st=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",J.lineHeight,"24px"),at=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",J.textTransform,"inherit"),rt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",F),lt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",J.fontSize,"16px"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",J.fontWeight,"600"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",J.letterSpacing,"0.144px"),ft=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",J.lineHeight,"24px"),xt=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",J.textTransform,"inherit"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",F),dt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",J.fontSize,"14px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",J.fontWeight,"normal"),ct=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",J.letterSpacing,"0.098px"),mt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",J.lineHeight,"24px"),ut=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",J.textTransform,"inherit"),vt=e.FtCssVariable.extend("--ft-typography-body1-font-family",F),$t=e.FtCssVariable.extend("--ft-typography-body1-font-size",J.fontSize,"16px"),bt=e.FtCssVariable.extend("--ft-typography-body1-font-weight",J.fontWeight,"normal"),wt=e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",J.letterSpacing,"0.496px"),zt=e.FtCssVariable.extend("--ft-typography-body1-line-height",J.lineHeight,"24px"),St=e.FtCssVariable.extend("--ft-typography-body1-text-transform",J.textTransform,"inherit"),kt=e.FtCssVariable.extend("--ft-typography-body2-font-family",F),Nt=e.FtCssVariable.extend("--ft-typography-body2-font-size",J.fontSize,"14px"),jt=e.FtCssVariable.extend("--ft-typography-body2-font-weight",J.fontWeight,"normal"),Et=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",J.letterSpacing,"0.252px"),It=e.FtCssVariable.extend("--ft-typography-body2-line-height",J.lineHeight,"20px"),Ot=e.FtCssVariable.extend("--ft-typography-body2-text-transform",J.textTransform,"inherit"),Ct=e.FtCssVariable.extend("--ft-typography-caption-font-family",F),_t=e.FtCssVariable.extend("--ft-typography-caption-font-size",J.fontSize,"12px"),At=e.FtCssVariable.extend("--ft-typography-caption-font-weight",J.fontWeight,"normal"),Zt=e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",J.letterSpacing,"0.396px"),Mt=e.FtCssVariable.extend("--ft-typography-caption-line-height",J.lineHeight,"16px"),Tt=e.FtCssVariable.extend("--ft-typography-caption-text-transform",J.textTransform,"inherit"),Ut=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",F),Wt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",J.fontSize,"10px"),Bt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",J.fontWeight,"normal"),Kt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",J.letterSpacing,"0.33px"),Rt=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",J.lineHeight,"16px"),Dt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",J.textTransform,"inherit"),Gt=e.FtCssVariable.extend("--ft-typography-overline-font-family",F),qt=e.FtCssVariable.extend("--ft-typography-overline-font-size",J.fontSize,"10px"),Ht=e.FtCssVariable.extend("--ft-typography-overline-font-weight",J.fontWeight,"normal"),Lt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",J.letterSpacing,"1.5px"),Ft=e.FtCssVariable.extend("--ft-typography-overline-line-height",J.lineHeight,"16px"),Jt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",J.textTransform,"uppercase"),Pt=e.FtCssVariable.extend("--ft-typography-button-font-family",F),Qt=e.FtCssVariable.extend("--ft-typography-button-font-size",J.fontSize,"14px"),Vt=e.FtCssVariable.extend("--ft-typography-button-font-weight",J.fontWeight,"600"),Xt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",J.letterSpacing,"1.246px"),Yt=e.FtCssVariable.extend("--ft-typography-button-line-height",J.lineHeight,"16px"),te=e.FtCssVariable.extend("--ft-typography-button-text-transform",J.textTransform,"uppercase"),ee=i.css` | ||
.ft-typography--title { | ||
font-family: ${F}; | ||
font-size: ${J}; | ||
font-weight: ${P}; | ||
letter-spacing: ${Q}; | ||
line-height: ${V}; | ||
text-transform: ${X}; | ||
font-family: ${P}; | ||
font-size: ${Q}; | ||
font-weight: ${V}; | ||
letter-spacing: ${X}; | ||
line-height: ${Y}; | ||
text-transform: ${tt}; | ||
} | ||
`,te=i.css` | ||
`,ie=i.css` | ||
.ft-typography--title-dense { | ||
font-family: ${Y}; | ||
font-size: ${tt}; | ||
font-weight: ${et}; | ||
letter-spacing: ${it}; | ||
line-height: ${ot}; | ||
text-transform: ${nt}; | ||
font-family: ${et}; | ||
font-size: ${it}; | ||
font-weight: ${ot}; | ||
letter-spacing: ${nt}; | ||
line-height: ${st}; | ||
text-transform: ${at}; | ||
} | ||
`,ee=i.css` | ||
`,oe=i.css` | ||
.ft-typography--subtitle1 { | ||
font-family: ${st}; | ||
font-size: ${at}; | ||
font-weight: ${rt}; | ||
letter-spacing: ${lt}; | ||
line-height: ${pt}; | ||
text-transform: ${ht}; | ||
font-family: ${rt}; | ||
font-size: ${lt}; | ||
font-weight: ${pt}; | ||
letter-spacing: ${ht}; | ||
line-height: ${ft}; | ||
text-transform: ${xt}; | ||
} | ||
`,ie=i.css` | ||
`,ne=i.css` | ||
.ft-typography--subtitle2 { | ||
font-family: ${ft}; | ||
font-size: ${xt}; | ||
font-weight: ${gt}; | ||
letter-spacing: ${dt}; | ||
line-height: ${yt}; | ||
text-transform: ${ct}; | ||
font-family: ${gt}; | ||
font-size: ${dt}; | ||
font-weight: ${yt}; | ||
letter-spacing: ${ct}; | ||
line-height: ${mt}; | ||
text-transform: ${ut}; | ||
} | ||
`,oe=i.css` | ||
`,se=i.css` | ||
.ft-typography--body1 { | ||
font-family: ${mt}; | ||
font-size: ${ut}; | ||
font-weight: ${vt}; | ||
letter-spacing: ${$t}; | ||
line-height: ${bt}; | ||
text-transform: ${wt}; | ||
font-family: ${vt}; | ||
font-size: ${$t}; | ||
font-weight: ${bt}; | ||
letter-spacing: ${wt}; | ||
line-height: ${zt}; | ||
text-transform: ${St}; | ||
} | ||
`,ne=i.css` | ||
`,ae=i.css` | ||
.ft-typography--body2 { | ||
font-family: ${zt}; | ||
font-size: ${kt}; | ||
font-weight: ${St}; | ||
letter-spacing: ${Nt}; | ||
line-height: ${jt}; | ||
text-transform: ${Et}; | ||
font-family: ${kt}; | ||
font-size: ${Nt}; | ||
font-weight: ${jt}; | ||
letter-spacing: ${Et}; | ||
line-height: ${It}; | ||
text-transform: ${Ot}; | ||
} | ||
`,se=i.css` | ||
`,re=i.css` | ||
.ft-typography--caption { | ||
font-family: ${It}; | ||
font-size: ${Ot}; | ||
font-family: ${Ct}; | ||
font-size: ${_t}; | ||
font-weight: ${At}; | ||
letter-spacing: ${_t}; | ||
line-height: ${Ct}; | ||
text-transform: ${Zt}; | ||
letter-spacing: ${Zt}; | ||
line-height: ${Mt}; | ||
text-transform: ${Tt}; | ||
} | ||
`,ae=i.css` | ||
`,le=i.css` | ||
.ft-typography--breadcrumb { | ||
font-family: ${Mt}; | ||
font-size: ${Tt}; | ||
font-weight: ${Ut}; | ||
letter-spacing: ${Wt}; | ||
line-height: ${Bt}; | ||
text-transform: ${Kt}; | ||
font-family: ${Ut}; | ||
font-size: ${Wt}; | ||
font-weight: ${Bt}; | ||
letter-spacing: ${Kt}; | ||
line-height: ${Rt}; | ||
text-transform: ${Dt}; | ||
} | ||
`,re=i.css` | ||
`,pe=i.css` | ||
.ft-typography--overline { | ||
font-family: ${Rt}; | ||
font-size: ${Dt}; | ||
font-weight: ${Gt}; | ||
letter-spacing: ${qt}; | ||
line-height: ${Ht}; | ||
text-transform: ${Lt}; | ||
font-family: ${Gt}; | ||
font-size: ${qt}; | ||
font-weight: ${Ht}; | ||
letter-spacing: ${Lt}; | ||
line-height: ${Ft}; | ||
text-transform: ${Jt}; | ||
} | ||
`,le=i.css` | ||
`,he=i.css` | ||
.ft-typography--button { | ||
font-family: ${Ft}; | ||
font-size: ${Jt}; | ||
font-weight: ${Pt}; | ||
letter-spacing: ${Qt}; | ||
line-height: ${Vt}; | ||
text-transform: ${Xt}; | ||
font-family: ${Pt}; | ||
font-size: ${Qt}; | ||
font-weight: ${Vt}; | ||
letter-spacing: ${Xt}; | ||
line-height: ${Yt}; | ||
text-transform: ${te}; | ||
} | ||
`;class pe extends e.FtLitElement{constructor(){super(...arguments),this.variant=D.body1}render(){return this.element?R` | ||
<${B(this.element)} | ||
`;class fe extends e.FtLitElement{constructor(){super(...arguments),this.variant=q.body1}render(){return this.element?G` | ||
<${R(this.element)} | ||
class="ft-typography ft-typography--${this.variant}"> | ||
<slot></slot> | ||
</${B(this.element)}> | ||
`:R` | ||
</${R(this.element)}> | ||
`:G` | ||
<slot class="ft-typography ft-typography--${this.variant}"></slot> | ||
`}}var he,fe;pe.styles=[Yt,te,ee,ie,oe,ne,se,ae,re,le,i.css` | ||
`}}var xe,ge;fe.styles=[ee,ie,oe,ne,se,ae,re,le,pe,he,i.css` | ||
.ft-typography { | ||
vertical-align: inherit; | ||
} | ||
`],G([o.property()],pe.prototype,"element",void 0),G([o.property()],pe.prototype,"variant",void 0),e.customElement("ft-typography")(pe),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(he||(he={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(fe||(fe={})),new Map([...["abw"].map((t=>[t,fe.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,fe.AUDIO])),...["avi"].map((t=>[t,fe.AVI])),...["chm","xhs"].map((t=>[t,fe.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,fe.CODE])),...["csv"].map((t=>[t,fe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fe.DITA])),...["epub"].map((t=>[t,fe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fe.EXCEL])),...["flac"].map((t=>[t,fe.FLAC])),...["gif"].map((t=>[t,fe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fe.GZIP])),...["html","htm","xhtml"].map((t=>[t,fe.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,fe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fe.JPEG])),...["json"].map((t=>[t,fe.JSON])),...["m4a","m4p"].map((t=>[t,fe.M4A])),...["mov","qt"].map((t=>[t,fe.MOV])),...["mp3"].map((t=>[t,fe.MP3])),...["mp4","m4v"].map((t=>[t,fe.MP4])),...["ogg","oga"].map((t=>[t,fe.OGG])),...["pdf","ps"].map((t=>[t,fe.PDF])),...["png"].map((t=>[t,fe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fe.POWERPOINT])),...["rar"].map((t=>[t,fe.RAR])),...["stp"].map((t=>[t,fe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fe.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,fe.VIDEO])),...["wav"].map((t=>[t,fe.WAV])),...["wma"].map((t=>[t,fe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fe.WORD])),...["xml","xsl","rdf"].map((t=>[t,fe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fe.YAML])),...["zip"].map((t=>[t,fe.ZIP]))]);var xe,ge=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xe||(xe={}));const de=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),ye=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ce=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),me=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class ue extends e.FtLitElement{constructor(){super(...arguments),this.variant=xe.fluid_topics}render(){return i.html` | ||
`],H([o.property()],fe.prototype,"element",void 0),H([o.property()],fe.prototype,"variant",void 0),e.customElement("ft-typography")(fe),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(xe||(xe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(ge||(ge={})),new Map([...["abw"].map((t=>[t,ge.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,ge.AUDIO])),...["avi"].map((t=>[t,ge.AVI])),...["chm","xhs"].map((t=>[t,ge.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,ge.CODE])),...["csv"].map((t=>[t,ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ge.DITA])),...["epub"].map((t=>[t,ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ge.EXCEL])),...["flac"].map((t=>[t,ge.FLAC])),...["gif"].map((t=>[t,ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,ge.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,ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ge.JPEG])),...["json"].map((t=>[t,ge.JSON])),...["m4a","m4p"].map((t=>[t,ge.M4A])),...["mov","qt"].map((t=>[t,ge.MOV])),...["mp3"].map((t=>[t,ge.MP3])),...["mp4","m4v"].map((t=>[t,ge.MP4])),...["ogg","oga"].map((t=>[t,ge.OGG])),...["pdf","ps"].map((t=>[t,ge.PDF])),...["png"].map((t=>[t,ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ge.POWERPOINT])),...["rar"].map((t=>[t,ge.RAR])),...["stp"].map((t=>[t,ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ge.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,ge.VIDEO])),...["wav"].map((t=>[t,ge.WAV])),...["wma"].map((t=>[t,ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ge.YAML])),...["zip"].map((t=>[t,ge.ZIP]))]);var de,ye=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(de||(de={}));const ce=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),me=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ue=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),ve=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class $e extends e.FtLitElement{constructor(){super(...arguments),this.variant=de.fluid_topics}render(){return i.html` | ||
<i class="ft-icon ${"ft-icon--"+this.variant}"> | ||
@@ -122,7 +122,7 @@ ${n.unsafeHTML(this.getIcon())} | ||
</i> | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===xe.file_format?null!==(t=fe[o.toUpperCase()])&&void 0!==t?t:o:this.variant===xe.fluid_topics?null!==(e=he[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}ue.elementDefinitions={},ue.styles=i.css` | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===de.file_format?null!==(t=ge[o.toUpperCase()])&&void 0!==t?t:o:this.variant===de.fluid_topics?null!==(e=xe[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}$e.elementDefinitions={},$e.styles=i.css` | ||
:host, i.ft-icon { | ||
display: inline-block; | ||
width: ${de}; | ||
height: ${de}; | ||
width: ${ce}; | ||
height: ${ce}; | ||
text-align: center; | ||
@@ -132,3 +132,3 @@ } | ||
i.ft-icon { | ||
font-size: ${de}; | ||
font-size: ${ce}; | ||
line-height: 1; | ||
@@ -147,13 +147,13 @@ font-weight: normal; | ||
.ft-icon--fluid-topics { | ||
font-family: ${ye}, ft-icons, fticons, sans-serif; | ||
font-family: ${me}, ft-icons, fticons, sans-serif; | ||
} | ||
.ft-icon--file-format { | ||
font-family: ${ce}, ft-mime, sans-serif; | ||
font-family: ${ue}, ft-mime, sans-serif; | ||
} | ||
.ft-icon--material { | ||
font-family: ${me}, "Material Icons", sans-serif; | ||
font-family: ${ve}, "Material Icons", sans-serif; | ||
} | ||
`,ge([o.property()],ue.prototype,"variant",void 0),ge([o.query("slot")],ue.prototype,"slottedContent",void 0),e.customElement("ft-icon")(ue);var ve=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};const $e={zIndex:e.FtCssVariable.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:e.FtCssVariable.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:e.FtCssVariable.create("--ft-dialog-height","SIZE","unset"),width:e.FtCssVariable.create("--ft-dialog-width","SIZE","unset"),minWidth:e.FtCssVariable.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:e.FtCssVariable.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:e.FtCssVariable.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:e.FtCssVariable.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),headingColor:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation24:e.FtCssVariable.external(e.designSystemVariables.elevation24,"Design system")};class be extends e.FtLitElement{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.heading="",this.icon=""}static get styles(){return i.css` | ||
`,ye([o.property()],$e.prototype,"variant",void 0),ye([o.query("slot")],$e.prototype,"slottedContent",void 0),e.customElement("ft-icon")($e);var be=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};const we={zIndex:e.FtCssVariable.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:e.FtCssVariable.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:e.FtCssVariable.create("--ft-dialog-height","SIZE","unset"),width:e.FtCssVariable.create("--ft-dialog-width","SIZE","unset"),minWidth:e.FtCssVariable.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:e.FtCssVariable.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:e.FtCssVariable.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:e.FtCssVariable.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),headingColor:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation24:e.FtCssVariable.external(e.designSystemVariables.elevation24,"Design system")};class ze extends e.FtLitElement{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.heading="",this.icon=""}static get styles(){return i.css` | ||
.ft-dialog { | ||
@@ -165,3 +165,3 @@ position: fixed; | ||
left: 0; | ||
z-index: ${$e.zIndex}; | ||
z-index: ${we.zIndex}; | ||
@@ -186,3 +186,3 @@ display: flex; | ||
background-color: ${$e.overlayBackgroundColor}; | ||
background-color: ${we.overlayBackgroundColor}; | ||
@@ -196,16 +196,16 @@ } | ||
width: ${$e.width}; | ||
height: ${$e.height}; | ||
width: ${we.width}; | ||
height: ${we.height}; | ||
max-width: 95vw; | ||
max-height: 95vh; | ||
min-width: ${$e.minWidth}; | ||
min-width: ${we.minWidth}; | ||
padding-top: ${$e.paddingTop}; | ||
padding-right: ${$e.paddingSide}; | ||
padding-left: ${$e.paddingSide}; | ||
padding-top: ${we.paddingTop}; | ||
padding-right: ${we.paddingSide}; | ||
padding-left: ${we.paddingSide}; | ||
background-color: ${$e.colorSurface}; | ||
background-color: ${we.colorSurface}; | ||
border-radius: ${$e.borderRadiusS}; | ||
box-shadow: ${$e.elevation24}; | ||
border-radius: ${we.borderRadiusS}; | ||
box-shadow: ${we.elevation24}; | ||
} | ||
@@ -224,7 +224,7 @@ | ||
color: ${$e.headingColor}; | ||
color: ${we.headingColor}; | ||
} | ||
.ft-dialog-buttons { | ||
padding-top: ${$e.paddingButtons}; | ||
padding-top: ${we.paddingButtons}; | ||
} | ||
@@ -263,2 +263,2 @@ | ||
</div> | ||
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}be.elementDefinitions={"ft-typography":pe,"ft-icon":ue},ve([o.property({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],be.prototype,"opened",void 0),ve([o.property({type:Boolean})],be.prototype,"closeOnEsc",void 0),ve([o.property({type:Boolean})],be.prototype,"closeOnClickOutside",void 0),ve([o.property({type:String})],be.prototype,"heading",void 0),ve([o.property({type:String})],be.prototype,"icon",void 0),e.customElement("ft-dialog")(be),t.FtDialog=be,t.FtDialogCssVariables=$e,t.default=be,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML); | ||
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}ze.elementDefinitions={"ft-typography":fe,"ft-icon":$e},be([o.property({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],ze.prototype,"opened",void 0),be([o.property({type:Boolean})],ze.prototype,"closeOnEsc",void 0),be([o.property({type:Boolean})],ze.prototype,"closeOnClickOutside",void 0),be([o.property({type:String})],ze.prototype,"heading",void 0),be([o.property({type:String})],ze.prototype,"icon",void 0),e.customElement("ft-dialog")(ze),t.FtDialog=ze,t.FtDialogCssVariables=we,t.default=ze,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML); |
@@ -17,3 +17,3 @@ !function(t){ | ||
*/ | ||
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const c={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let h=i.call(o,t);h||(h=p(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.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,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ae){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}} | ||
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const c={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let h=i.call(o,t);h||(h=p(t),e.call(o,t,h)),this===window.customElements&&(r.set(n,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=h(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),x.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.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,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(_e){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}} | ||
/** | ||
@@ -44,3 +44,3 @@ * @license | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/;var d;const u=window.trustedTypes,y=u?u.emptyScript:"",x=window.reactiveElementPolyfillSupport,g={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>e!==t&&(e==e||t==t),v={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:m};class b extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return p(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=v){var o,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:g.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:g.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}} | ||
*/;var d;const u=window.trustedTypes,y=u?u.emptyScript:"",x=window.reactiveElementPolyfillSupport,g={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>e!==t&&(e==e||t==t),v={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:m};class b extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return p(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=v){var o,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const r=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:g.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(s):this.setAttribute(s,r),this._$Ei=null}}_$AK(t,e){var i,o,n;const s=this.constructor,r=s._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=s.getPropertyOptions(r),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:g.fromAttribute;this._$Ei=r,this[r]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}} | ||
/** | ||
@@ -51,3 +51,3 @@ * @license | ||
*/ | ||
var w;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:b}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.2.2");const $=globalThis.trustedTypes,O=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,E=`<${N}>`,C=document,R=(t="")=>C.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,z=/>/g,j=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,L=/'/g,A=/"/g,T=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),B=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),D=new WeakMap,W=C.createTreeWalker(C,129,null,!1),I=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=U;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===U?"!--"===l[1]?r=F:void 0!==l[1]?r=z:void 0!==l[2]?(T.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=j):void 0!==l[3]&&(r=j):r===j?">"===l[0]?(r=null!=n?n:U,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?j:'"'===l[3]?A:L):r===A||r===L?r=j:r===F||r===z?r=U:(r=j,n=void 0);const p=r===j&&t[e+1].startsWith("/>")?" ":"";s+=r===U?i+E:c>=0?(o.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+S+p):i+S+(-2===c?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(a):a,o]};class K{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,c]=I(t,e);if(this.el=K.createElement(l,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=W.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const i=c[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?J:"?"===e[1]?G:"@"===e[1]?Q:q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(T.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=$?$.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],R()),W.nextNode(),a.push({type:2,index:++n});o.append(t[e],R())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)a.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,e){const i=C.createElement("template");return i.innerHTML=t,i}}function H(t,e,i=t,o){var n,s,r,a;if(e===B)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const c=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=H(t,l._$AS(t,e.values),l,o)),e}class Z{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:C).importNode(i,!0);W.currentNode=n;let s=W.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new V(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new Y(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=W.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class V{constructor(t,e,i,o){var n;this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),M(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==B&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return k(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==P&&M(this._$AH)?this._$AA.nextSibling.data=t:this.S(C.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Z(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new K(t)),e}A(t){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new V(this.M(R()),this.M(R()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class q{constructor(t,e,i,o,n){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=P}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=H(this,t,e,0),s=!M(t)||t!==this._$AH&&t!==B,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=H(this,o[i+r],e,r),a===B&&(a=this._$AH[r]),s||(s=!M(a)||a!==this._$AH[r]),a===P?t=P:t!==P&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.k(t)}k(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class J extends q{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===P?void 0:t}}const X=$?$.emptyScript:"";class G extends q{constructor(){super(...arguments),this.type=4}k(t){t&&t!==P?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class Q extends q{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=H(this,t,e,0))&&void 0!==i?i:P)===B)return;const o=this._$AH,n=t===P&&o!==P||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==P&&(o===P||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Y{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const tt=window.litHtmlPolyfillSupport; | ||
var w;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:b}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.3.2");const $=globalThis.trustedTypes,O=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,N="?"+S,C=`<${N}>`,E=document,R=(t="")=>E.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,z=/>/g,j=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,L=/'/g,T=/"/g,A=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),B=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),D=new WeakMap,W=E.createTreeWalker(E,129,null,!1),I=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=k;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===k?"!--"===l[1]?r=F:void 0!==l[1]?r=z:void 0!==l[2]?(A.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=j):void 0!==l[3]&&(r=j):r===j?">"===l[0]?(r=null!=n?n:k,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?j:'"'===l[3]?T:L):r===T||r===L?r=j:r===F||r===z?r=k:(r=j,n=void 0);const p=r===j&&t[e+1].startsWith("/>")?" ":"";s+=r===k?i+C:c>=0?(o.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+S+p):i+S+(-2===c?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==O?O.createHTML(a):a,o]};class K{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,c]=I(t,e);if(this.el=K.createElement(l,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=W.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const i=c[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?J:"?"===e[1]?G:"@"===e[1]?Q:q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(A.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=$?$.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],R()),W.nextNode(),a.push({type:2,index:++n});o.append(t[e],R())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)a.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function H(t,e,i=t,o){var n,s,r,a;if(e===B)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const c=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=H(t,l._$AS(t,e.values),l,o)),e}class Z{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);W.currentNode=n;let s=W.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new V(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new Y(s,this,t)),this.v.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=W.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class V{constructor(t,e,i,o){var n;this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),M(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==B&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return U(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==P&&M(this._$AH)?this._$AA.nextSibling.data=t:this.k(E.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new Z(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new K(t)),e}S(t){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new V(this.M(R()),this.M(R()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class q{constructor(t,e,i,o,n){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=P}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=H(this,t,e,0),s=!M(t)||t!==this._$AH&&t!==B,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=H(this,o[i+r],e,r),a===B&&(a=this._$AH[r]),s||(s=!M(a)||a!==this._$AH[r]),a===P?t=P:t!==P&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.C(t)}C(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class J extends q{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===P?void 0:t}}const X=$?$.emptyScript:"";class G extends q{constructor(){super(...arguments),this.type=4}C(t){t&&t!==P?this.element.setAttribute(this.name,X):this.element.removeAttribute(this.name)}}class Q extends q{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=H(this,t,e,0))&&void 0!==i?i:P)===B)return;const o=this._$AH,n=t===P&&o!==P||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==P&&(o===P||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class Y{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const tt=window.litHtmlPolyfillSupport; | ||
/** | ||
@@ -58,3 +58,3 @@ * @license | ||
*/ | ||
var et,it;null==tt||tt(K,V),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.1.3");class ot extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new V(e.insertBefore(R(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return B}}ot.finalized=!0,ot._$litElement$=!0,null===(et=globalThis.litElementHydrateSupport)||void 0===et||et.call(globalThis,{LitElement:ot});const nt=globalThis.litElementPolyfillSupport;null==nt||nt({LitElement:ot}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.1.2");class st{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new st(t,e,void 0,i)}static extend(t,e,i){return new st(t,e.category,e,i)}static external(t,e){return new st(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return h`var(${c(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):c(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const rt={colorPrimary:st.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:st.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:st.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:st.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:st.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:st.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:st.create("--ft-color-error","COLOR","#B00020"),colorOutline:st.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:st.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:st.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:st.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:st.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:st.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:st.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:st.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:st.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:st.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:st.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:st.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:st.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:st.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:st.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:st.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:st.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:st.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:st.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:st.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:st.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:st.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:st.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:st.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:st.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:st.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:st.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:st.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:st.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:st.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:st.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:st.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:st.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:st.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:st.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:st.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:st.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:st.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:st.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:st.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:st.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:st.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:st.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:st.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:st.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:st.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:st.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:st.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:st.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:st.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:st.create("--ft-border-radius-XL","SIZE","16px"),titleFont:st.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:st.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:st.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:st.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")}; | ||
var et,it;null==tt||tt(K,V),(null!==(w=globalThis.litHtmlVersions)&&void 0!==w?w:globalThis.litHtmlVersions=[]).push("2.2.4");class ot extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new V(e.insertBefore(R(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return B}}ot.finalized=!0,ot._$litElement$=!0,null===(et=globalThis.litElementHydrateSupport)||void 0===et||et.call(globalThis,{LitElement:ot});const nt=globalThis.litElementPolyfillSupport;null==nt||nt({LitElement:ot}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.2.0");class st{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new st(t,e,void 0,i)}static extend(t,e,i){return new st(t,e.category,e,i)}static external(t,e){return new st(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return h`var(${c(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):c(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const rt={colorPrimary:st.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:st.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:st.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:st.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:st.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:st.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:st.create("--ft-color-error","COLOR","#B00020"),colorOutline:st.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:st.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:st.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:st.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:st.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:st.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:st.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:st.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:st.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:st.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:st.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:st.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:st.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:st.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:st.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:st.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:st.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:st.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:st.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:st.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:st.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:st.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:st.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:st.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:st.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:st.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:st.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:st.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:st.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:st.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:st.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:st.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:st.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:st.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:st.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:st.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:st.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:st.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:st.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:st.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:st.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:st.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:st.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:st.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:st.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:st.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:st.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:st.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:st.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:st.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:st.create("--ft-border-radius-XL","SIZE","16px"),titleFont:st.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:st.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:st.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:st.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")}; | ||
/** | ||
@@ -84,105 +84,105 @@ * @license | ||
*/ | ||
const ht=t=>({_$litStatic$:t}),pt=new Map,ft=(t=>(e,...i)=>{var o;const n=i.length;let s,r;const a=[],l=[];let c,h=0,p=!1;for(;h<n;){for(c=e[h];h<n&&void 0!==(r=i[h],s=null===(o=r)||void 0===o?void 0:o._$litStatic$);)c+=s+e[++h],p=!0;l.push(r),a.push(c),h++}if(h===n&&a.push(e[n]),p){const t=a.join("$$lit$$");void 0===(e=pt.get(t))&&(a.raw=a,pt.set(t,e=a)),i=l}return t(e,...i)})(_);var dt,ut=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(dt||(dt={}));const yt=st.extend("--ft-typography-font-family",rt.titleFont),xt=st.extend("--ft-typography-font-family",rt.contentFont),gt={fontFamily:xt,fontSize:st.create("--ft-typography-font-size","SIZE","16px"),fontWeight:st.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:st.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:st.create("--ft-typography-line-height","SIZE","24px"),textTransform:st.create("--ft-typography-text-transform","UNKNOWN","inherit")},mt=st.extend("--ft-typography-title-font-family",yt),vt=st.extend("--ft-typography-title-font-size",gt.fontSize,"20px"),bt=st.extend("--ft-typography-title-font-weight",gt.fontWeight,"normal"),wt=st.extend("--ft-typography-title-letter-spacing",gt.letterSpacing,"0.15px"),$t=st.extend("--ft-typography-title-line-height",gt.lineHeight,"24px"),Ot=st.extend("--ft-typography-title-text-transform",gt.textTransform,"inherit"),St=st.extend("--ft-typography-title-dense-font-family",yt),Nt=st.extend("--ft-typography-title-dense-font-size",gt.fontSize,"14px"),Et=st.extend("--ft-typography-title-dense-font-weight",gt.fontWeight,"normal"),Ct=st.extend("--ft-typography-title-dense-letter-spacing",gt.letterSpacing,"0.105px"),Rt=st.extend("--ft-typography-title-dense-line-height",gt.lineHeight,"24px"),Mt=st.extend("--ft-typography-title-dense-text-transform",gt.textTransform,"inherit"),kt=st.extend("--ft-typography-subtitle1-font-family",xt),Ut=st.extend("--ft-typography-subtitle1-font-size",gt.fontSize,"16px"),Ft=st.extend("--ft-typography-subtitle1-font-weight",gt.fontWeight,"600"),zt=st.extend("--ft-typography-subtitle1-letter-spacing",gt.letterSpacing,"0.144px"),jt=st.extend("--ft-typography-subtitle1-line-height",gt.lineHeight,"24px"),Lt=st.extend("--ft-typography-subtitle1-text-transform",gt.textTransform,"inherit"),At=st.extend("--ft-typography-subtitle2-font-family",xt),Tt=st.extend("--ft-typography-subtitle2-font-size",gt.fontSize,"14px"),_t=st.extend("--ft-typography-subtitle2-font-weight",gt.fontWeight,"normal"),Bt=st.extend("--ft-typography-subtitle2-letter-spacing",gt.letterSpacing,"0.098px"),Pt=st.extend("--ft-typography-subtitle2-line-height",gt.lineHeight,"24px"),Dt=st.extend("--ft-typography-subtitle2-text-transform",gt.textTransform,"inherit"),Wt=st.extend("--ft-typography-body1-font-family",xt),It=st.extend("--ft-typography-body1-font-size",gt.fontSize,"16px"),Kt=st.extend("--ft-typography-body1-font-weight",gt.fontWeight,"normal"),Ht=st.extend("--ft-typography-body1-letter-spacing",gt.letterSpacing,"0.496px"),Zt=st.extend("--ft-typography-body1-line-height",gt.lineHeight,"24px"),Vt=st.extend("--ft-typography-body1-text-transform",gt.textTransform,"inherit"),qt=st.extend("--ft-typography-body2-font-family",xt),Jt=st.extend("--ft-typography-body2-font-size",gt.fontSize,"14px"),Xt=st.extend("--ft-typography-body2-font-weight",gt.fontWeight,"normal"),Gt=st.extend("--ft-typography-body2-letter-spacing",gt.letterSpacing,"0.252px"),Qt=st.extend("--ft-typography-body2-line-height",gt.lineHeight,"20px"),Yt=st.extend("--ft-typography-body2-text-transform",gt.textTransform,"inherit"),te=st.extend("--ft-typography-caption-font-family",xt),ee=st.extend("--ft-typography-caption-font-size",gt.fontSize,"12px"),ie=st.extend("--ft-typography-caption-font-weight",gt.fontWeight,"normal"),oe=st.extend("--ft-typography-caption-letter-spacing",gt.letterSpacing,"0.396px"),ne=st.extend("--ft-typography-caption-line-height",gt.lineHeight,"16px"),se=st.extend("--ft-typography-caption-text-transform",gt.textTransform,"inherit"),re=st.extend("--ft-typography-breadcrumb-font-family",xt),ae=st.extend("--ft-typography-breadcrumb-font-size",gt.fontSize,"10px"),le=st.extend("--ft-typography-breadcrumb-font-weight",gt.fontWeight,"normal"),ce=st.extend("--ft-typography-breadcrumb-letter-spacing",gt.letterSpacing,"0.33px"),he=st.extend("--ft-typography-breadcrumb-line-height",gt.lineHeight,"16px"),pe=st.extend("--ft-typography-breadcrumb-text-transform",gt.textTransform,"inherit"),fe=st.extend("--ft-typography-overline-font-family",xt),de=st.extend("--ft-typography-overline-font-size",gt.fontSize,"10px"),ue=st.extend("--ft-typography-overline-font-weight",gt.fontWeight,"normal"),ye=st.extend("--ft-typography-overline-letter-spacing",gt.letterSpacing,"1.5px"),xe=st.extend("--ft-typography-overline-line-height",gt.lineHeight,"16px"),ge=st.extend("--ft-typography-overline-text-transform",gt.textTransform,"uppercase"),me=st.extend("--ft-typography-button-font-family",xt),ve=st.extend("--ft-typography-button-font-size",gt.fontSize,"14px"),be=st.extend("--ft-typography-button-font-weight",gt.fontWeight,"600"),we=st.extend("--ft-typography-button-letter-spacing",gt.letterSpacing,"1.246px"),$e=st.extend("--ft-typography-button-line-height",gt.lineHeight,"16px"),Oe=st.extend("--ft-typography-button-text-transform",gt.textTransform,"uppercase"),Se=h` | ||
const ht=Symbol.for(""),pt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===ht)return null===(i=t)||void 0===i?void 0:i._$litStatic$},ft=t=>({_$litStatic$:t,r:ht}),dt=new Map,ut=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,c=0,h=!1;for(;c<o;){for(l=e[c];c<o&&void 0!==(s=i[c],n=pt(s));)l+=n+e[++c],h=!0;a.push(s),r.push(l),c++}if(c===o&&r.push(e[o]),h){const t=r.join("$$lit$$");void 0===(e=dt.get(t))&&(r.raw=r,dt.set(t,e=r)),i=a}return t(e,...i)})(_);var yt,xt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(yt||(yt={}));const gt=st.extend("--ft-typography-font-family",rt.titleFont),mt=st.extend("--ft-typography-font-family",rt.contentFont),vt={fontFamily:mt,fontSize:st.create("--ft-typography-font-size","SIZE","16px"),fontWeight:st.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:st.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:st.create("--ft-typography-line-height","SIZE","24px"),textTransform:st.create("--ft-typography-text-transform","UNKNOWN","inherit")},bt=st.extend("--ft-typography-title-font-family",gt),wt=st.extend("--ft-typography-title-font-size",vt.fontSize,"20px"),$t=st.extend("--ft-typography-title-font-weight",vt.fontWeight,"normal"),Ot=st.extend("--ft-typography-title-letter-spacing",vt.letterSpacing,"0.15px"),St=st.extend("--ft-typography-title-line-height",vt.lineHeight,"24px"),Nt=st.extend("--ft-typography-title-text-transform",vt.textTransform,"inherit"),Ct=st.extend("--ft-typography-title-dense-font-family",gt),Et=st.extend("--ft-typography-title-dense-font-size",vt.fontSize,"14px"),Rt=st.extend("--ft-typography-title-dense-font-weight",vt.fontWeight,"normal"),Mt=st.extend("--ft-typography-title-dense-letter-spacing",vt.letterSpacing,"0.105px"),Ut=st.extend("--ft-typography-title-dense-line-height",vt.lineHeight,"24px"),kt=st.extend("--ft-typography-title-dense-text-transform",vt.textTransform,"inherit"),Ft=st.extend("--ft-typography-subtitle1-font-family",mt),zt=st.extend("--ft-typography-subtitle1-font-size",vt.fontSize,"16px"),jt=st.extend("--ft-typography-subtitle1-font-weight",vt.fontWeight,"600"),Lt=st.extend("--ft-typography-subtitle1-letter-spacing",vt.letterSpacing,"0.144px"),Tt=st.extend("--ft-typography-subtitle1-line-height",vt.lineHeight,"24px"),At=st.extend("--ft-typography-subtitle1-text-transform",vt.textTransform,"inherit"),_t=st.extend("--ft-typography-subtitle2-font-family",mt),Bt=st.extend("--ft-typography-subtitle2-font-size",vt.fontSize,"14px"),Pt=st.extend("--ft-typography-subtitle2-font-weight",vt.fontWeight,"normal"),Dt=st.extend("--ft-typography-subtitle2-letter-spacing",vt.letterSpacing,"0.098px"),Wt=st.extend("--ft-typography-subtitle2-line-height",vt.lineHeight,"24px"),It=st.extend("--ft-typography-subtitle2-text-transform",vt.textTransform,"inherit"),Kt=st.extend("--ft-typography-body1-font-family",mt),Ht=st.extend("--ft-typography-body1-font-size",vt.fontSize,"16px"),Zt=st.extend("--ft-typography-body1-font-weight",vt.fontWeight,"normal"),Vt=st.extend("--ft-typography-body1-letter-spacing",vt.letterSpacing,"0.496px"),qt=st.extend("--ft-typography-body1-line-height",vt.lineHeight,"24px"),Jt=st.extend("--ft-typography-body1-text-transform",vt.textTransform,"inherit"),Xt=st.extend("--ft-typography-body2-font-family",mt),Gt=st.extend("--ft-typography-body2-font-size",vt.fontSize,"14px"),Qt=st.extend("--ft-typography-body2-font-weight",vt.fontWeight,"normal"),Yt=st.extend("--ft-typography-body2-letter-spacing",vt.letterSpacing,"0.252px"),te=st.extend("--ft-typography-body2-line-height",vt.lineHeight,"20px"),ee=st.extend("--ft-typography-body2-text-transform",vt.textTransform,"inherit"),ie=st.extend("--ft-typography-caption-font-family",mt),oe=st.extend("--ft-typography-caption-font-size",vt.fontSize,"12px"),ne=st.extend("--ft-typography-caption-font-weight",vt.fontWeight,"normal"),se=st.extend("--ft-typography-caption-letter-spacing",vt.letterSpacing,"0.396px"),re=st.extend("--ft-typography-caption-line-height",vt.lineHeight,"16px"),ae=st.extend("--ft-typography-caption-text-transform",vt.textTransform,"inherit"),le=st.extend("--ft-typography-breadcrumb-font-family",mt),ce=st.extend("--ft-typography-breadcrumb-font-size",vt.fontSize,"10px"),he=st.extend("--ft-typography-breadcrumb-font-weight",vt.fontWeight,"normal"),pe=st.extend("--ft-typography-breadcrumb-letter-spacing",vt.letterSpacing,"0.33px"),fe=st.extend("--ft-typography-breadcrumb-line-height",vt.lineHeight,"16px"),de=st.extend("--ft-typography-breadcrumb-text-transform",vt.textTransform,"inherit"),ue=st.extend("--ft-typography-overline-font-family",mt),ye=st.extend("--ft-typography-overline-font-size",vt.fontSize,"10px"),xe=st.extend("--ft-typography-overline-font-weight",vt.fontWeight,"normal"),ge=st.extend("--ft-typography-overline-letter-spacing",vt.letterSpacing,"1.5px"),me=st.extend("--ft-typography-overline-line-height",vt.lineHeight,"16px"),ve=st.extend("--ft-typography-overline-text-transform",vt.textTransform,"uppercase"),be=st.extend("--ft-typography-button-font-family",mt),we=st.extend("--ft-typography-button-font-size",vt.fontSize,"14px"),$e=st.extend("--ft-typography-button-font-weight",vt.fontWeight,"600"),Oe=st.extend("--ft-typography-button-letter-spacing",vt.letterSpacing,"1.246px"),Se=st.extend("--ft-typography-button-line-height",vt.lineHeight,"16px"),Ne=st.extend("--ft-typography-button-text-transform",vt.textTransform,"uppercase"),Ce=h` | ||
.ft-typography--title { | ||
font-family: ${mt}; | ||
font-size: ${vt}; | ||
font-weight: ${bt}; | ||
letter-spacing: ${wt}; | ||
line-height: ${$t}; | ||
text-transform: ${Ot}; | ||
font-family: ${bt}; | ||
font-size: ${wt}; | ||
font-weight: ${$t}; | ||
letter-spacing: ${Ot}; | ||
line-height: ${St}; | ||
text-transform: ${Nt}; | ||
} | ||
`,Ne=h` | ||
`,Ee=h` | ||
.ft-typography--title-dense { | ||
font-family: ${St}; | ||
font-size: ${Nt}; | ||
font-weight: ${Et}; | ||
letter-spacing: ${Ct}; | ||
line-height: ${Rt}; | ||
text-transform: ${Mt}; | ||
font-family: ${Ct}; | ||
font-size: ${Et}; | ||
font-weight: ${Rt}; | ||
letter-spacing: ${Mt}; | ||
line-height: ${Ut}; | ||
text-transform: ${kt}; | ||
} | ||
`,Ee=h` | ||
`,Re=h` | ||
.ft-typography--subtitle1 { | ||
font-family: ${kt}; | ||
font-size: ${Ut}; | ||
font-weight: ${Ft}; | ||
letter-spacing: ${zt}; | ||
line-height: ${jt}; | ||
text-transform: ${Lt}; | ||
font-family: ${Ft}; | ||
font-size: ${zt}; | ||
font-weight: ${jt}; | ||
letter-spacing: ${Lt}; | ||
line-height: ${Tt}; | ||
text-transform: ${At}; | ||
} | ||
`,Ce=h` | ||
`,Me=h` | ||
.ft-typography--subtitle2 { | ||
font-family: ${At}; | ||
font-size: ${Tt}; | ||
font-weight: ${_t}; | ||
letter-spacing: ${Bt}; | ||
line-height: ${Pt}; | ||
text-transform: ${Dt}; | ||
font-family: ${_t}; | ||
font-size: ${Bt}; | ||
font-weight: ${Pt}; | ||
letter-spacing: ${Dt}; | ||
line-height: ${Wt}; | ||
text-transform: ${It}; | ||
} | ||
`,Re=h` | ||
`,Ue=h` | ||
.ft-typography--body1 { | ||
font-family: ${Wt}; | ||
font-size: ${It}; | ||
font-weight: ${Kt}; | ||
letter-spacing: ${Ht}; | ||
line-height: ${Zt}; | ||
text-transform: ${Vt}; | ||
font-family: ${Kt}; | ||
font-size: ${Ht}; | ||
font-weight: ${Zt}; | ||
letter-spacing: ${Vt}; | ||
line-height: ${qt}; | ||
text-transform: ${Jt}; | ||
} | ||
`,Me=h` | ||
`,ke=h` | ||
.ft-typography--body2 { | ||
font-family: ${qt}; | ||
font-size: ${Jt}; | ||
font-weight: ${Xt}; | ||
letter-spacing: ${Gt}; | ||
line-height: ${Qt}; | ||
text-transform: ${Yt}; | ||
font-family: ${Xt}; | ||
font-size: ${Gt}; | ||
font-weight: ${Qt}; | ||
letter-spacing: ${Yt}; | ||
line-height: ${te}; | ||
text-transform: ${ee}; | ||
} | ||
`,ke=h` | ||
`,Fe=h` | ||
.ft-typography--caption { | ||
font-family: ${te}; | ||
font-size: ${ee}; | ||
font-weight: ${ie}; | ||
letter-spacing: ${oe}; | ||
line-height: ${ne}; | ||
text-transform: ${se}; | ||
font-family: ${ie}; | ||
font-size: ${oe}; | ||
font-weight: ${ne}; | ||
letter-spacing: ${se}; | ||
line-height: ${re}; | ||
text-transform: ${ae}; | ||
} | ||
`,Ue=h` | ||
`,ze=h` | ||
.ft-typography--breadcrumb { | ||
font-family: ${re}; | ||
font-size: ${ae}; | ||
font-weight: ${le}; | ||
letter-spacing: ${ce}; | ||
line-height: ${he}; | ||
text-transform: ${pe}; | ||
font-family: ${le}; | ||
font-size: ${ce}; | ||
font-weight: ${he}; | ||
letter-spacing: ${pe}; | ||
line-height: ${fe}; | ||
text-transform: ${de}; | ||
} | ||
`,Fe=h` | ||
`,je=h` | ||
.ft-typography--overline { | ||
font-family: ${fe}; | ||
font-size: ${de}; | ||
font-weight: ${ue}; | ||
letter-spacing: ${ye}; | ||
line-height: ${xe}; | ||
text-transform: ${ge}; | ||
font-family: ${ue}; | ||
font-size: ${ye}; | ||
font-weight: ${xe}; | ||
letter-spacing: ${ge}; | ||
line-height: ${me}; | ||
text-transform: ${ve}; | ||
} | ||
`,ze=h` | ||
`,Le=h` | ||
.ft-typography--button { | ||
font-family: ${me}; | ||
font-size: ${ve}; | ||
font-weight: ${be}; | ||
letter-spacing: ${we}; | ||
line-height: ${$e}; | ||
text-transform: ${Oe}; | ||
font-family: ${be}; | ||
font-size: ${we}; | ||
font-weight: ${$e}; | ||
letter-spacing: ${Oe}; | ||
line-height: ${Se}; | ||
text-transform: ${Ne}; | ||
} | ||
`;class je extends at{constructor(){super(...arguments),this.variant=dt.body1}render(){return this.element?ft` | ||
<${ht(this.element)} | ||
`;class Te extends at{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?ut` | ||
<${ft(this.element)} | ||
class="ft-typography ft-typography--${this.variant}"> | ||
<slot></slot> | ||
</${ht(this.element)}> | ||
`:ft` | ||
</${ft(this.element)}> | ||
`:ut` | ||
<slot class="ft-typography ft-typography--${this.variant}"></slot> | ||
`}}je.styles=[Se,Ne,Ee,Ce,Re,Me,ke,Ue,Fe,ze,h` | ||
`}}Te.styles=[Ce,Ee,Re,Me,Ue,ke,Fe,ze,je,Le,h` | ||
.ft-typography { | ||
vertical-align: inherit; | ||
} | ||
`],ut([i()],je.prototype,"element",void 0),ut([i()],je.prototype,"variant",void 0),n("ft-typography")(je); | ||
`],xt([i()],Te.prototype,"element",void 0),xt([i()],Te.prototype,"variant",void 0),n("ft-typography")(Te); | ||
/** | ||
@@ -193,3 +193,3 @@ * @license | ||
*/ | ||
const Le=2; | ||
const Ae=2; | ||
/** | ||
@@ -200,12 +200,12 @@ * @license | ||
*/ | ||
class Ae extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=P,t.type!==Le)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===P||null==t)return this.vt=void 0,this.it=t;if(t===B)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ae.directiveName="unsafeHTML",Ae.resultType=1;const Te=(t=>(...e)=>({_$litDirective$:t,values:e}))(Ae);var _e,Be;!function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(_e||(_e={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Be||(Be={})),new Map([...["abw"].map((t=>[t,Be.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,Be.AUDIO])),...["avi"].map((t=>[t,Be.AVI])),...["chm","xhs"].map((t=>[t,Be.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,Be.CODE])),...["csv"].map((t=>[t,Be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Be.DITA])),...["epub"].map((t=>[t,Be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Be.EXCEL])),...["flac"].map((t=>[t,Be.FLAC])),...["gif"].map((t=>[t,Be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Be.GZIP])),...["html","htm","xhtml"].map((t=>[t,Be.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,Be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Be.JPEG])),...["json"].map((t=>[t,Be.JSON])),...["m4a","m4p"].map((t=>[t,Be.M4A])),...["mov","qt"].map((t=>[t,Be.MOV])),...["mp3"].map((t=>[t,Be.MP3])),...["mp4","m4v"].map((t=>[t,Be.MP4])),...["ogg","oga"].map((t=>[t,Be.OGG])),...["pdf","ps"].map((t=>[t,Be.PDF])),...["png"].map((t=>[t,Be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Be.POWERPOINT])),...["rar"].map((t=>[t,Be.RAR])),...["stp"].map((t=>[t,Be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Be.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,Be.VIDEO])),...["wav"].map((t=>[t,Be.WAV])),...["wma"].map((t=>[t,Be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Be.WORD])),...["xml","xsl","rdf"].map((t=>[t,Be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Be.YAML])),...["zip"].map((t=>[t,Be.ZIP]))]);var Pe,De=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Pe||(Pe={}));const We=st.create("--ft-icon-font-size","SIZE","24px"),Ie=st.extend("--ft-icon-fluid-topics-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ke=st.extend("--ft-icon-file-format-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-mime")),He=st.extend("--ft-icon-material-font-family",st.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class Ze extends at{constructor(){super(...arguments),this.variant=Pe.fluid_topics}render(){return _` | ||
class _e extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=P,t.type!==Ae)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===P||null==t)return this.ft=void 0,this.it=t;if(t===B)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}_e.directiveName="unsafeHTML",_e.resultType=1;const Be=(t=>(...e)=>({_$litDirective$:t,values:e}))(_e);var Pe,De;!function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(Pe||(Pe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(De||(De={})),new Map([...["abw"].map((t=>[t,De.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,De.AUDIO])),...["avi"].map((t=>[t,De.AVI])),...["chm","xhs"].map((t=>[t,De.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,De.CODE])),...["csv"].map((t=>[t,De.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,De.DITA])),...["epub"].map((t=>[t,De.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,De.EXCEL])),...["flac"].map((t=>[t,De.FLAC])),...["gif"].map((t=>[t,De.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,De.GZIP])),...["html","htm","xhtml"].map((t=>[t,De.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,De.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,De.JPEG])),...["json"].map((t=>[t,De.JSON])),...["m4a","m4p"].map((t=>[t,De.M4A])),...["mov","qt"].map((t=>[t,De.MOV])),...["mp3"].map((t=>[t,De.MP3])),...["mp4","m4v"].map((t=>[t,De.MP4])),...["ogg","oga"].map((t=>[t,De.OGG])),...["pdf","ps"].map((t=>[t,De.PDF])),...["png"].map((t=>[t,De.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,De.POWERPOINT])),...["rar"].map((t=>[t,De.RAR])),...["stp"].map((t=>[t,De.STP])),...["txt","rtf","md","mdown"].map((t=>[t,De.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,De.VIDEO])),...["wav"].map((t=>[t,De.WAV])),...["wma"].map((t=>[t,De.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,De.WORD])),...["xml","xsl","rdf"].map((t=>[t,De.XML])),...["yaml","yml","x-yaml"].map((t=>[t,De.YAML])),...["zip"].map((t=>[t,De.ZIP]))]);var We,Ie=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(We||(We={}));const Ke=st.create("--ft-icon-font-size","SIZE","24px"),He=st.extend("--ft-icon-fluid-topics-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ze=st.extend("--ft-icon-file-format-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ve=st.extend("--ft-icon-material-font-family",st.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class qe extends at{constructor(){super(...arguments),this.variant=We.fluid_topics}render(){return _` | ||
<i class="ft-icon ${"ft-icon--"+this.variant}"> | ||
${Te(this.getIcon())} | ||
${Be(this.getIcon())} | ||
<slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot> | ||
</i> | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===Pe.file_format?null!==(t=Be[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Pe.fluid_topics?null!==(e=_e[i.toUpperCase()])&&void 0!==e?e:i:P}}Ze.elementDefinitions={},Ze.styles=h` | ||
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===We.file_format?null!==(t=De[i.toUpperCase()])&&void 0!==t?t:i:this.variant===We.fluid_topics?null!==(e=Pe[i.toUpperCase()])&&void 0!==e?e:i:P}}qe.elementDefinitions={},qe.styles=h` | ||
:host, i.ft-icon { | ||
display: inline-block; | ||
width: ${We}; | ||
height: ${We}; | ||
width: ${Ke}; | ||
height: ${Ke}; | ||
text-align: center; | ||
@@ -215,3 +215,3 @@ } | ||
i.ft-icon { | ||
font-size: ${We}; | ||
font-size: ${Ke}; | ||
line-height: 1; | ||
@@ -230,13 +230,13 @@ font-weight: normal; | ||
.ft-icon--fluid-topics { | ||
font-family: ${Ie}, ft-icons, fticons, sans-serif; | ||
font-family: ${He}, ft-icons, fticons, sans-serif; | ||
} | ||
.ft-icon--file-format { | ||
font-family: ${Ke}, ft-mime, sans-serif; | ||
font-family: ${Ze}, ft-mime, sans-serif; | ||
} | ||
.ft-icon--material { | ||
font-family: ${He}, "Material Icons", sans-serif; | ||
font-family: ${Ve}, "Material Icons", sans-serif; | ||
} | ||
`,De([i()],Ze.prototype,"variant",void 0),De([ | ||
`,Ie([i()],qe.prototype,"variant",void 0),Ie([ | ||
/** | ||
@@ -247,3 +247,3 @@ * @license | ||
*/ | ||
function(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}("slot")],Ze.prototype,"slottedContent",void 0),n("ft-icon")(Ze);var Ve=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const qe={zIndex:st.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:st.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:st.create("--ft-dialog-height","SIZE","unset"),width:st.create("--ft-dialog-width","SIZE","unset"),minWidth:st.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:st.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:st.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:st.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:st.external(rt.colorSurface,"Design system"),headingColor:st.external(rt.colorOnSurfaceMedium,"Design system"),borderRadiusS:st.external(rt.borderRadiusS,"Design system"),elevation24:st.external(rt.elevation24,"Design system")};class Je extends at{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.heading="",this.icon=""}static get styles(){return h` | ||
function(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}("slot")],qe.prototype,"slottedContent",void 0),n("ft-icon")(qe);var Je=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Xe={zIndex:st.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:st.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:st.create("--ft-dialog-height","SIZE","unset"),width:st.create("--ft-dialog-width","SIZE","unset"),minWidth:st.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:st.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:st.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:st.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:st.external(rt.colorSurface,"Design system"),headingColor:st.external(rt.colorOnSurfaceMedium,"Design system"),borderRadiusS:st.external(rt.borderRadiusS,"Design system"),elevation24:st.external(rt.elevation24,"Design system")};class Ge extends at{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.heading="",this.icon=""}static get styles(){return h` | ||
.ft-dialog { | ||
@@ -255,3 +255,3 @@ position: fixed; | ||
left: 0; | ||
z-index: ${qe.zIndex}; | ||
z-index: ${Xe.zIndex}; | ||
@@ -276,3 +276,3 @@ display: flex; | ||
background-color: ${qe.overlayBackgroundColor}; | ||
background-color: ${Xe.overlayBackgroundColor}; | ||
@@ -286,16 +286,16 @@ } | ||
width: ${qe.width}; | ||
height: ${qe.height}; | ||
width: ${Xe.width}; | ||
height: ${Xe.height}; | ||
max-width: 95vw; | ||
max-height: 95vh; | ||
min-width: ${qe.minWidth}; | ||
min-width: ${Xe.minWidth}; | ||
padding-top: ${qe.paddingTop}; | ||
padding-right: ${qe.paddingSide}; | ||
padding-left: ${qe.paddingSide}; | ||
padding-top: ${Xe.paddingTop}; | ||
padding-right: ${Xe.paddingSide}; | ||
padding-left: ${Xe.paddingSide}; | ||
background-color: ${qe.colorSurface}; | ||
background-color: ${Xe.colorSurface}; | ||
border-radius: ${qe.borderRadiusS}; | ||
box-shadow: ${qe.elevation24}; | ||
border-radius: ${Xe.borderRadiusS}; | ||
box-shadow: ${Xe.elevation24}; | ||
} | ||
@@ -314,7 +314,7 @@ | ||
color: ${qe.headingColor}; | ||
color: ${Xe.headingColor}; | ||
} | ||
.ft-dialog-buttons { | ||
padding-top: ${qe.paddingButtons}; | ||
padding-top: ${Xe.paddingButtons}; | ||
} | ||
@@ -353,2 +353,2 @@ | ||
</div> | ||
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}Je.elementDefinitions={"ft-typography":je,"ft-icon":Ze},Ve([i({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],Je.prototype,"opened",void 0),Ve([i({type:Boolean})],Je.prototype,"closeOnEsc",void 0),Ve([i({type:Boolean})],Je.prototype,"closeOnClickOutside",void 0),Ve([i({type:String})],Je.prototype,"heading",void 0),Ve([i({type:String})],Je.prototype,"icon",void 0),n("ft-dialog")(Je),t.FtDialog=Je,t.FtDialogCssVariables=qe,t.default=Je,Object.defineProperty(t,"t",{value:!0})}({}); | ||
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}Ge.elementDefinitions={"ft-typography":Te,"ft-icon":qe},Je([i({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],Ge.prototype,"opened",void 0),Je([i({type:Boolean})],Ge.prototype,"closeOnEsc",void 0),Je([i({type:Boolean})],Ge.prototype,"closeOnClickOutside",void 0),Je([i({type:String})],Ge.prototype,"heading",void 0),Je([i({type:String})],Ge.prototype,"icon",void 0),n("ft-dialog")(Ge),t.FtDialog=Ge,t.FtDialogCssVariables=Xe,t.default=Ge,Object.defineProperty(t,"t",{value:!0})}({}); |
{ | ||
"name": "@fluid-topics/ft-dialog", | ||
"version": "0.2.4", | ||
"version": "0.2.6", | ||
"description": "A simple dialog component", | ||
@@ -22,8 +22,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@fluid-topics/ft-icon": "^0.2.4", | ||
"@fluid-topics/ft-typography": "^0.2.4", | ||
"@fluid-topics/ft-wc-utils": "^0.2.4", | ||
"@fluid-topics/ft-icon": "^0.2.6", | ||
"@fluid-topics/ft-typography": "^0.2.6", | ||
"@fluid-topics/ft-wc-utils": "^0.2.6", | ||
"lit": "2.1.3" | ||
}, | ||
"gitHead": "dd34b0ce95457dbe65b23250e49804ee883096d9" | ||
"gitHead": "829067f8828b03e0d191135ba63fc507a609cbe9" | ||
} |
156363