@loadsmart/miranda-wc 1.60.0 → 1.60.1

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.
@@ -1,2 +1,2 @@
1
- import{b}from"./index-e5f43536.js";var arrowLeft=b`<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M27.1587 9.17872C26.046 8.06456 25.0052 7.02278 23.9833 6C17.9911 12.0005 11.9849 18.0146 6 24.0079C11.9773 29.9935 17.9834 36.0076 23.9675 42C24.9772 40.9885 26.0216 39.9427 27.0833 38.8796C22.9235 34.717 18.7311 30.5219 14.4922 26.2801C23.7032 26.2801 32.8419 26.2801 42 26.2801C42 24.7661 42 23.2737 42 21.7615C32.8581 21.7615 23.7172 21.7615 14.583 21.7615C18.7794 17.5627 22.9695 13.3703 27.1587 9.17872Z" fill="currentColor"/></svg>`;export{arrowLeft as default};
2
- //# sourceMappingURL=arrow-left-9c8e14fc.js.map
1
+ import{b}from"./index-c298d91e.js";var arrowLeft=b`<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M27.1587 9.17872C26.046 8.06456 25.0052 7.02278 23.9833 6C17.9911 12.0005 11.9849 18.0146 6 24.0079C11.9773 29.9935 17.9834 36.0076 23.9675 42C24.9772 40.9885 26.0216 39.9427 27.0833 38.8796C22.9235 34.717 18.7311 30.5219 14.4922 26.2801C23.7032 26.2801 32.8419 26.2801 42 26.2801C42 24.7661 42 23.2737 42 21.7615C32.8581 21.7615 23.7172 21.7615 14.583 21.7615C18.7794 17.5627 22.9695 13.3703 27.1587 9.17872Z" fill="currentColor"/></svg>`;export{arrowLeft as default};
2
+ //# sourceMappingURL=arrow-left-69853892.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-left-69853892.js","sources":["../src/components/icon/icons/arrow-left.ts"],"sourcesContent":[null],"names":["arrowLeft","svg"],"mappings":"mCAEA,IAAAA,UAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-e5f43536.js";var attention=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M6.732 42.889h34.537c2.06 0 3.376-2.192 2.406-4.005l-17.27-32.33c-1.026-1.924-3.785-1.924-4.813 0L4.324 38.883c-.968 1.813.349 4.005 2.408 4.005zm14.542-24.504h5.452v10.89h-5.452zM24 31.998a2.726 2.726 0 0 1 2.726 2.723A2.726 2.726 0 0 1 24 37.444a2.726 2.726 0 0 1-2.726-2.723A2.726 2.726 0 0 1 24 31.998z"/></svg>`;export{attention as default};
2
- //# sourceMappingURL=attention-e61e0e45.js.map
1
+ import{b}from"./index-c298d91e.js";var attention=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M6.732 42.889h34.537c2.06 0 3.376-2.192 2.406-4.005l-17.27-32.33c-1.026-1.924-3.785-1.924-4.813 0L4.324 38.883c-.968 1.813.349 4.005 2.408 4.005zm14.542-24.504h5.452v10.89h-5.452zM24 31.998a2.726 2.726 0 0 1 2.726 2.723A2.726 2.726 0 0 1 24 37.444a2.726 2.726 0 0 1-2.726-2.723A2.726 2.726 0 0 1 24 31.998z"/></svg>`;export{attention as default};
2
+ //# sourceMappingURL=attention-4ab0be76.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attention-4ab0be76.js","sources":["../src/components/icon/icons/attention.ts"],"sourcesContent":[null],"names":["attention","svg"],"mappings":"mCAEA,IAAAA,UAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-e5f43536.js";var bell=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M34.417 21.526v9.133l3.632 3.654v1.826H9v-1.827l3.631-3.653v-9.133c0-5.626 2.96-10.302 8.17-11.544V8.74A2.728 2.728 0 0123.524 6a2.728 2.728 0 012.724 2.74v1.242c5.192 1.242 8.17 5.937 8.17 11.544zm-7.262 16.44c0 2.01-1.634 3.653-3.63 3.653-2.016 0-3.632-1.644-3.632-3.653h7.262z"/></svg>`;export{bell as default};
2
- //# sourceMappingURL=bell-c61d2817.js.map
1
+ import{b}from"./index-c298d91e.js";var bell=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M34.417 21.526v9.133l3.632 3.654v1.826H9v-1.827l3.631-3.653v-9.133c0-5.626 2.96-10.302 8.17-11.544V8.74A2.728 2.728 0 0123.524 6a2.728 2.728 0 012.724 2.74v1.242c5.192 1.242 8.17 5.937 8.17 11.544zm-7.262 16.44c0 2.01-1.634 3.653-3.63 3.653-2.016 0-3.632-1.644-3.632-3.653h7.262z"/></svg>`;export{bell as default};
2
+ //# sourceMappingURL=bell-8a98330d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bell-8a98330d.js","sources":["../src/components/icon/icons/bell.ts"],"sourcesContent":[null],"names":["bell","svg"],"mappings":"mCAEA,IAAAA,KAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-e5f43536.js";var check=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M44.4205 13.3433L40.1778 9.10067L18.9646 30.3139L9.06512 20.4144L4.82248 24.657L14.722 34.5565L18.9646 38.7992L23.2073 34.5565L44.4205 13.3433Z"/></svg>`;export{check as default};
2
- //# sourceMappingURL=check-5247ab3b.js.map
1
+ import{b}from"./index-c298d91e.js";var check=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M44.4205 13.3433L40.1778 9.10067L18.9646 30.3139L9.06512 20.4144L4.82248 24.657L14.722 34.5565L18.9646 38.7992L23.2073 34.5565L44.4205 13.3433Z"/></svg>`;export{check as default};
2
+ //# sourceMappingURL=check-78dccebb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-78dccebb.js","sources":["../src/components/icon/icons/check.ts"],"sourcesContent":[null],"names":["check","svg"],"mappings":"mCAEA,IAAAA,MAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-e5f43536.js";var close=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M40.9706 11.2721L36.7279 7.02944L24 19.7574L11.2721 7.02944L7.02944 11.2721L19.7574 24L7.02944 36.7279L11.2721 40.9706L24 28.2426L36.7279 40.9706L40.9706 36.7279L28.2426 24L40.9706 11.2721Z"/></svg>`;export{close as default};
2
- //# sourceMappingURL=close-562cfac6.js.map
1
+ import{b}from"./index-c298d91e.js";var close=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M40.9706 11.2721L36.7279 7.02944L24 19.7574L11.2721 7.02944L7.02944 11.2721L19.7574 24L7.02944 36.7279L11.2721 40.9706L24 28.2426L36.7279 40.9706L40.9706 36.7279L28.2426 24L40.9706 11.2721Z"/></svg>`;export{close as default};
2
+ //# sourceMappingURL=close-a590ee1a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-a590ee1a.js","sources":["../src/components/icon/icons/close.ts"],"sourcesContent":[null],"names":["close","svg"],"mappings":"mCAEA,IAAAA,MAAeC,CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,WAAW,GACX,UAAU,GACV,SAAS,GACT,QAAQ,GACR,MAAM,GACN,gBAAgB,CAAC;AAEpB,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEvD,KAAK,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,qBAAa,MAAO,SAAQ,WAAY,YAAW,WAAW;;IAC7D,OAAgB,MAAM,8BAAc;IAEpC;;OAEG;IACH,OAAO,KAAK,GAAG,GAId;IAED,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAc7B;IAED;;OAEG;IACK,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEzC;;OAEG;IACK,QAAQ,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAE3C;;OAEG;IACK,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEzC;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;SAEK;IACG,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAEvC;;OAEG;IACK,QAAQ,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;;IAclC,iBAAiB,IAAI,IAAI;IAMzB,oBAAoB,IAAI,IAAI;cAMlB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAUnE,MAAM;IA6CN,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;CA4CxD;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,MAAM,CAAC;KACnB;CACD"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,WAAW,GACX,UAAU,GACV,SAAS,GACT,QAAQ,GACR,MAAM,GACN,gBAAgB,CAAC;AAEpB,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEvD,KAAK,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,qBAAa,MAAO,SAAQ,WAAY,YAAW,WAAW;;IAC7D,OAAgB,MAAM,8BAAc;IAEpC;;OAEG;IACH,OAAO,KAAK,GAAG,GAId;IAED,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAc7B;IAED;;OAEG;IACK,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEzC;;OAEG;IACK,QAAQ,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAE3C;;OAEG;IACK,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEzC;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;SAEK;IACG,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAEvC;;OAEG;IACK,QAAQ,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;;IAalC,iBAAiB,IAAI,IAAI;IAQzB,oBAAoB,IAAI,IAAI;cAMlB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAUnE,MAAM;IA6CN,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;CAgDxD;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,MAAM,CAAC;KACnB;CACD"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-e5f43536.js";var indeterminate=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none" /><path d="M19 13H5v-2h14v2z" /></svg>`;export{indeterminate as default};
2
- //# sourceMappingURL=indeterminate-28a3e89c.js.map
1
+ import{b}from"./index-c298d91e.js";var indeterminate=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none" /><path d="M19 13H5v-2h14v2z" /></svg>`;export{indeterminate as default};
2
+ //# sourceMappingURL=indeterminate-ebc34ebe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"indeterminate-28a3e89c.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":[null],"names":["indeterminate","svg"],"mappings":"mCAEA,IAAAA,cAAeC,CAAG"}
1
+ {"version":3,"file":"indeterminate-ebc34ebe.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":[null],"names":["indeterminate","svg"],"mappings":"mCAEA,IAAAA,cAAeC,CAAG"}
@@ -59,7 +59,7 @@ var t$5;u$1[d$2]=!0,u$1.elementProperties=new Map,u$1.elementStyles=[],u$1.shado
59
59
  color: var(--m-icon-color);
