@loadsmart/miranda-wc 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,55 +3,55 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t=window,i=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e=Symbol(),n=new WeakMap;class o{constructor(t,i,n){if(this._$cssResult$=!0,n!==e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&n.set(e,t))}return t}toString(){return this.cssText}}const s=t=>new o("string"==typeof t?t:t+"",void 0,e),r=(t,...i)=>{const n=1===t.length?t[0]:i.reduce(((i,e,n)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[n+1]),t[0]);return new o(n,t,e)},l=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return s(i)})(t):t
6
+ const t=window,o=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class i{constructor(t,o,r){if(this._$cssResult$=!0,r!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const n=this.t;if(o&&void 0===t){const o=void 0!==n&&1===n.length;o&&(t=r.get(n)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(n,t))}return t}toString(){return this.cssText}}const e=t=>new i("string"==typeof t?t:t+"",void 0,n),s=(t,...o)=>{const r=1===t.length?t[0]:o.reduce(((o,n,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1]),t[0]);return new i(r,t,n)},l=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const n of t.cssRules)o+=n.cssText;return e(o)})(t):t
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */;var a;const d=window,h=d.trustedTypes,c=h?h.emptyScript:"",u=d.reactiveElementPolyfillSupport,f={toAttribute(t,i){switch(i){case Boolean:t=t?c:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},g=(t,i)=>i!==t&&(i==i||t==t),m={attribute:!0,type:String,converter:f,reflect:!1,hasChanged:g};class b extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var i;null!==(i=this.h)&&void 0!==i||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const n=this._$Ep(e,i);void 0!==n&&(this._$Ev.set(n,e),t.push(n))})),t}static createProperty(t,i=m){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,e,i);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(n){const o=this[t];this[i]=n,this.requestUpdate(t,o,e)},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._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(l(t))}else void 0!==t&&i.push(l(t));return i}static _$Ep(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,e;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])}))}createRenderRoot(){var e;const n=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,n)=>{i?e.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((i=>{const n=document.createElement("style"),o=t.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=i.cssText,e.appendChild(n)}))})(n,this.constructor.elementStyles),n}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$EO(t,i,e=m){var n;const o=this.constructor._$Ep(t,e);if(void 0!==o&&!0===e.reflect){const s=(void 0!==(null===(n=e.converter)||void 0===n?void 0:n.toAttribute)?e.converter:f).toAttribute(i,e.type);this._$El=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$El=null}}_$AK(t,i){var e;const n=this.constructor,o=n._$Ev.get(t);if(void 0!==o&&this._$El!==o){const t=n.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:f;this._$El=o,this[o]=s.fromAttribute(i,t.type),this._$El=null}}requestUpdate(t,i,e){let n=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||g)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}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._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$Ek()}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
11
+ */;var a;const d=window,c=d.trustedTypes,u=c?c.emptyScript:"",h=d.reactiveElementPolyfillSupport,b={toAttribute(t,o){switch(o){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let n=t;switch(o){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},m=(t,o)=>o!==t&&(o==o||t==t),g={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:m};class p extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;null!==(o=this.h)&&void 0!==o||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,n)=>{const r=this._$Ep(n,o);void 0!==r&&(this._$Ev.set(r,n),t.push(r))})),t}static createProperty(t,o=g){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,n){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||g}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._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of o)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)o.unshift(l(t))}else void 0!==t&&o.push(l(t));return o}static _$Ep(t,o){const n=o.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,n;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var n;const r=null!==(n=this.shadowRoot)&&void 0!==n?n:this.attachShadow(this.constructor.shadowRootOptions);return((n,r)=>{o?n.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):r.forEach((o=>{const r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,n.appendChild(r)}))})(r,this.constructor.elementStyles),r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o,n=g){var r;const i=this.constructor._$Ep(t,n);if(void 0!==i&&!0===n.reflect){const e=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:b).toAttribute(o,n.type);this._$El=t,null==e?this.removeAttribute(i):this.setAttribute(i,e),this._$El=null}}_$AK(t,o){var n;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),e="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(n=t.converter)||void 0===n?void 0:n.fromAttribute)?t.converter:b;this._$El=i,this[i]=e.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,n){let r=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}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._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const n=this._$AL;try{o=this.shouldUpdate(n),o?(this.willUpdate(n),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(n)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(n)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2017 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- var p;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==u||u({ReactiveElement:b}),(null!==(a=d.reactiveElementVersions)&&void 0!==a?a:d.reactiveElementVersions=[]).push("1.4.1");const v=window,y=v.trustedTypes,$=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,z=`<${w}>`,S=document,k=(t="")=>S.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,E=/>/g,U=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),j=/'/g,O=/"/g,T=/^(?:script|style|textarea|title)$/i,N=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),P=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),I=new WeakMap,L=S.createTreeWalker(S,129,null,!1),J=(t,i)=>{const e=t.length-1,n=[];let o,s=2===i?"<svg>":"",r=C;for(let i=0;i<e;i++){const e=t[i];let l,a,d=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===C?"!--"===a[1]?r=M:void 0!==a[1]?r=E:void 0!==a[2]?(T.test(a[2])&&(o=RegExp("</"+a[2],"g")),r=U):void 0!==a[3]&&(r=U):r===U?">"===a[0]?(r=null!=o?o:C,d=-1):void 0===a[1]?d=-2:(d=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?U:'"'===a[3]?O:j):r===O||r===j?r=U:r===M||r===E?r=C:(r=U,o=void 0);const c=r===U&&t[i+1].startsWith("/>")?" ":"";s+=r===C?e+z:d>=0?(n.push(l),e.slice(0,d)+"$lit$"+e.slice(d)+x+c):e+x+(-2===d?(n.push(void 0),i):c)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(l):l,n]};class B{constructor({strings:t,_$litType$:i},e){let n;this.parts=[];let o=0,s=0;const r=t.length-1,l=this.parts,[a,d]=J(t,i);if(this.el=B.createElement(a,e),L.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(n=L.nextNode())&&l.length<r;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const i of n.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(x)){const e=d[s++];if(t.push(i),void 0!==e){const t=n.getAttribute(e.toLowerCase()+"$lit$").split(x),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:o,name:i[2],strings:t,ctor:"."===i[1]?q:"?"===i[1]?V:"@"===i[1]?F:H})}else l.push({type:6,index:o})}for(const i of t)n.removeAttribute(i)}if(T.test(n.tagName)){const t=n.textContent.split(x),i=t.length-1;if(i>0){n.textContent=y?y.emptyScript:"";for(let e=0;e<i;e++)n.append(t[e],k()),L.nextNode(),l.push({type:2,index:++o});n.append(t[i],k())}}}else if(8===n.nodeType)if(n.data===w)l.push({type:2,index:o});else{let t=-1;for(;-1!==(t=n.data.indexOf(x,t+1));)l.push({type:7,index:o}),t+=x.length-1}o++}}static createElement(t,i){const e=S.createElement("template");return e.innerHTML=t,e}}function D(t,i,e=t,n){var o,s,r,l;if(i===P)return i;let a=void 0!==n?null===(o=e._$Cl)||void 0===o?void 0:o[n]:e._$Cu;const d=A(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==d&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===d?a=void 0:(a=new d(t),a._$AT(t,e,n)),void 0!==n?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[n]=a:e._$Cu=a),void 0!==a&&(i=D(t,a._$AS(t,i.values),a,n)),i}class W{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:n}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:S).importNode(e,!0);L.currentNode=o;let s=L.nextNode(),r=0,l=0,a=n[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new Z(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new G(s,this,t)),this.v.push(i),a=n[++l]}r!==(null==a?void 0:a.index)&&(s=L.nextNode(),r++)}return o}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Z{constructor(t,i,e,n){var o;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=n,this._$C_=null===(o=null==n?void 0:n.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$C_}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=D(this,t,i),A(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==P&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.O(t):this.$(t)}S(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==R&&A(this._$AH)?this._$AA.nextSibling.data=t:this.k(S.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:n}=t,o="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=B.createElement(n.h,this.options)),n);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.m(e);else{const t=new W(o,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=I.get(t.strings);return void 0===i&&I.set(t.strings,i=new B(t)),i}O(t){_(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,n=0;for(const o of t)n===i.length?i.push(e=new Z(this.S(k()),this.S(k()),this,this.options)):e=i[n],e._$AI(o),n++;n<i.length&&(this._$AR(e&&e._$AB.nextSibling,n),i.length=n)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class H{constructor(t,i,e,n,o){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=i,this._$AM=n,this.options=o,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,n){const o=this.strings;let s=!1;if(void 0===o)t=D(this,t,i,0),s=!A(t)||t!==this._$AH&&t!==P,s&&(this._$AH=t);else{const n=t;let r,l;for(t=o[0],r=0;r<o.length-1;r++)l=D(this,n[e+r],i,r),l===P&&(l=this._$AH[r]),s||(s=!A(l)||l!==this._$AH[r]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+o[r+1]),this._$AH[r]=l}s&&!n&&this.P(t)}P(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends H{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===R?void 0:t}}const K=y?y.emptyScript:"";class V extends H{constructor(){super(...arguments),this.type=4}P(t){t&&t!==R?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class F extends H{constructor(t,i,e,n,o){super(t,i,e,n,o),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=D(this,t,i,0))&&void 0!==e?e:R)===P)return;const n=this._$AH,o=t===R&&n!==R||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==R&&(n===R||o);o&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const Q=v.litHtmlPolyfillSupport;
17
+ var f;p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:p}),(null!==(a=d.reactiveElementVersions)&&void 0!==a?a:d.reactiveElementVersions=[]).push("1.4.1");const $=window,y=$.trustedTypes,v=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,k=`<${w}>`,z=document,S=(t="")=>z.createComment(t),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,E=/>/g,O=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),j=/'/g,T=/"/g,U=/^(?:script|style|textarea|title)$/i,N=(t=>(o,...n)=>({_$litType$:t,strings:o,values:n}))(1),P=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),D=new WeakMap,I=z.createTreeWalker(z,129,null,!1),B=(t,o)=>{const n=t.length-1,r=[];let i,e=2===o?"<svg>":"",s=C;for(let o=0;o<n;o++){const n=t[o];let l,a,d=-1,c=0;for(;c<n.length&&(s.lastIndex=c,a=s.exec(n),null!==a);)c=s.lastIndex,s===C?"!--"===a[1]?s=M:void 0!==a[1]?s=E:void 0!==a[2]?(U.test(a[2])&&(i=RegExp("</"+a[2],"g")),s=O):void 0!==a[3]&&(s=O):s===O?">"===a[0]?(s=null!=i?i:C,d=-1):void 0===a[1]?d=-2:(d=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?O:'"'===a[3]?T:j):s===T||s===j?s=O:s===M||s===E?s=C:(s=O,i=void 0);const u=s===O&&t[o+1].startsWith("/>")?" ":"";e+=s===C?n+k:d>=0?(r.push(l),n.slice(0,d)+"$lit$"+n.slice(d)+x+u):n+x+(-2===d?(r.push(void 0),o):u)}const l=e+(t[n]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==v?v.createHTML(l):l,r]};class L{constructor({strings:t,_$litType$:o},n){let r;this.parts=[];let i=0,e=0;const s=t.length-1,l=this.parts,[a,d]=B(t,o);if(this.el=L.createElement(a,n),I.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=I.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith("$lit$")||o.startsWith(x)){const n=d[e++];if(t.push(o),void 0!==n){const t=r.getAttribute(n.toLowerCase()+"$lit$").split(x),o=/([.?@])?(.*)/.exec(n);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?q:"?"===o[1]?V:"@"===o[1]?F:H})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(U.test(r.tagName)){const t=r.textContent.split(x),o=t.length-1;if(o>0){r.textContent=y?y.emptyScript:"";for(let n=0;n<o;n++)r.append(t[n],S()),I.nextNode(),l.push({type:2,index:++i});r.append(t[o],S())}}}else if(8===r.nodeType)if(r.data===w)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)l.push({type:7,index:i}),t+=x.length-1}i++}}static createElement(t,o){const n=z.createElement("template");return n.innerHTML=t,n}}function J(t,o,n=t,r){var i,e,s,l;if(o===P)return o;let a=void 0!==r?null===(i=n._$Cl)||void 0===i?void 0:i[r]:n._$Cu;const d=A(o)?void 0:o._$litDirective$;return(null==a?void 0:a.constructor)!==d&&(null===(e=null==a?void 0:a._$AO)||void 0===e||e.call(a,!1),void 0===d?a=void 0:(a=new d(t),a._$AT(t,n,r)),void 0!==r?(null!==(s=(l=n)._$Cl)&&void 0!==s?s:l._$Cl=[])[r]=a:n._$Cu=a),void 0!==a&&(o=J(t,a._$AS(t,o.values),a,r)),o}class W{constructor(t,o){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var o;const{el:{content:n},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:z).importNode(n,!0);I.currentNode=i;let e=I.nextNode(),s=0,l=0,a=r[0];for(;void 0!==a;){if(s===a.index){let o;2===a.type?o=new Z(e,e.nextSibling,this,t):1===a.type?o=new a.ctor(e,a.name,a.strings,this,t):6===a.type&&(o=new G(e,this,t)),this.v.push(o),a=r[++l]}s!==(null==a?void 0:a.index)&&(e=I.nextNode(),s++)}return i}m(t){let o=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}}class Z{constructor(t,o,n,r){var i;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=r,this._$C_=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$C_}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=J(this,t,o),A(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==P&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.O(t):this.$(t)}S(t,o=this._$AB){return this._$AA.parentNode.insertBefore(t,o)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==R&&A(this._$AH)?this._$AA.nextSibling.data=t:this.k(z.createTextNode(t)),this._$AH=t}T(t){var o;const{values:n,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=L.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.m(n);else{const t=new W(i,this),o=t.p(this.options);t.m(n),this.k(o),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new L(t)),o}O(t){_(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let n,r=0;for(const i of t)r===o.length?o.push(n=new Z(this.S(S()),this.S(S()),this,this.options)):n=o[r],n._$AI(i),r++;r<o.length&&(this._$AR(n&&n._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$C_=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class H{constructor(t,o,n,r,i){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,n,r){const i=this.strings;let e=!1;if(void 0===i)t=J(this,t,o,0),e=!A(t)||t!==this._$AH&&t!==P,e&&(this._$AH=t);else{const r=t;let s,l;for(t=i[0],s=0;s<i.length-1;s++)l=J(this,r[n+s],o,s),l===P&&(l=this._$AH[s]),e||(e=!A(l)||l!==this._$AH[s]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+i[s+1]),this._$AH[s]=l}e&&!r&&this.P(t)}P(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class q extends H{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===R?void 0:t}}const K=y?y.emptyScript:"";class V extends H{constructor(){super(...arguments),this.type=4}P(t){t&&t!==R?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class F extends H{constructor(t,o,n,r,i){super(t,o,n,r,i),this.type=5}_$AI(t,o=this){var n;if((t=null!==(n=J(this,t,o,0))&&void 0!==n?n:R)===P)return;const r=this._$AH,i=t===R&&r!==R||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,e=t!==R&&(r===R||i);i&&this.element.removeEventListener(this.name,this,r),e&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const Q=$.litHtmlPolyfillSupport;
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
22
  */
