@loadsmart/miranda-wc 1.72.1 → 1.73.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.
Files changed (33) hide show
  1. package/dist/{arrow-left-8a0ecddc.js → arrow-left-ed611f56.js} +2 -2
  2. package/dist/arrow-left-ed611f56.js.map +1 -0
  3. package/dist/{attention-b8ee0d86.js → attention-95ce4c97.js} +2 -2
  4. package/dist/attention-95ce4c97.js.map +1 -0
  5. package/dist/{bell-612643d9.js → bell-4f80887c.js} +2 -2
  6. package/dist/bell-4f80887c.js.map +1 -0
  7. package/dist/{check-9357e6c9.js → check-644ce2f3.js} +2 -2
  8. package/dist/check-644ce2f3.js.map +1 -0
  9. package/dist/{close-95a381c2.js → close-80ba7c44.js} +2 -2
  10. package/dist/close-80ba7c44.js.map +1 -0
  11. package/dist/components/button/button.d.ts +1 -0
  12. package/dist/components/button/button.d.ts.map +1 -1
  13. package/dist/components/steps/index.d.ts +1 -0
  14. package/dist/components/steps/index.d.ts.map +1 -1
  15. package/dist/components/steps/steps-step.d.ts +4 -0
  16. package/dist/components/steps/steps-step.d.ts.map +1 -1
  17. package/dist/components/steps/steps.d.ts +3 -0
  18. package/dist/components/steps/steps.d.ts.map +1 -1
  19. package/dist/components/steps/steps.styles.d.ts.map +1 -1
  20. package/dist/{indeterminate-c90a2803.js → indeterminate-a505e76d.js} +2 -2
  21. package/dist/{indeterminate-c90a2803.js.map → indeterminate-a505e76d.js.map} +1 -1
  22. package/dist/{index-a2173d23.js → index-18f088c9.js} +27 -16
  23. package/dist/index-18f088c9.js.map +1 -0
  24. package/dist/index.js +1 -1
  25. package/dist/{info-circle-b21d5e20.js → info-circle-6e502712.js} +2 -2
  26. package/dist/{info-circle-b21d5e20.js.map → info-circle-6e502712.js.map} +1 -1
  27. package/package.json +1 -1
  28. package/dist/arrow-left-8a0ecddc.js.map +0 -1
  29. package/dist/attention-b8ee0d86.js.map +0 -1
  30. package/dist/bell-612643d9.js.map +0 -1
  31. package/dist/check-9357e6c9.js.map +0 -1
  32. package/dist/close-95a381c2.js.map +0 -1
  33. package/dist/index-a2173d23.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{b}from"./index-a2173d23.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-8a0ecddc.js.map
1
+ import{b}from"./index-18f088c9.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-ed611f56.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-left-ed611f56.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-a2173d23.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-b8ee0d86.js.map
1
+ import{b}from"./index-18f088c9.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-95ce4c97.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attention-95ce4c97.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-a2173d23.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-612643d9.js.map
1
+ import{b}from"./index-18f088c9.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-4f80887c.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bell-4f80887c.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-a2173d23.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-9357e6c9.js.map
1
+ import{b}from"./index-18f088c9.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-644ce2f3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-644ce2f3.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-a2173d23.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-95a381c2.js.map
1
+ import{b}from"./index-18f088c9.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-80ba7c44.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-80ba7c44.js","sources":["../src/components/icon/icons/close.ts"],"sourcesContent":[null],"names":["close","svg"],"mappings":"mCAEA,IAAAA,MAAeC,CAAG"}
@@ -48,6 +48,7 @@ export declare class Button extends FormControl implements ButtonProps {
48
48
  };
49
49
  href: {
50
50
  type: StringConstructor;
51
+ reflect: boolean;
51
52
  };
52
53
  target: {
53
54
  type: StringConstructor;
@@ -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;;IAalC,iBAAiB,IAAI,IAAI;IAQzB,oBAAoB,IAAI,IAAI;cAMlB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cAUzD,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAQhE,MAAM;IA6CN,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;CAsDxD;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;cAUzD,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAQhE,MAAM;IA6CN,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;CAsDxD;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,MAAM,CAAC;KACnB;CACD"}
@@ -1,4 +1,5 @@
1
1
  export { Steps } from './steps';
2
2
  export { Step } from './steps-step';
3
+ export type { NavigateStepEventDetail } from './steps';
3
4
  export type { StepProps } from './steps-step';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,YAAY,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
@@ -19,6 +19,9 @@ export declare class Step extends LitElement {
19
19
  type: BooleanConstructor;
20
20
  reflect: boolean;
21
21
  };
22
+ 'aria-current': {
23
+ type: BooleanConstructor;
24
+ };
22
25
  };
