@loadsmart/miranda-wc 1.7.0 → 1.8.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
@@ -14,13 +14,13 @@ const t=window,o=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"
14
14
  * Copyright 2017 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- var f;p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:p}),(null!==(l=d.reactiveElementVersions)&&void 0!==l?l: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,j=Array.isArray,C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,M=/>/g,E=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,T=/"/g,U=/^(?:script|style|textarea|title)$/i,R=(t=>(o,...n)=>({_$litType$:t,strings:o,values:n}))(1),N=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),W=new WeakMap,D=z.createTreeWalker(z,129,null,!1),I=(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 a,l,d=-1,c=0;for(;c<n.length&&(s.lastIndex=c,l=s.exec(n),null!==l);)c=s.lastIndex,s===C?"!--"===l[1]?s=_:void 0!==l[1]?s=M:void 0!==l[2]?(U.test(l[2])&&(i=RegExp("</"+l[2],"g")),s=E):void 0!==l[3]&&(s=E):s===E?">"===l[0]?(s=null!=i?i:C,d=-1):void 0===l[1]?d=-2:(d=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?E:'"'===l[3]?T:O):s===T||s===O?s=E:s===_||s===M?s=C:(s=E,i=void 0);const u=s===E&&t[o+1].startsWith("/>")?" ":"";e+=s===C?n+k:d>=0?(r.push(a),n.slice(0,d)+"$lit$"+n.slice(d)+x+u):n+x+(-2===d?(r.push(void 0),o):u)}const a=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(a):a,r]};class B{constructor({strings:t,_$litType$:o},n){let r;this.parts=[];let i=0,e=0;const s=t.length-1,a=this.parts,[l,d]=I(t,o);if(this.el=B.createElement(l,n),D.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=D.nextNode())&&a.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);a.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?H:"?"===o[1]?K:"@"===o[1]?V:Z})}else a.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()),D.nextNode(),a.push({type:2,index:++i});r.append(t[o],S())}}}else if(8===r.nodeType)if(r.data===w)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)a.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 L(t,o,n=t,r){var i,e,s,a;if(o===N)return o;let l=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==l?void 0:l.constructor)!==d&&(null===(e=null==l?void 0:l._$AO)||void 0===e||e.call(l,!1),void 0===d?l=void 0:(l=new d(t),l._$AT(t,n,r)),void 0!==r?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[r]=l:n._$Cu=l),void 0!==l&&(o=L(t,l._$AS(t,o.values),l,r)),o}class G{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);D.currentNode=i;let e=D.nextNode(),s=0,a=0,l=r[0];for(;void 0!==l;){if(s===l.index){let o;2===l.type?o=new J(e,e.nextSibling,this,t):1===l.type?o=new l.ctor(e,l.name,l.strings,this,t):6===l.type&&(o=new F(e,this,t)),this.v.push(o),l=r[++a]}s!==(null==l?void 0:l.index)&&(e=D.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 J{constructor(t,o,n,r){var i;this.type=2,this._$AH=P,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=L(this,t,o),A(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==N&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>j(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!==P&&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=B.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 G(i,this),o=t.p(this.options);t.m(n),this.k(o),this._$AH=t}}_$AC(t){let o=W.get(t.strings);return void 0===o&&W.set(t.strings,o=new B(t)),o}O(t){j(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 J(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 Z{constructor(t,o,n,r,i){this.type=1,this._$AH=P,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=P}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=L(this,t,o,0),e=!A(t)||t!==this._$AH&&t!==N,e&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=L(this,r[n+s],o,s),a===N&&(a=this._$AH[s]),e||(e=!A(a)||a!==this._$AH[s]),a===P?t=P:t!==P&&(t+=(null!=a?a:"")+i[s+1]),this._$AH[s]=a}e&&!r&&this.P(t)}P(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends Z{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===P?void 0:t}}const q=y?y.emptyScript:"";class K extends Z{constructor(){super(...arguments),this.type=4}P(t){t&&t!==P?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class V extends Z{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=L(this,t,o,0))&&void 0!==n?n:P)===N)return;const r=this._$AH,i=t===P&&r!==P||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,e=t!==P&&(r===P||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 F{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){L(this,t)}}const Q=$.litHtmlPolyfillSupport;
17
+ var f;p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:p}),(null!==(l=d.reactiveElementVersions)&&void 0!==l?l: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,C=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,M=/>/g,E=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,T=/"/g,U=/^(?:script|style|textarea|title)$/i,W=(t=>(o,...n)=>({_$litType$:t,strings:o,values:n}))(1),R=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),P=new WeakMap,B=z.createTreeWalker(z,129,null,!1),D=(t,o)=>{const n=t.length-1,r=[];let i,e=2===o?"<svg>":"",s=j;for(let o=0;o<n;o++){const n=t[o];let a,l,d=-1,c=0;for(;c<n.length&&(s.lastIndex=c,l=s.exec(n),null!==l);)c=s.lastIndex,s===j?"!--"===l[1]?s=_:void 0!==l[1]?s=M:void 0!==l[2]?(U.test(l[2])&&(i=RegExp("</"+l[2],"g")),s=E):void 0!==l[3]&&(s=E):s===E?">"===l[0]?(s=null!=i?i:j,d=-1):void 0===l[1]?d=-2:(d=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?E:'"'===l[3]?T:O):s===T||s===O?s=E:s===_||s===M?s=j:(s=E,i=void 0);const u=s===E&&t[o+1].startsWith("/>")?" ":"";e+=s===j?n+k:d>=0?(r.push(a),n.slice(0,d)+"$lit$"+n.slice(d)+x+u):n+x+(-2===d?(r.push(void 0),o):u)}const a=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(a):a,r]};class I{constructor({strings:t,_$litType$:o},n){let r;this.parts=[];let i=0,e=0;const s=t.length-1,a=this.parts,[l,d]=D(t,o);if(this.el=I.createElement(l,n),B.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=B.nextNode())&&a.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);a.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?H:"?"===o[1]?K:"@"===o[1]?V:Z})}else a.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()),B.nextNode(),a.push({type:2,index:++i});r.append(t[o],S())}}}else if(8===r.nodeType)if(r.data===w)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)a.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 L(t,o,n=t,r){var i,e,s,a;if(o===R)return o;let l=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==l?void 0:l.constructor)!==d&&(null===(e=null==l?void 0:l._$AO)||void 0===e||e.call(l,!1),void 0===d?l=void 0:(l=new d(t),l._$AT(t,n,r)),void 0!==r?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[r]=l:n._$Cu=l),void 0!==l&&(o=L(t,l._$AS(t,o.values),l,r)),o}class G{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);B.currentNode=i;let e=B.nextNode(),s=0,a=0,l=r[0];for(;void 0!==l;){if(s===l.index){let o;2===l.type?o=new J(e,e.nextSibling,this,t):1===l.type?o=new l.ctor(e,l.name,l.strings,this,t):6===l.type&&(o=new F(e,this,t)),this.v.push(o),l=r[++a]}s!==(null==l?void 0:l.index)&&(e=B.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 J{constructor(t,o,n,r){var i;this.type=2,this._$AH=N,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=L(this,t,o),A(t)?t===N||null==t||""===t?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==R&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>C(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!==N&&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=I.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 G(i,this),o=t.p(this.options);t.m(n),this.k(o),this._$AH=t}}_$AC(t){let o=P.get(t.strings);return void 0===o&&P.set(t.strings,o=new I(t)),o}O(t){C(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 J(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 Z{constructor(t,o,n,r,i){this.type=1,this._$AH=N,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=N}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=L(this,t,o,0),e=!A(t)||t!==this._$AH&&t!==R,e&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=L(this,r[n+s],o,s),a===R&&(a=this._$AH[s]),e||(e=!A(a)||a!==this._$AH[s]),a===N?t=N:t!==N&&(t+=(null!=a?a:"")+i[s+1]),this._$AH[s]=a}e&&!r&&this.P(t)}P(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends Z{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===N?void 0:t}}const q=y?y.emptyScript:"";class K extends Z{constructor(){super(...arguments),this.type=4}P(t){t&&t!==N?this.element.setAttribute(this.name,q):this.element.removeAttribute(this.name)}}class V extends Z{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=L(this,t,o,0))&&void 0!==n?n:N)===R)return;const r=this._$AH,i=t===N&&r!==N||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,e=t!==N&&(r===N||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 F{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){L(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,J),(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 J(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 N}}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");
23
+ var X,Y;null==Q||Q(I,J),(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 J(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 R}}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
@@ -31,27 +31,27 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
31
31
  * @license
32
32
  * Copyright 2018 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
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 N}}),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 N}});
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 R}}),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 R}});
35
35
  /**
36
36
  * @license
37
37
  * Copyright 2018 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
- */var at,lt,dt={},ct={};ct.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(dt,"i",{value:!0});var ut=ct;function ht(t){return ut.LoadsmartTheme[t]}function bt(t){var o=ht(t);return null==o?o:"--m-".concat(t)}var mt=Object.keys(ut.LoadsmartTheme).filter((function(t){return!t.startsWith("brand-")&&!t.startsWith("platform-")}));function gt(t){return mt.filter((function(o){return o.startsWith(t)}))}var pt=gt("color-"),ft=gt("color-background-"),$t=gt("spacing-"),yt=gt("font-family-"),vt=gt("font-size-"),xt=gt("font-weight-"),wt=gt("line-height-"),kt=gt("border-"),zt=gt("border-radius-"),St=gt("opacity-"),At=gt("elevation-"),jt=gt("glow-");function Ct(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 _t(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 Mt(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 Et(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`)}dt.BACKGROUND_COLOR_TOKENS=ft,dt.BORDER_RADIUS_TOKENS=zt,dt.BORDER_TOKENS=kt,dt.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],dt.COLOR_TOKENS=pt,dt.ELEVATION_TOKENS=At,dt.FONT_FAMILY_TOKENS=yt,dt.FONT_SIZE_TOKENS=vt,dt.FONT_WEIGHT_TOKENS=xt,dt.GLOW_TOKENS=jt,dt.LINE_HEIGHT_TOKENS=wt,dt.OPACITY_TOKENS=St,dt.SPACING_TOKENS=$t,dt.TOKENS=mt,lt=dt.getToken=ht,at=dt.toCSSValue=function(t,o){var n=ht(t);return null==n?"":t.startsWith("color-")?"rgba(var(".concat(bt(t),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(bt(t),", ").concat(n,")")},dt.toCSSVariable=bt;var Ot=function(t){return null==t?[]:Array.isArray(t)?t:[t]};const Tt={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function Ut(t){const o=Ot(t).map((t=>function(t){const o={...Tt,...t};return e(`${o.property} ${o.duration} ${o.easing} ${o.delay}`)}(t))).join(", ");return e(`\n\t\ttransition: ${o}\n\t`)}function Rt(t){return e(at(t))}function Nt(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: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-1")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-2")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-2")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-3")};\n\t\t\t\tfont-size: ${Rt("font-size-3")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-title")};\n\t\t\t\tline-height: ${Rt("line-height-3")};\n\t\t\t\tfont-size: ${Rt("font-size-3")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"body-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("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: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("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: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-5")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"number-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"number-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-2")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-regular")}\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-3")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-4")};\n\t\t\t\tfont-weight: ${Rt("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: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-5")};\n\t\t\t\tfont-weight: ${Rt("font-weight-medium")}\n\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${Rt("font-family-default")};\n\t\t\t\tline-height: ${Rt("line-height-1")};\n\t\t\t\tfont-size: ${Rt("font-size-6")};\n\t\t\t\tfont-weight: ${Rt("font-weight-bold")}\n\t\t\t`;default:return""}}(t)}`)}function Pt(t,o=""){return e(Ot(t).map((t=>[`${t}.is-disabled`,`${t}:disabled`].map((t=>[t,o].join(" "))).join(", "))).join(", "))}const Wt={active:function(t){return e(Ot(t).map((t=>`${t}:not(.is-disabled, :disabled):active`)).join(", "))},focus:function(t){return e(Ot(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(Ot(t).map((t=>`${t}:not(.is-disabled, :disabled):hover`)).join(", "))}};function Dt(t,o=1){return e(at(t,o))}class It 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 R`
39
+ */var at,lt,dt={},ct={};ct.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(dt,"i",{value:!0});var ut=ct;function ht(t){return ut.LoadsmartTheme[t]}function bt(t){var o=ht(t);return null==o?o:"--m-".concat(t)}var mt=Object.keys(ut.LoadsmartTheme).filter((function(t){return!t.startsWith("brand-")&&!t.startsWith("platform-")}));function gt(t){return mt.filter((function(o){return o.startsWith(t)}))}var pt=gt("color-"),ft=gt("color-background-"),$t=gt("spacing-"),yt=gt("font-family-"),vt=gt("font-size-"),xt=gt("font-weight-"),wt=gt("line-height-"),kt=gt("border-"),zt=gt("border-radius-"),St=gt("opacity-"),At=gt("elevation-"),Ct=gt("glow-");function jt(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 _t(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 Mt(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 Et(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`)}dt.BACKGROUND_COLOR_TOKENS=ft,dt.BORDER_RADIUS_TOKENS=zt,dt.BORDER_TOKENS=kt,dt.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],dt.COLOR_TOKENS=pt,dt.ELEVATION_TOKENS=At,dt.FONT_FAMILY_TOKENS=yt,dt.FONT_SIZE_TOKENS=vt,dt.FONT_WEIGHT_TOKENS=xt,dt.GLOW_TOKENS=Ct,dt.LINE_HEIGHT_TOKENS=wt,dt.OPACITY_TOKENS=St,dt.SPACING_TOKENS=$t,dt.TOKENS=mt,lt=dt.getToken=ht,at=dt.toCSSValue=function(t,o){var n=ht(t);return null==n?"":t.startsWith("color-")?"rgba(var(".concat(bt(t),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(bt(t),", ").concat(n,")")},dt.toCSSVariable=bt;var Ot=function(t){return null==t?[]:Array.isArray(t)?t:[t]};const Tt={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function Ut(t){const o=Ot(t).map((t=>function(t){const o={...Tt,...t};return e(`${o.property} ${o.duration} ${o.easing} ${o.delay}`)}(t))).join(", ");return e(`\n\t\ttransition: ${o}\n\t`)}function Wt(t){return e(at(t))}function Rt(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: ${Wt("font-family-title")};\n\t\t\t\tline-height: ${Wt("line-height-2")};\n\t\t\t\tfont-size: ${Wt("font-size-1")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${Wt("font-family-title")};\n\t\t\t\tline-height: ${Wt("line-height-2")};\n\t\t\t\tfont-size: ${Wt("font-size-2")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${Wt("font-family-title")};\n\t\t\t\tline-height: ${Wt("line-height-2")};\n\t\t\t\tfont-size: ${Wt("font-size-2")};\n\t\t\t\tfont-weight: ${Wt("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${Wt("font-family-title")};\n\t\t\t\tline-height: ${Wt("line-height-3")};\n\t\t\t\tfont-size: ${Wt("font-size-3")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${Wt("font-family-title")};\n\t\t\t\tline-height: ${Wt("line-height-3")};\n\t\t\t\tfont-size: ${Wt("font-size-3")};\n\t\t\t\tfont-weight: ${Wt("font-weight-regular")}\n\t\t\t`;case"body-md":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-4")};\n\t\t\t\tfont-weight: ${Wt("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-4")};\n\t\t\t\tfont-weight: ${Wt("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: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-4")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-4")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-5")};\n\t\t\t\tfont-weight: ${Wt("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-5")};\n\t\t\t\tfont-weight: ${Wt("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: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-5")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-5")};\n\t\t\t\tfont-size: ${Wt("font-size-5")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"number-md":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-2")};\n\t\t\t\tfont-size: ${Wt("font-size-4")};\n\t\t\t\tfont-weight: ${Wt("font-weight-regular")}\n\t\t\t`;case"number-sm":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-2")};\n\t\t\t\tfont-size: ${Wt("font-size-5")};\n\t\t\t\tfont-weight: ${Wt("font-weight-regular")}\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-1")};\n\t\t\t\tfont-size: ${Wt("font-size-3")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-1")};\n\t\t\t\tfont-size: ${Wt("font-size-4")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-1")};\n\t\t\t\tfont-size: ${Wt("font-size-5")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-1")};\n\t\t\t\tfont-size: ${Wt("font-size-4")};\n\t\t\t\tfont-weight: ${Wt("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: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-1")};\n\t\t\t\tfont-size: ${Wt("font-size-5")};\n\t\t\t\tfont-weight: ${Wt("font-weight-medium")}\n\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${Wt("font-family-default")};\n\t\t\t\tline-height: ${Wt("line-height-1")};\n\t\t\t\tfont-size: ${Wt("font-size-6")};\n\t\t\t\tfont-weight: ${Wt("font-weight-bold")}\n\t\t\t`;default:return""}}(t)}`)}function Nt(t,o=""){return e(Ot(t).map((t=>[`${t}.is-disabled`,`${t}:disabled`].map((t=>[t,o].join(" "))).join(", "))).join(", "))}const Pt={active:function(t){return e(Ot(t).map((t=>`${t}:not(.is-disabled, :disabled):active`)).join(", "))},focus:function(t){return e(Ot(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(Ot(t).map((t=>`${t}:not(.is-disabled, :disabled):hover`)).join(", "))}};function Bt(t,o=1){return e(at(t,o))}class Dt 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 W`
40
40
  <span
41
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
42
  style=${st({"--m-text-color":at(this.color)})}
43
43
  >
44
44
  <slot></slot>
45
45
  </span>
46
- `}}It.styles=[s`
46
+ `}}Dt.styles=[s`
47
47
  :host {
48
- --m-text-color: ${Dt("color-text-primary")};
48
+ --m-text-color: ${Bt("color-text-primary")};
49
49
  }
50
50
 
51
51
  .m-text {
52
52
  ${Ut([{property:"color"}])};
53
53
 
54
- ${Nt()};
54
+ ${Rt()};
55
55
 
56
56
  display: inline-flex;
57
57
 
@@ -59,94 +59,94 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
59
59
  }
60
60
 
61
61
  .-body-md-bold-underline {
62
- ${Nt("body-md-bold-underline")};
62
+ ${Rt("body-md-bold-underline")};
63
63
  }
64
64
 
65
65
  .-body-md-bold {
66
- ${Nt("body-md-bold")};
66
+ ${Rt("body-md-bold")};
67
67
  }
68
68
 
69
69
  .-body-md-underline {
70
- ${Nt("body-md-underline")};
70
+ ${Rt("body-md-underline")};
71
71
  }
72
72
 
73
73
  .-body-md {
74
- ${Nt("body-md")};
74
+ ${Rt("body-md")};
75
75
  }
76
76
 
77
77
  .-body-sm-bold-underline {
78
- ${Nt("body-sm-bold-underline")};
78
+ ${Rt("body-sm-bold-underline")};
79
79
  }
80
80
 
81
81
  .-body-sm-bold {
82
- ${Nt("body-sm-bold")};
82
+ ${Rt("body-sm-bold")};
83
83
  }
84
84
 
85
85
  .-body-sm-underline {
86
- ${Nt("body-sm-underline")};
86
+ ${Rt("body-sm-underline")};
87
87
  }
88
88
 
89
89
  .-body-sm {
90
- ${Nt("body-sm")};
90
+ ${Rt("body-sm")};
91
91
  }
92
92
 
93
93
  .-button-lg {
94
- ${Nt("button-lg")};
94
+ ${Rt("button-lg")};
95
95
  }
96
96
 
97
97
  .-button-md {
98
- ${Nt("button-md")};
98
+ ${Rt("button-md")};
99
99
  }
100
100
 
101
101
  .-button-sm {
102
- ${Nt("button-sm")};
102
+ ${Rt("button-sm")};
103
103
  }
104
104
 
105
105
  .-chips-sm {
106
- ${Nt("chips-sm")};
106
+ ${Rt("chips-sm")};
107
107
  }
108
108
 
109
109
  .-heading-lg {
110
- ${Nt("heading-lg")};
110
+ ${Rt("heading-lg")};
111
111
  }
112
112
 
113
113
  .-heading-md-bold {
114
- ${Nt("heading-md-bold")};
114
+ ${Rt("heading-md-bold")};
115
115
  }
116
116
 
117
117
  .-heading-md {
118
- ${Nt("heading-md")};
118
+ ${Rt("heading-md")};
119
119
  }
120
120
 
121
121
  .-heading-sm-bold {
122
- ${Nt("heading-sm-bold")};
122
+ ${Rt("heading-sm-bold")};
123
123
  }
124
124
 
125
125
  .-heading-sm {
126
- ${Nt("heading-sm")};
126
+ ${Rt("heading-sm")};
127
127
  }
128
128
 
129
129
  .-number-md {
130
- ${Nt("number-md")};
130
+ ${Rt("number-md")};
131
131
  }
132
132
 
133
133
  .-number-sm {
134
- ${Nt("number-sm")};
134
+ ${Rt("number-sm")};
135
135
  }
136
136
 
137
137
  .-table-header-md {
138
- ${Nt("table-header-md")};
138
+ ${Rt("table-header-md")};
139
139
  }
140
140
 
141
141
  .-table-header-sm {
142
- ${Nt("table-header-sm")};
142
+ ${Rt("table-header-sm")};
143
143
  }
144
- `],window.customElements.define("m-text",It);class Bt 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 R`
144
+ `],window.customElements.define("m-text",Dt);class It 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 W`
145
145
  <div
146
146
  class="m-card"
147
147
  style="${st({"--m-card-flag-color":at(this.flagColor)})}"
148
148
  >
149
- ${this.flagged?R`<span class="m-card-flag"></span>`:P}
149
+ ${this.flagged?W`<span class="m-card-flag"></span>`:N}
150
150
  <div class="m-card-content">
151
151
  <slot name="title"></slot>
152
152
  <slot name="subtitle"></slot>
@@ -154,9 +154,9 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
154
154
  <slot name="body"></slot>
155
155
  </div>
156
156
  </div>
157
- `}}Bt.styles=[s`
157
+ `}}It.styles=[s`
158
158
  :host {
159
- --m-card-background-color: ${Dt("color-background-primary")};
159
+ --m-card-background-color: ${Bt("color-background-primary")};
160
160
  }
161
161
 
162
162
  .m-card {
@@ -165,8 +165,8 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
165
165
  flex-direction: row;
166
166
 
167
167
  background-color: var( --m-card-background-color );
168
- border-radius: ${Rt("border-radius-s")};
169
- border: solid 1px ${Dt("color-divider")};
168
+ border-radius: ${Wt("border-radius-s")};
169
+ border: solid 1px ${Bt("color-divider")};
170
170
  }
171
171
 
172
172
  .m-card-flag {
@@ -179,11 +179,11 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{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: ${Rt("border-thick")};
183
- border-top-left-radius: ${Rt("border-radius-s")};
182
+ width: ${Wt("border-thick")};
183
+ border-top-left-radius: ${Wt("border-radius-s")};
184
184
  border-top-right-radius: 0;
185
185
  border-bottom-right-radius: 0;
186
- border-bottom-left-radius: ${Rt("border-radius-s")};
186
+ border-bottom-left-radius: ${Wt("border-radius-s")};
187
187
  }
188
188
 
189
189
  .m-card-content {
@@ -193,58 +193,58 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
193
193
  }
194
194
 
195
195
  ::slotted( m-divider ) {
196
- --m-divider-margin-top: ${Rt("spacing-4")};
196
+ --m-divider-margin-top: ${Wt("spacing-4")};
197
197
  }
198
- `],window.customElements.define("m-card",Bt);class Lt extends tt{constructor(){super(),this.slot="body"}render(){return R`
198
+ `],window.customElements.define("m-card",It);class Lt extends tt{constructor(){super(),this.slot="body"}render(){return W`
199
199
  <div class="m-card-body">
200
200
  <slot></slot>
201
201
  </div>
202
202
  `}}Lt.styles=[s`
203
203
  :host {
204
- --m-card-body-padding-x: ${Rt("spacing-4")};
205
- --m-card-body-padding-y: ${Rt("spacing-4")};
204
+ --m-card-body-padding-x: ${Wt("spacing-4")};
205
+ --m-card-body-padding-y: ${Wt("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",Lt);class Gt extends tt{constructor(){super(),this.slot="subtitle"}render(){return R`
211
+ `],window.customElements.define("m-card-body",Lt);class Gt extends tt{constructor(){super(),this.slot="subtitle"}render(){return W`
212
212
  <div class="m-card-subtitle">
213
213
  <slot></slot>
214
214
  </div>
215
215
  `}}Gt.styles=[s`
216
216
  :host {
217
- --m-card-subtitle-margin-top: ${Rt("spacing-2")};
218
- --m-card-subtitle-padding-x: ${Rt("spacing-4")};
217
+ --m-card-subtitle-margin-top: ${Wt("spacing-2")};
218
+ --m-card-subtitle-padding-x: ${Wt("spacing-4")};
219
219
  --m-card-subtitle-padding-y: 0;
220
220
  }
221
221
 
222
222
  .m-card-subtitle {
223
- ${Nt("body-md")};
223
+ ${Rt("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: ${Dt("color-text-tertiary")};
229
+ color: ${Bt("color-text-tertiary")};
230
230
  }
231
- `],window.customElements.define("m-card-subtitle",Gt);class Jt extends tt{constructor(){super(),this.slot="title"}render(){return R`
231
+ `],window.customElements.define("m-card-subtitle",Gt);class Jt extends tt{constructor(){super(),this.slot="title"}render(){return W`
232
232
  <div class="m-card-title">
233
233
  <slot name="leading"></slot>
234
234
  <slot></slot>
235
235
  </div>
236
236
  `}}Jt.styles=[s`
237
237
  :host {
238
- --m-card-title-padding-x: ${Rt("spacing-4")};
239
- --m-card-title-padding-top: ${Rt("spacing-4")};
238
+ --m-card-title-padding-x: ${Wt("spacing-4")};
239
+ --m-card-title-padding-top: ${Wt("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
- ${Nt("heading-sm-bold")};
247
- color: ${Dt("color-text-primary")};
246
+ ${Rt("heading-sm-bold")};
247
+ color: ${Bt("color-text-primary")};
248
248
  }
249
249
 
250
250
  slot[name='leading']::slotted( * ) {
@@ -253,12 +253,12 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
253
253
  align-items: center;
254
254
  justify-content: center;
255
255
  pointer-events: none;
256
- margin-inline-end: ${Rt("spacing-1")};
256
+ margin-inline-end: ${Wt("spacing-1")};
257
257
  }
258
- `],window.customElements.define("m-card-title",Jt);class Zt extends tt{render(){return R` <hr class="m-divider" /> `}}function Ht(t,o,n){return Math.min(Math.max(o,t),n)}Zt.styles=[s`
258
+ `],window.customElements.define("m-card-title",Jt);class Zt extends tt{render(){return W` <hr class="m-divider" /> `}}function Ht(t,o,n){return Math.min(Math.max(o,t),n)}Zt.styles=[s`
259
259
  .m-divider {
260
260
  border: 0;
261
- border-block-end: solid 1px ${Dt("color-divider")};
261
+ border-block-end: solid 1px ${Bt("color-divider")};
262
262
  margin-block-start: var(
263
263
  --m-divider-margin-top,
264
264
  var( --m-divider-margin-y, 0 )
@@ -268,7 +268,7 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
268
268
  var( --m-divider-margin-y, 0 )
269
269
  );
270
270
  }
271
- `],window.customElements.define("m-divider",Zt);function qt(t,o){return e(function(t,o){return void 0===o&&(o=16),"".concat(parseInt(String(t),10)/o,"rem")}(t,o))}class Kt 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=Ht(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=Ht(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 R`
271
+ `],window.customElements.define("m-divider",Zt);function qt(t,o){return e(function(t,o){return void 0===o&&(o=16),"".concat(parseInt(String(t),10)/o,"rem")}(t,o))}class Kt 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=Ht(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=Ht(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 W`
272
272
  <div class="bar">
273
273
  <span
274
274
  class="progress"
@@ -279,8 +279,8 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
279
279
  :host {
280
280
  --m-progress-bar-progress-background: linear-gradient(
281
281
  45deg,
282
- ${Dt("color-brand-accent-1")} 22%,
283
- ${Dt("color-brand-accent-2")} 88%
282
+ ${Bt("color-brand-accent-1")} 22%,
283
+ ${Bt("color-brand-accent-2")} 88%
284
284
  );
285
285
  }
286
286
 
@@ -297,9 +297,9 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
297
297
  width: 100%;
298
298
  height: ${qt("8px")};
299
299
 
300
- border-radius: ${Rt("border-radius-s")};
300
+ border-radius: ${Wt("border-radius-s")};
301
301
 
302
- background-color: ${Dt("color-background-tertiary")};
302
+ background-color: ${Bt("color-background-tertiary")};
303
303
  }
304
304
 
305
305
  .progress {
@@ -311,18 +311,18 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
311
311
 
312
312
  height: ${qt("8px")};
313
313
 
314
- border-radius: ${Rt("border-radius-s")};
314
+ border-radius: ${Wt("border-radius-s")};
315
315
 
316
316
  background: var( --m-progress-bar-progress-background );
317
317
  }
318
- `],window.customElements.define("m-progress-bar",Kt);const Vt={padding:"spacing-4",borderRadius:"border-radius-s",borderWidth:"border-none",borderColor:"color-background-highlight",textAlign:"left"};class Ft extends tt{constructor(){super(),this.padding=Vt.padding,this.borderRadius=Vt.borderRadius,this.borderWidth=Vt.borderWidth,this.borderColor=Vt.borderColor,this.textAlign=Vt.textAlign}static get properties(){return{padding:{type:String},backgroundColor:{type:String,attribute:"background-color"},borderRadius:{type:String,attribute:"border-radius"},borderWidth:{type:String,attribute:"border-width"},borderColor:{type:String,attribute:"border-color"},textAlign:{type:String,attribute:"text-align"}}}update(t){this.style.setProperty("--m-box-padding",at(this.padding)||at(Vt.padding)),this.style.setProperty("--m-box-background-color",at(this.backgroundColor)||"transparent"),this.style.setProperty("--m-box-border-radius",at(this.borderRadius)||at(Vt.borderRadius)),this.style.setProperty("--m-box-border-width",at(this.borderWidth)||at(Vt.borderWidth)),this.style.setProperty("--m-box-border-color",at(this.borderColor)||at(Vt.borderColor)),this.style.setProperty("--m-box-text-align",this.textAlign||Vt.textAlign),super.update(t)}render(){return R`<slot></slot>`}}Ft.styles=[s`
318
+ `],window.customElements.define("m-progress-bar",Kt);const Vt=["center","flex-start","flex-end","stretch"],Ft=["center","flex-start","flex-end","space-between","space-around","space-evenly"],Qt={padding:"spacing-4",borderRadius:"border-radius-s",borderWidth:"border-none",borderColor:"color-background-highlight",textAlign:"left"};class Xt extends tt{constructor(){super(),this.padding=Qt.padding,this.borderRadius=Qt.borderRadius,this.borderWidth=Qt.borderWidth,this.borderColor=Qt.borderColor,this.textAlign=Qt.textAlign}static get properties(){return{padding:{type:String},backgroundColor:{type:String,attribute:"background-color"},borderRadius:{type:String,attribute:"border-radius"},borderWidth:{type:String,attribute:"border-width"},borderColor:{type:String,attribute:"border-color"},textAlign:{type:String,attribute:"text-align"}}}update(t){this.style.setProperty("--m-box-padding",at(this.padding)||at(Qt.padding)),this.style.setProperty("--m-box-background-color",at(this.backgroundColor)||"transparent"),this.style.setProperty("--m-box-border-radius",at(this.borderRadius)||at(Qt.borderRadius)),this.style.setProperty("--m-box-border-width",at(this.borderWidth)||at(Qt.borderWidth)),this.style.setProperty("--m-box-border-color",at(this.borderColor)||at(Qt.borderColor)),this.style.setProperty("--m-box-text-align",this.textAlign||Qt.textAlign),super.update(t)}render(){return W`<slot></slot>`}}Xt.styles=[s`
319
319
  :host {
320
- --m-box-padding: ${Rt(Vt.padding)};
320
+ --m-box-padding: ${Wt(Qt.padding)};
321
321
  --m-box-background-color: transparent;
322
- --m-box-border-radius: ${Rt(Vt.borderRadius)};
323
- --m-box-border-width: ${Rt(Vt.borderWidth)};
324
- --m-box-border-color: ${Dt(Vt.borderColor)};
325
- --m-box-text-align: ${e(Vt.textAlign)};
322
+ --m-box-border-radius: ${Wt(Qt.borderRadius)};
323
+ --m-box-border-width: ${Wt(Qt.borderWidth)};
324
+ --m-box-border-color: ${Bt(Qt.borderColor)};
325
+ --m-box-text-align: ${e(Qt.textAlign)};
326
326
 
327
327
  box-sizing: border-box;
328
328
 
@@ -334,11 +334,11 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
334
334
  border-color: var( --m-box-border-color );
335
335
  text-align: var( --m-box-text-align );
336
336
  }
337
- `],window.customElements.define("m-box",Ft);const Qt={gap:"spacing-4",align:"stretch",justify:"flex-start"};class Xt extends tt{constructor(){super(),this.gap=Qt.gap,this.align=Qt.align,this.justify=Qt.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-group-gap",at(this.gap)||at(Qt.gap)),this.style.setProperty("--m-group-align",this.align||Qt.align),this.style.setProperty("--m-group-justify",this.justify||Qt.justify),super.update(t)}render(){return R`<slot></slot>`}}Xt.styles=[s`
337
+ `],window.customElements.define("m-box",Xt);const Yt={gap:"spacing-4",align:"stretch",justify:"flex-start"};class to extends tt{constructor(){super(),this.gap=Yt.gap,this.align=Yt.align,this.justify=Yt.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-group-gap",at(this.gap)||at(Yt.gap)),this.style.setProperty("--m-group-align",this.align||Yt.align),this.style.setProperty("--m-group-justify",this.justify||Yt.justify),super.update(t)}render(){return W`<slot></slot>`}}to.styles=[s`
338
338
  :host {
339
- --m-group-gap: ${Rt(Qt.gap)};
340
- --m-group-align: ${e(Qt.align)};
341
- --m-group-justify: ${e(Qt.justify)};
339
+ --m-group-gap: ${Wt(Yt.gap)};
340
+ --m-group-align: ${e(Yt.align)};
341
+ --m-group-justify: ${e(Yt.justify)};
342
342
 
343
343
  display: flex;
344
344
  flex-wrap: wrap;
@@ -346,11 +346,11 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
346
346
  align-items: var(--m-group-align);
347
347
  justify-content: var(--m-group-justify);
348
348
  }
349
- `],window.customElements.define("m-group",Xt);const Yt={gap:"spacing-4",align:"stretch",justify:"flex-start"};class to extends tt{constructor(){super(),this.gap=Yt.gap,this.align=Yt.align,this.justify=Yt.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-stack-gap",at(this.gap)||at(Yt.gap)),this.style.setProperty("--m-stack-align",this.align||Yt.align),this.style.setProperty("--m-stack-justify",this.justify||Yt.justify),super.update(t)}render(){return R`<slot></slot>`}}to.styles=[s`
349
+ `],window.customElements.define("m-group",to);const oo={gap:"spacing-4",align:"stretch",justify:"flex-start"};class no extends tt{constructor(){super(),this.gap=oo.gap,this.align=oo.align,this.justify=oo.justify}static get properties(){return{gap:{type:String},align:{type:String},justify:{type:String}}}update(t){this.style.setProperty("--m-stack-gap",at(this.gap)||at(oo.gap)),this.style.setProperty("--m-stack-align",this.align||oo.align),this.style.setProperty("--m-stack-justify",this.justify||oo.justify),super.update(t)}render(){return W`<slot></slot>`}}no.styles=[s`
350
350
  :host {
351
- --m-stack-gap: ${Rt(Yt.gap)};
352
- --m-stack-align: ${e(Yt.align)};
353
- --m-stack-justify: ${e(Yt.justify)};
351
+ --m-stack-gap: ${Wt(oo.gap)};
352
+ --m-stack-align: ${e(oo.align)};
353
+ --m-stack-justify: ${e(oo.justify)};
354
354
 
355
355
  display: flex;
356
356
  flex-direction: column;
@@ -359,10 +359,10 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
359
359
  align-items: var(--m-stack-align);
360
360
  justify-content: var(--m-stack-justify);
361
361
  }
362
- `],window.customElements.define("m-stack",to);const oo={gap:"spacing-4",minColumnWidth:lt("spacing-30")};class no extends tt{constructor(){super(),this.gap=oo.gap,this.minColumnWidth=oo.minColumnWidth}static get properties(){return{gap:{type:String},rowGap:{type:String,attribute:"row-gap"},columnGap:{type:String,attribute:"column-gap"},minColumnWidth:{type:String,attribute:"min-column-width"}}}update(t){t.has("gap")&&this.style.setProperty("--m-grid-gap",at(this.gap)||at(oo.gap)),t.has("rowGap")&&(this.rowGap?this.style.setProperty("--m-grid-row-gap",at(this.rowGap)):this.style.removeProperty("--m-grid-row-gap")),t.has("columnGap")&&(this.columnGap?this.style.setProperty("--m-grid-column-gap",at(this.columnGap)):this.style.removeProperty("--m-grid-column-gap")),t.has("minColumnWidth")&&this.style.setProperty("--m-grid-min-column-width",this.minColumnWidth||oo.minColumnWidth),super.update(t)}render(){return R`<slot></slot>`}}no.styles=[s`
362
+ `],window.customElements.define("m-stack",no);const ro={gap:"spacing-4",minColumnWidth:lt("spacing-30")};class io extends tt{constructor(){super(),this.gap=ro.gap,this.minColumnWidth=ro.minColumnWidth}static get properties(){return{gap:{type:String},rowGap:{type:String,attribute:"row-gap"},columnGap:{type:String,attribute:"column-gap"},minColumnWidth:{type:String,attribute:"min-column-width"}}}update(t){t.has("gap")&&this.style.setProperty("--m-grid-gap",at(this.gap)||at(ro.gap)),t.has("rowGap")&&(this.rowGap?this.style.setProperty("--m-grid-row-gap",at(this.rowGap)):this.style.removeProperty("--m-grid-row-gap")),t.has("columnGap")&&(this.columnGap?this.style.setProperty("--m-grid-column-gap",at(this.columnGap)):this.style.removeProperty("--m-grid-column-gap")),t.has("minColumnWidth")&&this.style.setProperty("--m-grid-min-column-width",this.minColumnWidth||ro.minColumnWidth),super.update(t)}render(){return W`<slot></slot>`}}io.styles=[s`
363
363
  :host {
364
- --m-grid-gap: ${Rt(oo.gap)};
365
- --m-grid-min-column-width: ${e(oo.minColumnWidth)};
364
+ --m-grid-gap: ${Wt(ro.gap)};
365
+ --m-grid-min-column-width: ${e(ro.minColumnWidth)};
366
366
 
367
367
  display: grid;
368
368
 
@@ -374,7 +374,34 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
374
374
  minmax( min( var( --m-grid-min-column-width ), 100% ), 1fr )
375
375
  );
376
376
  }
377
- `],window.customElements.define("m-grid",no);class ro 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 R`
377
+ `],window.customElements.define("m-grid",io);const eo={gap:"spacing-4",sideWidth:"auto",minContentWidth:"50%",reversed:!1};function so(t){return t?"row-reverse":"row"}class ao extends tt{constructor(){super(),this.gap=eo.gap,this.sideWidth=eo.sideWidth,this.minContentWidth=eo.minContentWidth,this.reversed=eo.reversed}static get properties(){return{gap:{type:String},sideWidth:{type:String,attribute:"side-width"},minContentWidth:{type:String,attribute:"min-content-width"},reversed:{type:Boolean}}}update(t){t.has("gap")&&this.style.setProperty("--m-sidebar-gap",at(this.gap)||at(eo.gap)),t.has("sideWidth")&&this.style.setProperty("--m-sidebar-side-width",this.sideWidth||eo.sideWidth),t.has("minContentWidth")&&this.style.setProperty("--m-sidebar-min-content-width",this.minContentWidth||eo.minContentWidth),t.has("reversed")&&this.style.setProperty("--m-sidebar-flex-direction",so(this.reversed)),super.update(t)}render(){return W`
378
+ <slot name="sidebar"></slot>
379
+ <slot name="content"></slot>
380
+ `}}ao.styles=[s`
381
+ :host {
382
+ --m-sidebar-gap: ${Wt(eo.gap)};
383
+ --m-sidebar-flex-direction: ${e(so(eo.reversed))};
384
+ --m-sidebar-side-width: ${e(eo.sideWidth)};
385
+ --m-sidebar-min-content-width: ${e(eo.minContentWidth)};
386
+
387
+ display: flex;
388
+ flex-wrap: wrap;
389
+ flex-direction: var( --m-sidebar-flex-direction );
390
+
391
+ gap: var( --m-sidebar-gap );
392
+ }
393
+
394
+ slot[name='sidebar']::slotted( * ) {
395
+ flex-basis: var( --m-sidebar-side-width );
396
+ flex-grow: 1;
397
+ }
398
+
399
+ slot[name='content']::slotted( * ) {
400
+ flex-basis: 0;
401
+ flex-grow: 999;
402
+ min-width: var( --m-sidebar-min-content-width );
403
+ }
404
+ `],window.customElements.define("m-sidebar",ao);class lo 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 W`
378
405
  <button
379
406
  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})}
380
407
  type=${this.type}
@@ -382,28 +409,28 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
382
409
  aria-disabled=${this._isDisabled()?"true":"false"}
383
410
  >
384
411
  <!-- TODO: Replace this with the loading dots component as soon as it is ready. -->
385
- ${this.loading&&!["icon","icon-secondary"].includes(this.variant)?R`<span class="loader">&#x25cf;&#x25cf;&#x25cf;</span>`:P}
412
+ ${this.loading&&!["icon","icon-secondary"].includes(this.variant)?W`<span class="loader">&#x25cf;&#x25cf;&#x25cf;</span>`:N}
386
413
  <slot name="leading"></slot>
387
414
  <slot></slot>
388
415
  <slot name="trailing"></slot>
389
416
  </button>
390
- `}_isDisabled(){return this.disabled||this.loading}}var io,eo;ro.styles=[s`
417
+ `}_isDisabled(){return this.disabled||this.loading}}var co,uo;lo.styles=[s`
391
418
  :host {
392
419
  --m-button-background-color: transparent;
393
420
  --m-button-base-size: 40px;
394
- --m-button-border-color: ${Dt("color-neutral-90")};
395
- --m-button-border-radius: ${Rt("border-radius-s")};
396
- --m-button-color: ${Dt("color-text-secondary")};
397
- --m-button-outline-color: ${Dt("color-primary-100")};
421
+ --m-button-border-color: ${Bt("color-neutral-90")};
422
+ --m-button-border-radius: ${Wt("border-radius-s")};
423
+ --m-button-color: ${Bt("color-text-secondary")};
424
+ --m-button-outline-color: ${Bt("color-primary-100")};
398
425
  --m-button-outline-offset: 2px;
399
- --m-button-padding-x: ${Rt("spacing-4")};
400
- --m-button-padding-y: ${Rt("spacing-3")};
426
+ --m-button-padding-x: ${Wt("spacing-4")};
427
+ --m-button-padding-y: ${Wt("spacing-3")};
401
428
  }
402
429
 
403
430
  .m-button {
404
431
  ${Ut([{property:"color"},{property:"background-color"},{property:"border-color"}])};
405
432
 
406
- ${Nt("button-md")};
433
+ ${Rt("button-md")};
407
434
 
408
435
  cursor: pointer;
409
436
  position: relative;
@@ -417,7 +444,7 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
417
444
 
418
445
  text-decoration: none;
419
446
 
420
- gap: ${Rt("spacing-1")};
447
+ gap: ${Wt("spacing-1")};
421
448
 
422
449
  padding-inline: var( --m-button-padding-x );
423
450
  padding-block: var( --m-button-padding-y );
@@ -429,23 +456,23 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
429
456
  border-radius: var( --m-button-border-radius );
430
457
  }
431
458
 
432
- ${Pt(".m-button")} {
459
+ ${Nt(".m-button")} {
433
460
  cursor: not-allowed;
434
461
  }
435
462
 
436
- ${Pt(".m-button","*")} {
463
+ ${Nt(".m-button","*")} {
437
464
  pointer-events: none;
438
465
  }
439
466
 
440
- ${Wt.focus(".m-button")} {
467
+ ${Pt.focus(".m-button")} {
441
468
  outline: 1px solid var( --m-button-outline-color );
442
469
  outline-offset: var( --m-button-outline-offset );
443
470
  }
444
471
 
445
- ${Wt.hover(".m-button")} {
446
- --m-button-background-color: ${Dt("color-background-inverted")};
447
- --m-button-border-color: ${Dt("color-background-inverted")};
448
- --m-button-color: ${Dt("color-text-inverted")};
472
+ ${Pt.hover(".m-button")} {
473
+ --m-button-background-color: ${Bt("color-background-inverted")};
474
+ --m-button-border-color: ${Bt("color-background-inverted")};
475
+ --m-button-color: ${Bt("color-text-inverted")};
449
476
  }
450
477
 
451
478
  ::slotted( * ),
@@ -453,8 +480,8 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
453
480
  display: inline-flex;
454
481
  align-items: center;
455
482
 
456
- ${eo=0,e(`\n\t\t${Mt(eo)};\n\t\t${Et(eo)}\n\t`)};
457
- ${io=0,e(`\n\t\t${Ct(io)};\n\t\t${_t(io)}\n\t`)};
483
+ ${uo=0,e(`\n\t\t${Mt(uo)};\n\t\t${Et(uo)}\n\t`)};
484
+ ${co=0,e(`\n\t\t${jt(co)};\n\t\t${_t(co)}\n\t`)};
458
485
  }
459
486
 
460
487
  slot[name='leading']::slotted( span ),
@@ -467,159 +494,159 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
467
494
  }
468
495
 
469
496
  .m-button.-primary {
470
- --m-button-background-color: ${Dt("color-primary-60")};
471
- --m-button-border-color: ${Dt("color-primary-60")};
472
- --m-button-color: ${Dt("color-text-inverted")};
497
+ --m-button-background-color: ${Bt("color-primary-60")};
498
+ --m-button-border-color: ${Bt("color-primary-60")};
499
+ --m-button-color: ${Bt("color-text-inverted")};
473
500
  }
474
501
 
475
- ${Pt(".m-button.-primary")} {
476
- --m-button-background-color: ${Dt("color-primary-20")};
477
- --m-button-border-color: ${Dt("color-primary-20")};
502
+ ${Nt(".m-button.-primary")} {
503
+ --m-button-background-color: ${Bt("color-primary-20")};
504
+ --m-button-border-color: ${Bt("color-primary-20")};
478
505
  }
479
506
 
480
- ${Wt.focus(".m-button.-primary")} {
481
- --m-button-border-color: ${Dt("color-primary-60")};
482
- --m-button-outline-color: ${Dt("color-primary-60")};
507
+ ${Pt.focus(".m-button.-primary")} {
508
+ --m-button-border-color: ${Bt("color-primary-60")};
509
+ --m-button-outline-color: ${Bt("color-primary-60")};
483
510
  }
484
511
 
485
- ${Wt.hover(".m-button.-primary")},
486
- ${Wt.active(".m-button.-primary")} {
487
- --m-button-background-color: ${Dt("color-primary-100")};
488
- --m-button-border-color: ${Dt("color-primary-100")};
512
+ ${Pt.hover(".m-button.-primary")},
513
+ ${Pt.active(".m-button.-primary")} {
514
+ --m-button-background-color: ${Bt("color-primary-100")};
515
+ --m-button-border-color: ${Bt("color-primary-100")};
489
516
  }
490
517
 
491
518
  .m-button.-primary.is-loading {
492
- --m-button-background-color: ${Dt("color-primary-60")};
493
- --m-button-border-color: ${Dt("color-primary-60")};
494
- --m-button-color: ${Dt("color-text-inverted")};
519
+ --m-button-background-color: ${Bt("color-primary-60")};
520
+ --m-button-border-color: ${Bt("color-primary-60")};
521
+ --m-button-color: ${Bt("color-text-inverted")};
495
522
  }
496
523
 
497
524
  .m-button.-secondary {
498
525
  --m-button-background-color: transparent;
499
- --m-button-border-color: ${Dt("color-primary-100")};
500
- --m-button-color: ${Dt("color-primary-100")};
526
+ --m-button-border-color: ${Bt("color-primary-100")};
527
+ --m-button-color: ${Bt("color-primary-100")};
501
528
  }
502
529
 
503
- ${Pt(".m-button.-secondary")} {
504
- --m-button-border-color: ${Dt("color-text-disabled")};
505
- --m-button-color: ${Dt("color-text-disabled")};
530
+ ${Nt(".m-button.-secondary")} {
531
+ --m-button-border-color: ${Bt("color-text-disabled")};
532
+ --m-button-color: ${Bt("color-text-disabled")};
506
533
  }
507
534
 
508
- ${Wt.focus(".m-button.-secondary")} {
509
- --m-button-border-color: ${Dt("color-primary-100")};
510
- --m-button-color: ${Dt("color-primary-100")};
535
+ ${Pt.focus(".m-button.-secondary")} {
536
+ --m-button-border-color: ${Bt("color-primary-100")};
537
+ --m-button-color: ${Bt("color-primary-100")};
511
538
 
512
- --m-button-outline-color: ${Dt("color-primary-60")};
539
+ --m-button-outline-color: ${Bt("color-primary-60")};
513
540
  }
514
541
 
515
- ${Wt.hover(".m-button.-secondary")},${Wt.active(".m-button.-secondary")} {
516
- --m-button-background-color: ${Dt("color-background-tertiary")};
517
- --m-button-border-color: ${Dt("color-primary-60")};
518
- --m-button-color: ${Dt("color-primary-60")};
542
+ ${Pt.hover(".m-button.-secondary")},${Pt.active(".m-button.-secondary")} {
543
+ --m-button-background-color: ${Bt("color-background-tertiary")};
544
+ --m-button-border-color: ${Bt("color-primary-60")};
545
+ --m-button-color: ${Bt("color-primary-60")};
519
546
  }
520
547
 
521
548
  .m-button.-secondary.is-loading {
522
549
  --m-button-background-color: transparent;
523
550
 
524
- --m-button-border-color: ${Dt("color-primary-100")};
525
- --m-button-color: ${Dt("color-primary-100")};
551
+ --m-button-border-color: ${Bt("color-primary-100")};
552
+ --m-button-color: ${Bt("color-primary-100")};
526
553
  }
527
554
 
528
555
  .m-button.-tertiary {
529
556
  --m-button-background-color: transparent;
530
557
  --m-button-border-color: transparent;
531
- --m-button-color: ${Dt("color-primary-100")};
558
+ --m-button-color: ${Bt("color-primary-100")};
532
559
  }
533
560
 
534
- ${Pt(".m-button.-tertiary")} {
535
- --m-button-color: ${Dt("color-text-disabled")};
561
+ ${Nt(".m-button.-tertiary")} {
562
+ --m-button-color: ${Bt("color-text-disabled")};
536
563
  }
537
564
 
538
- ${Wt.focus(".m-button.-tertiary")} {
539
- --m-button-color: ${Dt("color-primary-100")};
540
- --m-button-outline-color: ${Dt("color-primary-60")};
565
+ ${Pt.focus(".m-button.-tertiary")} {
566
+ --m-button-color: ${Bt("color-primary-100")};
567
+ --m-button-outline-color: ${Bt("color-primary-60")};
541
568
  }
542
569
 
543
- ${Wt.hover(".m-button.-tertiary")} {
544
- --m-button-background-color: ${Dt("color-background-tertiary")};
545
- --m-button-border-color: ${Dt("color-background-tertiary")};
546
- --m-button-color: ${Dt("color-primary-60")};
570
+ ${Pt.hover(".m-button.-tertiary")} {
571
+ --m-button-background-color: ${Bt("color-background-tertiary")};
572
+ --m-button-border-color: ${Bt("color-background-tertiary")};
573
+ --m-button-color: ${Bt("color-primary-60")};
547
574
  }
548
575
 
549
- ${Wt.active(".m-button.-tertiary")} {
550
- --m-button-background-color: ${Dt("color-neutral-20")};
551
- --m-button-border-color: ${Dt("color-neutral-20")};
552
- --m-button-color: ${Dt("color-primary-60")};
576
+ ${Pt.active(".m-button.-tertiary")} {
577
+ --m-button-background-color: ${Bt("color-neutral-20")};
578
+ --m-button-border-color: ${Bt("color-neutral-20")};
579
+ --m-button-color: ${Bt("color-primary-60")};
553
580
  }
554
581
 
555
582
  .m-button.-tertiary.is-loading {
556
583
  --m-button-background-color: transparent;
557
584
  --m-button-border-color: transparent;
558
- --m-button-color: ${Dt("color-primary-100")};
585
+ --m-button-color: ${Bt("color-primary-100")};
559
586
  }
560
587
 
561
588
  .m-button.-warning {
562
- --m-button-background-color: ${Dt("color-warning-60")};
563
- --m-button-border-color: ${Dt("color-warning-60")};
564
- --m-button-color: ${Dt("color-text-primary")};
589
+ --m-button-background-color: ${Bt("color-warning-60")};
590
+ --m-button-border-color: ${Bt("color-warning-60")};
591
+ --m-button-color: ${Bt("color-text-primary")};
565
592
  }
566
593
 
567
- ${Pt(".m-button.-warning")} {
568
- --m-button-background-color: ${Dt("color-warning-20")};
569
- --m-button-border-color: ${Dt("color-warning-20")};
570
- --m-button-color: ${Dt("color-text-inverted")};
594
+ ${Nt(".m-button.-warning")} {
595
+ --m-button-background-color: ${Bt("color-warning-20")};
596
+ --m-button-border-color: ${Bt("color-warning-20")};
597
+ --m-button-color: ${Bt("color-text-inverted")};
571
598
  }
572
599
 
573
- ${Wt.focus(".m-button.-warning")} {
574
- --m-button-background-color: ${Dt("color-warning-60")};
575
- --m-button-outline-color: ${Dt("color-warning-60")};
600
+ ${Pt.focus(".m-button.-warning")} {
601
+ --m-button-background-color: ${Bt("color-warning-60")};
602
+ --m-button-outline-color: ${Bt("color-warning-60")};
576
603
  }
577
604
 
578
- ${Wt.hover(".m-button.-warning")}, ${Wt.active(".m-button.-warning")} {
579
- --m-button-background-color: ${Dt("color-warning-100")};
580
- --m-button-border-color: ${Dt("color-warning-100")};
581
- --m-button-color: ${Dt("color-text-inverted")};
605
+ ${Pt.hover(".m-button.-warning")}, ${Pt.active(".m-button.-warning")} {
606
+ --m-button-background-color: ${Bt("color-warning-100")};
607
+ --m-button-border-color: ${Bt("color-warning-100")};
608
+ --m-button-color: ${Bt("color-text-inverted")};
582
609
  }
583
610
 
584
611
  .m-button.-warning.is-loading {
585
- --m-button-background-color: ${Dt("color-warning-60")};
586
- --m-button-border-color: ${Dt("color-warning-60")};
587
- --m-button-color: ${Dt("color-text-primary")};
612
+ --m-button-background-color: ${Bt("color-warning-60")};
613
+ --m-button-border-color: ${Bt("color-warning-60")};
614
+ --m-button-color: ${Bt("color-text-primary")};
588
615
  }
589
616
 
590
617
  .m-button.-danger {
591
- --m-button-background-color: ${Dt("color-danger-60")};
592
- --m-button-border-color: ${Dt("color-danger-60")};
593
- --m-button-color: ${Dt("color-text-inverted")};
618
+ --m-button-background-color: ${Bt("color-danger-60")};
619
+ --m-button-border-color: ${Bt("color-danger-60")};
620
+ --m-button-color: ${Bt("color-text-inverted")};
594
621
  }
595
622
 
596
- ${Pt(".m-button.-danger")} {
597
- --m-button-background-color: ${Dt("color-danger-20")};
598
- --m-button-border-color: ${Dt("color-danger-20")};
623
+ ${Nt(".m-button.-danger")} {
624
+ --m-button-background-color: ${Bt("color-danger-20")};
625
+ --m-button-border-color: ${Bt("color-danger-20")};
599
626
  }
600
627
 
601
- ${Wt.focus(".m-button.-danger")} {
602
- --m-button-background-color: ${Dt("color-danger-60")};
603
- --m-button-outline-color: ${Dt("color-danger-60")};
628
+ ${Pt.focus(".m-button.-danger")} {
629
+ --m-button-background-color: ${Bt("color-danger-60")};
630
+ --m-button-outline-color: ${Bt("color-danger-60")};
604
631
  }
605
632
 
606
- ${Wt.hover(".m-button.-danger")}, ${Wt.active(".m-button.-danger")} {
607
- --m-button-background-color: ${Dt("color-danger-100")};
608
- --m-button-border-color: ${Dt("color-danger-100")};
633
+ ${Pt.hover(".m-button.-danger")}, ${Pt.active(".m-button.-danger")} {
634
+ --m-button-background-color: ${Bt("color-danger-100")};
635
+ --m-button-border-color: ${Bt("color-danger-100")};
609
636
  }
610
637
 
611
638
  .m-button.-danger.is-loading {
612
- --m-button-background-color: ${Dt("color-danger-60")};
613
- --m-button-border-color: ${Dt("color-danger-60")};
614
- --m-button-color: ${Dt("color-text-inverted")};
639
+ --m-button-background-color: ${Bt("color-danger-60")};
640
+ --m-button-border-color: ${Bt("color-danger-60")};
641
+ --m-button-color: ${Bt("color-text-inverted")};
615
642
  }
616
643
 
617
644
  .m-button.-icon,
618
645
  .m-button.-icon-secondary {
619
- --m-button-border-radius: ${Rt("border-radius-circle")};
620
- --m-button-color: ${Dt("color-neutral-90")};
621
- --m-button-padding-x: ${Rt("spacing-1")};
622
- --m-button-padding-y: ${Rt("spacing-1")};
646
+ --m-button-border-radius: ${Wt("border-radius-circle")};
647
+ --m-button-color: ${Bt("color-neutral-90")};
648
+ --m-button-padding-x: ${Wt("spacing-1")};
649
+ --m-button-padding-y: ${Wt("spacing-1")};
623
650
 
624
651
  min-block-size: var( --m-button-base-size );
625
652
  max-block-size: var( --m-button-base-size );
@@ -628,8 +655,8 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
628
655
  }
629
656
 
630
657
  .m-button.-icon {
631
- --m-button-background-color: ${Dt("color-background-tertiary")};
632
- --m-button-border-color: ${Dt("color-background-tertiary")};
658
+ --m-button-background-color: ${Bt("color-background-tertiary")};
659
+ --m-button-border-color: ${Bt("color-background-tertiary")};
633
660
  }
634
661
 
635
662
  .m-button.-icon-secondary {
@@ -644,60 +671,60 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
644
671
  display: none;
645
672
  }
646
673
 
647
- ${Pt([".m-button.-icon",".m-button.-icon-secondary"])} {
648
- --m-button-color: ${Dt("color-neutral-40")};
674
+ ${Nt([".m-button.-icon",".m-button.-icon-secondary"])} {
675
+ --m-button-color: ${Bt("color-neutral-40")};
649
676
  }
650
677
 
651
- ${Pt(".m-button.-icon")} {
652
- --m-button-background-color: ${Dt("color-neutral-20")};
653
- --m-button-border-color: ${Dt("color-neutral-20")};
678
+ ${Nt(".m-button.-icon")} {
679
+ --m-button-background-color: ${Bt("color-neutral-20")};
680
+ --m-button-border-color: ${Bt("color-neutral-20")};
654
681
  }
655
682
 
656
- ${Pt(".m-button.-icon-secondary")} {
683
+ ${Nt(".m-button.-icon-secondary")} {
657
684
  --m-button-background-color: transparent;
658
685
  --m-button-border-color: transparent;
659
686
  }
660
687
 
661
- ${Wt.focus([".m-button.-icon",".m-button.-icon-secondary"])} {
662
- --m-button-color: ${Dt("color-primary-60")};
663
- --m-button-outline-color: ${Dt("color-primary-60")};
688
+ ${Pt.focus([".m-button.-icon",".m-button.-icon-secondary"])} {
689
+ --m-button-color: ${Bt("color-primary-60")};
690
+ --m-button-outline-color: ${Bt("color-primary-60")};
664
691
  }
665
692
 
666
- ${Wt.focus(".m-button.-icon")} {
667
- --m-button-background-color: ${Dt("color-neutral-20")};
693
+ ${Pt.focus(".m-button.-icon")} {
694
+ --m-button-background-color: ${Bt("color-neutral-20")};
668
695
  }
669
696
 
670
- ${Wt.focus(".m-button.-icon-secondary")} {
697
+ ${Pt.focus(".m-button.-icon-secondary")} {
671
698
  --m-button-background-color: transparent;
672
699
  }
673
700
 
674
- ${Wt.hover([".m-button.-icon",".m-button.-icon-secondary"])},
675
- ${Wt.active([".m-button.-icon",".m-button.-icon-secondary"])} {
676
- --m-button-color: ${Dt("color-primary-60")};
701
+ ${Pt.hover([".m-button.-icon",".m-button.-icon-secondary"])},
702
+ ${Pt.active([".m-button.-icon",".m-button.-icon-secondary"])} {
703
+ --m-button-color: ${Bt("color-primary-60")};
677
704
  }
678
705
 
679
- ${Wt.hover(".m-button.-icon")}, ${Wt.active(".m-button.-icon")} {
680
- --m-button-background-color: ${Dt("color-background-highlight")};
681
- --m-button-border-color: ${Dt("color-background-highlight")};
706
+ ${Pt.hover(".m-button.-icon")}, ${Pt.active(".m-button.-icon")} {
707
+ --m-button-background-color: ${Bt("color-background-highlight")};
708
+ --m-button-border-color: ${Bt("color-background-highlight")};
682
709
  }
683
710
 
684
- ${Wt.hover(".m-button.-icon-secondary")}, ${Wt.active(".m-button.-icon-secondary")} {
711
+ ${Pt.hover(".m-button.-icon-secondary")}, ${Pt.active(".m-button.-icon-secondary")} {
685
712
  --m-button-background-color: transparent;
686
713
  --m-button-border-color: transparent;
687
714
  }
688
715
 
689
716
  .m-button.-small {
690
- --m-button-padding-y: ${Rt("spacing-2")};
717
+ --m-button-padding-y: ${Wt("spacing-2")};
691
718
  --m-button-base-size: 28px;
692
719
 
693
- ${Nt("button-sm")};
720
+ ${Rt("button-sm")};
694
721
  }
695
722
 
696
723
  .m-button.-large {
697
- --m-button-padding-y: ${Rt("spacing-4")};
724
+ --m-button-padding-y: ${Wt("spacing-4")};
698
725
  --m-button-base-size: 48px;
699
726
 
700
- ${Nt("button-lg")};
727
+ ${Rt("button-lg")};
701
728
  }
702
729
 
703
730
  /* TODO: to be removed when the loading dots component is ready */
@@ -711,5 +738,5 @@ const nt=1,rt=t=>(...o)=>({_$litDirective$:t,values:o});class it{constructor(t){
711
738
 
712
739
  pointer-events: none;
713
740
  }
714
- `],window.customElements.define("m-button",ro);export{Ft as Box,ro as Button,Bt as Card,Lt as CardBody,Gt as CardSubtitle,Jt as CardTitle,Zt as Divider,no as Grid,Xt as Group,Kt as ProgressBar,to as Stack,It as Text,Vt as defaultBoxProps,oo as defaultGridProps,Qt as defaultGroupProps,Yt as defaultStackProps};
741
+ `],window.customElements.define("m-button",lo);export{Vt as ALIGN_ITEMS_VALUES,Xt as Box,lo as Button,It as Card,Lt as CardBody,Gt as CardSubtitle,Jt as CardTitle,Zt as Divider,io as Grid,to as Group,Ft as JUSTIFY_CONTENT_VALUES,Kt as ProgressBar,ao as Sidebar,no as Stack,Dt as Text,Qt as defaultBoxProps,ro as defaultGridProps,Yt as defaultGroupProps,eo as defaultSidebarProps,oo as defaultStackProps};
715
742
  //# sourceMappingURL=index.js.map