23
- var X,Y;null==Q||Q(B,Z),(null!==(p=v.litHtmlVersions)&&void 0!==p?p:v.litHtmlVersions=[]).push("2.3.1");class tt extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,i,e)=>{var n,o;const s=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:i;let r=s._$litPart$;if(void 0===r){const t=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:null;s._$litPart$=r=new Z(i.insertBefore(k(),t),t,void 0,null!=e?e:{})}return r._$AI(t),r})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return P}}tt.finalized=!0,tt._$litElement$=!0,null===(X=globalThis.litElementHydrateSupport)||void 0===X||X.call(globalThis,{LitElement:tt});const it=globalThis.litElementPolyfillSupport;null==it||it({LitElement:tt}),(null!==(Y=globalThis.litElementVersions)&&void 0!==Y?Y:globalThis.litElementVersions=[]).push("3.2.2");
23
+ var X,Y;null==Q||Q(L,Z),(null!==(f=$.litHtmlVersions)&&void 0!==f?f:$.litHtmlVersions=[]).push("2.3.1");class tt extends p{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const n=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=n.firstChild),n}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,n)=>{var r,i;const e=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:o;let s=e._$litPart$;if(void 0===s){const t=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;e._$litPart$=s=new Z(o.insertBefore(S(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return P}}tt.finalized=!0,tt._$litElement$=!0,null===(X=globalThis.litElementHydrateSupport)||void 0===X||X.call(globalThis,{LitElement:tt});const ot=globalThis.litElementPolyfillSupport;null==ot||ot({LitElement:tt}),(null!==(Y=globalThis.litElementVersions)&&void 0!==Y?Y:globalThis.litElementVersions=[]).push("3.2.2");
24
24
  /**
25
25
  * @license
26
26
  * Copyright 2017 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
28
  */
29
- const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
29
+ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
30
30
  /**
31
31
  * @license
32
32
  * Copyright 2018 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
- */const st=nt(class extends ot{constructor(t){var i;if(super(t),t.type!==et||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((i=>t[i])).join(" ")+" "}update(t,[i]){var e,n;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(i)}const o=t.element.classList;this.nt.forEach((t=>{t in i||(o.remove(t),this.nt.delete(t))}));for(const t in i){const e=!!i[t];e===this.nt.has(t)||(null===(n=this.st)||void 0===n?void 0:n.has(t))||(e?(o.add(t),this.nt.add(t)):(o.remove(t),this.nt.delete(t)))}return P}}),rt=nt(class extends ot{constructor(t){var i;if(super(t),t.type!==et||"style"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((i,e)=>{const n=t[e];return null==n?i:i+`${e=e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`}),"")}update(t,[i]){const{style:e}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in i)this.vt.add(t);return this.render(i)}this.vt.forEach((t=>{null==i[t]&&(this.vt.delete(t),t.includes("-")?e.removeProperty(t):e[t]="")}));for(const t in i){const n=i[t];null!=n&&(this.vt.add(t),t.includes("-")?e.setProperty(t,n):e[t]=n)}return P}});
34
+ */const et=rt(class extends it{constructor(t){var o;if(super(t),t.type!==nt||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var n,r;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(n=this.st)||void 0===n?void 0:n.has(t))&&this.nt.add(t);return this.render(o)}const i=t.element.classList;this.nt.forEach((t=>{t in o||(i.remove(t),this.nt.delete(t))}));for(const t in o){const n=!!o[t];n===this.nt.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(n?(i.add(t),this.nt.add(t)):(i.remove(t),this.nt.delete(t)))}return P}}),st=rt(class extends it{constructor(t){var o;if(super(t),t.type!==nt||"style"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,n)=>{const r=t[n];return null==r?o:o+`${n=n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:n}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in o)this.vt.add(t);return this.render(o)}this.vt.forEach((t=>{null==o[t]&&(this.vt.delete(t),t.includes("-")?n.removeProperty(t):n[t]="")}));for(const t in o){const r=o[t];null!=r&&(this.vt.add(t),t.includes("-")?n.setProperty(t,r):n[t]=r)}return P}});
35
35
  /**
36
36
  * @license
37
37
  * Copyright 2018 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
- */var lt,at={},dt={};dt.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"229, 245, 255","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 98, 159","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"1.625rem","font-size-2":"1.25rem","font-size-3":"1rem","font-size-4":"0.875rem","font-size-5":"0.75rem","font-size-6":"0.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"},Object.defineProperty(at,"i",{value:!0});var ht=dt;function ct(t){return ht.LoadsmartTheme[t]}function ut(t){var i=ct(t);return null==i?i:"--m-".concat(t)}at.getToken=ct,lt=at.toCSSValue=function(t,i){var e=ct(t);return null==e?"":t.startsWith("color-")?"rgba(var(".concat(ut(t),", ").concat(e,"), ").concat(null!=i?i:1,")"):"var(".concat(ut(t),", ").concat(e,")")},at.toCSSVariable=ut;const ft={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function gt(t){const i=function(t){return null==t?[]:Array.isArray(t)?t:[t]}(t).map((t=>function(t){const i={...ft,...t};return s(`${i.property} ${i.duration} ${i.easing} ${i.delay}`)}(t))).join(", ");return s(`\n\t\ttransition: ${i}\n\t`)}function mt(t){return s(lt(t))}function bt(t){const i=s("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return s(`${i}\n${function(t){switch(t){case"heading-lg":return`\n\t\t\t\tfont-family: ${mt("font-family-title")};\n\t\t\t\tline-height: ${mt("line-height-2")};\n\t\t\t\tfont-size: ${mt("font-size-1")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${mt("font-family-title")};\n\t\t\t\tline-height: ${mt("line-height-2")};\n\t\t\t\tfont-size: ${mt("font-size-2")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${mt("font-family-title")};\n\t\t\t\tline-height: ${mt("line-height-2")};\n\t\t\t\tfont-size: ${mt("font-size-2")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${mt("font-family-title")};\n\t\t\t\tline-height: ${mt("line-height-3")};\n\t\t\t\tfont-size: ${mt("font-size-3")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${mt("font-family-title")};\n\t\t\t\tline-height: ${mt("line-height-3")};\n\t\t\t\tfont-size: ${mt("font-size-3")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")}\n\t\t\t`;case"body-md":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-4")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-4")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-4")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-4")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-5")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-5")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-5")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-5")};\n\t\t\t\tfont-size: ${mt("font-size-5")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"number-md":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-2")};\n\t\t\t\tfont-size: ${mt("font-size-4")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")}\n\t\t\t`;case"number-sm":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-2")};\n\t\t\t\tfont-size: ${mt("font-size-5")};\n\t\t\t\tfont-weight: ${mt("font-weight-regular")}\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-1")};\n\t\t\t\tfont-size: ${mt("font-size-3")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-1")};\n\t\t\t\tfont-size: ${mt("font-size-4")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-1")};\n\t\t\t\tfont-size: ${mt("font-size-5")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-1")};\n\t\t\t\tfont-size: ${mt("font-size-4")};\n\t\t\t\tfont-weight: ${mt("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-1")};\n\t\t\t\tfont-size: ${mt("font-size-5")};\n\t\t\t\tfont-weight: ${mt("font-weight-medium")}\n\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${mt("font-family-default")};\n\t\t\t\tline-height: ${mt("line-height-1")};\n\t\t\t\tfont-size: ${mt("font-size-6")};\n\t\t\t\tfont-weight: ${mt("font-weight-bold")}\n\t\t\t`;default:return""}}(t)}`)}function pt(t,i=1){return s(lt(t,i))}class vt extends tt{constructor(){super(),this.variant="body-md",this.color="color-text-primary"}static get properties(){return{variant:{type:String,reflect:!0},color:{type:String}}}render(){return N`
39
+ */var lt,at={},dt={};dt.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 98, 159","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"1.625rem","font-size-2":"1.25rem","font-size-3":"1rem","font-size-4":"0.875rem","font-size-5":"0.75rem","font-size-6":"0.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"},Object.defineProperty(at,"i",{value:!0});var ct=dt;function ut(t){return ct.LoadsmartTheme[t]}function ht(t){var o=ut(t);return null==o?o:"--m-".concat(t)}function bt(t){return e(`\n\t\t${function(t){return e(`\n\t\tmargin-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tmargin-inline-start: ${t}\n\t`)}(t)}\n\t`)}function mt(t){return e(`\n\t\t${function(t){return e(`\n\t\tmargin-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tmargin-block-end: ${t}\n\t`)}(t)}\n\t`)}function gt(t){return e(`\n\t\t${function(t){return e(`\n\t\tpadding-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tpadding-inline-start: ${t}\n\t`)}(t)}\n\t`)}function pt(t){return e(`\n\t\t${function(t){return e(`\n\t\tpadding-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return e(`\n\t\tpadding-block-end: ${t}\n\t`)}(t)}\n\t`)}at.getToken=ut,lt=at.toCSSValue=function(t,o){var n=ut(t);return null==n?"":t.startsWith("color-")?"rgba(var(".concat(ht(t),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(ht(t),", ").concat(n,")")},at.toCSSVariable=ht;var ft=function(t){return null==t?[]:Array.isArray(t)?t:[t]};const $t={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function yt(t){const o=ft(t).map((t=>function(t){const o={...$t,...t};return e(`${o.property} ${o.duration} ${o.easing} ${o.delay}`)}(t))).join(", ");return e(`\n\t\ttransition: ${o}\n\t`)}function vt(t){return e(lt(t))}function xt(t){const o=e("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return e(`${o}\n${function(t){switch(t){case"heading-lg":return`\n\t\t\t\tfont-family: ${vt("font-family-title")};\n\t\t\t\tline-height: ${vt("line-height-2")};\n\t\t\t\tfont-size: ${vt("font-size-1")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${vt("font-family-title")};\n\t\t\t\tline-height: ${vt("line-height-2")};\n\t\t\t\tfont-size: ${vt("font-size-2")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${vt("font-family-title")};\n\t\t\t\tline-height: ${vt("line-height-2")};\n\t\t\t\tfont-size: ${vt("font-size-2")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${vt("font-family-title")};\n\t\t\t\tline-height: ${vt("line-height-3")};\n\t\t\t\tfont-size: ${vt("font-size-3")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${vt("font-family-title")};\n\t\t\t\tline-height: ${vt("line-height-3")};\n\t\t\t\tfont-size: ${vt("font-size-3")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")}\n\t\t\t`;case"body-md":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-4")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-4")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-4")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-4")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-5")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-5")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-5")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-5")};\n\t\t\t\tfont-size: ${vt("font-size-5")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"number-md":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-2")};\n\t\t\t\tfont-size: ${vt("font-size-4")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")}\n\t\t\t`;case"number-sm":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-2")};\n\t\t\t\tfont-size: ${vt("font-size-5")};\n\t\t\t\tfont-weight: ${vt("font-weight-regular")}\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-1")};\n\t\t\t\tfont-size: ${vt("font-size-3")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-1")};\n\t\t\t\tfont-size: ${vt("font-size-4")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-1")};\n\t\t\t\tfont-size: ${vt("font-size-5")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-1")};\n\t\t\t\tfont-size: ${vt("font-size-4")};\n\t\t\t\tfont-weight: ${vt("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-1")};\n\t\t\t\tfont-size: ${vt("font-size-5")};\n\t\t\t\tfont-weight: ${vt("font-weight-medium")}\n\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${vt("font-family-default")};\n\t\t\t\tline-height: ${vt("line-height-1")};\n\t\t\t\tfont-size: ${vt("font-size-6")};\n\t\t\t\tfont-weight: ${vt("font-weight-bold")}\n\t\t\t`;default:return""}}(t)}`)}function wt(t,o=""){return e(ft(t).map((t=>[`${t}.is-disabled`,`${t}:disabled`].map((t=>[t,o].join(" "))).join(", "))).join(", "))}const kt={active:function(t){return e(ft(t).map((t=>`${t}:not(.is-disabled, :disabled):active`)).join(", "))},focus:function(t){return e(ft(t).map((t=>`${t}:not(.is-disabled, :disabled):focus,\n\t\t\t\t${t}:not(.is-disabled, :disabled):focus-within,\n\t\t\t\t${t}:not(.is-disabled, :disabled).is-focused`)).join(", "))},hover:function(t){return e(ft(t).map((t=>`${t}:not(.is-disabled, :disabled):hover`)).join(", "))}};function zt(t,o=1){return e(lt(t,o))}class St extends tt{constructor(){super(),this.variant="body-md",this.color="color-text-primary"}static get properties(){return{variant:{type:String,reflect:!0},color:{type:String}}}render(){return N`
40
40
  <span