23
26
  /**
24
27
  * Name of the step.
@@ -32,6 +35,7 @@ export declare class Step extends LitElement {
32
35
  * Order of the step.
33
36
  */
34
37
  order: StepProps['order'];
38
+ connectedCallback(): void;
35
39
  render(): import("lit-html").TemplateResult<1>;
36
40
  }
37
41
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"steps-step.d.ts","sourceRoot":"","sources":["../../../src/components/steps/steps-step.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAIhD,OAAO,SAAS,CAAC;AAEjB,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,IAAK,SAAQ,UAAU;IACnC,OAAgB,MAAM,8BAAkB;IAExC,WAAoB,UAAU;;;;;;;;;;;;MAc7B;IAED;;OAEG;IACK,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACK,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAE1C;;OAEG;IACK,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAEzB,MAAM;CAWf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
1
+ {"version":3,"file":"steps-step.d.ts","sourceRoot":"","sources":["../../../src/components/steps/steps-step.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAIhD,OAAO,SAAS,CAAC;AAEjB,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,IAAK,SAAQ,UAAU;IACnC,OAAgB,MAAM,8BAAkB;IAExC,WAAoB,UAAU;;;;;;;;;;;;;;;MAiB7B;IAED;;OAEG;IACK,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACK,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAE1C;;OAEG;IACK,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAEzB,iBAAiB,IAAI,IAAI;IAMzB,MAAM;CAaf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
@@ -6,6 +6,7 @@ export type StepsProps = {
6
6
  */
7
7
  activeStep?: string;
8
8
  };
9
+ export type NavigateStepEventDetail = string;
9
10
  export declare class Steps extends Component {
10
11
  #private;
11
12
  static styles: import("lit").CSSResult[][];
@@ -20,6 +21,8 @@ export declare class Steps extends Component {
20
21
  * Controlled value of the selected step.
21
22
  */
22
23
  activeStep: StepsProps['activeStep'];
24
+ connectedCallback(): void;
25
+ disconnectedCallback(): void;
23
26
  protected update(changedProperties: PropertyValues<this>): void;
24
27
  render(): import("lit-html").TemplateResult<1>;
25
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/components/steps/steps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,MAAM,MAAM,UAAU,GAAG;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,qBAAa,KAAM,SAAQ,SAAS;;IACnC,OAAgB,MAAM,8BAAmB;IAEzC,WAAoB,UAAU;;;;;;MAI7B;IAED;;OAEG;IACK,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;cAE1B,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAqB/D,MAAM;CAyBf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
1
+ {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/components/steps/steps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,MAAM,MAAM,UAAU,GAAG;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAE7C,qBAAa,KAAM,SAAQ,SAAS;;IACnC,OAAgB,MAAM,8BAAmB;IAEzC,WAAoB,UAAU;;;;;;MAI7B;IAED;;OAEG;IACK,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;IAIpC,iBAAiB,IAAI,IAAI;IASzB,oBAAoB,IAAI,IAAI;cASlB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAqB/D,MAAM;CA2Ff;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,SAAS,EAAE,KAAK,CAAC;KACjB;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"steps.styles.d.ts","sourceRoot":"","sources":["../../../src/components/steps/steps.styles.ts"],"names":[],"mappings":"AAOA,wBAAgB,WAAW,8BAoB1B;AAED,wBAAgB,UAAU,8BA6GzB"}
1
+ {"version":3,"file":"steps.styles.d.ts","sourceRoot":"","sources":["../../../src/components/steps/steps.styles.ts"],"names":[],"mappings":"AAOA,wBAAgB,WAAW,8BA4B1B;AAED,wBAAgB,UAAU,8BA6GzB"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-a2173d23.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-c90a2803.js.map
1
+ import{b}from"./index-18f088c9.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-a505e76d.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"indeterminate-c90a2803.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":[null],"names":["indeterminate","svg"],"mappings":"mCAEA,IAAAA,cAAeC,CAAG"}
1
+ {"version":3,"file":"indeterminate-a505e76d.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":[null],"names":["indeterminate","svg"],"mappings":"mCAEA,IAAAA,cAAeC,CAAG"}
@@ -59,7 +59,7 @@ var t$6;u$1[d$1]=!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-b8ee0d86.js")],["arrow-left",()=>import("./arrow-left-8a0ecddc.js")],["attention",()=>import("./attention-b8ee0d86.js")],["bell",()=>import("./bell-612643d9.js")],["check",()=>import("./check-9357e6c9.js")],["close",()=>import("./close-95a381c2.js")],["indeterminate",()=>import("./indeterminate-c90a2803.js")],["info-circle",()=>import("./info-circle-b21d5e20.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$E()],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-95ce4c97.js")],["arrow-left",()=>import("./arrow-left-ed611f56.js")],["attention",()=>import("./attention-95ce4c97.js")],["bell",()=>import("./bell-4f80887c.js")],["check",()=>import("./check-644ce2f3.js")],["close",()=>import("./close-80ba7c44.js")],["indeterminate",()=>import("./indeterminate-a505e76d.js")],["info-circle",()=>import("./info-circle-6e502712.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$E()],window.customElements.define("m-icon",Icon);
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2020 Google LLC
@@ -429,7 +429,7 @@ const e$5=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$5)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$3(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_setDisabled.set(this,(()=>{const t=__classPrivateFieldGet(this,_Button_isDisabled,"f").call(this);this.setAttribute("aria-disabled",String(t))})),_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)}updated(t){super.updated(t),(t.has("disabled")||t.has("loading"))&&__classPrivateFieldGet(this,_Button_setDisabled,"f").call(this)}render(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this);return n$4`
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$3(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,reflect:!0},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_setDisabled.set(this,(()=>{const t=__classPrivateFieldGet(this,_Button_isDisabled,"f").call(this);this.setAttribute("aria-disabled",String(t))})),_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)}updated(t){super.updated(t),(t.has("disabled")||t.has("loading"))&&__classPrivateFieldGet(this,_Button_setDisabled,"f").call(this)}render(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this);return n$4`
433
433
  <${this.tag}
434
434
  class=${o$2({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}
@@ -2164,17 +2164,25 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2164
2164
  --m-steps-circle-size: 24px;
2165
2165
 
2166
2166
  display: flex;
2167
- flex-flow: row nowrap;
2168
- justify-content: center;
2169
- align-items: center;
2167
+ flex-direction: column;
2168
+ box-sizing: border-box;
2169
+ gap: ${getToken("spacing-10")};
2170
2170
 
2171
2171
  width: 100%;
2172
- gap: ${getToken("spacing-10")};
2173
2172
  }
2174
2173
 
2175
2174
  ::slotted(m-step) {
2176
2175
  flex: 1;
2177
2176
  }
2177
+
2178
+ .steps-container {
2179
+ display: flex;
2180
+ flex-flow: row nowrap;
2181
+ justify-content: center;
2182
+ align-items: center;
2183
+
2184
+ gap: ${getToken("spacing-10")};
2185
+ }
2178
2186
  `]}function stepStyles(){return[i$4`
2179
2187
  :host {
2180
2188
  --m-steps-circle-margin-inline-end: 8px;
@@ -2219,8 +2227,8 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2219
2227
  color: ${getColor("color-primary-60")};
2220
2228
  }
2221
2229
 
2222
- :host(:not(:last-child))::after,
2223
- :host(:not(:first-child))::before {
2230
+ :host(:not(:last-of-type))::after,
2231
+ :host(:not(:first-of-type))::before {
2224
2232
  ${transition([{property:"background-color"}])};
2225
2233
 
2226
2234
  content: '';
@@ -2228,7 +2236,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2228
2236
  display: inline-block;
2229
2237
 
2230
2238
  block-size: 2px;
2231
- inline-size: 50%;
2239
+ inline-size: 100%;
2232
2240
  background-color: ${getColor("color-neutral-40")};
2233
2241
 
2234
2242
  top: calc(var(--m-steps-circle-size) / 2);
@@ -2263,7 +2271,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2263
2271
  display: none;
2264
2272
  }
2265
2273
 
2266
- :host([completed]) m-icon[name='check'] {
2274
+ :host([completed]:not([aria-current='step'])) m-icon[name='check'] {
2267
2275
  --m-icon-color: ${getColor("color-text-inverted")};
2268
2276
 
2269
2277
  display: inline-flex;
@@ -2280,9 +2288,12 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2280
2288
  :host(:is([aria-current='step'], :not([completed]))) .label {
2281
2289
  display: inline-flex;
2282
2290
  }
2283
- `]}var _Steps_getDefaultActive,_Steps_queryStep,_Steps_handleSlotChange,_KeyboardSupportController_handleKeyUp,_Switch_instances,_Switch_controllers,_Switch_toggle,_Switch_handleClick;SectionTitle.styles=[sectionTitleStyles()],window.customElements.define("m-section-title",SectionTitle);class Steps extends Component{constructor(){super(...arguments),_Steps_getDefaultActive.set(this,(()=>{var t;return null===(t=this.querySelector("m-step"))||void 0===t?void 0:t.name})),_Steps_queryStep.set(this,(t=>t?this.querySelector(`[name="${t}"]`):null)),_Steps_handleSlotChange.set(this,(()=>{Array.from(this.querySelectorAll("m-step")).forEach(((t,e)=>{t.setAttribute("order",String(e+1))})),this.requestUpdate()}))}static get properties(){return{activeStep:{type:String,attribute:"active-step",reflect:!0}}}update(t){var e;super.update(t);const o=__classPrivateFieldGet(this,_Steps_queryStep,"f").call(this,t.get("activeStep"));o&&o.removeAttribute("aria-current"),this.activeStep=null!==(e=this.activeStep)&&void 0!==e?e:__classPrivateFieldGet(this,_Steps_getDefaultActive,"f").call(this);const i=__classPrivateFieldGet(this,_Steps_queryStep,"f").call(this,this.activeStep);i&&(i.setAttribute("tabindex","0"),i.setAttribute("aria-current","step"))}render(){return x`<slot @slotchange=${__classPrivateFieldGet(this,_Steps_handleSlotChange,"f")}></slot>`}}_Steps_getDefaultActive=new WeakMap,_Steps_queryStep=new WeakMap,_Steps_handleSlotChange=new WeakMap,Steps.styles=[stepsStyles()],window.customElements.define("m-steps",Steps);class Step extends s$5{static get properties(){return{name:{type:String,reflect:!0},order:{type:String},completed:{type:Boolean,reflect:!0}}}render(){return x`
2291
+ `]}var _Steps_instances,_Steps_stepSequence,_Steps_getDefaultActive,_Steps_queryStep,_Steps_handleSlotChange,_Steps_findStepIndex,_Steps_onNextStep,_Steps_onPreviousStep,_Steps_onNavigateStep,_Steps_onCompleteStep,_KeyboardSupportController_handleKeyUp,_Switch_instances,_Switch_controllers,_Switch_toggle,_Switch_handleClick;SectionTitle.styles=[sectionTitleStyles()],window.customElements.define("m-section-title",SectionTitle);class Steps extends Component{constructor(){super(...arguments),_Steps_instances.add(this),_Steps_stepSequence.set(this,[]),_Steps_getDefaultActive.set(this,(()=>{var t;return null===(t=this.querySelector("m-step"))||void 0===t?void 0:t.name})),_Steps_queryStep.set(this,(t=>t?this.querySelector(`[name="${t}"]`):null)),_Steps_handleSlotChange.set(this,(()=>{const t=Array.from(this.querySelectorAll("m-step"));__classPrivateFieldSet(this,_Steps_stepSequence,[],"f"),t.forEach(((t,e)=>{__classPrivateFieldGet(this,_Steps_stepSequence,"f").push(t.name),t.setAttribute("order",String(e+1))})),this.requestUpdate()})),_Steps_onNextStep.set(this,(()=>{const t=__classPrivateFieldGet(this,_Steps_instances,"m",_Steps_findStepIndex).call(this,this.activeStep);if(-1===t||t>=__classPrivateFieldGet(this,_Steps_stepSequence,"f").length-1)return;const e=t+1;this.activeStep=__classPrivateFieldGet(this,_Steps_stepSequence,"f")[e],this.emit("m-change",{detail:{active:this.activeStep}})})),_Steps_onPreviousStep.set(this,(()=>{const t=__classPrivateFieldGet(this,_Steps_instances,"m",_Steps_findStepIndex).call(this,this.activeStep);if(t<=0)return;const e=t-1;this.activeStep=__classPrivateFieldGet(this,_Steps_stepSequence,"f")[e],this.emit("m-change",{detail:{active:this.activeStep}})})),_Steps_onNavigateStep.set(this,(t=>{const{detail:e}=t;-1!==__classPrivateFieldGet(this,_Steps_instances,"m",_Steps_findStepIndex).call(this,e)&&e!==this.activeStep&&(this.activeStep=e,this.emit("m-change",{detail:{active:e}}))})),_Steps_onCompleteStep.set(this,(()=>{const t=__classPrivateFieldGet(this,_Steps_queryStep,"f").call(this,this.activeStep);t&&!0!==t.completed&&(t.completed=!0,this.emit("m-change",{detail:{completed:this.activeStep}}))}))}static get properties(){return{activeStep:{type:String,attribute:"active-step",reflect:!0}}}connectedCallback(){super.connectedCallback(),this.addEventListener("m-next",__classPrivateFieldGet(this,_Steps_onNextStep,"f")),this.addEventListener("m-previous",__classPrivateFieldGet(this,_Steps_onPreviousStep,"f")),this.addEventListener("m-navigate",__classPrivateFieldGet(this,_Steps_onNavigateStep,"f")),this.addEventListener("m-complete",__classPrivateFieldGet(this,_Steps_onCompleteStep,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("m-next",__classPrivateFieldGet(this,_Steps_onNextStep,"f")),this.removeEventListener("m-previous",__classPrivateFieldGet(this,_Steps_onPreviousStep,"f")),this.removeEventListener("m-navigate",__classPrivateFieldGet(this,_Steps_onNavigateStep,"f")),this.removeEventListener("m-complete",__classPrivateFieldGet(this,_Steps_onCompleteStep,"f"))}update(t){var e;super.update(t);const o=__classPrivateFieldGet(this,_Steps_queryStep,"f").call(this,t.get("activeStep"));o&&o.removeAttribute("aria-current"),this.activeStep=null!==(e=this.activeStep)&&void 0!==e?e:__classPrivateFieldGet(this,_Steps_getDefaultActive,"f").call(this);const i=__classPrivateFieldGet(this,_Steps_queryStep,"f").call(this,this.activeStep);i&&(i.setAttribute("tabindex","0"),i.setAttribute("aria-current","step"))}render(){return x`<div class="steps-container">
2292
+ <slot name="step" @slotchange=${__classPrivateFieldGet(this,_Steps_handleSlotChange,"f")}></slot>
2293
+ </div>
2294
+ <div class="content-container"><slot></slot></div>`}}_Steps_stepSequence=new WeakMap,_Steps_getDefaultActive=new WeakMap,_Steps_queryStep=new WeakMap,_Steps_handleSlotChange=new WeakMap,_Steps_onNextStep=new WeakMap,_Steps_onPreviousStep=new WeakMap,_Steps_onNavigateStep=new WeakMap,_Steps_onCompleteStep=new WeakMap,_Steps_instances=new WeakSet,_Steps_findStepIndex=function(t){return t?__classPrivateFieldGet(this,_Steps_stepSequence,"f").findIndex((e=>e===t)):-1},Steps.styles=[stepsStyles()],window.customElements.define("m-steps",Steps);class Step extends s$5{static get properties(){return{name:{type:String,reflect:!0},order:{type:String},completed:{type:Boolean,reflect:!0},"aria-current":{type:Boolean}}}connectedCallback(){super.connectedCallback(),this.slot="step"}render(){const t="step"===this.getAttribute("aria-current");return x`
2284
2295
  <span class="circle">
2285
- ${this.completed?A:this.order}
2296
+ ${this.completed&&!t?A:this.order}
2286
2297
  <m-icon name="check" size="12"></m-icon>
2287
2298
  </span>
2288
2299
  <span class="label">
@@ -2660,7 +2671,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2660
2671
  ${this.isSkeleton?x``:x`<slot name="leading"></slot>`}
2661
2672
  <slot></slot>
2662
2673
  </span>
2663
- `}}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 g=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===g?"end":"start"),a({restoreTextAlign:g,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$6(){return i$4`
2674
+ `}}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$6(){return i$4`
2664
2675
  :host {
2665
2676
  --m-text-area-background-color: ${getColor("color-background-primary")};
2666
2677
  --m-text-area-border-color: ${getColor("color-border")};
@@ -3029,11 +3040,11 @@ ${this.value}</textarea
3029
3040
 
3030
3041
  <slot></slot>
3031
3042
  </button>
3032
- `}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),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,g=i[a]/2-r[a]/2;let h;switch(l){case"top":h={x:d,y:i.y-r.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-r.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: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),g=i,h={},p=0;for(let o=0;o<a.length;o++){const{name:n,fn:m}=a[o],{x:b,y:f,data:_,reset:y}=await m({x:d,y:u,initialPlacement:i,placement:g,strategy:r,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=b?b:d,u=null!=f?f:u,h={...h,[n]:{...h[n],..._}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(g=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,g,l))),o=-1)}return{x:d,y:u,placement:g,strategy:r,middlewareData:h}};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:g=!1,padding:h=0}=evaluate(e,t),p=getPaddingObject(h),m=a[g?"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})),f="floating"===u?{...s.floating,x:i,y:r}:s.reference,_=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),y=await(null==n.isElement?void 0:n.isElement(_))&&await(null==n.getScale?void 0:n.getScale(_))||{x:1,y:1},$=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:_,strategy:l}):f);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=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),g={x:o,y:i},h=getAlignmentAxis(r),p=getAxisLength(h),m=await s.getDimensions(c),b="y"===h,f=b?"top":"left",_=b?"bottom":"right",y=b?"clientHeight":"clientWidth",$=n.reference[p]+n.reference[h]-g[h]-n.floating[p],v=g[h]-n.reference[h],w=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let x=w?w[y]:0;x&&await(null==s.isElement?void 0:s.isElement(w))||(x=a.floating[y]||n.floating[p]);const k=$/2-v/2,S=x/2-m[p]/2-1,C=min(u[f],S),T=min(u[_],S),P=C,z=x-m[p]-T,A=x/2-m[p]/2+k,F=clamp(P,A,z),B=!l.arrow&&null!=getAlignment(r)&&A!=F&&n.reference[p]/2-(A<P?C:T)-m[p]/2<0,D=B?A<P?A-P:A-z:0;return{[h]:g[h]+D,data:{[h]:F,centerOffset:A-F-D,...B&&{alignmentOffset:D}},reset:B}}}),flip=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:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...b}=evaluate(t,e);if(null!=(o=n.arrow)&&o.alignmentOffset)return{};const f=getSide(r),_=getSide(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),$=g||(_||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));g||"none"===p||$.push(...getOppositeAxisPlacements(a,m,p,y));const v=[a,...$],w=await detectOverflow(e,b),x=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&x.push(w[f]),u){const t=getAlignmentSides(r,s,y);x.push(w[t[0]],w[t[1]])}if(k=[...k,{placement:r,overflows:x}],!x.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(h){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{}}}};async function convertValueToCoords(t,e){const{placement:o,platform:i,elements:r}=t,n=await(null==i.isRTL?void 0:i.isRTL(r.floating)),s=getSide(o),a=getAlignment(o),l="y"===getSideAxis(o),c=["left","top"].includes(s)?-1:1,d=n&&l?-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 a&&"number"==typeof p&&(h="end"===a?-1*p:p),l?{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,r=await convertValueToCoords(e,t);return{x:o+r.x,y:i+r.y,data:r}}}},shift=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)),g=getOppositeAxis(u);let h=c[g],p=c[u];if(n){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=a.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:r}=getComputedStyle(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(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 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(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.frameElement;for(;o&&i&&e!==t;){const t=getScale(o),e=o.getBoundingClientRect(),i=getComputedStyle(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,u*=t.y,l+=r,c+=n,o=getWindow(o).frameElement}}return rectToClientRect({width:d,height:u,x:l,y:c})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=isHTMLElement(o),n=getDocumentElement(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=createCoords(1);const l=createCoords(0);if((r||!r&&"fixed"!==i)&&(("body"!==getNodeName(o)||isOverflowElement(n))&&(s=getNodeScroll(o)),isHTMLElement(o))){const t=getBoundingClientRect(o);a=getScale(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.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(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(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(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle(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){return getCssDimensions(t)}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(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 r=this.getOffsetParent||getOffsetParent,n=this.getDimensions;return{reference:getRectRelativeToOffsetParent(e,await r(o),i),floating:{x:0,y:0,...await n(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 r=getDocumentElement(t);function n(){clearTimeout(o),i&&i.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:g}=t.getBoundingClientRect();if(a||e(),!u||!g)return;const h={rootMargin:-floor(d)+"px "+-floor(r.clientWidth-(c+u))+"px "+-floor(r.clientHeight-(d+g))+"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,{...h,root:r.ownerDocument})}catch(t){i=new IntersectionObserver(m,h)}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 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&&!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,g=requestAnimationFrame(e)}(),o(),()=>{d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),u&&u(),p&&p.disconnect(),p=null,l&&cancelAnimationFrame(g)}}const computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};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`<span id="arrow">
3043
+ `}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),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:f,data:_,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!=f?f:u,g={...g,[n]:{...g[n],..._}},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})),f="floating"===u?{...s.floating,x:i,y:r}:s.reference,_=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),y=await(null==n.isElement?void 0:n.isElement(_))&&await(null==n.getScale?void 0:n.getScale(_))||{x:1,y:1},$=rectToClientRect(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:_,strategy:l}):f);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=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,f=b?"top":"left",_=b?"bottom":"right",y=b?"clientHeight":"clientWidth",$=n.reference[p]+n.reference[g]-h[g]-n.floating[p],v=h[g]-n.reference[g],w=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let x=w?w[y]:0;x&&await(null==s.isElement?void 0:s.isElement(w))||(x=a.floating[y]||n.floating[p]);const k=$/2-v/2,S=x/2-m[p]/2-1,C=min(u[f],S),T=min(u[_],S),P=C,z=x-m[p]-T,F=x/2-m[p]/2+k,A=clamp(P,F,z),B=!l.arrow&&null!=getAlignment(r)&&F!=A&&n.reference[p]/2-(F<P?C:T)-m[p]/2<0,G=B?F<P?F-P:F-z:0;return{[g]:h[g]+G,data:{[g]:A,centerOffset:F-A-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: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 f=getSide(r),_=getSide(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),$=h||(_||!m?[getOppositePlacement(a)]:getExpandedPlacements(a));h||"none"===p||$.push(...getOppositeAxisPlacements(a,m,p,y));const v=[a,...$],w=await detectOverflow(e,b),x=[];let k=(null==(i=n.flip)?void 0:i.overflows)||[];if(d&&x.push(w[f]),u){const t=getAlignmentSides(r,s,y);x.push(w[t[0]],w[t[1]])}if(k=[...k,{placement:r,overflows:x}],!x.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{}}}};async function convertValueToCoords(t,e){const{placement:o,platform:i,elements:r}=t,n=await(null==i.isRTL?void 0:i.isRTL(r.floating)),s=getSide(o),a=getAlignment(o),l="y"===getSideAxis(o),c=["left","top"].includes(s)?-1:1,d=n&&l?-1:1,u=evaluate(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:p}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return a&&"number"==typeof p&&(g="end"===a?-1*p:p),l?{x:g*d,y:h*c}:{x:h*c,y:g*d}}const offset=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:i}=e,r=await convertValueToCoords(e,t);return{x:o+r.x,y:i+r.y,data:r}}}},shift=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(g+d["y"===h?"top":"left"],g,g-d[t])}if(s){const t="y"===u?"bottom":"right";p=clamp(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}}}}};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(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(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 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(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.frameElement;for(;o&&i&&e!==t;){const t=getScale(o),e=o.getBoundingClientRect(),i=getComputedStyle(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,u*=t.y,l+=r,c+=n,o=getWindow(o).frameElement}}return rectToClientRect({width:d,height:u,x:l,y:c})}function convertOffsetParentRelativeRectToViewportRelativeRect(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=isHTMLElement(o),n=getDocumentElement(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=createCoords(1);const l=createCoords(0);if((r||!r&&"fixed"!==i)&&(("body"!==getNodeName(o)||isOverflowElement(n))&&(s=getNodeScroll(o)),isHTMLElement(o))){const t=getBoundingClientRect(o);a=getScale(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.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(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(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(t).position;let s=n?getParentNode(t):t;for(;isElement(s)&&!isLastTraversableNode(s);){const e=getComputedStyle(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){return getCssDimensions(t)}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(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 r=this.getOffsetParent||getOffsetParent,n=this.getDimensions;return{reference:getRectRelativeToOffsetParent(e,await r(o),i),floating:{x:0,y:0,...await n(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 r=getDocumentElement(t);function n(){clearTimeout(o),i&&i.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((()=>{p&&p.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(),()=>{d.forEach((t=>{r&&t.removeEventListener("scroll",o),n&&t.removeEventListener("resize",o)})),u&&u(),p&&p.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const computePosition=(t,e,o)=>{const i=new Map,r={platform,...o},n={...r.platform,_c:i};return computePosition$1(t,e,{...r,platform:n})};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`<span id="arrow">
3033
3044
  <svg viewBox="0 0 20 10">
3034
3045
  <polygon stroke-width="0" points="0,10 20,10 10,0" />
3035
3046
  </svg>
3036
- </span>`,this.reposition=async t=>{var e,o;if(null==this.floating||null==this.reference)return;const{x:i,y:r,placement:n,middlewareData:s}=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",middleware:[offset(this.getFloatingOffset()),flip(),shift(),this.arrow?arrow({element:this.arrow,padding:16}):void 0]});Object.assign(this.floating.style,{top:`${r}px`,left:`${i}px`}),null!=this.arrow&&s.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet(this,_Popover_getArrowPosition,"f").call(this,n,s.arrow)),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==e)return{};const[o,i]=t.split("-"),{x:r,y:n}=e,s={top:"bottom",bottom:"top",left:"right",right:"left"}[o],a={top:"180deg",bottom:"0deg",left:"90deg",right:"-90deg"}[o],l=null!=i,c=this.reference.offsetWidth>this.floating.offsetWidth,d=this.reference.offsetHeight>this.floating.offsetHeight,u=["top","bottom"].includes(o),g=l&&(u?c:d),h=this.reference.getBoundingClientRect(),p=`calc(var(--m-popover-arrow-offset) + ${{top:h.height,bottom:h.height,right:h.width,left:h.width}[s]}px + ${this.getFloatingOffset()}px)`;let m={transform:`rotate(${a})`,...UNSET_SIDES};if(g){const e={"top-start":"left","top-end":"right","bottom-start":"left","bottom-end":"right"}[t];m={...m,[s]:p,[e]:"10px"}}else m={...m,left:null!=r?`${r}px`:"",top:null!=n?`${n}px`:"",[s]:p};return m})),this.position="fixed",this.placement="top-end",this.open=!1}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=__classPrivateFieldGet(this,_Popover_updateCleanup,"f"))||void 0===t||t.call(this)}firstUpdated(){this.open&&this.reposition("show"),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")}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.reposition("show"))}hide(){this.open&&(this.open=!1)}toggle(){this.open?this.hide():this.show()}}function styles$2(){return[i$4`
3047
+ </span>`,this.reposition=async t=>{var e,o;if(null==this.floating||null==this.reference)return;const{x:i,y:r,placement:n,middlewareData:s}=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",middleware:[offset(this.getFloatingOffset()),flip(),shift(),this.arrow?arrow({element:this.arrow,padding:16}):void 0]});Object.assign(this.floating.style,{top:`${r}px`,left:`${i}px`}),null!=this.arrow&&s.arrow&&Object.assign(this.arrow.style,__classPrivateFieldGet(this,_Popover_getArrowPosition,"f").call(this,n,s.arrow)),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==e)return{};const[o,i]=t.split("-"),{x:r,y:n}=e,s={top:"bottom",bottom:"top",left:"right",right:"left"}[o],a={top:"180deg",bottom:"0deg",left:"90deg",right:"-90deg"}[o],l=null!=i,c=this.reference.offsetWidth>this.floating.offsetWidth,d=this.reference.offsetHeight>this.floating.offsetHeight,u=["top","bottom"].includes(o),h=l&&(u?c:d),g=this.reference.getBoundingClientRect(),p=`calc(var(--m-popover-arrow-offset) + ${{top:g.height,bottom:g.height,right:g.width,left:g.width}[s]}px + ${this.getFloatingOffset()}px)`;let m={transform:`rotate(${a})`,...UNSET_SIDES};if(h){const e={"top-start":"left","top-end":"right","bottom-start":"left","bottom-end":"right"}[t];m={...m,[s]:p,[e]:"10px"}}else m={...m,left:null!=r?`${r}px`:"",top:null!=n?`${n}px`:"",[s]:p};return m})),this.position="fixed",this.placement="top-end",this.open=!1}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=__classPrivateFieldGet(this,_Popover_updateCleanup,"f"))||void 0===t||t.call(this)}firstUpdated(){this.open&&this.reposition("show"),__classPrivateFieldSet(this,_Popover_updateCleanup,autoUpdate(this.reference,this.floating,(()=>{this.reposition("auto")})),"f")}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.reposition("show"))}hide(){this.open&&(this.open=!1)}toggle(){this.open?this.hide():this.show()}}function styles$2(){return[i$4`
3037
3048
  :host {
3038
3049
  --m-popover-background-color: ${getColor("color-background-secondary-inverted")};
3039
3050
  --m-popover-border-radius: ${getToken("border-radius-m")};
@@ -3154,4 +3165,4 @@ ${this.value}</textarea
3154
3165
  }
3155
3166
  }
3156
3167
  `}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{HeaderTitle as $,DialogHeader as A,BackButton as B,Card as C,Dialog as D,Divider as E,Drawer as F,DRAWER_SIZES as G,DrawerActionPrimary as H,DrawerActionSecondary as I,DrawerActionTertiary as J,DrawerActions as K,DrawerBody as L,DrawerClose as M,DrawerHeader as N,EmptyStateAction as O,EmptyStateHeader as P,EmptyStateIllustration as Q,EmptyStateMessage as R,EmptyState as S,EMPTY_STATE_VARIANTS as T,Field as U,FieldHint as V,FieldLabel as W,FIELD_STATUSES as X,Header as Y,HeaderActions as Z,HeaderContent as _,Badge as a,SubHeader as a0,ALIGN_ITEMS_VALUES as a1,JUSTIFY_CONTENT_VALUES as a2,Box as a3,defaultBoxProps as a4,Group as a5,defaultGroupProps as a6,Stack as a7,defaultStackProps as a8,Grid as a9,TabPanel as aA,Tag as aB,Text as aC,TextArea as aD,TextField as aE,ToggleGroup as aF,Toggle as aG,Tooltip as aH,TOOLTIP_PLACEMENT_VALUES as aI,SpinnerWheel as aJ,defaultGridProps as aa,Sidebar as ab,defaultSidebarProps as ac,Switcher as ad,defaultSwitcherProps as ae,Link as af,PageContent as ag,ProgressBar as ah,ProgressBarCountdown as ai,Radio as aj,RadioGroup as ak,Section as al,SectionTitle as am,Steps as an,Step as ao,Switch as ap,Table as aq,defaultTableProps as ar,TableHead as as,TableBody as at,TableFoot as au,TableRow as av,TableCell as aw,defaultTableCellProps as ax,Tabs as ay,Tab as az,b,BannerActionPrimary as c,BannerActionSecondary as d,BannerActions as e,BannerDescription as f,BannerIcon as g,BannerTitle as h,Banner as i,Body as j,Button as k,CardBody as l,CardSubtitle as m,CardTitle as n,CardDivider as o,Checkbox as p,CloseButton as q,DIALOG_SIZES as r,DIALOG_VARIANTS as s,DialogActionPrimary as t,DialogActionSecondary as u,DialogActionTertiary as v,DialogActions as w,DialogBody as x,DialogClose as y,DialogFooter as z};
3157
- //# sourceMappingURL=index-a2173d23.js.map
3168
+ //# sourceMappingURL=index-18f088c9.js.map