@loadsmart/miranda-wc 1.92.0 → 1.93.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/{alert-circle-Tzg2FvZ9.js → alert-circle-CREw-pPI.js} +2 -2
- package/dist/{alert-circle-Tzg2FvZ9.js.map → alert-circle-CREw-pPI.js.map} +1 -1
- package/dist/{arrow-left-B8fy1Z6T.js → arrow-left-DV1hgD0o.js} +2 -2
- package/dist/arrow-left-DV1hgD0o.js.map +1 -0
- package/dist/{attention-T68EFu_K.js → attention-5DEU-J6d.js} +2 -2
- package/dist/attention-5DEU-J6d.js.map +1 -0
- package/dist/{bell-DOQSdjIS.js → bell-DmhNEAVR.js} +2 -2
- package/dist/bell-DmhNEAVR.js.map +1 -0
- package/dist/{caret-down-DAwGIgAB.js → caret-down-8bIJffj5.js} +2 -2
- package/dist/caret-down-8bIJffj5.js.map +1 -0
- package/dist/{caret-left-BHtmgQq5.js → caret-left-PLAelnWU.js} +2 -2
- package/dist/caret-left-PLAelnWU.js.map +1 -0
- package/dist/{caret-right-B3K08ELm.js → caret-right-BQWP51hl.js} +2 -2
- package/dist/caret-right-BQWP51hl.js.map +1 -0
- package/dist/{check-Do0uTmUp.js → check-C0dcqo5u.js} +2 -2
- package/dist/check-C0dcqo5u.js.map +1 -0
- package/dist/{close-_kw16u07.js → close-BZTRaA0m.js} +2 -2
- package/dist/close-BZTRaA0m.js.map +1 -0
- package/dist/components/layout/index.d.ts +1 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/row/column.d.ts +51 -0
- package/dist/components/layout/row/column.d.ts.map +1 -0
- package/dist/components/layout/row/container.d.ts +12 -0
- package/dist/components/layout/row/container.d.ts.map +1 -0
- package/dist/components/layout/row/index.d.ts +5 -0
- package/dist/components/layout/row/index.d.ts.map +1 -0
- package/dist/components/layout/row/row.constants.d.ts +6 -0
- package/dist/components/layout/row/row.constants.d.ts.map +1 -0
- package/dist/components/layout/row/row.d.ts +32 -0
- package/dist/components/layout/row/row.d.ts.map +1 -0
- package/dist/components/layout/row/row.styles.d.ts +4 -0
- package/dist/components/layout/row/row.styles.d.ts.map +1 -0
- package/dist/components/layout/row/row.types.d.ts +25 -0
- package/dist/components/layout/row/row.types.d.ts.map +1 -0
- package/dist/{double-caret-left-uIVmbx2e.js → double-caret-left-LOXjxy-5.js} +2 -2
- package/dist/{double-caret-left-uIVmbx2e.js.map → double-caret-left-LOXjxy-5.js.map} +1 -1
- package/dist/{double-caret-right-D-gWG2X2.js → double-caret-right-C2nDMJia.js} +2 -2
- package/dist/{double-caret-right-D-gWG2X2.js.map → double-caret-right-C2nDMJia.js.map} +1 -1
- package/dist/{indeterminate-DK_wYyeI.js → indeterminate-Do4pUzaF.js} +2 -2
- package/dist/{indeterminate-DK_wYyeI.js.map → indeterminate-Do4pUzaF.js.map} +1 -1
- package/dist/{index-BMFdJHlG.js → index-InjGzKHu.js} +55 -9
- package/dist/index-InjGzKHu.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{info-circle-aJcizwMW.js → info-circle-B2_T61R3.js} +2 -2
- package/dist/{info-circle-aJcizwMW.js.map → info-circle-B2_T61R3.js.map} +1 -1
- package/dist/styles/media.d.ts +9 -2
- package/dist/styles/media.d.ts.map +1 -1
- package/dist/utils/range.d.ts +10 -0
- package/dist/utils/range.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/arrow-left-B8fy1Z6T.js.map +0 -1
- package/dist/attention-T68EFu_K.js.map +0 -1
- package/dist/bell-DOQSdjIS.js.map +0 -1
- package/dist/caret-down-DAwGIgAB.js.map +0 -1
- package/dist/caret-left-BHtmgQq5.js.map +0 -1
- package/dist/caret-right-B3K08ELm.js.map +0 -1
- package/dist/check-Do0uTmUp.js.map +0 -1
- package/dist/close-_kw16u07.js.map +0 -1
- package/dist/index-BMFdJHlG.js.map +0 -1
|
@@ -15,7 +15,7 @@ const t$7=window,e$b=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.native
|
|
|
15
15
|
* Copyright 2017 Google LLC
|
|
16
16
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
17
|
*/
|
|
18
|
-
var t$6;u$2[d$2]=!0,u$2.elementProperties=new Map,u$2.elementStyles=[],u$2.shadowRootOptions={mode:"open"},null==o$9||o$9({ReactiveElement:u$2}),(null!==(s$9=e$a.reactiveElementVersions)&&void 0!==s$9?s$9:e$a.reactiveElementVersions=[]).push("1.6.3");const i$5=window,s$8=i$5.trustedTypes,e$9=s$8?s$8.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$8="$lit$",n$9=`lit$${(Math.random()+"").slice(9)}$`,l$5="?"+n$9,h$2=`<${l$5}>`,r$5=document,u$1=()=>r$5.createComment(""),d$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$1=Array.isArray,v=t=>c$1(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$3="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$1=/-->/g,m$2=/>/g,p$1=RegExp(`>|${a$3}(?:([^\\s"'>=/]+)(${a$3}*=${a$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g=/'/g,$=/"/g,y=/^(?:script|style|textarea|title)$/i,w=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),x=w(1),b=w(2),T=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),E=new WeakMap,C=r$5.createTreeWalker(r$5,129,null,!1);function P(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$9?e$9.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",s=f;for(let e=0;e<o;e++){const o=t[e];let a,l,c=-1,d=0;for(;d<o.length&&(s.lastIndex=d,l=s.exec(o),null!==l);)d=s.lastIndex,s===f?"!--"===l[1]?s=_$1:void 0!==l[1]?s=m$2:void 0!==l[2]?(y.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=p$1):void 0!==l[3]&&(s=p$1):s===p$1?">"===l[0]?(s=null!=r?r:f,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?p$1:'"'===l[3]?$:g):s===$||s===g?s=p$1:s===_$1||s===m$2?s=f:(s=p$1,r=void 0);const
|
|
18
|
+
var t$6;u$2[d$2]=!0,u$2.elementProperties=new Map,u$2.elementStyles=[],u$2.shadowRootOptions={mode:"open"},null==o$9||o$9({ReactiveElement:u$2}),(null!==(s$9=e$a.reactiveElementVersions)&&void 0!==s$9?s$9:e$a.reactiveElementVersions=[]).push("1.6.3");const i$5=window,s$8=i$5.trustedTypes,e$9=s$8?s$8.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$8="$lit$",n$9=`lit$${(Math.random()+"").slice(9)}$`,l$5="?"+n$9,h$2=`<${l$5}>`,r$5=document,u$1=()=>r$5.createComment(""),d$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$1=Array.isArray,v=t=>c$1(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$3="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$1=/-->/g,m$2=/>/g,p$1=RegExp(`>|${a$3}(?:([^\\s"'>=/]+)(${a$3}*=${a$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g=/'/g,$=/"/g,y=/^(?:script|style|textarea|title)$/i,w=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),x=w(1),b=w(2),T=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),E=new WeakMap,C=r$5.createTreeWalker(r$5,129,null,!1);function P(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$9?e$9.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",s=f;for(let e=0;e<o;e++){const o=t[e];let a,l,c=-1,d=0;for(;d<o.length&&(s.lastIndex=d,l=s.exec(o),null!==l);)d=s.lastIndex,s===f?"!--"===l[1]?s=_$1:void 0!==l[1]?s=m$2:void 0!==l[2]?(y.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=p$1):void 0!==l[3]&&(s=p$1):s===p$1?">"===l[0]?(s=null!=r?r:f,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?p$1:'"'===l[3]?$:g):s===$||s===g?s=p$1:s===_$1||s===m$2?s=f:(s=p$1,r=void 0);const u=s===p$1&&t[e+1].startsWith("/>")?" ":"";n+=s===f?o+h$2:c>=0?(i.push(a),o.slice(0,c)+o$8+o.slice(c)+n$9+u):o+n$9+(-2===c?(i.push(void 0),e):u)}return[P(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class N{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,c]=V(t,e);if(this.el=N.createElement(l,o),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=C.nextNode())&&a.length<s;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(o$8)||e.startsWith(n$9)){const o=c[n++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+o$8).split(n$9),e=/([.?@])?(.*)/.exec(o);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?H:"?"===e[1]?L:"@"===e[1]?z:k})}else a.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(y.test(i.tagName)){const t=i.textContent.split(n$9),e=t.length-1;if(e>0){i.textContent=s$8?s$8.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],u$1()),C.nextNode(),a.push({type:2,index:++r});i.append(t[e],u$1())}}}else if(8===i.nodeType)if(i.data===l$5)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(n$9,t+1));)a.push({type:7,index:r}),t+=n$9.length-1}r++}}static createElement(t,e){const o=r$5.createElement("template");return o.innerHTML=t,o}}function S$1(t,e,o=t,i){var r,n,s,a;if(e===T)return e;let l=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=d$1(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,o,i)),void 0!==i?(null!==(s=(a=o)._$Co)&&void 0!==s?s:a._$Co=[])[i]=l:o._$Cl=l),void 0!==l&&(e=S$1(t,l._$AS(t,e.values),l,i)),e}class M{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:r$5).importNode(o,!0);C.currentNode=r;let n=C.nextNode(),s=0,a=0,l=i[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new R(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new Z(n,this,t)),this._$AV.push(e),l=i[++a]}s!==(null==l?void 0:l.index)&&(n=C.nextNode(),s++)}return C.currentNode=r$5,r}v(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class R{constructor(t,e,o,i){var r;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S$1(this,t,e),d$1(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==A&&d$1(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$5.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=N.createElement(P(i.h,i.h[0]),this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new M(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new N(t)),e}T(t){c$1(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new R(this.k(u$1()),this.k(u$1()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class k{constructor(t,e,o,i,r){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=S$1(this,t,e,0),n=!d$1(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=S$1(this,i[o+s],e,s),a===T&&(a=this._$AH[s]),n||(n=!d$1(a)||a!==this._$AH[s]),a===A?t=A:t!==A&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}n&&!i&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}const I=s$8?s$8.emptyScript:"";class L extends k{constructor(){super(...arguments),this.type=4}j(t){t&&t!==A?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name)}}class z extends k{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=S$1(this,t,e,0))&&void 0!==o?o:A)===T)return;const i=this._$AH,r=t===A&&i!==A||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==A&&(i===A||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S$1(this,t)}}const B=i$5.litHtmlPolyfillSupport;null==B||B(N,R),(null!==(t$6=i$5.litHtmlVersions)&&void 0!==t$6?t$6:i$5.litHtmlVersions=[]).push("2.8.0");const D=(t,e,o)=>{var i,r;const n=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new R(e.insertBefore(u$1(),t),t,void 0,null!=o?o:{})}return s._$AI(t),s
|
|
19
19
|
/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2019 Google LLC
|
|
@@ -31,7 +31,7 @@ var t$6;u$2[d$2]=!0,u$2.elementProperties=new Map,u$2.elementStyles=[],u$2.shado
|
|
|
31
31
|
* Copyright 2017 Google LLC
|
|
32
32
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
33
|
*/
|
|
34
|
-
var l$3,o$5;u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==o$6||o$6({ReactiveElement:u}),(null!==(s$6=e$7.reactiveElementVersions)&&void 0!==s$6?s$6:e$7.reactiveElementVersions=[]).push("1.6.3");let s$5=class extends u{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(e,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 T}};s$5.finalized=!0,s$5._$litElement$=!0,null===(l$3=globalThis.litElementHydrateSupport)||void 0===l$3||l$3.call(globalThis,{LitElement:s$5});const n$6=globalThis.litElementPolyfillSupport;function redispatchEvent(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);return i||e.preventDefault(),i}function isInsideElement(t,e){return e.shadowRoot?t.composedPath().includes(e):null!=t.target&&e.contains(t.target)}null==n$6||n$6({LitElement:s$5}),(null!==(o$5=globalThis.litElementVersions)&&void 0!==o$5?o$5:globalThis.litElementVersions=[]).push("3.3.3");class Component extends s$5{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{redispatchEvent(this,t)}}}function getDefaultExportFromCjs(t){return t&&t.i&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var toSpacingCSSValue,toCSSValue,getToken$1,themes={};themes.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, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.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%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","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","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"};var r$2=themes;function t$4(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$6(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$4(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$5=Object.keys(r$2.LoadsmartTheme),a$1=t$4([],o$4(o$4(n$5,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$6(a$1,"color-background-"),e$6(a$1,"border-radius-"),e$6(a$1,"border-"),e$6(a$1,"color-"),e$6(a$1,"elevation-"),e$6(a$1,"font-family-"),e$6(a$1,"font-size-"),e$6(a$1,"font-weight-"),e$6(a$1,"global-"),e$6(a$1,"glow-"),e$6(a$1,"line-height-"),e$6(a$1,"opacity-");var _=e$6(a$1,"spacing-");function K(t){return r$2.LoadsmartTheme[t]}function m$1(t){var e=K(t);return null==e?e:"--m-".concat(t)}function h(t,e){var o=K(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m$1(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m$1(t),", ").concat(o,")")}function getToken(t){return r$4(toCSSValue(t))}function getColor(t,e=1){return r$4(toCSSValue(t,e))}function mr(t){return r$4(`\n\t\tmargin-inline-end: ${t}\n\t`)}function ml(t){return r$4(`\n\t\tmargin-inline-start: ${t}\n\t`)}function mx(t){return r$4(`\n\t\t${ml(t)};\n\t\t${mr(t)}\n\t`)}function mt(t){return r$4(`\n\t\tmargin-block-start: ${t}\n\t`)}function mb(t){return r$4(`\n\t\tmargin-block-end: ${t}\n\t`)}function my(t){return r$4(`\n\t\t${mt(t)};\n\t\t${mb(t)}\n\t`)}function m(t){return r$4(`\n\t\t${mx(t)};\n\t\t${my(t)}\n\t`)}function mediaDesktop(t){return r$4(`\n\t@media screen and (min-width: ${getToken$1("media-screen-desktop")}) {\n\t\t${t}\n\t}\n`)}e$6(a$1,"media-"),t$4(["none"],_,!0),getToken$1=K,toCSSValue=h,toSpacingCSSValue=function(t,e){var o,i=e?h(e):"";return t&&null!==(o="none"===t?"0":h(t))&&void 0!==o?o:i};var toArray=function(t){return null==t?[]:Array.isArray(t)?t:[t]},toArray$1=getDefaultExportFromCjs(toArray);const pseudoClassMap={active:[":active"],disabled:[".is-disabled",":disabled"],focus:[".is-focused",":focus",":focus-visible",":focus-within"],hover:[":hover"],visited:[":visited"]};function isPseudoClass(t){return Object.keys(pseudoClassMap).includes(t)}function isNegated(t){return t.startsWith("not.")}function joinIs(t){const e=toArray$1(t).filter((t=>""!==t.trim()));return 0===e.length?"":1===e.length?e[0]:`:is(${e.join(", ")})`}function toString(t,e,o,i){let r=joinIs(t);for(const t of i)if(isNegated(t)){const e=t.slice(4);r=`${r}:not(${pseudoClassMap[e].join(", ")})`}else r=`${r}${joinIs(pseudoClassMap[t])}`;const n=joinIs(e);if(n){let t=` ${o} `;return null==o&&(t="")," "===o&&(t=o),`${r}${t}${n}`}return r}function on(t,e,o=" "){const i=[];let r=!1;const n=new Proxy(r$4(""),{get:(s,a,l)=>"cssText"===a?toString(t,e,o,i):"not"===a?(r=!r,n):isPseudoClass(a)?(i.push(r?`not.${a}`:a),r=!1,n):Reflect.get(s,a,l)});return n}function pr(t){return r$4(`\n\t\tpadding-inline-start: ${t}\n\t`)}function pl(t){return r$4(`\n\t\tpadding-inline-end: ${t}\n\t`)}function px(t){return r$4(`\n\t\t${pl(t)};\n\t\t${pr(t)}\n\t`)}function pt(t){return r$4(`\n\t\tpadding-block-start: ${t}\n\t`)}function pb(t){return r$4(`\n\t\tpadding-block-end: ${t}\n\t`)}function py(t){return r$4(`\n\t\t${pt(t)};\n\t\t${pb(t)}\n\t`)}function p(t){return r$4(`\n\t\t${px(t)};\n\t\t${py(t)}\n\t`)}function skeleton(){return r$4("animation: skeleton-loading 1s linear infinite alternate;")}skeleton.styles=()=>i$4`
|
|
34
|
+
var l$3,o$5;u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==o$6||o$6({ReactiveElement:u}),(null!==(s$6=e$7.reactiveElementVersions)&&void 0!==s$6?s$6:e$7.reactiveElementVersions=[]).push("1.6.3");let s$5=class extends u{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(e,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 T}};s$5.finalized=!0,s$5._$litElement$=!0,null===(l$3=globalThis.litElementHydrateSupport)||void 0===l$3||l$3.call(globalThis,{LitElement:s$5});const n$6=globalThis.litElementPolyfillSupport;function redispatchEvent(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);return i||e.preventDefault(),i}function isInsideElement(t,e){return e.shadowRoot?t.composedPath().includes(e):null!=t.target&&e.contains(t.target)}null==n$6||n$6({LitElement:s$5}),(null!==(o$5=globalThis.litElementVersions)&&void 0!==o$5?o$5:globalThis.litElementVersions=[]).push("3.3.3");class Component extends s$5{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{redispatchEvent(this,t)}}}function getDefaultExportFromCjs(t){return t&&t.i&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var toSpacingCSSValue,toCSSValue,getToken$1,themes={};themes.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, 84, 84","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.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%","line-height-6":"180%","media-screen-desktop":"1025px","media-screen-tablet":"481px","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","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"};var r$2=themes;function t$4(t,e,o){if(o||2===arguments.length)for(var i,r=0,n=e.length;r<n;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function e$6(t,e){return t.filter((function(t){return t.startsWith(e)}))}function o$4(t,e){return t.filter((function(t){return!t.startsWith(e)}))}"function"==typeof SuppressedError&&SuppressedError;var n$5=Object.keys(r$2.LoadsmartTheme),a$1=t$4([],o$4(o$4(n$5,"brand-"),"platform-"),!0).sort((function(t,e){return t.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}));e$6(a$1,"color-background-"),e$6(a$1,"border-radius-"),e$6(a$1,"border-"),e$6(a$1,"color-"),e$6(a$1,"elevation-"),e$6(a$1,"font-family-"),e$6(a$1,"font-size-"),e$6(a$1,"font-weight-"),e$6(a$1,"global-"),e$6(a$1,"glow-"),e$6(a$1,"line-height-"),e$6(a$1,"opacity-");var _=e$6(a$1,"spacing-");function K(t){return r$2.LoadsmartTheme[t]}function m$1(t){var e=K(t);return null==e?e:"--m-".concat(t)}function h(t,e){var o=K(t);return null==o?"":t.startsWith("color-")?"rgba(var(".concat(m$1(t),", ").concat(o,"), ").concat(null!=e?e:1,")"):"var(".concat(m$1(t),", ").concat(o,")")}function getToken(t){return r$4(toCSSValue(t))}function getColor(t,e=1){return r$4(toCSSValue(t,e))}function mr(t){return r$4(`\n\t\tmargin-inline-end: ${t}\n\t`)}function ml(t){return r$4(`\n\t\tmargin-inline-start: ${t}\n\t`)}function mx(t){return r$4(`\n\t\t${ml(t)};\n\t\t${mr(t)}\n\t`)}function mt(t){return r$4(`\n\t\tmargin-block-start: ${t}\n\t`)}function mb(t){return r$4(`\n\t\tmargin-block-end: ${t}\n\t`)}function my(t){return r$4(`\n\t\t${mt(t)};\n\t\t${mb(t)}\n\t`)}function m(t){return r$4(`\n\t\t${mx(t)};\n\t\t${my(t)}\n\t`)}function mediaDesktop(t){return r$4(`\n\t@media screen and (min-width: ${getToken$1("media-screen-desktop")}) {\n\t\t${t}\n\t}\n`)}function mediaTablet(t){return r$4(`\n\t@media screen and (min-width: ${getToken$1("media-screen-tablet")}) {\n\t\t${t}\n\t}\n`)}e$6(a$1,"media-"),t$4(["none"],_,!0),getToken$1=K,toCSSValue=h,toSpacingCSSValue=function(t,e){var o,i=e?h(e):"";return t&&null!==(o="none"===t?"0":h(t))&&void 0!==o?o:i};var toArray=function(t){return null==t?[]:Array.isArray(t)?t:[t]},toArray$1=getDefaultExportFromCjs(toArray);const pseudoClassMap={active:[":active"],disabled:[".is-disabled",":disabled"],focus:[".is-focused",":focus",":focus-visible",":focus-within"],hover:[":hover"],visited:[":visited"]};function isPseudoClass(t){return Object.keys(pseudoClassMap).includes(t)}function isNegated(t){return t.startsWith("not.")}function joinIs(t){const e=toArray$1(t).filter((t=>""!==t.trim()));return 0===e.length?"":1===e.length?e[0]:`:is(${e.join(", ")})`}function toString(t,e,o,i){let r=joinIs(t);for(const t of i)if(isNegated(t)){const e=t.slice(4);r=`${r}:not(${pseudoClassMap[e].join(", ")})`}else r=`${r}${joinIs(pseudoClassMap[t])}`;const n=joinIs(e);if(n){let t=` ${o} `;return null==o&&(t="")," "===o&&(t=o),`${r}${t}${n}`}return r}function on(t,e,o=" "){const i=[];let r=!1;const n=new Proxy(r$4(""),{get:(s,a,l)=>"cssText"===a?toString(t,e,o,i):"not"===a?(r=!r,n):isPseudoClass(a)?(i.push(r?`not.${a}`:a),r=!1,n):Reflect.get(s,a,l)});return n}function pr(t){return r$4(`\n\t\tpadding-inline-start: ${t}\n\t`)}function pl(t){return r$4(`\n\t\tpadding-inline-end: ${t}\n\t`)}function px(t){return r$4(`\n\t\t${pl(t)};\n\t\t${pr(t)}\n\t`)}function pt(t){return r$4(`\n\t\tpadding-block-start: ${t}\n\t`)}function pb(t){return r$4(`\n\t\tpadding-block-end: ${t}\n\t`)}function py(t){return r$4(`\n\t\t${pt(t)};\n\t\t${pb(t)}\n\t`)}function p(t){return r$4(`\n\t\t${px(t)};\n\t\t${py(t)}\n\t`)}function skeleton(){return r$4("animation: skeleton-loading 1s linear infinite alternate;")}skeleton.styles=()=>i$4`
|
|
35
35
|
@keyframes skeleton-loading {
|
|
36
36
|
0% {
|
|
37
37
|
background-color: ${getColor("color-background-tertiary")};
|
|
@@ -167,7 +167,7 @@ var l$3,o$5;u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootO
|
|
|
167
167
|
color: var(--m-icon-color);
|
|
168
168
|
fill: var(--m-icon-color);
|
|
169
169
|
}
|
|
170
|
-
`]}const icons=new Map([["alert-circle",()=>import("./alert-circle-
|
|
170
|
+
`]}const icons=new Map([["alert-circle",()=>import("./alert-circle-CREw-pPI.js")],["arrow-left",()=>import("./arrow-left-DV1hgD0o.js")],["attention",()=>import("./attention-5DEU-J6d.js")],["bell",()=>import("./bell-DmhNEAVR.js")],["caret-down",()=>import("./caret-down-8bIJffj5.js")],["caret-left",()=>import("./caret-left-PLAelnWU.js")],["caret-right",()=>import("./caret-right-BQWP51hl.js")],["check",()=>import("./check-C0dcqo5u.js")],["close",()=>import("./close-BZTRaA0m.js")],["double-caret-left",()=>import("./double-caret-left-LOXjxy-5.js")],["double-caret-right",()=>import("./double-caret-right-C2nDMJia.js")],["indeterminate",()=>import("./indeterminate-Do4pUzaF.js")],["info-circle",()=>import("./info-circle-B2_T61R3.js")]]);var _Icon_loadIcon,_Accordion_instances,_Accordion_accordionTrigger_get,_Accordion_accordionPanel_get,_Accordion_accordionContent_get,_Accordion_handleExpand,_Accordion_toggle,_Accordion_handleTransition;icons.keys();class Icon extends Component{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,_Icon_loadIcon.set(this,(async()=>{icons.has(this.name);try{this.icon=null;const{default:t}=await icons.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}update(t){super.update(t),t.has("name")&&__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",toCSSValue(this.color))}render(){return null!=this.name&&icons.has(this.name)&&null!=this.icon?this.icon:A}}_Icon_loadIcon=new WeakMap,Icon.styles=[styles$H()],window.customElements.define("m-icon",Icon);class Accordion extends Component{static get properties(){return{disabled:{type:Boolean,reflect:!0},expanded:{type:Boolean,reflect:!0}}}constructor(){super(),_Accordion_instances.add(this),_Accordion_handleTransition.set(this,(()=>{this.expanded&&!this.disabled&&(__classPrivateFieldGet(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height="auto")})),this.disabled=!1,this.expanded=!1,this.resizeObserver=new ResizeObserver((t=>{this.panelHeight=t[0].target.scrollHeight}))}firstUpdated(){__classPrivateFieldGet(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.transition="visibility 0.35s",__classPrivateFieldGet(this,_Accordion_instances,"a",_Accordion_accordionContent_get).setAttribute("role","region"),this.resizeObserver.observe(__classPrivateFieldGet(this,_Accordion_instances,"a",_Accordion_accordionPanel_get)),__classPrivateFieldGet(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).addEventListener("transitionend",__classPrivateFieldGet(this,_Accordion_handleTransition,"f"))}update(t){super.update(t),(t.has("expanded")||t.has("disabled"))&&__classPrivateFieldGet(this,_Accordion_instances,"m",_Accordion_handleExpand).call(this)}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).removeEventListener("transitionend",__classPrivateFieldGet(this,_Accordion_handleTransition,"f")),this.resizeObserver.disconnect()}render(){return x`
|
|
171
171
|
<article class="m-accordion">
|
|
172
172
|
<h3 class="m-accordion-header">
|
|
173
173
|
<button
|
|
@@ -1025,7 +1025,11 @@ const i$1="important",n$3=" !"+i$1,o$1=e$4(class extends i$2{constructor(t){var
|
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
|
-
${mediaDesktop(
|
|
1028
|
+
${mediaDesktop(i$4`
|
|
1029
|
+
.body-wrapper {
|
|
1030
|
+
padding: ${getToken("spacing-6")};
|
|
1031
|
+
}
|
|
1032
|
+
`)}
|
|
1029
1033
|
`}_Banner_primaryAction=new WeakMap,_Banner_handleDismissClick=new WeakMap,Banner.styles=[styles$z()],window.customElements.define("m-banner",Banner);class Body extends s$5{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="page-body"}render(){return n$4`<div class="body-wrapper"><slot></slot></div>`}}function cardStyles(){return i$4`
|
|
1030
1034
|
:host {
|
|
1031
1035
|
--m-card-background-color: ${getColor("color-background-primary")};
|
|
@@ -1298,7 +1302,49 @@ const i$1="important",n$3=" !"+i$1,o$1=e$4(class extends i$2{constructor(t){var
|
|
|
1298
1302
|
`:"";return x`
|
|
1299
1303
|
${t}
|
|
1300
1304
|
<slot></slot>
|
|
1301
|
-
`}}Switcher.CSSPropertiesPrefix="switcher",Switcher.styles=[getBaseLayoutStyles(Switcher.CSSPropertiesPrefix),switcherStyles()],window.customElements.define("m-switcher",Switcher);const
|
|
1305
|
+
`}}function range(t,e){return Array.from({length:(e-t)/1+1},((e,o)=>t+1*o))}Switcher.CSSPropertiesPrefix="switcher",Switcher.styles=[getBaseLayoutStyles(Switcher.CSSPropertiesPrefix),switcherStyles()],window.customElements.define("m-switcher",Switcher);const COLUMNS=4,defaultRowProps={gap:"spacing-4"};function generateSlicedStyles(t){return r$4(range(1,COLUMNS).map((e=>`\n\t\t\t\t:host {\n flex: 1 1 0%;\n max-inline-size: ${100*e/COLUMNS}%;\n\t\t\t\t}\n\n\t\t\t\t:host([${t}="${e}"]) {\n flex: 0 0 ${100*e/COLUMNS}%;\n max-inline-size: ${100*e/COLUMNS}%;\n\t\t\t\t}\n\n\t\t\t\t:host([offset-${t}="${e}"]) {\n margin-inline-start: ${100*e/COLUMNS}%;\n\t\t\t\t}\n\t\t\t`)).join("\n"))}function containerStyles(){return i$4`
|
|
1306
|
+
:host {
|
|
1307
|
+
--m-column-gap: ${getToken(defaultRowProps.gap)};
|
|
1308
|
+
--m-row-gap: ${getToken(defaultRowProps.gap)};
|
|
1309
|
+
|
|
1310
|
+
display: block;
|
|
1311
|
+
box-sizing: border-box;
|
|
1312
|
+
|
|
1313
|
+
inline-size: 100%;
|
|
1314
|
+
padding-inline: calc(var(--m-column-gap) / -2);
|
|
1315
|
+
padding-block: 0;
|
|
1316
|
+
margin-inline: auto;
|
|
1317
|
+
margin-block: 0;
|
|
1318
|
+
}
|
|
1319
|
+
`}function rowStyles(){return i$4`
|
|
1320
|
+
:host {
|
|
1321
|
+
display: flex;
|
|
1322
|
+
flex-wrap: wrap;
|
|
1323
|
+
margin-inline: calc(var(--m-column-gap) / -2);
|
|
1324
|
+
box-sizing: border-box;
|
|
1325
|
+
|
|
1326
|
+
row-gap: var(--m-row-gap);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
:host(:not(:first-of-type)) {
|
|
1330
|
+
margin-block: var(--m-row-gap);
|
|
1331
|
+
}
|
|
1332
|
+
`}function columnStyles(){return i$4`
|
|
1333
|
+
:host {
|
|
1334
|
+
position: relative;
|
|
1335
|
+
inline-size: 100%;
|
|
1336
|
+
min-block-size: 1px;
|
|
1337
|
+
padding-inline: calc(var(--m-column-gap) / 2);
|
|
1338
|
+
|
|
1339
|
+
box-sizing: border-box;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
${generateSlicedStyles("sm")}
|
|
1343
|
+
|
|
1344
|
+
${mediaTablet(generateSlicedStyles("md"))}
|
|
1345
|
+
|
|
1346
|
+
${mediaDesktop(generateSlicedStyles("lg"))}
|
|
1347
|
+
`}class Container extends s$5{render(){return x`<slot name="row"></slot>`}}Container.CSSPropertiesPrefix="container",Container.styles=[containerStyles()],window.customElements.define("m-container",Container);class Row extends s$5{static get properties(){return{...super.properties,gap:{type:String},columnGap:{type:String,attribute:"column-gap"},rowGap:{type:String,attribute:"row-gap"}}}connectedCallback(){super.connectedCallback(),this.setAttribute("slot","row")}update(t){if(super.update(t),t.has("gap")){const t=toSpacingCSSValue(this.gap,defaultRowProps.gap);this.style.setProperty("--m-row-gap",t),this.style.setProperty("--m-column-gap",t)}t.has("rowGap")&&(this.rowGap?this.style.setProperty("--m-row-gap",toSpacingCSSValue(this.rowGap)):this.style.removeProperty("--m-row-gap")),t.has("columnGap")&&(this.columnGap?this.style.setProperty("--m-column-gap",toSpacingCSSValue(this.columnGap)):this.style.removeProperty("--m-column-gap"))}render(){return x`<slot name="column"></slot>`}}Row.CSSPropertiesPrefix="row",Row.styles=[rowStyles()],window.customElements.define("m-row",Row);class Column extends s$5{static get properties(){return{...super.properties,sm:{type:String,reflect:!0},md:{type:String,reflect:!0},lg:{type:String,reflect:!0},offsetSm:{type:String,reflect:!0,attribute:"offset-sm"},offsetMd:{type:String,reflect:!0,attribute:"offset-md"},offsetLg:{type:String,reflect:!0,attribute:"offset-lg"}}}connectedCallback(){super.connectedCallback(),this.slot="column"}update(t){var e,o,i,r,n,s,a;t.has("sm")&&(this.md=null!==(e=this.md)&&void 0!==e?e:this.sm,this.lg=null!==(o=this.lg)&&void 0!==o?o:this.md),t.has("md")&&(this.lg=null!==(i=this.lg)&&void 0!==i?i:this.md),this.offsetSm=null!==(r=this.offsetSm)&&void 0!==r?r:void 0,t.has("offsetSm")&&(this.offsetMd=null!==(n=this.offsetMd)&&void 0!==n?n:this.offsetSm,this.offsetLg=null!==(s=this.offsetLg)&&void 0!==s?s:this.offsetMd),t.has("offsetMd")&&(this.offsetLg=null!==(a=this.offsetLg)&&void 0!==a?a:this.offsetMd),super.update(t)}render(){return x`<slot></slot>`}}Column.CSSPropertiesPrefix="column",Column.styles=[columnStyles()],window.customElements.define("m-column",Column);const defaultFlagColor="color-background-inverted";class Card extends Component{static get properties(){return{flagged:{type:Boolean},flagColor:{type:String,attribute:"flag-color"},collapsible:{type:Boolean},collapsed:{type:Boolean,state:!0}}}constructor(){super(),this.flagged=!1,this.flagColor=defaultFlagColor,this.collapsible=!1,this.collapsed=!1}toggleCollapse(){this.collapsible&&(this.collapsed=!this.collapsed,this.emit("m-toggle"))}isExpanded(){if(this.collapsible)return this.collapsed?"false":"true"}firstUpdated(){const t=this.querySelector("m-card-title"),e=this.querySelector("m-card-subtitle"),o=this.renderRoot.querySelector(".m-title-wrapper");o&&(t||e?o.classList.remove("hidden"):o.classList.add("hidden"))}render(){return x`
|
|
1302
1348
|
<div
|
|
1303
1349
|
class="m-card"
|
|
1304
1350
|
style="${o$1({"--m-card-flag-color":toCSSValue(this.flagColor)})}"
|
|
@@ -1755,7 +1801,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
1755
1801
|
</m-group>
|
|
1756
1802
|
<slot name="close"></slot>
|
|
1757
1803
|
</m-group>
|
|
1758
|
-
`}}DrawerHeader.styles=[styles$n()],window.customElements.define("m-drawer-header",DrawerHeader);const sides=["top","right","bottom","left"],min$1=Math.min,max$1=Math.max,oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(t,e,o){return max$1(t,min$1(e,o))}function evaluate(t,e){return"function"==typeof t?t(e):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return"x"===t?"y":"x"}function getAxisLength(t){return"y"===t?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,e,o){void 0===o&&(o=!1);const i=getAlignment(t),r=getAlignmentAxis(t),n=getAxisLength(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=getOppositePlacement(s)),[s,getOppositePlacement(s)]}function getExpandedPlacements(t){const e=getOppositePlacement(t);return[getOppositeAlignmentPlacement(t),e,getOppositeAlignmentPlacement(e)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,(t=>oppositeAlignmentMap[t]))}function getSideList(t,e,o){const i=["left","right"],r=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?r:i:e?i:r;case"left":case"right":return e?n:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const r=getAlignment(t);let n=getSideList(getSide(t),"start"===o,i);return r&&(n=n.map((t=>t+"-"+r)),e&&(n=n.concat(n.map(getOppositeAlignmentPlacement)))),n}function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,(t=>oppositeSideMap[t]))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return"number"!=typeof t?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,e,o){let{reference:i,floating:r}=t;const n=getSideAxis(e),s=getAlignmentAxis(e),a=getAxisLength(s),l=getSide(e),c="y"===n,d=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,u=i[a]/2-r[a]/2;let g;switch(l){case"top":g={x:d,y:i.y-r.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:h};break;case"left":g={x:i.x-r.width,y:h};break;default:g={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":g[s]-=u*(o&&c?-1:1);break;case"end":g[s]+=u*(o&&c?-1:1)}return g}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:h}=computeCoordsFromPlacement(c,i,l),u=i,g={},p=0;for(let o=0;o<a.length;o++){const{name:n,fn:m}=a[o],{x:b,y:_,data:f,reset:y}=await m({x:d,y:h,initialPlacement:i,placement:u,strategy:r,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,h=null!=_?_:h,g={...g,[n]:{...g[n],...f}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):y.rects),({x:d,y:h}=computeCoordsFromPlacement(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:r,middlewareData:g}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:g=0}=evaluate(e,t),p=getPaddingObject(g),m=a[u?"floating"===h?"reference":"floating":h],b=rectToClientRect(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(m)))||o?m:m.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),_="floating"===h?{...s.floating,x:i,y:r}:s.reference,f=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),y=await(null==n.isElement?void 0:n.isElement(f))&&await(null==n.getScale?void 0:n.getScale(f))||{x:1,y:1},$=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:_,offsetParent:f,strategy:l}):_);return{top:(b.top-$.top+p.top)/y.y,bottom:($.bottom-b.bottom+p.bottom)/y.y,left:(b.left-$.left+p.left)/y.x,right:($.right-b.right+p.right)/y.x}}const arrow$1=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:r,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const h=getPaddingObject(d),u={x:o,y:i},g=getAlignmentAxis(r),p=getAxisLength(g),m=await s.getDimensions(c),b="y"===g,_=b?"top":"left",f=b?"bottom":"right",y=b?"clientHeight":"clientWidth",$=n.reference[p]+n.reference[g]-u[g]-n.floating[p],v=u[g]-n.reference[g],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let w=x?x[y]:0;w&&await(null==s.isElement?void 0:s.isElement(x))||(w=a.floating[y]||n.floating[p]);const k=$/2-v/2,C=w/2-m[p]/2-1,S=min$1(h[_],C),T=min$1(h[f],C),P=S,F=w-m[p]-T,B=w/2-m[p]/2+k,A=clamp$1(P,B,F),z=!l.arrow&&null!=getAlignment(r)&&B!==A&&n.reference[p]/2-(B<P?S:T)-m[p]/2<0,E=z?B<P?B-P:B-F:0;return{[g]:u[g]+E,data:{[g]:A,centerOffset:B-A-E,...z&&{alignmentOffset:E}},reset:z}}}),flip$1=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:r,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=n.arrow)&&o.alignmentOffset)return{};const _=getSide(r),f=getSide(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),$=u||(f||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));u||"none"===p||$.push(...getOppositeAxisPlacements(a,m,p,y));const v=[a,...$],x=await detectOverflow(e,b),w=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&w.push(x[_]),h){const t=getAlignmentSides(r,s,y);w.push(x[t[0]],x[t[1]])}if(k=[...k,{placement:r,overflows:w}],!w.every((t=>t<=0))){var C,S;const t=((null==(C=n.flip)?void 0:C.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let o=null==(S=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:S.placement;if(!o)switch(g){case"bestFit":{var T;const t=null==(T=k.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:T[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}};function getSideOffsets(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function isAnySideFullyClipped(t){return sides.some((e=>t[e]>=0))}const hide$1=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o}=e,{strategy:i="referenceHidden",...r}=evaluate(t,e);switch(i){case"referenceHidden":{const t=getSideOffsets(await detectOverflow(e,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:isAnySideFullyClipped(t)}}}case"escaped":{const t=getSideOffsets(await detectOverflow(e,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:isAnySideFullyClipped(t)}}}default:return{}}}}},shift$1=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,l),h=getSideAxis(getSide(r)),u=getOppositeAxis(h);let g=c[u],p=c[h];if(n){const t="y"===u?"bottom":"right";g=clamp$1(g+d["y"===u?"top":"left"],g,g-d[t])}if(s){const t="y"===h?"bottom":"right";p=clamp$1(p+d["y"===h?"top":"left"],p,p-d[t])}const m=a.fn({...e,[u]:g,[h]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}},min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t});function getNodeName(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function getDocumentElement(t){var e;return null==(e=(isNode(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow(t).Node}function isElement(t){return t instanceof Element||t instanceof getWindow(t).Element}function isHTMLElement(t){return t instanceof HTMLElement||t instanceof getWindow(t).HTMLElement}function isShadowRoot(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot)}function isOverflowElement(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=getComputedStyle$1(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle$1(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function getContainingBlock(t){let e=getParentNode(t);for(;isHTMLElement(e)&&!isLastTraversableNode(e);){if(isContainingBlock(e))return e;e=getParentNode(e)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$1(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if("html"===getNodeName(t))return t;const e=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(e)?e.host:e}function getNearestOverflowAncestor(t){const e=getParentNode(t);return isLastTraversableNode(e)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(e)&&isOverflowElement(e)?e:getNearestOverflowAncestor(e)}function getOverflowAncestors(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=getNearestOverflowAncestor(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(r);return n?e.concat(s,s.visualViewport||[],isOverflowElement(r)?r:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(r,getOverflowAncestors(r,[],o))}function getCssDimensions(t){const e=getComputedStyle$1(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=isHTMLElement(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=round(o)!==n||round(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function unwrapElement(t){return isElement(t)?t:t.contextElement}function getScale(t){const e=unwrapElement(t);if(!isHTMLElement(e))return createCoords(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=getCssDimensions(e);let s=(n?round(o.width):o.width)/i,a=(n?round(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const noOffsets=createCoords(0);function getVisualOffsets(t){const e=getWindow(t);return isWebKit()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==getWindow(t))&&e}function getBoundingClientRect(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const a=shouldAddVisualOffsets(n,o,i)?getVisualOffsets(n):createCoords(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,d=r.width/s.x,h=r.height/s.y;if(n){const t=getWindow(n),e=i&&isElement(i)?getWindow(i):i;let o=t,r=o.frameElement;for(;r&&i&&e!==o;){const t=getScale(r),e=r.getBoundingClientRect(),i=getComputedStyle$1(r),n=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,h*=t.y,l+=n,c+=s,o=getWindow(r),r=o.frameElement}}return rectToClientRect({width:d,height:h,x:l,y:c})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(t){return topLayerSelectors.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:e,rect:o,offsetParent:i,strategy:r}=t;const n="fixed"===r,s=getDocumentElement(i),a=!!e&&isTopLayer(e.floating);if(i===s||a&&n)return o;let l={scrollLeft:0,scrollTop:0},c=createCoords(1);const d=createCoords(0),h=isHTMLElement(i);if((h||!h&&!n)&&(("body"!==getNodeName(i)||isOverflowElement(s))&&(l=getNodeScroll(i)),isHTMLElement(i))){const t=getBoundingClientRect(i);c=getScale(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x,y:o.y*c.y-l.scrollTop*c.y+d.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const e=getDocumentElement(t),o=getNodeScroll(t),i=t.ownerDocument.body,r=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const a=-o.scrollTop;return"rtl"===getComputedStyle$1(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}function getClientRectFromClippingAncestor(t,e,o){let i;if("viewport"===e)i=getViewportRect(t,o);else if("document"===e)i=getDocumentRect(getDocumentElement(t));else if(isElement(e))i=getInnerBoundingClientRect(e,o);else{const o=getVisualOffsets(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return rectToClientRect(i)}function hasFixedPositionAncestor(t,e){const o=getParentNode(t);return!(o===e||!isElement(o)||isLastTraversableNode(o))&&("fixed"===getComputedStyle$1(o).position||hasFixedPositionAncestor(o,e))}function getClippingElementAncestors(t,e){const o=e.get(t);if(o)return o;let i=getOverflowAncestors(t,[],!1).filter((t=>isElement(t)&&"body"!==getNodeName(t))),r=null;const n="fixed"===getComputedStyle$1(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle$1(s),o=isContainingBlock(s);o||"fixed"!==e.position||(r=null);(n?!o&&!r:!o&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):r=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=n[0],a=n.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,r);return t.top=max(i.top,t.top),t.right=min(i.right,t.right),t.bottom=min(i.bottom,t.bottom),t.left=max(i.left,t.left),t}),getClientRectFromClippingAncestor(e,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function getDimensions(t){const{width:e,height:o}=getCssDimensions(t);return{width:e,height:o}}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),r=getDocumentElement(e),n="fixed"===o,s=getBoundingClientRect(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=createCoords(0);if(i||!i&&!n)if(("body"!==getNodeName(e)||isOverflowElement(r))&&(a=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=getWindowScrollBarX(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle$1(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t)||isTopLayer(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle$1(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle$1(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){const e=this.getOffsetParent||getOffsetParent,o=this.getDimensions;return{reference:getRectRelativeToOffsetParent(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await o(t.floating)}}};function isRTL(t){return"rtl"===getComputedStyle$1(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const r=getDocumentElement(t);function n(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),n();const{left:c,top:d,width:h,height:u}=t.getBoundingClientRect();if(a||e(),!h||!u)return;const g={rootMargin:-floor(d)+"px "+-floor(r.clientWidth-(c+h))+"px "+-floor(r.clientHeight-(d+u))+"px "+-floor(c)+"px",threshold:max(0,min(1,l))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...g,root:r.ownerDocument})}catch(t){i=new IntersectionObserver(m,g)}i.observe(t)}(!0),n}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:n=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=unwrapElement(t),d=r||n?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",o,{passive:!0}),n&&t.addEventListener("resize",o)}));const h=c&&a?observeMove(c,o):null;let u,g=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),o()})),c&&!l&&p.observe(c),p.observe(e));let m=l?getBoundingClientRect(t):null;return l&&function e(){const i=getBoundingClientRect(t);!m||i.x===m.x&&i.y===m.y&&i.width===m.width&&i.height===m.height||o();m=i,u=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),null==h||h(),null==(t=p)||t.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const shift=shift$1,flip=flip$1,hide=hide$1,arrow=arrow$1,computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};function offsetParent(t){return offsetParentPolyfill(t)}function flatTreeParent(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function offsetParentPolyfill(t){for(let e=t;e;e=flatTreeParent(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=flatTreeParent(t);e;e=flatTreeParent(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}function supportsPopover(){return Object.hasOwn(HTMLElement.prototype,"popover")}function isPopover(t){return!!t&&(supportsPopover()&&t.matches("[popover]"))}function getPositionOffset(t,e,o){const i="var(--m-popover-arrow-size)";switch(e){case"top":case"left":return t?`-1 * ${i} - ${o}px`:`-1 * ${o}px`;case"bottom":case"right":return t?`${i} + ${o}px`:`${o}px`;default:return"0px"}}var _Popover_updateCleanup,_Popover_getArrowPosition;const POPOVER_PLACEMENT_VALUES=["top","left","right","bottom","top-start","top-end","bottom-start","bottom-end"];class Popover extends Component{static get properties(){return{position:{type:String,reflect:!0},placement:{type:String},open:{type:Boolean,reflect:!0},asPopover:{type:Boolean,attribute:"as-popover"}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>10,this.renderArrow=()=>x`<span id="arrow"></span>`,this.reposition=async t=>{var e,o,i;if(null==this.floating||null==this.reference)return;const{x:r,y:n,placement:s,middlewareData:a}=await computePosition(this.reference,this.floating,{strategy:null!==(e=this.position)&&void 0!==e?e:"fixed",placement:null!==(o=this.placement)&&void 0!==o?o:"bottom-start",platform:{...platform,getOffsetParent:t=>platform.getOffsetParent(t,offsetParent)},middleware:[flip(),shift(),this.arrow?arrow({element:this.arrow,padding:10}):void 0,hide()]});if(null===(i=a.hide)||void 0===i?void 0:i.referenceHidden)return void Object.assign(this.floating.style,{visibility:"hidden"});const[l]=s.split("-"),c=null!=this.arrow,d={top:{x:"0px",y:getPositionOffset(c,"top",this.getFloatingOffset())},bottom:{x:"0px",y:getPositionOffset(c,"bottom",this.getFloatingOffset())},right:{x:getPositionOffset(c,"right",this.getFloatingOffset()),y:"0px"},left:{x:getPositionOffset(c,"left",this.getFloatingOffset()),y:"0px"}};Object.assign(this.floating.style,{visibility:"visible",top:`calc(${n}px + ${d[l].y})`,left:`calc(${r}px + ${d[l].x})`}),null!=this.arrow&&a.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet(this,_Popover_getArrowPosition,"f").call(this,a.arrow,l)),this.emit("m-popover-reposition",{detail:{reason:t}})},_Popover_getArrowPosition.set(this,((t,e)=>{if(null==this.floating||null==this.reference||null==this.arrow||null==t)return{};const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e],{x:i,y:r}=t;return{left:null!=i?`${i}px`:"",top:null!=r?`${r}px`:"",right:"",bottom:"",[o]:-this.arrow.offsetWidth/2+"px"}})),this.position="fixed",this.placement="top-end",this.open=!1,this.asPopover=!1}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=__classPrivateFieldGet(this,_Popover_updateCleanup,"f"))||void 0===t||t.call(this)}firstUpdated(){this.asPopover&&supportsPopover()&&this.floating&&this.floating.setAttribute("popover","manual"),this.open&&this.show()}updated(t){super.updated(t),this.open&&null!=t.get("placement")&&null!=this.placement&&this.reposition("placement")}get reference(){return this.getReferenceElement()}get floating(){return this.getFloatingElement()}get arrow(){return this.getArrowElement()}show(){this.open||(this.open=!0,this.reference&&this.floating&&(isPopover(this.floating)&&this.floating.showPopover(),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")))}hide(){var t;this.open&&(this.open=!1,null!=this.floating&&isPopover(this.floating)&&this.floating.hidePopover(),null===(t=__classPrivateFieldGet(this,_Popover_updateCleanup,"f"))||void 0===t||t.call(this))}toggle(){this.open?this.hide():this.show()}}_Popover_updateCleanup=new WeakMap,_Popover_getArrowPosition=new WeakMap;const DEFAULT_SELECTORS={referenceSelector:"slot[name='reference']::slotted(*),",floatingSelector:"slot[name='floating']::slotted(*)"};function styles$m(t=DEFAULT_SELECTORS){const{referenceSelector:e,floatingSelector:o}={...DEFAULT_SELECTORS,...t};return[i$4`
|
|
1804
|
+
`}}DrawerHeader.styles=[styles$n()],window.customElements.define("m-drawer-header",DrawerHeader);const sides=["top","right","bottom","left"],min$1=Math.min,max$1=Math.max,oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(t,e,o){return max$1(t,min$1(e,o))}function evaluate(t,e){return"function"==typeof t?t(e):t}function getSide(t){return t.split("-")[0]}function getAlignment(t){return t.split("-")[1]}function getOppositeAxis(t){return"x"===t?"y":"x"}function getAxisLength(t){return"y"===t?"height":"width"}function getSideAxis(t){return["top","bottom"].includes(getSide(t))?"y":"x"}function getAlignmentAxis(t){return getOppositeAxis(getSideAxis(t))}function getAlignmentSides(t,e,o){void 0===o&&(o=!1);const i=getAlignment(t),r=getAlignmentAxis(t),n=getAxisLength(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=getOppositePlacement(s)),[s,getOppositePlacement(s)]}function getExpandedPlacements(t){const e=getOppositePlacement(t);return[getOppositeAlignmentPlacement(t),e,getOppositeAlignmentPlacement(e)]}function getOppositeAlignmentPlacement(t){return t.replace(/start|end/g,(t=>oppositeAlignmentMap[t]))}function getSideList(t,e,o){const i=["left","right"],r=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?r:i:e?i:r;case"left":case"right":return e?n:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const r=getAlignment(t);let n=getSideList(getSide(t),"start"===o,i);return r&&(n=n.map((t=>t+"-"+r)),e&&(n=n.concat(n.map(getOppositeAlignmentPlacement)))),n}function getOppositePlacement(t){return t.replace(/left|right|bottom|top/g,(t=>oppositeSideMap[t]))}function expandPaddingObject(t){return{top:0,right:0,bottom:0,left:0,...t}}function getPaddingObject(t){return"number"!=typeof t?expandPaddingObject(t):{top:t,right:t,bottom:t,left:t}}function rectToClientRect(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function computeCoordsFromPlacement(t,e,o){let{reference:i,floating:r}=t;const n=getSideAxis(e),s=getAlignmentAxis(e),a=getAxisLength(s),l=getSide(e),c="y"===n,d=i.x+i.width/2-r.width/2,u=i.y+i.height/2-r.height/2,h=i[a]/2-r[a]/2;let g;switch(l){case"top":g={x:d,y:i.y-r.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:u};break;case"left":g={x:i.x-r.width,y:u};break;default:g={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":g[s]-=h*(o&&c?-1:1);break;case"end":g[s]+=h*(o&&c?-1:1)}return g}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:u}=computeCoordsFromPlacement(c,i,l),h=i,g={},p=0;for(let o=0;o<a.length;o++){const{name:n,fn:m}=a[o],{x:b,y:_,data:f,reset:y}=await m({x:d,y:u,initialPlacement:i,placement:h,strategy:r,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,u=null!=_?_:u,g={...g,[n]:{...g[n],...f}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):y.rects),({x:d,y:u}=computeCoordsFromPlacement(c,h,l))),o=-1)}return{x:d,y:u,placement:h,strategy:r,middlewareData:g}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:g=0}=evaluate(e,t),p=getPaddingObject(g),m=a[h?"floating"===u?"reference":"floating":u],b=rectToClientRect(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(m)))||o?m:m.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),_="floating"===u?{...s.floating,x:i,y:r}:s.reference,f=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),y=await(null==n.isElement?void 0:n.isElement(f))&&await(null==n.getScale?void 0:n.getScale(f))||{x:1,y:1},$=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:_,offsetParent:f,strategy:l}):_);return{top:(b.top-$.top+p.top)/y.y,bottom:($.bottom-b.bottom+p.bottom)/y.y,left:(b.left-$.left+p.left)/y.x,right:($.right-b.right+p.right)/y.x}}const arrow$1=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:r,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const u=getPaddingObject(d),h={x:o,y:i},g=getAlignmentAxis(r),p=getAxisLength(g),m=await s.getDimensions(c),b="y"===g,_=b?"top":"left",f=b?"bottom":"right",y=b?"clientHeight":"clientWidth",$=n.reference[p]+n.reference[g]-h[g]-n.floating[p],v=h[g]-n.reference[g],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let w=x?x[y]:0;w&&await(null==s.isElement?void 0:s.isElement(x))||(w=a.floating[y]||n.floating[p]);const k=$/2-v/2,S=w/2-m[p]/2-1,C=min$1(u[_],S),T=min$1(u[f],S),P=C,F=w-m[p]-T,z=w/2-m[p]/2+k,B=clamp$1(P,z,F),A=!l.arrow&&null!=getAlignment(r)&&z!==B&&n.reference[p]/2-(z<P?C:T)-m[p]/2<0,E=A?z<P?z-P:z-F:0;return{[g]:h[g]+E,data:{[g]:B,centerOffset:z-B-E,...A&&{alignmentOffset:E}},reset:A}}}),flip$1=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:r,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=n.arrow)&&o.alignmentOffset)return{};const _=getSide(r),f=getSide(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),$=h||(f||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));h||"none"===p||$.push(...getOppositeAxisPlacements(a,m,p,y));const v=[a,...$],x=await detectOverflow(e,b),w=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&w.push(x[_]),u){const t=getAlignmentSides(r,s,y);w.push(x[t[0]],x[t[1]])}if(k=[...k,{placement:r,overflows:w}],!w.every((t=>t<=0))){var S,C;const t=((null==(S=n.flip)?void 0:S.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let o=null==(C=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:C.placement;if(!o)switch(g){case"bestFit":{var T;const t=null==(T=k.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:T[0];t&&(o=t);break}case"initialPlacement":o=a}if(r!==o)return{reset:{placement:o}}}return{}}}};function getSideOffsets(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function isAnySideFullyClipped(t){return sides.some((e=>t[e]>=0))}const hide$1=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o}=e,{strategy:i="referenceHidden",...r}=evaluate(t,e);switch(i){case"referenceHidden":{const t=getSideOffsets(await detectOverflow(e,{...r,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:isAnySideFullyClipped(t)}}}case"escaped":{const t=getSideOffsets(await detectOverflow(e,{...r,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:isAnySideFullyClipped(t)}}}default:return{}}}}},shift$1=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,l),u=getSideAxis(getSide(r)),h=getOppositeAxis(u);let g=c[h],p=c[u];if(n){const t="y"===h?"bottom":"right";g=clamp$1(g+d["y"===h?"top":"left"],g,g-d[t])}if(s){const t="y"===u?"bottom":"right";p=clamp$1(p+d["y"===u?"top":"left"],p,p-d[t])}const m=a.fn({...e,[h]:g,[u]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}},min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t});function getNodeName(t){return isNode(t)?(t.nodeName||"").toLowerCase():"#document"}function getWindow(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function getDocumentElement(t){var e;return null==(e=(isNode(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function isNode(t){return t instanceof Node||t instanceof getWindow(t).Node}function isElement(t){return t instanceof Element||t instanceof getWindow(t).Element}function isHTMLElement(t){return t instanceof HTMLElement||t instanceof getWindow(t).HTMLElement}function isShadowRoot(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof getWindow(t).ShadowRoot)}function isOverflowElement(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=getComputedStyle$1(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle$1(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function getContainingBlock(t){let e=getParentNode(t);for(;isHTMLElement(e)&&!isLastTraversableNode(e);){if(isContainingBlock(e))return e;e=getParentNode(e)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(t){return["html","body","#document"].includes(getNodeName(t))}function getComputedStyle$1(t){return getWindow(t).getComputedStyle(t)}function getNodeScroll(t){return isElement(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getParentNode(t){if("html"===getNodeName(t))return t;const e=t.assignedSlot||t.parentNode||isShadowRoot(t)&&t.host||getDocumentElement(t);return isShadowRoot(e)?e.host:e}function getNearestOverflowAncestor(t){const e=getParentNode(t);return isLastTraversableNode(e)?t.ownerDocument?t.ownerDocument.body:t.body:isHTMLElement(e)&&isOverflowElement(e)?e:getNearestOverflowAncestor(e)}function getOverflowAncestors(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=getNearestOverflowAncestor(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(r);return n?e.concat(s,s.visualViewport||[],isOverflowElement(r)?r:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(r,getOverflowAncestors(r,[],o))}function getCssDimensions(t){const e=getComputedStyle$1(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=isHTMLElement(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=round(o)!==n||round(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function unwrapElement(t){return isElement(t)?t:t.contextElement}function getScale(t){const e=unwrapElement(t);if(!isHTMLElement(e))return createCoords(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=getCssDimensions(e);let s=(n?round(o.width):o.width)/i,a=(n?round(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const noOffsets=createCoords(0);function getVisualOffsets(t){const e=getWindow(t);return isWebKit()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==getWindow(t))&&e}function getBoundingClientRect(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const a=shouldAddVisualOffsets(n,o,i)?getVisualOffsets(n):createCoords(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,d=r.width/s.x,u=r.height/s.y;if(n){const t=getWindow(n),e=i&&isElement(i)?getWindow(i):i;let o=t,r=o.frameElement;for(;r&&i&&e!==o;){const t=getScale(r),e=r.getBoundingClientRect(),i=getComputedStyle$1(r),n=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,u*=t.y,l+=n,c+=s,o=getWindow(r),r=o.frameElement}}return rectToClientRect({width:d,height:u,x:l,y:c})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(t){return topLayerSelectors.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{elements:e,rect:o,offsetParent:i,strategy:r}=t;const n="fixed"===r,s=getDocumentElement(i),a=!!e&&isTopLayer(e.floating);if(i===s||a&&n)return o;let l={scrollLeft:0,scrollTop:0},c=createCoords(1);const d=createCoords(0),u=isHTMLElement(i);if((u||!u&&!n)&&(("body"!==getNodeName(i)||isOverflowElement(s))&&(l=getNodeScroll(i)),isHTMLElement(i))){const t=getBoundingClientRect(i);c=getScale(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x,y:o.y*c.y-l.scrollTop*c.y+d.y}}function getClientRects(t){return Array.from(t.getClientRects())}function getWindowScrollBarX(t){return getBoundingClientRect(getDocumentElement(t)).left+getNodeScroll(t).scrollLeft}function getDocumentRect(t){const e=getDocumentElement(t),o=getNodeScroll(t),i=t.ownerDocument.body,r=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const a=-o.scrollTop;return"rtl"===getComputedStyle$1(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}function getClientRectFromClippingAncestor(t,e,o){let i;if("viewport"===e)i=getViewportRect(t,o);else if("document"===e)i=getDocumentRect(getDocumentElement(t));else if(isElement(e))i=getInnerBoundingClientRect(e,o);else{const o=getVisualOffsets(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return rectToClientRect(i)}function hasFixedPositionAncestor(t,e){const o=getParentNode(t);return!(o===e||!isElement(o)||isLastTraversableNode(o))&&("fixed"===getComputedStyle$1(o).position||hasFixedPositionAncestor(o,e))}function getClippingElementAncestors(t,e){const o=e.get(t);if(o)return o;let i=getOverflowAncestors(t,[],!1).filter((t=>isElement(t)&&"body"!==getNodeName(t))),r=null;const n="fixed"===getComputedStyle$1(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle$1(s),o=isContainingBlock(s);o||"fixed"!==e.position||(r=null);(n?!o&&!r:!o&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):r=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=n[0],a=n.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,r);return t.top=max(i.top,t.top),t.right=min(i.right,t.right),t.bottom=min(i.bottom,t.bottom),t.left=max(i.left,t.left),t}),getClientRectFromClippingAncestor(e,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function getDimensions(t){const{width:e,height:o}=getCssDimensions(t);return{width:e,height:o}}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),r=getDocumentElement(e),n="fixed"===o,s=getBoundingClientRect(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=createCoords(0);if(i||!i&&!n)if(("body"!==getNodeName(e)||isOverflowElement(r))&&(a=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=getWindowScrollBarX(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle$1(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t)||isTopLayer(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle$1(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle$1(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){const e=this.getOffsetParent||getOffsetParent,o=this.getDimensions;return{reference:getRectRelativeToOffsetParent(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await o(t.floating)}}};function isRTL(t){return"rtl"===getComputedStyle$1(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const r=getDocumentElement(t);function n(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),n();const{left:c,top:d,width:u,height:h}=t.getBoundingClientRect();if(a||e(),!u||!h)return;const g={rootMargin:-floor(d)+"px "+-floor(r.clientWidth-(c+u))+"px "+-floor(r.clientHeight-(d+h))+"px "+-floor(c)+"px",threshold:max(0,min(1,l))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==l){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...g,root:r.ownerDocument})}catch(t){i=new IntersectionObserver(m,g)}i.observe(t)}(!0),n}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:n=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=unwrapElement(t),d=r||n?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",o,{passive:!0}),n&&t.addEventListener("resize",o)}));const u=c&&a?observeMove(c,o):null;let h,g=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),o()})),c&&!l&&p.observe(c),p.observe(e));let m=l?getBoundingClientRect(t):null;return l&&function e(){const i=getBoundingClientRect(t);!m||i.x===m.x&&i.y===m.y&&i.width===m.width&&i.height===m.height||o();m=i,h=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),null==u||u(),null==(t=p)||t.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const shift=shift$1,flip=flip$1,hide=hide$1,arrow=arrow$1,computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};function offsetParent(t){return offsetParentPolyfill(t)}function flatTreeParent(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function offsetParentPolyfill(t){for(let e=t;e;e=flatTreeParent(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=flatTreeParent(t);e;e=flatTreeParent(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}function supportsPopover(){return Object.hasOwn(HTMLElement.prototype,"popover")}function isPopover(t){return!!t&&(supportsPopover()&&t.matches("[popover]"))}function getPositionOffset(t,e,o){const i="var(--m-popover-arrow-size)";switch(e){case"top":case"left":return t?`-1 * ${i} - ${o}px`:`-1 * ${o}px`;case"bottom":case"right":return t?`${i} + ${o}px`:`${o}px`;default:return"0px"}}var _Popover_updateCleanup,_Popover_getArrowPosition;const POPOVER_PLACEMENT_VALUES=["top","left","right","bottom","top-start","top-end","bottom-start","bottom-end"];class Popover extends Component{static get properties(){return{position:{type:String,reflect:!0},placement:{type:String},open:{type:Boolean,reflect:!0},asPopover:{type:Boolean,attribute:"as-popover"}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>10,this.renderArrow=()=>x`<span id="arrow"></span>`,this.reposition=async t=>{var e,o,i;if(null==this.floating||null==this.reference)return;const{x:r,y:n,placement:s,middlewareData:a}=await computePosition(this.reference,this.floating,{strategy:null!==(e=this.position)&&void 0!==e?e:"fixed",placement:null!==(o=this.placement)&&void 0!==o?o:"bottom-start",platform:{...platform,getOffsetParent:t=>platform.getOffsetParent(t,offsetParent)},middleware:[flip(),shift(),this.arrow?arrow({element:this.arrow,padding:10}):void 0,hide()]});if(null===(i=a.hide)||void 0===i?void 0:i.referenceHidden)return void Object.assign(this.floating.style,{visibility:"hidden"});const[l]=s.split("-"),c=null!=this.arrow,d={top:{x:"0px",y:getPositionOffset(c,"top",this.getFloatingOffset())},bottom:{x:"0px",y:getPositionOffset(c,"bottom",this.getFloatingOffset())},right:{x:getPositionOffset(c,"right",this.getFloatingOffset()),y:"0px"},left:{x:getPositionOffset(c,"left",this.getFloatingOffset()),y:"0px"}};Object.assign(this.floating.style,{visibility:"visible",top:`calc(${n}px + ${d[l].y})`,left:`calc(${r}px + ${d[l].x})`}),null!=this.arrow&&a.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet(this,_Popover_getArrowPosition,"f").call(this,a.arrow,l)),this.emit("m-popover-reposition",{detail:{reason:t}})},_Popover_getArrowPosition.set(this,((t,e)=>{if(null==this.floating||null==this.reference||null==this.arrow||null==t)return{};const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e],{x:i,y:r}=t;return{left:null!=i?`${i}px`:"",top:null!=r?`${r}px`:"",right:"",bottom:"",[o]:-this.arrow.offsetWidth/2+"px"}})),this.position="fixed",this.placement="top-end",this.open=!1,this.asPopover=!1}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=__classPrivateFieldGet(this,_Popover_updateCleanup,"f"))||void 0===t||t.call(this)}firstUpdated(){this.asPopover&&supportsPopover()&&this.floating&&this.floating.setAttribute("popover","manual"),this.open&&this.show()}updated(t){super.updated(t),this.open&&null!=t.get("placement")&&null!=this.placement&&this.reposition("placement")}get reference(){return this.getReferenceElement()}get floating(){return this.getFloatingElement()}get arrow(){return this.getArrowElement()}show(){this.open||(this.open=!0,this.reference&&this.floating&&(isPopover(this.floating)&&this.floating.showPopover(),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")))}hide(){var t;this.open&&(this.open=!1,null!=this.floating&&isPopover(this.floating)&&this.floating.hidePopover(),null===(t=__classPrivateFieldGet(this,_Popover_updateCleanup,"f"))||void 0===t||t.call(this))}toggle(){this.open?this.hide():this.show()}}_Popover_updateCleanup=new WeakMap,_Popover_getArrowPosition=new WeakMap;const DEFAULT_SELECTORS={referenceSelector:"slot[name='reference']::slotted(*),",floatingSelector:"slot[name='floating']::slotted(*)"};function styles$m(t=DEFAULT_SELECTORS){const{referenceSelector:e,floatingSelector:o}={...DEFAULT_SELECTORS,...t};return[i$4`
|
|
1759
1805
|
:host {
|
|
1760
1806
|
--m-popover-background-color: ${getColor("color-background-secondary-inverted")};
|
|
1761
1807
|
--m-popover-border-radius: ${getToken("border-radius-m")};
|
|
@@ -3291,7 +3337,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
|
|
|
3291
3337
|
${this.isSkeleton?x``:x`<slot name="leading"></slot>`}
|
|
3292
3338
|
<slot></slot>
|
|
3293
3339
|
</span>
|
|
3294
|
-
`}}Tag.styles=[tagStyles()],window.customElements.define("m-tag",Tag);var e=new Map;function t(t){var o=e.get(t);o&&o.destroy()}function o(t){var o=e.get(t);o&&o.update()}var r=null;"undefined"==typeof window?((r=function(t){return t}).destroy=function(t){return t},r.update=function(t){return t}):((r=function(t,o){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var o,i=null,r=window.getComputedStyle(t),n=(o=t.value,function(){a({testForHeightReduction:""===o||!t.value.startsWith(o),restoreTextAlign:null}),o=t.value}),s=function(o){t.removeEventListener("autosize:destroy",s),t.removeEventListener("autosize:update",l),t.removeEventListener("input",n),window.removeEventListener("resize",l),Object.keys(o).forEach((function(e){return t.style[e]=o[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",s),t.addEventListener("autosize:update",l),t.addEventListener("input",n),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:s,update:l}),l()}function a(e){var o,n,s=e.restoreTextAlign,l=void 0===s?null:s,c=e.testForHeightReduction,d=void 0===c||c,
|
|
3340
|
+
`}}Tag.styles=[tagStyles()],window.customElements.define("m-tag",Tag);var e=new Map;function t(t){var o=e.get(t);o&&o.destroy()}function o(t){var o=e.get(t);o&&o.update()}var r=null;"undefined"==typeof window?((r=function(t){return t}).destroy=function(t){return t},r.update=function(t){return t}):((r=function(t,o){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var o,i=null,r=window.getComputedStyle(t),n=(o=t.value,function(){a({testForHeightReduction:""===o||!t.value.startsWith(o),restoreTextAlign:null}),o=t.value}),s=function(o){t.removeEventListener("autosize:destroy",s),t.removeEventListener("autosize:update",l),t.removeEventListener("input",n),window.removeEventListener("resize",l),Object.keys(o).forEach((function(e){return t.style[e]=o[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",s),t.addEventListener("autosize:update",l),t.addEventListener("input",n),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:s,update:l}),l()}function a(e){var o,n,s=e.restoreTextAlign,l=void 0===s?null:s,c=e.testForHeightReduction,d=void 0===c||c,u=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),d&&(o=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push([t.parentNode,t.parentNode.scrollTop]),t=t.parentNode;return function(){return e.forEach((function(t){var e=t[0],o=t[1];e.style.scrollBehavior="auto",e.scrollTop=o,e.style.scrollBehavior=null}))}}(t),t.style.height=""),n="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&n>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),n=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=n+"px",l&&(t.style.textAlign=l),o&&o(),i!==n&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=n),u!==r.overflow&&!l)){var h=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===h?"end":"start"),a({restoreTextAlign:h,testForHeightReduction:!0})}}function l(){a({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},r.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],o),t});var _TextArea_handleInput,_TextArea_updateStatusClass,_TextField_instances,_TextField_isClearVisible,_TextField_updateStatusClass,_TextField_handleInput,_TextField_handleClear,n=r;function styles$5(){return i$4`
|
|
3295
3341
|
:host {
|
|
3296
3342
|
--m-text-area-background-color: ${getColor("color-background-primary")};
|
|
3297
3343
|
--m-text-area-border-color: ${getColor("color-border")};
|
|
@@ -3965,5 +4011,5 @@ ${this.value}</textarea
|
|
|
3965
4011
|
:host linearGradient {
|
|
3966
4012
|
transform-origin: center;
|
|
3967
4013
|
}
|
|
3968
|
-
`}var _LogoLoader_instances,_LogoLoader_getSize;const DEFAULT_SIZE="48";class LogoLoader extends s$5{constructor(){super(...arguments),_LogoLoader_instances.add(this)}static get properties(){return{size:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.style.setProperty("--m-logo-size",__classPrivateFieldGet(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}update(t){super.update(t),t.has("size")&&this.style.setProperty("--m-logo-size",__classPrivateFieldGet(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}render(){return b`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 49 48"><g opacity=".7"><mask id="a" width="49" height="16" x="0" y="32" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M32.1364 48H.5l15.1072-15.2727H48.5L33.4266 47.317c-.3323.3324-.818.683-1.2902.683Z"/></mask><g mask="url(#a)"><path fill="url(#b)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="c" width="32" height="17" x="17" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M17.9546 16.3636V0H48.5L33.2273 16.3636H17.9546Z"/></mask><g mask="url(#c)"><path fill="url(#d)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><g opacity=".7"><mask id="e" width="16" height="31" x="33" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M48.5 30.5455H33.2273V16.3637L48.5 0v30.5455Z"/></mask><g mask="url(#e)"><path fill="url(#f)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="g" width="16" height="48" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M15.7727 0v32.7273L.5 48V16.94c0-.4722.18803-.9226.52036-1.2571L15.7727 0Z"/></mask><g mask="url(#g)"><path fill="url(#h)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><defs><linearGradient id="b" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="d" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="f" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="h" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient></defs></svg>`}}_LogoLoader_instances=new WeakSet,_LogoLoader_getSize=function(){var t;const e=parseInt(null!==(t=this.size)&&void 0!==t?t:"48",10);return Number.isNaN(e)?"48px":`${e||"48"}px`},LogoLoader.styles=[styles()],window.customElements.define("m-logo-loader",LogoLoader);export{EmptyStateHeader as $,Accordion as A,BackButton as B,Card as C,Dialog as D,DialogActionPrimary as E,DialogActionSecondary as F,DialogActionTertiary as G,DialogActions as H,DialogBody as I,DialogClose as J,DialogFooter as K,DialogHeader as L,Divider as M,Drawer as N,DRAWER_SIZES as O,DrawerActionPrimary as P,DrawerActionSecondary as Q,DrawerActionTertiary as R,DrawerActions as S,DrawerBody as T,DrawerClose as U,DrawerHeader as V,Dropdown as W,DropdownTrigger as X,DropdownMenu as Y,DropdownItem as Z,EmptyStateAction as _,AccordionTitle as a,
|
|
3969
|
-
//# sourceMappingURL=index-
|
|
4014
|
+
`}var _LogoLoader_instances,_LogoLoader_getSize;const DEFAULT_SIZE="48";class LogoLoader extends s$5{constructor(){super(...arguments),_LogoLoader_instances.add(this)}static get properties(){return{size:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.style.setProperty("--m-logo-size",__classPrivateFieldGet(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}update(t){super.update(t),t.has("size")&&this.style.setProperty("--m-logo-size",__classPrivateFieldGet(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}render(){return b`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 49 48"><g opacity=".7"><mask id="a" width="49" height="16" x="0" y="32" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M32.1364 48H.5l15.1072-15.2727H48.5L33.4266 47.317c-.3323.3324-.818.683-1.2902.683Z"/></mask><g mask="url(#a)"><path fill="url(#b)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="c" width="32" height="17" x="17" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M17.9546 16.3636V0H48.5L33.2273 16.3636H17.9546Z"/></mask><g mask="url(#c)"><path fill="url(#d)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><g opacity=".7"><mask id="e" width="16" height="31" x="33" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M48.5 30.5455H33.2273V16.3637L48.5 0v30.5455Z"/></mask><g mask="url(#e)"><path fill="url(#f)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="g" width="16" height="48" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M15.7727 0v32.7273L.5 48V16.94c0-.4722.18803-.9226.52036-1.2571L15.7727 0Z"/></mask><g mask="url(#g)"><path fill="url(#h)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><defs><linearGradient id="b" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="d" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="f" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="h" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient></defs></svg>`}}_LogoLoader_instances=new WeakSet,_LogoLoader_getSize=function(){var t;const e=parseInt(null!==(t=this.size)&&void 0!==t?t:"48",10);return Number.isNaN(e)?"48px":`${e||"48"}px`},LogoLoader.styles=[styles()],window.customElements.define("m-logo-loader",LogoLoader);export{EmptyStateHeader as $,Accordion as A,BackButton as B,Card as C,Dialog as D,DialogActionPrimary as E,DialogActionSecondary as F,DialogActionTertiary as G,DialogActions as H,DialogBody as I,DialogClose as J,DialogFooter as K,DialogHeader as L,Divider as M,Drawer as N,DRAWER_SIZES as O,DrawerActionPrimary as P,DrawerActionSecondary as Q,DrawerActionTertiary as R,DrawerActions as S,DrawerBody as T,DrawerClose as U,DrawerHeader as V,Dropdown as W,DropdownTrigger as X,DropdownMenu as Y,DropdownItem as Z,EmptyStateAction as _,AccordionTitle as a,TimelineItem as a$,EmptyStateIllustration as a0,EmptyStateMessage as a1,EmptyState as a2,EMPTY_STATE_VARIANTS as a3,Field as a4,FieldHint as a5,FieldLabel as a6,FIELD_STATUSES as a7,Header as a8,HeaderActions as a9,ProgressBar as aA,ProgressBarCountdown as aB,Radio as aC,RadioGroup as aD,Section as aE,SectionTitle as aF,SpinnerWheel as aG,Steps as aH,Step as aI,Switch as aJ,Table as aK,defaultTableProps as aL,TableHead as aM,TableBody as aN,TableFoot as aO,TableRow as aP,TableCell as aQ,defaultTableCellProps as aR,Tabs as aS,Tab as aT,TabPanel as aU,Tag as aV,Text as aW,TextArea as aX,TextField as aY,Timeline as aZ,TimelineExpandableItem as a_,HeaderContent as aa,HeaderTitle as ab,SubHeader as ac,Label as ad,defaultLabeledValueProps as ae,LabeledValue as af,ALIGN_ITEMS_VALUES as ag,JUSTIFY_CONTENT_VALUES as ah,Box as ai,defaultBoxProps as aj,Group as ak,defaultGroupProps as al,Stack as am,defaultStackProps as an,Grid as ao,defaultGridProps as ap,Sidebar as aq,defaultSidebarProps as ar,Switcher as as,defaultSwitcherProps as at,Container as au,Row as av,Column as aw,Link as ax,PageContent as ay,Pagination as az,b,TimelineItemBody as b0,TimelineItemFooter as b1,TimelineItemHeader as b2,TimelineItemHeaderSubtitle as b3,TimelineItemHeaderTitle as b4,TimelineItemIcon as b5,ToggleGroup as b6,Toggle as b7,Tooltip as b8,TOOLTIP_PLACEMENT_VALUES as b9,LogoLoader as ba,AccordionContent as c,Badge as d,BannerActionPrimary as e,BannerActionSecondary as f,BannerActions as g,BannerDescription as h,BannerIcon as i,BannerTitle as j,Banner as k,Body as l,Button as m,CardBody as n,CardSubtitle as o,CardTitle as p,CardDivider as q,CardFooter as r,CardActionPrimary as s,typographyVariants as t,CardActionSecondary as u,CardActionTertiary as v,Checkbox as w,CloseButton as x,DIALOG_SIZES as y,DIALOG_VARIANTS as z};
|
|
4015
|
+
//# sourceMappingURL=index-InjGzKHu.js.map
|