41
- class=${st({"m-text":!0,"-body-md-bold-underline":"body-md-bold-underline"==this.variant,"-body-md-bold":"body-md-bold"==this.variant,"-body-md-underline":"body-md-underline"==this.variant,"-body-md":"body-md"==this.variant,"-body-sm-bold-underline":"body-sm-bold-underline"==this.variant,"-body-sm-bold":"body-sm-bold"==this.variant,"-body-sm-underline":"body-sm-underline"==this.variant,"-body-sm":"body-sm"==this.variant,"-button-lg":"button-lg"==this.variant,"-button-md":"button-md"==this.variant,"-button-sm":"button-sm"==this.variant,"-chips-sm":"chips-sm"==this.variant,"-heading-lg":"heading-lg"==this.variant,"-heading-md-bold":"heading-md-bold"==this.variant,"-heading-md":"heading-md"==this.variant,"-heading-sm-bold":"heading-sm-bold"==this.variant,"-heading-sm":"heading-sm"==this.variant,"-number-md":"number-md"==this.variant,"-number-sm":"number-sm"==this.variant,"-table-header-md":"table-header-md"==this.variant,"-table-header-sm":"table-header-sm"==this.variant})}
42
- style=${rt({"--m-text-color":lt(this.color)})}
41
+ class=${et({"m-text":!0,"-body-md-bold-underline":"body-md-bold-underline"==this.variant,"-body-md-bold":"body-md-bold"==this.variant,"-body-md-underline":"body-md-underline"==this.variant,"-body-md":"body-md"==this.variant,"-body-sm-bold-underline":"body-sm-bold-underline"==this.variant,"-body-sm-bold":"body-sm-bold"==this.variant,"-body-sm-underline":"body-sm-underline"==this.variant,"-body-sm":"body-sm"==this.variant,"-button-lg":"button-lg"==this.variant,"-button-md":"button-md"==this.variant,"-button-sm":"button-sm"==this.variant,"-chips-sm":"chips-sm"==this.variant,"-heading-lg":"heading-lg"==this.variant,"-heading-md-bold":"heading-md-bold"==this.variant,"-heading-md":"heading-md"==this.variant,"-heading-sm-bold":"heading-sm-bold"==this.variant,"-heading-sm":"heading-sm"==this.variant,"-number-md":"number-md"==this.variant,"-number-sm":"number-sm"==this.variant,"-table-header-md":"table-header-md"==this.variant,"-table-header-sm":"table-header-sm"==this.variant})}
42
+ style=${st({"--m-text-color":lt(this.color)})}
43
43
  >