60
60
  fill: var(--m-icon-color);
61
61
  }
62
- `]}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}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)}}}const icons=new Map([["alert-circle",()=>import("./attention-e61e0e45.js")],["arrow-left",()=>import("./arrow-left-9c8e14fc.js")],["attention",()=>import("./attention-e61e0e45.js")],["bell",()=>import("./bell-c61d2817.js")],["check",()=>import("./check-5247ab3b.js")],["close",()=>import("./close-562cfac6.js")],["indeterminate",()=>import("./indeterminate-28a3e89c.js")],["info-circle",()=>import("./info-circle-387c07e0.js")]]);var _Icon_loadIcon;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$w()],window.customElements.define("m-icon",Icon);
62
+ `]}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}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)}}}const icons=new Map([["alert-circle",()=>import("./attention-4ab0be76.js")],["arrow-left",()=>import("./arrow-left-69853892.js")],["attention",()=>import("./attention-4ab0be76.js")],["bell",()=>import("./bell-8a98330d.js")],["check",()=>import("./check-78dccebb.js")],["close",()=>import("./close-a590ee1a.js")],["indeterminate",()=>import("./indeterminate-ebc34ebe.js")],["info-circle",()=>import("./info-circle-e62e0edc.js")]]);var _Icon_loadIcon;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$w()],window.customElements.define("m-icon",Icon);
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2020 Google LLC
@@ -80,7 +80,7 @@ const e$4=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$4)return null==t?vo
80
80
  * @license
81
81
  * Copyright 2018 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