44
44
  <slot></slot>
45
45
  </span>
46
- `}}vt.styles=[r`
46
+ `}}St.styles=[s`
47
47
  :host {
48
- --m-text-color: ${pt("color-text-primary")};
48
+ --m-text-color: ${zt("color-text-primary")};
49
49
  }
50
50
 
51
51
  .m-text {
52
- ${gt([{property:"color"}])};
52
+ ${yt([{property:"color"}])};
53
53
 
54
- ${bt()};
54
+ ${xt()};
55
55
 
56
56
  display: inline-flex;
57
57
 
@@ -59,92 +59,92 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
59
59
  }
60
60
 
61
61
  .-body-md-bold-underline {
62
- ${bt("body-md-bold-underline")};
62
+ ${xt("body-md-bold-underline")};
63
63
  }
64
64
 
65
65
  .-body-md-bold {
66
- ${bt("body-md-bold")};
66
+ ${xt("body-md-bold")};
67
67
  }
68
68
 
69
69
  .-body-md-underline {
70
- ${bt("body-md-underline")};
70
+ ${xt("body-md-underline")};
71
71
  }
72
72
 
73
73
  .-body-md {
74
- ${bt("body-md")};
74
+ ${xt("body-md")};
75
75
  }
76
76
 
77
77
  .-body-sm-bold-underline {
78
- ${bt("body-sm-bold-underline")};
78
+ ${xt("body-sm-bold-underline")};
79
79
  }