- */const o$1=e$3(class extends i$1{constructor(t){var e;if(super(t),t.type!==t$3.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const n=t.element.classList;this.it.forEach((t=>{t in e||(n.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return T}});var _FormControl_form,_FormControl_updateAssignedForm,_Button_instances,_Button_element_get,_Button_isDisabled,_Button_setTabIndex,_Button_handleClick,_Button_isLink;class FormControl extends s$5{constructor(){super(...arguments),_FormControl_form.set(this,void 0),this.getForm=()=>__classPrivateFieldGet(this,_FormControl_form,"f"),_FormControl_updateAssignedForm.set(this,(()=>{if(this.hasAttribute("form")){const t=this.getRootNode(),e=this.getAttribute("form");__classPrivateFieldSet(this,_FormControl_form,t.getElementById(e),"f")}else __classPrivateFieldSet(this,_FormControl_form,this.closest("form"),"f")}))}static get properties(){return{form:{type:String,reflect:!0}}}updated(t){super.updated(t),(t.has("form")||null==__classPrivateFieldGet(this,_FormControl_form,"f"))&&__classPrivateFieldGet(this,_FormControl_updateAssignedForm,"f").call(this)}}function styles$v(){return i$4`
83
+ */const o$1=e$3(class extends i$1{constructor(t){var e;if(super(t),t.type!==t$3.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const n=t.element.classList;this.it.forEach((t=>{t in e||(n.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return T}});var _FormControl_form,_FormControl_updateAssignedForm,_Button_instances,_Button_element_get,_Button_isDisabled,_Button_getRole,_Button_setTabIndex,_Button_handleClick,_Button_isLink;class FormControl extends s$5{constructor(){super(...arguments),_FormControl_form.set(this,void 0),this.getForm=()=>__classPrivateFieldGet(this,_FormControl_form,"f"),_FormControl_updateAssignedForm.set(this,(()=>{if(this.hasAttribute("form")){const t=this.getRootNode(),e=this.getAttribute("form");__classPrivateFieldSet(this,_FormControl_form,t.getElementById(e),"f")}else __classPrivateFieldSet(this,_FormControl_form,this.closest("form"),"f")}))}static get properties(){return{form:{type:String,reflect:!0}}}updated(t){super.updated(t),(t.has("form")||null==__classPrivateFieldGet(this,_FormControl_form,"f"))&&__classPrivateFieldGet(this,_FormControl_updateAssignedForm,"f").call(this)}}function styles$v(){return i$4`
84
84
  :host {
85
85
  --m-button-background-color: transparent;
86
86
  --m-button-base-size: ${getToken("global-height-default")};
@@ -429,7 +429,7 @@ const e$4=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$4)return null==t?vo
429
429
 
430
430
  pointer-events: none;
431
431
  }
432
- `]}_FormControl_form=new WeakMap,_FormControl_updateAssignedForm=new WeakMap;class Button extends FormControl{get tag(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"a":"button";return i$2`${o$2(t)}`}static get properties(){return{...FormControl.properties,role:{type:String,reflect:!0},loading:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0},size:{type:String,reflect:!0},type:{type:String},href:{type:String},target:{type:String},download:{type:String}}}constructor(){super(),_Button_instances.add(this),_Button_isDisabled.set(this,(()=>Boolean(this.disabled)||Boolean(this.loading))),_Button_setTabIndex.set(this,(()=>{this.disabled?this.setAttribute("tabindex","-1"):this.removeAttribute("tabindex")})),_Button_handleClick.set(this,(t=>{var e,o;if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"!==this.type?"reset"===this.type&&(null===(o=this.getForm())||void 0===o||o.reset()):null===(e=this.getForm())||void 0===e||e.requestSubmit()})),this.disabled=!1,this.loading=!1,this.size="default",this.type="button",this.variant="secondary",this.role="button",this.target="_self"}connectedCallback(){super.connectedCallback(),this.addEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}willUpdate(t){super.willUpdate(t),t.has("href")&&(this.role=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"link":"button"),__classPrivateFieldGet(this,_Button_setTabIndex,"f").call(this)}render(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this);return n$3`
432
+ `]}_FormControl_form=new WeakMap,_FormControl_updateAssignedForm=new WeakMap;class Button extends FormControl{get tag(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"a":"button";return i$2`${o$2(t)}`}static get properties(){return{...FormControl.properties,role:{type:String,reflect:!0},loading:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0},size:{type:String,reflect:!0},type:{type:String},href:{type:String},target:{type:String},download:{type:String}}}constructor(){super(),_Button_instances.add(this),_Button_isDisabled.set(this,(()=>Boolean(this.disabled)||Boolean(this.loading))),_Button_getRole.set(this,(()=>__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"link":"button")),_Button_setTabIndex.set(this,(()=>{this.disabled?this.setAttribute("tabindex","-1"):this.removeAttribute("tabindex")})),_Button_handleClick.set(this,(t=>{var e,o;if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"!==this.type?"reset"===this.type&&(null===(o=this.getForm())||void 0===o||o.reset()):null===(e=this.getForm())||void 0===e||e.requestSubmit()})),this.disabled=!1,this.loading=!1,this.size="default",this.type="button",this.variant="secondary",this.target="_self"}connectedCallback(){super.connectedCallback(),this.setAttribute("role",__classPrivateFieldGet(this,_Button_getRole,"f").call(this)),this.addEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}willUpdate(t){super.willUpdate(t),t.has("href")&&this.setAttribute("role",__classPrivateFieldGet(this,_Button_getRole,"f").call(this)),__classPrivateFieldGet(this,_Button_setTabIndex,"f").call(this)}render(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this);return n$3`
433
433
  <${this.tag}
434
434
  class=${o$1({button:!0,"-primary":"primary"===this.variant,"-secondary":"secondary"===this.variant,"-tertiary":"tertiary"===this.variant,"-warning":"warning"===this.variant,"-danger":"danger"===this.variant,"-icon":"icon"===this.variant,"-icon-secondary":"icon-secondary"===this.variant,"-small":"small"===this.size,"-default":"default"===this.size,"-large":"large"===this.size,"is-loading":Boolean(this.loading),"is-disabled":__classPrivateFieldGet(this,_Button_isDisabled,"f").call(this)})}
435
435
  type=${t?A:this.type}
@@ -447,7 +447,7 @@ const e$4=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$4)return null==t?vo
447
447
  <slot></slot>
448
448
  <slot name="trailing"></slot>
449
449
  </${this.tag}>
450
- `}focus(t){var e;null===(e=__classPrivateFieldGet(this,_Button_instances,"a",_Button_element_get))||void 0===e||e.focus(t)}}_Button_isDisabled=new WeakMap,_Button_setTabIndex=new WeakMap,_Button_handleClick=new WeakMap,_Button_instances=new WeakSet,_Button_element_get=function(){var t,e;return null!==(e=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(".button"))&&void 0!==e?e:null},_Button_isLink=function(){return Boolean(this.href)},Button.styles=[styles$u()],window.customElements.define("m-button",Button);class BackButton extends s$5{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="back-button"}render(){return x$1`
450
+ `}focus(t){var e;null===(e=__classPrivateFieldGet(this,_Button_instances,"a",_Button_element_get))||void 0===e||e.focus(t)}}_Button_isDisabled=new WeakMap,_Button_getRole=new WeakMap,_Button_setTabIndex=new WeakMap,_Button_handleClick=new WeakMap,_Button_instances=new WeakSet,_Button_element_get=function(){var t,e;return null!==(e=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(".button"))&&void 0!==e?e:null},_Button_isLink=function(){return Boolean(this.href)},Button.styles=[styles$u()],window.customElements.define("m-button",Button);class BackButton extends s$5{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="back-button"}render(){return x$1`
451
451
  <m-button variant="icon" size="default">
452
452
  <m-icon name="arrow-left"></m-icon>
453
453
  </m-button>
@@ -2445,7 +2445,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2445
2445
 
2446
2446
  <slot></slot>
2447
2447
  </button>
2448
- `}focus(t){var e;null===(e=__classPrivateFieldGet(this,_Toggle_instances,"a",_Toggle_button_get))||void 0===e||e.focus(t)}}function trim(t){return t.trim()}function convertTriggerFromAttribute(t){return t?String(t).split(/[\s,]+/).map(trim).filter(Boolean):["hover"]}_Toggle_handleClick=new WeakMap,_Toggle_setDisabled=new WeakMap,_Toggle_setChecked=new WeakMap,_Toggle_instances=new WeakSet,_Toggle_button_get=function(){var t,e;return null!==(e=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector("button"))&&void 0!==e?e:null},Toggle.styles=[styles$3()],window.customElements.define("m-toggle",Toggle);const min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(t,e,o){return max(t,min(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),n=getAlignmentAxis(t),r=getAxisLength(n);let s="x"===n?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(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"],n=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?n:i:e?i:n;case"left":case"right":return e?r:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const n=getAlignment(t);let r=getSideList(getSide(t),"start"===o,i);return n&&(r=r.map((t=>t+"-"+n)),e&&(r=r.concat(r.map(getOppositeAlignmentPlacement)))),r}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:n}=t;const r=getSideAxis(e),s=getAlignmentAxis(e),l=getAxisLength(s),a=getSide(e),c="y"===r,d=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2;let h;switch(a){case"top":h={x:d,y:i.y-n.height};break;case"bottom":h={x:d,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:u};break;case"left":h={x:i.x-n.width,y:u};break;default:h={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":h[s]-=g*(o&&c?-1:1);break;case"end":h[s]+=g*(o&&c?-1:1)}return h}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:s}=o,l=r.filter(Boolean),a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:d,y:u}=computeCoordsFromPlacement(c,i,a),g=i,h={},p=0;for(let o=0;o<l.length;o++){const{name:r,fn:m}=l[o],{x:b,y:f,data:$,reset:_}=await m({x:d,y:u,initialPlacement:i,placement:g,strategy:n,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,u=null!=f?f:u,h={...h,[r]:{...h[r],...$}},_&&p<=50&&(p++,"object"==typeof _&&(_.placement&&(g=_.placement),_.rects&&(c=!0===_.rects?await s.getElementRects({reference:t,floating:e,strategy:n}):_.rects),({x:d,y:u}=computeCoordsFromPlacement(c,g,a))),o=-1)}return{x:d,y:u,placement:g,strategy:n,middlewareData:h}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:n,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:g=!1,padding:h=0}=evaluate(e,t),p=getPaddingObject(h),m=l[g?"floating"===u?"reference":"floating":u],b=rectToClientRect(await r.getClippingRect({element:null==(o=await(null==r.isElement?void 0:r.isElement(m)))||o?m:m.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:a})),f="floating"===u?{...s.floating,x:i,y:n}:s.reference,$=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),_=await(null==r.isElement?void 0:r.isElement($))&&await(null==r.getScale?void 0:r.getScale($))||{x:1,y:1},y=rectToClientRect(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:$,strategy:a}):f);return{top:(b.top-y.top+p.top)/_.y,bottom:(y.bottom-b.bottom+p.bottom)/_.y,left:(b.left-y.left+p.left)/_.x,right:(y.right-b.right+p.right)/_.x}}const arrow=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:n,rects:r,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const u=getPaddingObject(d),g={x:o,y:i},h=getAlignmentAxis(n),p=getAxisLength(h),m=await s.getDimensions(c),b="y"===h,f=b?"top":"left",$=b?"bottom":"right",_=b?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[h]-g[h]-r.floating[p],v=g[h]-r.reference[h],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let k=x?x[_]:0;k&&await(null==s.isElement?void 0:s.isElement(x))||(k=l.floating[_]||r.floating[p]);const w=y/2-v/2,T=k/2-m[p]/2-1,C=min(u[f],T),S=min(u[$],T),P=C,F=k-m[p]-S,A=k/2-m[p]/2+w,z=clamp(P,A,F),B=!a.arrow&&null!=getAlignment(n)&&A!=z&&r.reference[p]/2-(A<P?C:S)-m[p]/2<0,G=B?A<P?A-P:A-F:0;return{[h]:g[h]+G,data:{[h]:z,centerOffset:A-z-G,...B&&{alignmentOffset:G}},reset:B}}}),flip=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:n,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=r.arrow)&&o.alignmentOffset)return{};const f=getSide(n),$=getSide(l)===l,_=await(null==a.isRTL?void 0:a.isRTL(c.floating)),y=g||($||!m?[getOppositePlacement(l)]:getExpandedPlacements(l));g||"none"===p||y.push(...getOppositeAxisPlacements(l,m,p,_));const v=[l,...y],x=await detectOverflow(e,b),k=[];let w=(null==(i=r.flip)?void 0:i.overflows)||[];if(d&&k.push(x[f]),u){const t=getAlignmentSides(n,s,_);k.push(x[t[0]],x[t[1]])}if(w=[...w,{placement:n,overflows:k}],!k.every((t=>t<=0))){var T,C;const t=((null==(T=r.flip)?void 0:T.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:w},reset:{placement:e}};let o=null==(C=w.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:C.placement;if(!o)switch(h){case"bestFit":{var S;const t=null==(S=w.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:S[0];t&&(o=t);break}case"initialPlacement":o=l}if(n!==o)return{reset:{placement:o}}}return{}}}};async function convertValueToCoords(t,e){const{placement:o,platform:i,elements:n}=t,r=await(null==i.isRTL?void 0:i.isRTL(n.floating)),s=getSide(o),l=getAlignment(o),a="y"===getSideAxis(o),c=["left","top"].includes(s)?-1:1,d=r&&a?-1:1,u=evaluate(e,t);let{mainAxis:g,crossAxis:h,alignmentAxis:p}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof p&&(h="end"===l?-1*p:p),a?{x:h*d,y:g*c}:{x:g*c,y:h*d}}const offset=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:i}=e,n=await convertValueToCoords(e,t);return{x:o+n.x,y:i+n.y,data:n}}}},shift=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:n}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...a}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,a),u=getSideAxis(getSide(n)),g=getOppositeAxis(u);let h=c[g],p=c[u];if(r){const t="y"===g?"bottom":"right";h=clamp(h+d["y"===g?"top":"left"],h,h-d[t])}if(s){const t="y"===u?"bottom":"right";p=clamp(p+d["y"===u?"top":"left"],p,p-d[t])}const m=l.fn({...e,[g]:h,[u]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}};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:n}=getComputedStyle(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle(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(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 n=getNearestOverflowAncestor(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(n);return r?e.concat(s,s.visualViewport||[],isOverflowElement(n)?n:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(n,getOverflowAncestors(n,[],o))}function getCssDimensions(t){const e=getComputedStyle(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=isHTMLElement(t),r=n?t.offsetWidth:o,s=n?t.offsetHeight:i,l=round(o)!==r||round(i)!==s;return l&&(o=r,i=s),{width:o,height:i,$:l}}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:n,$:r}=getCssDimensions(e);let s=(r?round(o.width):o.width)/i,l=(r?round(o.height):o.height)/n;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}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 n=t.getBoundingClientRect(),r=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const l=shouldAddVisualOffsets(r,o,i)?getVisualOffsets(r):createCoords(0);let a=(n.left+l.x)/s.x,c=(n.top+l.y)/s.y,d=n.width/s.x,u=n.height/s.y;if(r){const t=getWindow(r),e=i&&isElement(i)?getWindow(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=getScale(o),e=o.getBoundingClientRect(),i=getComputedStyle(o),n=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,r=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,d*=t.x,u*=t.y,a+=n,c+=r,o=getWindow(o).frameElement}}return rectToClientRect({width:d,height:u,x:a,y:c})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{rect:e,offsetParent:o,strategy:i}=t;const n=isHTMLElement(o),r=getDocumentElement(o);if(o===r)return e;let s={scrollLeft:0,scrollTop:0},l=createCoords(1);const a=createCoords(0);if((n||!n&&"fixed"!==i)&&(("body"!==getNodeName(o)||isOverflowElement(r))&&(s=getNodeScroll(o)),isHTMLElement(o))){const t=getBoundingClientRect(o);l=getScale(o),a.x=t.x+o.clientLeft,a.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+a.x,y:e.y*l.y-s.scrollTop*l.y+a.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,n=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const l=-o.scrollTop;return"rtl"===getComputedStyle(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-n),{width:n,height:r,x:s,y:l}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),n=o.visualViewport;let r=i.clientWidth,s=i.clientHeight,l=0,a=0;if(n){r=n.width,s=n.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(l=n.offsetLeft,a=n.offsetTop)}return{width:r,height:s,x:l,y:a}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,n=o.left+t.clientLeft,r=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:n*r.x,y:i*r.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(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))),n=null;const r="fixed"===getComputedStyle(t).position;let s=r?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle(s),o=isContainingBlock(s);o||"fixed"!==e.position||(n=null);(r?!o&&!n:!o&&"static"===e.position&&!!n&&["absolute","fixed"].includes(n.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):n=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t;const r=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=r[0],l=r.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,n);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,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function getDimensions(t){return getCssDimensions(t)}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),n=getDocumentElement(e),r="fixed"===o,s=getBoundingClientRect(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=createCoords(0);if(i||!i&&!r)if(("body"!==getNodeName(e)||isOverflowElement(n))&&(l=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else n&&(a.x=getWindowScrollBarX(n));return{x:s.left+l.scrollLeft-a.x,y:s.top+l.scrollTop-a.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){let{reference:e,floating:o,strategy:i}=t;const n=this.getOffsetParent||getOffsetParent,r=this.getDimensions;return{reference:getRectRelativeToOffsetParent(e,await n(o),i),floating:{x:0,y:0,...await r(o)}}};function isRTL(t){return"rtl"===getComputedStyle(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const n=getDocumentElement(t);function r(){clearTimeout(o),i&&i.disconnect(),i=null}return function s(l,a){void 0===l&&(l=!1),void 0===a&&(a=1),r();const{left:c,top:d,width:u,height:g}=t.getBoundingClientRect();if(l||e(),!u||!g)return;const h={rootMargin:-floor(d)+"px "+-floor(n.clientWidth-(c+u))+"px "+-floor(n.clientHeight-(d+g))+"px "+-floor(c)+"px",threshold:max(0,min(1,a))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==a){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...h,root:n.ownerDocument})}catch(t){i=new IntersectionObserver(m,h)}i.observe(t)}(!0),r}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,c=unwrapElement(t),d=n||r?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{n&&t.addEventListener("scroll",o,{passive:!0}),r&&t.addEventListener("resize",o)}));const u=c&&l?observeMove(c,o):null;let g,h=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{p&&p.observe(e)}))),o()})),c&&!a&&p.observe(c),p.observe(e));let m=a?getBoundingClientRect(t):null;return a&&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,g=requestAnimationFrame(e)}(),o(),()=>{d.forEach((t=>{n&&t.removeEventListener("scroll",o),r&&t.removeEventListener("resize",o)})),u&&u(),p&&p.disconnect(),p=null,a&&cancelAnimationFrame(g)}}const computePosition=(t,e,o)=>{const i=new Map,n={platform,...o},r={...n.platform,_c:i};return computePosition$1(t,e,{...n,platform:r})};var _Popover_updateCleanup,_Popover_getArrowPosition;const UNSET_SIDES={top:"",bottom:"",left:"",right:""},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}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>20,this.renderArrow=()=>x$1`<span id="arrow">
2448
+ `}focus(t){var e;null===(e=__classPrivateFieldGet(this,_Toggle_instances,"a",_Toggle_button_get))||void 0===e||e.focus(t)}}function trim(t){return t.trim()}function convertTriggerFromAttribute(t){return t?String(t).split(/[\s,]+/).map(trim).filter(Boolean):["hover"]}_Toggle_handleClick=new WeakMap,_Toggle_setDisabled=new WeakMap,_Toggle_setChecked=new WeakMap,_Toggle_instances=new WeakSet,_Toggle_button_get=function(){var t,e;return null!==(e=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector("button"))&&void 0!==e?e:null},Toggle.styles=[styles$3()],window.customElements.define("m-toggle",Toggle);const min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=t=>({x:t,y:t}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(t,e,o){return max(t,min(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),n=getAlignmentAxis(t),r=getAxisLength(n);let s="x"===n?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(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"],n=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?n:i:e?i:n;case"left":case"right":return e?r:s;default:return[]}}function getOppositeAxisPlacements(t,e,o,i){const n=getAlignment(t);let r=getSideList(getSide(t),"start"===o,i);return n&&(r=r.map((t=>t+"-"+n)),e&&(r=r.concat(r.map(getOppositeAlignmentPlacement)))),r}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:n}=t;const r=getSideAxis(e),s=getAlignmentAxis(e),l=getAxisLength(s),a=getSide(e),c="y"===r,d=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2;let h;switch(a){case"top":h={x:d,y:i.y-n.height};break;case"bottom":h={x:d,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:u};break;case"left":h={x:i.x-n.width,y:u};break;default:h={x:i.x,y:i.y}}switch(getAlignment(e)){case"start":h[s]-=g*(o&&c?-1:1);break;case"end":h[s]+=g*(o&&c?-1:1)}return h}const computePosition$1=async(t,e,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:s}=o,l=r.filter(Boolean),a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:d,y:u}=computeCoordsFromPlacement(c,i,a),g=i,h={},p=0;for(let o=0;o<l.length;o++){const{name:r,fn:m}=l[o],{x:b,y:f,data:$,reset:_}=await m({x:d,y:u,initialPlacement:i,placement:g,strategy:n,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,u=null!=f?f:u,h={...h,[r]:{...h[r],...$}},_&&p<=50&&(p++,"object"==typeof _&&(_.placement&&(g=_.placement),_.rects&&(c=!0===_.rects?await s.getElementRects({reference:t,floating:e,strategy:n}):_.rects),({x:d,y:u}=computeCoordsFromPlacement(c,g,a))),o=-1)}return{x:d,y:u,placement:g,strategy:n,middlewareData:h}};async function detectOverflow(t,e){var o;void 0===e&&(e={});const{x:i,y:n,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:g=!1,padding:h=0}=evaluate(e,t),p=getPaddingObject(h),m=l[g?"floating"===u?"reference":"floating":u],b=rectToClientRect(await r.getClippingRect({element:null==(o=await(null==r.isElement?void 0:r.isElement(m)))||o?m:m.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:a})),f="floating"===u?{...s.floating,x:i,y:n}:s.reference,$=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),_=await(null==r.isElement?void 0:r.isElement($))&&await(null==r.getScale?void 0:r.getScale($))||{x:1,y:1},y=rectToClientRect(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:$,strategy:a}):f);return{top:(b.top-y.top+p.top)/_.y,bottom:(y.bottom-b.bottom+p.bottom)/_.y,left:(b.left-y.left+p.left)/_.x,right:(y.right-b.right+p.right)/_.x}}const arrow=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:n,rects:r,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:d=0}=evaluate(t,e)||{};if(null==c)return{};const u=getPaddingObject(d),g={x:o,y:i},h=getAlignmentAxis(n),p=getAxisLength(h),m=await s.getDimensions(c),b="y"===h,f=b?"top":"left",$=b?"bottom":"right",_=b?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[h]-g[h]-r.floating[p],v=g[h]-r.reference[h],x=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let k=x?x[_]:0;k&&await(null==s.isElement?void 0:s.isElement(x))||(k=l.floating[_]||r.floating[p]);const w=y/2-v/2,T=k/2-m[p]/2-1,C=min(u[f],T),S=min(u[$],T),P=C,F=k-m[p]-S,A=k/2-m[p]/2+w,B=clamp(P,A,F),z=!a.arrow&&null!=getAlignment(n)&&A!=B&&r.reference[p]/2-(A<P?C:S)-m[p]/2<0,G=z?A<P?A-P:A-F:0;return{[h]:g[h]+G,data:{[h]:B,centerOffset:A-B-G,...z&&{alignmentOffset:G}},reset:z}}}),flip=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:n,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=r.arrow)&&o.alignmentOffset)return{};const f=getSide(n),$=getSide(l)===l,_=await(null==a.isRTL?void 0:a.isRTL(c.floating)),y=g||($||!m?[getOppositePlacement(l)]:getExpandedPlacements(l));g||"none"===p||y.push(...getOppositeAxisPlacements(l,m,p,_));const v=[l,...y],x=await detectOverflow(e,b),k=[];let w=(null==(i=r.flip)?void 0:i.overflows)||[];if(d&&k.push(x[f]),u){const t=getAlignmentSides(n,s,_);k.push(x[t[0]],x[t[1]])}if(w=[...w,{placement:n,overflows:k}],!k.every((t=>t<=0))){var T,C;const t=((null==(T=r.flip)?void 0:T.index)||0)+1,e=v[t];if(e)return{data:{index:t,overflows:w},reset:{placement:e}};let o=null==(C=w.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:C.placement;if(!o)switch(h){case"bestFit":{var S;const t=null==(S=w.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:S[0];t&&(o=t);break}case"initialPlacement":o=l}if(n!==o)return{reset:{placement:o}}}return{}}}};async function convertValueToCoords(t,e){const{placement:o,platform:i,elements:n}=t,r=await(null==i.isRTL?void 0:i.isRTL(n.floating)),s=getSide(o),l=getAlignment(o),a="y"===getSideAxis(o),c=["left","top"].includes(s)?-1:1,d=r&&a?-1:1,u=evaluate(e,t);let{mainAxis:g,crossAxis:h,alignmentAxis:p}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof p&&(h="end"===l?-1*p:p),a?{x:h*d,y:g*c}:{x:g*c,y:h*d}}const offset=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:i}=e,n=await convertValueToCoords(e,t);return{x:o+n.x,y:i+n.y,data:n}}}},shift=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:n}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...a}=evaluate(t,e),c={x:o,y:i},d=await detectOverflow(e,a),u=getSideAxis(getSide(n)),g=getOppositeAxis(u);let h=c[g],p=c[u];if(r){const t="y"===g?"bottom":"right";h=clamp(h+d["y"===g?"top":"left"],h,h-d[t])}if(s){const t="y"===u?"bottom":"right";p=clamp(p+d["y"===u?"top":"left"],p,p-d[t])}const m=l.fn({...e,[g]:h,[u]:p});return{...m,data:{x:m.x-o,y:m.y-i}}}}};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:n}=getComputedStyle(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function isTableElement(t){return["table","td","th"].includes(getNodeName(t))}function isContainingBlock(t){const e=isWebKit(),o=getComputedStyle(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(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 n=getNearestOverflowAncestor(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),s=getWindow(n);return r?e.concat(s,s.visualViewport||[],isOverflowElement(n)?n:[],s.frameElement&&o?getOverflowAncestors(s.frameElement):[]):e.concat(n,getOverflowAncestors(n,[],o))}function getCssDimensions(t){const e=getComputedStyle(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=isHTMLElement(t),r=n?t.offsetWidth:o,s=n?t.offsetHeight:i,l=round(o)!==r||round(i)!==s;return l&&(o=r,i=s),{width:o,height:i,$:l}}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:n,$:r}=getCssDimensions(e);let s=(r?round(o.width):o.width)/i,l=(r?round(o.height):o.height)/n;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}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 n=t.getBoundingClientRect(),r=unwrapElement(t);let s=createCoords(1);e&&(i?isElement(i)&&(s=getScale(i)):s=getScale(t));const l=shouldAddVisualOffsets(r,o,i)?getVisualOffsets(r):createCoords(0);let a=(n.left+l.x)/s.x,c=(n.top+l.y)/s.y,d=n.width/s.x,u=n.height/s.y;if(r){const t=getWindow(r),e=i&&isElement(i)?getWindow(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=getScale(o),e=o.getBoundingClientRect(),i=getComputedStyle(o),n=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,r=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,d*=t.x,u*=t.y,a+=n,c+=r,o=getWindow(o).frameElement}}return rectToClientRect({width:d,height:u,x:a,y:c})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{rect:e,offsetParent:o,strategy:i}=t;const n=isHTMLElement(o),r=getDocumentElement(o);if(o===r)return e;let s={scrollLeft:0,scrollTop:0},l=createCoords(1);const a=createCoords(0);if((n||!n&&"fixed"!==i)&&(("body"!==getNodeName(o)||isOverflowElement(r))&&(s=getNodeScroll(o)),isHTMLElement(o))){const t=getBoundingClientRect(o);l=getScale(o),a.x=t.x+o.clientLeft,a.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+a.x,y:e.y*l.y-s.scrollTop*l.y+a.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,n=max(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=max(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+getWindowScrollBarX(t);const l=-o.scrollTop;return"rtl"===getComputedStyle(i).direction&&(s+=max(e.clientWidth,i.clientWidth)-n),{width:n,height:r,x:s,y:l}}function getViewportRect(t,e){const o=getWindow(t),i=getDocumentElement(t),n=o.visualViewport;let r=i.clientWidth,s=i.clientHeight,l=0,a=0;if(n){r=n.width,s=n.height;const t=isWebKit();(!t||t&&"fixed"===e)&&(l=n.offsetLeft,a=n.offsetTop)}return{width:r,height:s,x:l,y:a}}function getInnerBoundingClientRect(t,e){const o=getBoundingClientRect(t,!0,"fixed"===e),i=o.top+t.clientTop,n=o.left+t.clientLeft,r=isHTMLElement(t)?getScale(t):createCoords(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:n*r.x,y:i*r.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(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))),n=null;const r="fixed"===getComputedStyle(t).position;let s=r?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle(s),o=isContainingBlock(s);o||"fixed"!==e.position||(n=null);(r?!o&&!n:!o&&"static"===e.position&&!!n&&["absolute","fixed"].includes(n.position)||isOverflowElement(s)&&!o&&hasFixedPositionAncestor(t,s))?i=i.filter((t=>t!==s)):n=e,s=getParentNode(s)}return e.set(t,i),i}function getClippingRect(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t;const r=[..."clippingAncestors"===o?getClippingElementAncestors(e,this._c):[].concat(o),i],s=r[0],l=r.reduce(((t,o)=>{const i=getClientRectFromClippingAncestor(e,o,n);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,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function getDimensions(t){return getCssDimensions(t)}function getRectRelativeToOffsetParent(t,e,o){const i=isHTMLElement(e),n=getDocumentElement(e),r="fixed"===o,s=getBoundingClientRect(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=createCoords(0);if(i||!i&&!r)if(("body"!==getNodeName(e)||isOverflowElement(n))&&(l=getNodeScroll(e)),i){const t=getBoundingClientRect(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else n&&(a.x=getWindowScrollBarX(n));return{x:s.left+l.scrollLeft-a.x,y:s.top+l.scrollTop-a.y,width:s.width,height:s.height}}function getTrueOffsetParent(t,e){return isHTMLElement(t)&&"fixed"!==getComputedStyle(t).position?e?e(t):t.offsetParent:null}function getOffsetParent(t,e){const o=getWindow(t);if(!isHTMLElement(t))return o;let i=getTrueOffsetParent(t,e);for(;i&&isTableElement(i)&&"static"===getComputedStyle(i).position;)i=getTrueOffsetParent(i,e);return i&&("html"===getNodeName(i)||"body"===getNodeName(i)&&"static"===getComputedStyle(i).position&&!isContainingBlock(i))?o:i||getContainingBlock(t)||o}const getElementRects=async function(t){let{reference:e,floating:o,strategy:i}=t;const n=this.getOffsetParent||getOffsetParent,r=this.getDimensions;return{reference:getRectRelativeToOffsetParent(e,await n(o),i),floating:{x:0,y:0,...await r(o)}}};function isRTL(t){return"rtl"===getComputedStyle(t).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function observeMove(t,e){let o,i=null;const n=getDocumentElement(t);function r(){clearTimeout(o),i&&i.disconnect(),i=null}return function s(l,a){void 0===l&&(l=!1),void 0===a&&(a=1),r();const{left:c,top:d,width:u,height:g}=t.getBoundingClientRect();if(l||e(),!u||!g)return;const h={rootMargin:-floor(d)+"px "+-floor(n.clientWidth-(c+u))+"px "+-floor(n.clientHeight-(d+g))+"px "+-floor(c)+"px",threshold:max(0,min(1,a))||1};let p=!0;function m(t){const e=t[0].intersectionRatio;if(e!==a){if(!p)return s();e?s(!1,e):o=setTimeout((()=>{s(!1,1e-7)}),100)}p=!1}try{i=new IntersectionObserver(m,{...h,root:n.ownerDocument})}catch(t){i=new IntersectionObserver(m,h)}i.observe(t)}(!0),r}function autoUpdate(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,c=unwrapElement(t),d=n||r?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(e)]:[];d.forEach((t=>{n&&t.addEventListener("scroll",o,{passive:!0}),r&&t.addEventListener("resize",o)}));const u=c&&l?observeMove(c,o):null;let g,h=-1,p=null;s&&(p=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{p&&p.observe(e)}))),o()})),c&&!a&&p.observe(c),p.observe(e));let m=a?getBoundingClientRect(t):null;return a&&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,g=requestAnimationFrame(e)}(),o(),()=>{d.forEach((t=>{n&&t.removeEventListener("scroll",o),r&&t.removeEventListener("resize",o)})),u&&u(),p&&p.disconnect(),p=null,a&&cancelAnimationFrame(g)}}const computePosition=(t,e,o)=>{const i=new Map,n={platform,...o},r={...n.platform,_c:i};return computePosition$1(t,e,{...n,platform:r})};var _Popover_updateCleanup,_Popover_getArrowPosition;const UNSET_SIDES={top:"",bottom:"",left:"",right:""},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}}}constructor(){super(),_Popover_updateCleanup.set(this,void 0),this.getFloatingOffset=()=>20,this.renderArrow=()=>x$1`<span id="arrow">
2449
2449
  <svg viewBox="0 0 20 10">
2450
2450
  <polygon stroke-width="0" points="0,10 20,10 10,0" />
2451
2451
  </svg>
@@ -2570,4 +2570,4 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2570
2570
  }
2571
2571
  }
2572
2572
  `}const DEFAULT_SIZE=48;class SpinnerWheel extends s$5{static get properties(){return{size:{type:String}}}update(t){super.update(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-spinner-size",`${parseInt(String(this.size),10)||48}px`)}render(){return b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="#CADBDD" fill-rule="evenodd" d="M24 48c13.255 0 24-10.745 24-24S37.255 0 24 0 0 10.745 0 24s10.745 24 24 24Zm0-10c7.732 0 14-6.268 14-14s-6.268-14-14-14-14 6.268-14 14 6.268 14 14 14Z" clip-rule="evenodd"/><path fill="url(#a)" d="M24 43.068c0 2.724-2.231 4.983-4.898 4.427a23.999 23.999 0 0 1 0-46.99C21.77-.051 24 2.208 24 4.932c0 2.723-2.273 4.852-4.833 5.783a14.135 14.135 0 0 0-5.163 23.28 14.135 14.135 0 0 0 5.163 3.29c2.56.93 4.833 3.06 4.833 5.783Z"/><defs><linearGradient id="a" x1="9.608" x2="44.189" y1="42.161" y2="7.59" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/></linearGradient></defs></svg>`}}SpinnerWheel.styles=[styles()],window.customElements.define("m-spinner-wheel",SpinnerWheel);export{Link as $,Divider as A,BackButton as B,Card as C,Dialog as D,FieldHint as E,Field as F,FieldLabel as G,FIELD_STATUSES as H,Header as I,HeaderActions as J,HeaderContent as K,HeaderTitle as L,ALIGN_ITEMS_VALUES as M,JUSTIFY_CONTENT_VALUES as N,Box as O,defaultBoxProps as P,Group as Q,defaultGroupProps as R,SubHeader as S,Stack as T,defaultStackProps as U,Grid as V,defaultGridProps as W,Sidebar as X,defaultSidebarProps as Y,Switcher as Z,defaultSwitcherProps as _,BannerActionPrimary as a,PageContent as a0,ProgressBar as a1,ProgressBarCountdown as a2,Radio as a3,RadioGroup as a4,Section as a5,SectionTitle as a6,Steps as a7,Step as a8,Table as a9,defaultTableProps as aa,TableHead as ab,TableBody as ac,TableFoot as ad,TableRow as ae,TableCell as af,defaultTableCellProps as ag,Tabs as ah,Tab as ai,TabPanel as aj,Tag as ak,Text as al,TextField as am,ToggleGroup as an,Toggle as ao,Tooltip as ap,TOOLTIP_PLACEMENT_VALUES as aq,SpinnerWheel as ar,b,BannerActionSecondary as c,BannerActions as d,BannerDescription as e,BannerIcon as f,BannerTitle as g,Banner as h,Body as i,Button as j,CardBody as k,CardSubtitle as l,CardTitle as m,CardDivider as n,Checkbox as o,CloseButton as p,DIALOG_SIZES as q,DIALOG_VARIANTS as r,DialogActionPrimary as s,DialogActionSecondary as t,DialogActionTertiary as u,DialogActions as v,DialogBody as w,DialogClose as x,DialogFooter as y,DialogHeader as z};
2573
- //# sourceMappingURL=index-e5f43536.js.map
2573
+ //# sourceMappingURL=index-c298d91e.js.map