80
80
 
81
81
  .-body-sm-bold {
82
- ${bt("body-sm-bold")};
82
+ ${xt("body-sm-bold")};
83
83
  }
84
84
 
85
85
  .-body-sm-underline {
86
- ${bt("body-sm-underline")};
86
+ ${xt("body-sm-underline")};
87
87
  }
88
88
 
89
89
  .-body-sm {
90
- ${bt("body-sm")};
90
+ ${xt("body-sm")};
91
91
  }
92
92
 
93
93
  .-button-lg {
94
- ${bt("button-lg")};
94
+ ${xt("button-lg")};
95
95
  }
96
96
 
97
97
  .-button-md {
98
- ${bt("button-md")};
98
+ ${xt("button-md")};
99
99
  }
100
100
 
101
101
  .-button-sm {
102
- ${bt("button-sm")};
102
+ ${xt("button-sm")};
103
103
  }
104
104
 
105
105
  .-chips-sm {
106
- ${bt("chips-sm")};
106
+ ${xt("chips-sm")};
107
107
  }
108
108
 
109
109
  .-heading-lg {
110
- ${bt("heading-lg")};
110
+ ${xt("heading-lg")};
111
111
  }
112
112
 
113
113
  .-heading-md-bold {
114
- ${bt("heading-md-bold")};
114
+ ${xt("heading-md-bold")};
115
115
  }
116
116
 
117
117
  .-heading-md {
118
- ${bt("heading-md")};
118
+ ${xt("heading-md")};
119
119
  }
120
120
 
121
121
  .-heading-sm-bold {
122
- ${bt("heading-sm-bold")};
122
+ ${xt("heading-sm-bold")};
123
123
  }
124
124
 
125
125
  .-heading-sm {
126
- ${bt("heading-sm")};
126
+ ${xt("heading-sm")};
127
127
  }
128
128
 
129
129
  .-number-md {
130
- ${bt("number-md")};
130
+ ${xt("number-md")};
131
131
  }
132
132
 
133
133
  .-number-sm {
134
- ${bt("number-sm")};
134
+ ${xt("number-sm")};
135
135
  }
136
136
 
137
137
  .-table-header-md {
138
- ${bt("table-header-md")};
138
+ ${xt("table-header-md")};
139
139
  }
140
140
 
141
141
  .-table-header-sm {
142
- ${bt("table-header-sm")};
142
+ ${xt("table-header-sm")};
143
143
  }
144
- `],window.customElements.define("m-text",vt);class yt extends tt{constructor(){super(),this.flagged=!1,this.flagColor="color-background-inverted"}static get properties(){return{flagged:{type:Boolean},flagColor:{type:String,attribute:"flag-color"}}}render(){return N`
144
+ `],window.customElements.define("m-text",St);class At extends tt{constructor(){super(),this.flagged=!1,this.flagColor="color-background-inverted"}static get properties(){return{flagged:{type:Boolean},flagColor:{type:String,attribute:"flag-color"}}}render(){return N`
145
145
  <div
146
146
  class="m-card"
147
- style="${rt({"--m-card-flag-color":lt(this.flagColor)})}"
147
+ style="${st({"--m-card-flag-color":lt(this.flagColor)})}"
148
148
  >
149
149
  ${this.flagged?N`<span class="m-card-flag"></span>`:R}
150
150
  <div class="m-card-content">
@@ -154,9 +154,9 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
154
154
  <slot name="body"></slot>
155
155
  </div>
156
156
  </div>
157
- `}}yt.styles=[r`
157
+ `}}At.styles=[s`
158
158
  :host {
159
- --m-card-background-color: ${pt("color-background-primary")};
159
+ --m-card-background-color: ${zt("color-background-primary")};
160
160
  }
161
161
 
162
162
  .m-card {
@@ -165,8 +165,8 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
165
165
  flex-direction: row;
166
166
 
167
167
  background-color: var( --m-card-background-color );
168
- border-radius: ${mt("border-radius-s")};
169
- border: solid 1px ${pt("color-divider")};
168
+ border-radius: ${vt("border-radius-s")};
169
+ border: solid 1px ${zt("color-divider")};
170
170
  }
171
171
 
172
172
  .m-card-flag {
@@ -179,11 +179,11 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
179
179
  box-sizing: border-box;
180
180
  border: 1px solid var( --m-card-flag-color );
181
181
  background-color: var( --m-card-flag-color );
182
- width: ${mt("border-thick")};
183
- border-top-left-radius: ${mt("border-radius-s")};
182
+ width: ${vt("border-thick")};
183
+ border-top-left-radius: ${vt("border-radius-s")};
184
184
  border-top-right-radius: 0;
185
185
  border-bottom-right-radius: 0;
186
- border-bottom-left-radius: ${mt("border-radius-s")};
186
+ border-bottom-left-radius: ${vt("border-radius-s")};
187
187
  }
188
188
 
189
189
  .m-card-content {
@@ -193,58 +193,58 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
193
193
  }
194
194
 
195
195
  ::slotted( m-divider ) {
196
- --m-divider-margin-top: ${mt("spacing-4")};
196
+ --m-divider-margin-top: ${vt("spacing-4")};
197
197
  }
198
- `],window.customElements.define("m-card",yt);class $t extends tt{constructor(){super(),this.slot="body"}render(){return N`
198
+ `],window.customElements.define("m-card",At);class _t extends tt{constructor(){super(),this.slot="body"}render(){return N`
199
199
  <div class="m-card-body">
200
200
  <slot></slot>
201
201
  </div>
202
- `}}$t.styles=[r`
202
+ `}}_t.styles=[s`
203
203
  :host {
204
- --m-card-body-padding-x: ${mt("spacing-4")};
205
- --m-card-body-padding-y: ${mt("spacing-4")};
204
+ --m-card-body-padding-x: ${vt("spacing-4")};
205
+ --m-card-body-padding-y: ${vt("spacing-4")};
206
206
  }
207
207
 
208
208
  .m-card-body {
209
209
  padding: var( --m-card-body-padding-y ) var( --m-card-body-padding-x );
210
210
  }
211
- `],window.customElements.define("m-card-body",$t);class xt extends tt{constructor(){super(),this.slot="subtitle"}render(){return N`
211
+ `],window.customElements.define("m-card-body",_t);class Ct extends tt{constructor(){super(),this.slot="subtitle"}render(){return N`
212
212
  <div class="m-card-subtitle">
213
213
  <slot></slot>
214
214
  </div>
215
- `}}xt.styles=[r`
215
+ `}}Ct.styles=[s`
216
216
  :host {
217
- --m-card-subtitle-margin-top: ${mt("spacing-2")};
218
- --m-card-subtitle-padding-x: ${mt("spacing-4")};
217
+ --m-card-subtitle-margin-top: ${vt("spacing-2")};
218
+ --m-card-subtitle-padding-x: ${vt("spacing-4")};
219
219
  --m-card-subtitle-padding-y: 0;
220
220
  }
221
221
 
222
222
  .m-card-subtitle {
223
- ${bt("body-md")};
223
+ ${xt("body-md")};
224
224
 
225
225
  margin-block-start: var( --m-card-subtitle-margin-top );
226
226
  padding: var( --m-card-subtitle-padding-y )
227
227
  var( --m-card-subtitle-padding-x );
228
228
 
229
- color: ${pt("color-text-tertiary")};
229
+ color: ${zt("color-text-tertiary")};
230
230
  }
231
- `],window.customElements.define("m-card-subtitle",xt);class wt extends tt{constructor(){super(),this.slot="title"}render(){return N`
231
+ `],window.customElements.define("m-card-subtitle",Ct);class Mt extends tt{constructor(){super(),this.slot="title"}render(){return N`
232
232
  <div class="m-card-title">
233
233
  <slot name="leading"></slot>
234
234
  <slot></slot>
235
235
  </div>
236
- `}}wt.styles=[r`
236
+ `}}Mt.styles=[s`
237
237
  :host {
238
- --m-card-title-padding-x: ${mt("spacing-4")};
239
- --m-card-title-padding-top: ${mt("spacing-4")};
238
+ --m-card-title-padding-x: ${vt("spacing-4")};
239
+ --m-card-title-padding-top: ${vt("spacing-4")};
240
240
  }
241
241
 
242
242
  .m-card-title {
243
243
  padding: var( --m-card-title-padding-top ) var( --m-card-title-padding-x )
244
244
  0;
245
245
 
246
- ${bt("heading-sm-bold")};
247
- color: ${pt("color-text-primary")};
246
+ ${xt("heading-sm-bold")};
247
+ color: ${zt("color-text-primary")};
248
248
  }
249
249
 
250
250
  slot[name='leading']::slotted( * ) {
@@ -253,12 +253,12 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
253
253
  align-items: center;
254
254
  justify-content: center;
255
255
  pointer-events: none;
256
- margin-inline-end: ${mt("spacing-1")};
256
+ margin-inline-end: ${vt("spacing-1")};
257
257
  }
258
- `],window.customElements.define("m-card-title",wt);class zt extends tt{render(){return N` <hr class="m-divider" /> `}}function St(t,i,e){return Math.min(Math.max(i,t),e)}zt.styles=[r`
258
+ `],window.customElements.define("m-card-title",Mt);class Et extends tt{render(){return N` <hr class="m-divider" /> `}}function Ot(t,o,n){return Math.min(Math.max(o,t),n)}Et.styles=[s`
259
259
  .m-divider {
260
260
  border: 0;
261
- border-block-end: solid 1px ${pt("color-divider")};
261
+ border-block-end: solid 1px ${zt("color-divider")};
262
262
  margin-block-start: var(
263
263
  --m-divider-margin-top,
264
264
  var( --m-divider-margin-y, 0 )
@@ -268,19 +268,19 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
268
268
  var( --m-divider-margin-y, 0 )
269
269
  );
270
270
  }
271
- `],window.customElements.define("m-divider",zt);function kt(t,i){return s(function(t,i){return void 0===i&&(i=16),"".concat(parseInt(String(t),10)/i,"rem")}(t,i))}class At extends tt{constructor(){super(),this._safeValue=0,this._safeMax=100,this.value=0,this.max=100}static get properties(){return{value:{type:Number,noAccessor:!0},max:{type:Number,noAccessor:!0}}}set value(t){const i=this._safeValue;this._safeValue=St(t,0,this._safeMax),this.requestUpdate("value",i)}get value(){return this._safeValue}set max(t){const i=this._safeMax;this._safeMax=t<=0?100:t,this._safeValue=St(this._safeValue,0,this._safeMax),this.requestUpdate("max",i)}get max(){return this._safeMax}connectedCallback(){super.connectedCallback(),this.setAttribute("role","progressbar"),this.setAttribute("aria-valuemin","0")}updated(){this.setAttribute("aria-valuenow",String(this._safeValue)),this.setAttribute("aria-valuemax",String(this._safeMax))}_getWidth(){return 100*this._safeValue/this._safeMax}render(){return N`
271
+ `],window.customElements.define("m-divider",Et);function jt(t,o){return e(function(t,o){return void 0===o&&(o=16),"".concat(parseInt(String(t),10)/o,"rem")}(t,o))}class Tt extends tt{constructor(){super(),this._safeValue=0,this._safeMax=100,this.value=0,this.max=100}static get properties(){return{value:{type:Number,noAccessor:!0},max:{type:Number,noAccessor:!0}}}set value(t){const o=this._safeValue;this._safeValue=Ot(t,0,this._safeMax),this.requestUpdate("value",o)}get value(){return this._safeValue}set max(t){const o=this._safeMax;this._safeMax=t<=0?100:t,this._safeValue=Ot(this._safeValue,0,this._safeMax),this.requestUpdate("max",o)}get max(){return this._safeMax}connectedCallback(){super.connectedCallback(),this.setAttribute("role","progressbar"),this.setAttribute("aria-valuemin","0")}updated(){this.setAttribute("aria-valuenow",String(this._safeValue)),this.setAttribute("aria-valuemax",String(this._safeMax))}_getWidth(){return 100*this._safeValue/this._safeMax}render(){return N`
272
272
  <div class="bar">
273
273
  <span
274
274
  class="progress"
275
- style=${rt({width:`${this._getWidth()}%`})}
275
+ style=${st({width:`${this._getWidth()}%`})}
276
276
  ></span>
277
277
  </div>
278
- `}}At.styles=[r`
278
+ `}}Tt.styles=[s`
279
279
  :host {
280
280
  --m-progress-bar-progress-background: linear-gradient(
281
281
  45deg,
282
- ${pt("color-brand-accent-1")} 22%,
283
- ${pt("color-brand-accent-2")} 88%
282
+ ${zt("color-brand-accent-1")} 22%,
283
+ ${zt("color-brand-accent-2")} 88%
284
284
  );
285
285
  }
286
286
 
@@ -295,11 +295,11 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
295
295
  overflow: hidden;
296
296
 
297
297
  width: 100%;
298
- height: ${kt("8px")};
298
+ height: ${jt("8px")};
299
299
 
300
- border-radius: ${mt("border-radius-s")};
300
+ border-radius: ${vt("border-radius-s")};
301
301
 
302
- background-color: ${pt("color-background-tertiary")};
302
+ background-color: ${zt("color-background-tertiary")};
303
303
  }
304
304
 
305
305
  .progress {
@@ -307,13 +307,350 @@ const et=1,nt=t=>(...i)=>({_$litDirective$:t,values:i});class ot{constructor(t){
307
307
  top: 0;
308
308
  left: 0;
309
309
 
310
- ${gt([{property:"width"}])};
310
+ ${yt([{property:"width"}])};
311
311
 
312
- height: ${kt("8px")};
312
+ height: ${jt("8px")};
313
313
 
314
- border-radius: ${mt("border-radius-s")};
314
+ border-radius: ${vt("border-radius-s")};
315
315
 
316
316
  background: var( --m-progress-bar-progress-background );
317
317
  }
318
- `],window.customElements.define("m-progress-bar",At);export{yt as Card,$t as CardBody,xt as CardSubtitle,wt as CardTitle,zt as Divider,At as ProgressBar,vt as Text};
318
+ `],window.customElements.define("m-progress-bar",Tt);class Ut extends tt{constructor(){super(),this.variant="secondary",this.size="default",this.type="button",this.disabled=!1,this.loading=!1}static get properties(){return{loading:{type:Boolean},disabled:{type:Boolean,reflect:!0},variant:{type:String},size:{type:String},type:{type:String}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button")}render(){return N`
319
+ <button
320
+ class=${et({"m-button":!0,"-primary":"primary"==this.variant,"-secondary":"secondary"==this.variant,"-tertiary":"tertiary"==this.variant,"-warning":"warning"==this.variant,"-danger":"danger"==this.variant,"-icon":"icon"==this.variant,"-icon-secondary":"icon-secondary"==this.variant,"-small":"small"==this.size,"-default":"default"==this.size,"-large":"large"==this.size,"is-loading":this.loading})}
321
+ type=${this.type}
322
+ ?disabled="${this._isDisabled()}"
323
+ aria-disabled=${this._isDisabled()?"true":"false"}
324
+ >
325
+ <!-- TODO: Replace this with the loading dots component as soon as it is ready. -->
326
+ ${this.loading&&!["icon","icon-secondary"].includes(this.variant)?N`<span class="loader">&#x25cf;&#x25cf;&#x25cf;</span>`:R}
327
+ <slot name="leading"></slot>
328
+ <slot></slot>
329
+ <slot name="trailing"></slot>
330
+ </button>
331
+ `}_isDisabled(){return this.disabled||this.loading}}var Nt,Pt;Ut.styles=[s`
332
+ :host {
333
+ --m-button-background-color: transparent;
334
+ --m-button-base-size: 40px;
335
+ --m-button-border-color: ${zt("color-neutral-90")};
336
+ --m-button-border-radius: ${vt("border-radius-s")};
337
+ --m-button-color: ${zt("color-text-secondary")};
338
+ --m-button-outline-color: ${zt("color-primary-100")};
339
+ --m-button-outline-offset: 2px;
340
+ --m-button-padding-x: ${vt("spacing-4")};
341
+ --m-button-padding-y: ${vt("spacing-3")};
342
+ }
343
+
344
+ .m-button {
345
+ ${yt([{property:"color"},{property:"background-color"},{property:"border-color"}])};
346
+
347
+ ${xt("button-md")};
348
+
349
+ cursor: pointer;
350
+ position: relative;
351
+
352
+ display: inline-flex;
353
+ align-items: center;
354
+ justify-content: center;
355
+ overflow: hidden;
356
+
357
+ block-size: var( --m-button-base-size );
358
+
359
+ text-decoration: none;
360
+
361
+ gap: ${vt("spacing-1")};
362
+
363
+ padding-inline: var( --m-button-padding-x );
364
+ padding-block: var( --m-button-padding-y );
365
+
366
+ background-color: var( --m-button-background-color );
367
+ color: var( --m-button-color );
368
+ border: 1px solid var( --m-button-border-color );
369
+
370
+ border-radius: var( --m-button-border-radius );
371
+ }
372
+
373
+ ${wt(".m-button")} {
374
+ cursor: not-allowed;
375
+ }
376
+
377
+ ${wt(".m-button","*")} {
378
+ pointer-events: none;
379
+ }
380
+
381
+ ${kt.focus(".m-button")} {
382
+ outline: 1px solid var( --m-button-outline-color );
383
+ outline-offset: var( --m-button-outline-offset );
384
+ }
385
+
386
+ ${kt.hover(".m-button")} {
387
+ --m-button-background-color: ${zt("color-background-inverted")};
388
+ --m-button-border-color: ${zt("color-background-inverted")};
389
+ --m-button-color: ${zt("color-text-inverted")};
390
+ }
391
+
392
+ ::slotted( * ),
393
+ ::slotted( * ) {
394
+ display: inline-flex;
395
+ align-items: center;
396
+
397
+ ${Pt=0,e(`\n\t\t${gt(Pt)};\n\t\t${pt(Pt)}\n\t`)};
398
+ ${Nt=0,e(`\n\t\t${bt(Nt)};\n\t\t${mt(Nt)}\n\t`)};
399
+ }
400
+
401
+ slot[name='leading']::slotted( span ),
402
+ slot[name='trailing']::slotted( span ) {
403
+ justify-content: center;
404
+ }
405
+
406
+ .m-button.is-loading:not( .-icon, .-icon-secondary ) *:not( .loader ) {
407
+ visibility: hidden;
408
+ }
409
+
410
+ .m-button.-primary {
411
+ --m-button-background-color: ${zt("color-primary-60")};
412
+ --m-button-border-color: ${zt("color-primary-60")};
413
+ --m-button-color: ${zt("color-text-inverted")};
414
+ }
415
+
416
+ ${wt(".m-button.-primary")} {
417
+ --m-button-background-color: ${zt("color-primary-20")};
418
+ --m-button-border-color: ${zt("color-primary-20")};
419
+ }
420
+
421
+ ${kt.focus(".m-button.-primary")} {
422
+ --m-button-border-color: ${zt("color-primary-60")};
423
+ --m-button-outline-color: ${zt("color-primary-60")};
424
+ }
425
+
426
+ ${kt.hover(".m-button.-primary")},
427
+ ${kt.active(".m-button.-primary")} {
428
+ --m-button-background-color: ${zt("color-primary-100")};
429
+ --m-button-border-color: ${zt("color-primary-100")};
430
+ }
431
+
432
+ .m-button.-primary.is-loading {
433
+ --m-button-background-color: ${zt("color-primary-60")};
434
+ --m-button-border-color: ${zt("color-primary-60")};
435
+ --m-button-color: ${zt("color-text-inverted")};
436
+ }
437
+
438
+ .m-button.-secondary {
439
+ --m-button-background-color: transparent;
440
+ --m-button-border-color: ${zt("color-primary-100")};
441
+ --m-button-color: ${zt("color-primary-100")};
442
+ }
443
+
444
+ ${wt(".m-button.-secondary")} {
445
+ --m-button-border-color: ${zt("color-text-disabled")};
446
+ --m-button-color: ${zt("color-text-disabled")};
447
+ }
448
+
449
+ ${kt.focus(".m-button.-secondary")} {
450
+ --m-button-border-color: ${zt("color-primary-100")};
451
+ --m-button-color: ${zt("color-primary-100")};
452
+
453
+ --m-button-outline-color: ${zt("color-primary-60")};
454
+ }
455
+
456
+ ${kt.hover(".m-button.-secondary")},${kt.active(".m-button.-secondary")} {
457
+ --m-button-background-color: ${zt("color-background-tertiary")};
458
+ --m-button-border-color: ${zt("color-primary-60")};
459
+ --m-button-color: ${zt("color-primary-60")};
460
+ }
461
+
462
+ .m-button.-secondary.is-loading {
463
+ --m-button-background-color: transparent;
464
+
465
+ --m-button-border-color: ${zt("color-primary-100")};
466
+ --m-button-color: ${zt("color-primary-100")};
467
+ }
468
+
469
+ .m-button.-tertiary {
470
+ --m-button-background-color: transparent;
471
+ --m-button-border-color: transparent;
472
+ --m-button-color: ${zt("color-primary-100")};
473
+ }
474
+
475
+ ${wt(".m-button.-tertiary")} {
476
+ --m-button-color: ${zt("color-text-disabled")};
477
+ }
478
+
479
+ ${kt.focus(".m-button.-tertiary")} {
480
+ --m-button-color: ${zt("color-primary-100")};
481
+ --m-button-outline-color: ${zt("color-primary-60")};
482
+ }
483
+
484
+ ${kt.hover(".m-button.-tertiary")} {
485
+ --m-button-background-color: ${zt("color-background-tertiary")};
486
+ --m-button-border-color: ${zt("color-background-tertiary")};
487
+ --m-button-color: ${zt("color-primary-60")};
488
+ }
489
+
490
+ ${kt.active(".m-button.-tertiary")} {
491
+ --m-button-background-color: ${zt("color-neutral-20")};
492
+ --m-button-border-color: ${zt("color-neutral-20")};
493
+ --m-button-color: ${zt("color-primary-60")};
494
+ }
495
+
496
+ .m-button.-tertiary.is-loading {
497
+ --m-button-background-color: transparent;
498
+ --m-button-border-color: transparent;
499
+ --m-button-color: ${zt("color-primary-100")};
500
+ }
501
+
502
+ .m-button.-warning {
503
+ --m-button-background-color: ${zt("color-warning-60")};
504
+ --m-button-border-color: ${zt("color-warning-60")};
505
+ --m-button-color: ${zt("color-text-primary")};
506
+ }
507
+
508
+ ${wt(".m-button.-warning")} {
509
+ --m-button-background-color: ${zt("color-warning-20")};
510
+ --m-button-border-color: ${zt("color-warning-20")};
511
+ --m-button-color: ${zt("color-text-inverted")};
512
+ }
513
+
514
+ ${kt.focus(".m-button.-warning")} {
515
+ --m-button-background-color: ${zt("color-warning-60")};
516
+ --m-button-outline-color: ${zt("color-warning-60")};
517
+ }
518
+
519
+ ${kt.hover(".m-button.-warning")}, ${kt.active(".m-button.-warning")} {
520
+ --m-button-background-color: ${zt("color-warning-100")};
521
+ --m-button-border-color: ${zt("color-warning-100")};
522
+ --m-button-color: ${zt("color-text-inverted")};
523
+ }
524
+
525
+ .m-button.-warning.is-loading {
526
+ --m-button-background-color: ${zt("color-warning-60")};
527
+ --m-button-border-color: ${zt("color-warning-60")};
528
+ --m-button-color: ${zt("color-text-primary")};
529
+ }
530
+
531
+ .m-button.-danger {
532
+ --m-button-background-color: ${zt("color-danger-60")};
533
+ --m-button-border-color: ${zt("color-danger-60")};
534
+ --m-button-color: ${zt("color-text-inverted")};
535
+ }
536
+
537
+ ${wt(".m-button.-danger")} {
538
+ --m-button-background-color: ${zt("color-danger-20")};
539
+ --m-button-border-color: ${zt("color-danger-20")};
540
+ }
541
+
542
+ ${kt.focus(".m-button.-danger")} {
543
+ --m-button-background-color: ${zt("color-danger-60")};
544
+ --m-button-outline-color: ${zt("color-danger-60")};
545
+ }
546
+
547
+ ${kt.hover(".m-button.-danger")}, ${kt.active(".m-button.-danger")} {
548
+ --m-button-background-color: ${zt("color-danger-100")};
549
+ --m-button-border-color: ${zt("color-danger-100")};
550
+ }
551
+
552
+ .m-button.-danger.is-loading {
553
+ --m-button-background-color: ${zt("color-danger-60")};
554
+ --m-button-border-color: ${zt("color-danger-60")};
555
+ --m-button-color: ${zt("color-text-inverted")};
556
+ }
557
+
558
+ .m-button.-icon,
559
+ .m-button.-icon-secondary {
560
+ --m-button-border-radius: ${vt("border-radius-circle")};
561
+ --m-button-color: ${zt("color-neutral-90")};
562
+ --m-button-padding-x: ${vt("spacing-1")};
563
+ --m-button-padding-y: ${vt("spacing-1")};
564
+
565
+ min-block-size: var( --m-button-base-size );
566
+ max-block-size: var( --m-button-base-size );
567
+ min-inline-size: var( --m-button-base-size );
568
+ max-inline-size: var( --m-button-base-size );
569
+ }
570
+
571
+ .m-button.-icon {
572
+ --m-button-background-color: ${zt("color-background-tertiary")};
573
+ --m-button-border-color: ${zt("color-background-tertiary")};
574
+ }
575
+
576
+ .m-button.-icon-secondary {
577
+ --m-button-background-color: transparent;
578
+ --m-button-border-color: transparent;
579
+ }
580
+
581
+ .m-button.-icon slot[name='leading']::slotted( * ),
582
+ .m-button.-icon slot[name='trailing']::slotted( * ),
583
+ .m-button.-icon-secondary slot[name='leading']::slotted( * ),
584
+ .m-button.-icon-secondary slot[name='trailing']::slotted( * ) {
585
+ display: none;
586
+ }
587
+
588
+ ${wt([".m-button.-icon",".m-button.-icon-secondary"])} {
589
+ --m-button-color: ${zt("color-neutral-40")};
590
+ }
591
+
592
+ ${wt(".m-button.-icon")} {
593
+ --m-button-background-color: ${zt("color-neutral-20")};
594
+ --m-button-border-color: ${zt("color-neutral-20")};
595
+ }
596
+
597
+ ${wt(".m-button.-icon-secondary")} {
598
+ --m-button-background-color: transparent;
599
+ --m-button-border-color: transparent;
600
+ }
601
+
602
+ ${kt.focus([".m-button.-icon",".m-button.-icon-secondary"])} {
603
+ --m-button-color: ${zt("color-primary-60")};
604
+ --m-button-outline-color: ${zt("color-primary-60")};
605
+ }
606
+
607
+ ${kt.focus(".m-button.-icon")} {
608
+ --m-button-background-color: ${zt("color-neutral-20")};
609
+ }
610
+
611
+ ${kt.focus(".m-button.-icon-secondary")} {
612
+ --m-button-background-color: transparent;
613
+ }
614
+
615
+ ${kt.hover([".m-button.-icon",".m-button.-icon-secondary"])},
616
+ ${kt.active([".m-button.-icon",".m-button.-icon-secondary"])} {
617
+ --m-button-color: ${zt("color-primary-60")};
618
+ }
619
+
620
+ ${kt.hover(".m-button.-icon")}, ${kt.active(".m-button.-icon")} {
621
+ --m-button-background-color: ${zt("color-background-highlight")};
622
+ --m-button-border-color: ${zt("color-background-highlight")};
623
+ }
624
+
625
+ ${kt.hover(".m-button.-icon-secondary")}, ${kt.active(".m-button.-icon-secondary")} {
626
+ --m-button-background-color: transparent;
627
+ --m-button-border-color: transparent;
628
+ }
629
+
630
+ .m-button.-small {
631
+ --m-button-padding-y: ${vt("spacing-2")};
632
+ --m-button-base-size: 28px;
633
+
634
+ ${xt("button-sm")};
635
+ }
636
+
637
+ .m-button.-large {
638
+ --m-button-padding-y: ${vt("spacing-4")};
639
+ --m-button-base-size: 48px;
640
+
641
+ ${xt("button-lg")};
642
+ }
643
+
644
+ /* TODO: to be removed when the loading dots component is ready */
645
+ .loader {
646
+ position: absolute;
647
+ inset: 0;
648
+
649
+ display: flex;
650
+ align-items: center;
651
+ justify-content: center;
652
+
653
+ pointer-events: none;
654
+ }
655
+ `],window.customElements.define("m-button",Ut);export{Ut as Button,At as Card,_t as CardBody,Ct as CardSubtitle,Mt as CardTitle,Et as Divider,Tt as ProgressBar,St as Text};
319
656
  //# sourceMappingURL=index.js.map