@maggioli-design-system/mds-progress 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/cjs/{index-fd4954d5.js → index-4a76ea01.js} +23 -0
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mds-progress.cjs.entry.js +2 -2
  4. package/dist/cjs/mds-progress.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/mds-progress/mds-progress.css +10 -22
  7. package/dist/collection/dictionary/icon.js +2 -2
  8. package/dist/collection/dictionary/typography.js +7 -1
  9. package/dist/components/mds-progress.js +1 -1
  10. package/dist/esm/{index-28e8e05c.js → index-bcbe845c.js} +23 -0
  11. package/dist/esm/loader.js +2 -2
  12. package/dist/esm/mds-progress.entry.js +2 -2
  13. package/dist/esm/mds-progress.js +2 -2
  14. package/dist/esm/polyfills/css-shim.js +1 -1
  15. package/dist/esm-es5/index-bcbe845c.js +1 -0
  16. package/dist/esm-es5/loader.js +1 -1
  17. package/dist/esm-es5/mds-progress.entry.js +1 -1
  18. package/dist/esm-es5/mds-progress.js +1 -1
  19. package/dist/mds-progress/mds-progress.esm.js +1 -1
  20. package/dist/mds-progress/mds-progress.js +1 -1
  21. package/dist/mds-progress/p-1a98b938.system.js +1 -0
  22. package/dist/mds-progress/p-5db21d65.system.entry.js +1 -0
  23. package/dist/mds-progress/p-b921d9c4.entry.js +1 -0
  24. package/dist/mds-progress/{p-23f79c39.js → p-dbe142bc.js} +0 -0
  25. package/dist/mds-progress/{p-716fd6da.system.js → p-e9375661.system.js} +1 -1
  26. package/dist/stats.json +32 -30
  27. package/dist/types/dictionary/typography.d.ts +2 -1
  28. package/dist/types/stencil-public-runtime.d.ts +6 -4
  29. package/dist/types/types/typography.d.ts +3 -2
  30. package/package.json +2 -2
  31. package/readme.md +2 -0
  32. package/src/components/mds-progress/mds-progress.css +11 -10
  33. package/src/dictionary/icon.ts +2 -2
  34. package/src/dictionary/typography.ts +8 -0
  35. package/src/fixtures/icons.json +3 -0
  36. package/src/types/typography.ts +6 -0
  37. package/www/build/mds-progress.esm.js +1 -1
  38. package/www/build/mds-progress.js +1 -1
  39. package/www/build/p-1a98b938.system.js +1 -0
  40. package/www/build/p-5db21d65.system.entry.js +1 -0
  41. package/www/build/p-b921d9c4.entry.js +1 -0
  42. package/www/build/{p-23f79c39.js → p-dbe142bc.js} +0 -0
  43. package/www/build/{p-716fd6da.system.js → p-e9375661.system.js} +1 -1
  44. package/dist/esm-es5/index-28e8e05c.js +0 -1
  45. package/dist/mds-progress/p-191a8307.system.entry.js +0 -1
  46. package/dist/mds-progress/p-c077c6f8.entry.js +0 -1
  47. package/dist/mds-progress/p-e655d83d.system.js +0 -1
  48. package/www/build/p-191a8307.system.entry.js +0 -1
  49. package/www/build/p-c077c6f8.entry.js +0 -1
  50. package/www/build/p-e655d83d.system.js +0 -1
@@ -649,6 +649,29 @@ const then = (promise, thenFn) => {
649
649
  };
650
650
  const addHydratedFlag = (elm) => elm.classList.add('hydrated')
651
651
  ;
652
+ /**
653
+ * Parse a new property value for a given property type.
654
+ *
655
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
656
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
657
+ * 1. `any`, the type given to `propValue` in the function signature
658
+ * 2. the type stored from `propType`.
659
+ *
660
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
661
+ *
662
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
663
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
664
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
665
+ * ```tsx
666
+ * <my-cmp prop-val={0}></my-cmp>
667
+ * ```
668
+ *
669
+ * HTML prop values on the other hand, will always a string
670
+ *
671
+ * @param propValue the new value to coerce to some type
672
+ * @param propType the type of the prop, expressed as a binary number
673
+ * @returns the parsed/coerced value
674
+ */
652
675
  const parsePropertyValue = (propValue, propType) => {
653
676
  // ensure this value is of the correct prop type
654
677
  if (propValue != null && !isComplexType(propValue)) {
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fd4954d5.js');
5
+ const index = require('./index-4a76ea01.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.12.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.14.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-fd4954d5.js');
5
+ const index = require('./index-4a76ea01.js');
6
6
 
7
- const mdsProgressCss = "*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";
7
+ const mdsProgressCss = "@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";
8
8
 
9
9
  let MdsProgress = class {
10
10
  constructor(hostRef) {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-fd4954d5.js');
3
+ const index = require('./index-4a76ea01.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.12.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.14.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-progress.cjs.js', document.baseURI).href));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "2.12.0",
8
- "typescriptVersion": "4.3.5"
7
+ "version": "2.14.0",
8
+ "typescriptVersion": "4.5.4"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -1,29 +1,18 @@
1
- *, ::before, ::after{
2
-
3
- border-color: currentColor;
4
-
5
- --tw-ring-offset-shadow: 0 0 #0000;
6
-
7
- --tw-ring-shadow: 0 0 #0000;
8
-
9
- --tw-shadow: 0 0 #0000;
10
-
11
- --tw-shadow-colored: 0 0 #0000;
12
- }
13
-
14
1
  @tailwind utilities;
15
2
 
16
3
  /*
17
- * @prop --background: Sets the background-color of the component
18
- * @prop --progress-background: Sets the background-color of the progress
19
- * @prop --radius: Sets the border-radius of the component
20
- * @prop --thickness: Sets the thickness of the progress bar
21
- */
4
+ * @prop --background: Sets the background-color of the component
5
+ * @prop --color: Sets the background-color of the progress
6
+ * @prop --duration: Sets the duration of the progress bar animation
7
+ * @prop --radius: Sets the border-radius of the component
8
+ * @prop --thickness: Sets the thickness of the progress bar
9
+ */
22
10
 
23
11
  :host {
24
12
 
25
13
  --background: rgb(var(--adjust-tone-08));
26
- --progress-background: rgb(var(--brand-maggioli-03));
14
+ --color: rgb(var(--brand-maggioli-03));
15
+ --duration: 500ms;
27
16
  --radius: 0.5rem;
28
17
  --thickness: 0.5rem;
29
18
  display: flex;
@@ -59,12 +48,11 @@
59
48
 
60
49
  .progress{
61
50
 
62
- transition-duration: 500ms;
63
-
64
51
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
65
52
 
66
- background-color: var(--progress-background);
53
+ background-color: var(--color);
67
54
  border-radius: var(--radius);
55
+ transition-duration: var(--duration);
68
56
  transition-property: background-color, flex-grow;
69
57
  }
70
58
 
@@ -1,3 +1,3 @@
1
- import mggIconsDictionary from '@maggioli-design-system/icons/original/dictionary.json';
2
- const iconsDictionary = Object.keys(mggIconsDictionary).sort();
1
+ import jsonIconsDictionary from '../fixtures/icons.json';
2
+ const iconsDictionary = jsonIconsDictionary;
3
3
  export { iconsDictionary, };
@@ -13,6 +13,7 @@ const typographyDictionary = [
13
13
  'label',
14
14
  'option',
15
15
  'paragraph',
16
+ 'tip',
16
17
  ];
17
18
  const typographyMonoDictionary = [
18
19
  'code',
@@ -33,5 +34,10 @@ const typographySecondaryDictionary = [
33
34
  'label',
34
35
  'option',
35
36
  'paragraph',
37
+ 'tip',
36
38
  ];
37
- export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, };
39
+ const typographySmallerDictionary = [
40
+ 'option',
41
+ 'tip',
42
+ ];
43
+ export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, };
@@ -1,6 +1,6 @@
1
1
  import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
2
2
 
3
- const mdsProgressCss = "*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";
3
+ const mdsProgressCss = "@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";
4
4
 
5
5
  let MdsProgress$1 = class extends HTMLElement {
6
6
  constructor() {
@@ -627,6 +627,29 @@ const then = (promise, thenFn) => {
627
627
  };
628
628
  const addHydratedFlag = (elm) => elm.classList.add('hydrated')
629
629
  ;
630
+ /**
631
+ * Parse a new property value for a given property type.
632
+ *
633
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
634
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
635
+ * 1. `any`, the type given to `propValue` in the function signature
636
+ * 2. the type stored from `propType`.
637
+ *
638
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
639
+ *
640
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
641
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
642
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
643
+ * ```tsx
644
+ * <my-cmp prop-val={0}></my-cmp>
645
+ * ```
646
+ *
647
+ * HTML prop values on the other hand, will always a string
648
+ *
649
+ * @param propValue the new value to coerce to some type
650
+ * @param propType the type of the prop, expressed as a binary number
651
+ * @returns the parsed/coerced value
652
+ */
630
653
  const parsePropertyValue = (propValue, propType) => {
631
654
  // ensure this value is of the correct prop type
632
655
  if (propValue != null && !isComplexType(propValue)) {
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-28e8e05c.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-bcbe845c.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.12.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.14.0 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-28e8e05c.js';
1
+ import { r as registerInstance, h, H as Host } from './index-bcbe845c.js';
2
2
 
3
- const mdsProgressCss = "*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";
3
+ const mdsProgressCss = "@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";
4
4
 
5
5
  let MdsProgress = class {
6
6
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-28e8e05c.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-bcbe845c.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Browser v2.12.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Browser v2.14.0 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchBrowser = () => {
7
7
  const importMeta = import.meta.url;
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\."+t,"."+r)}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t=s.scopeId+"-"+this.count,o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
1
+ var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="mds-progress";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=o;r.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){i[i.length-1].$text$+=a}else{i.push(o?newVNode(null,a):a)}s=o}}};l(r);if(t){{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var c=newVNode(e,null);c.$attrs$=t;if(i.length>0){c.$children$=i}return c};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var setAccessor=function(e,t,r,n,a,o){if(r!==n){var s=isMemberInElement(e,t);t.toLowerCase();if(t==="class"){var i=e.classList;var l=parseClassList(r);var u=parseClassList(n);i.remove.apply(i,l.filter((function(e){return e&&!u.includes(e)})));i.add.apply(i,u.filter((function(e){return e&&!l.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else{var f=isComplexType(n);if((s||f&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!f){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(n in o){if(!(n in s)){setAccessor(a,n,o[n],undefined,r,t.$flags$)}}}for(n in s){setAccessor(a,n,o[n],s[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var o=0;var s;var i;{s=a.$elm$=doc.createElement(a.$tag$);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,r,n,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(n[a]){i=createElm(null,r,a);if(i){n[a].$elm$=i;s.insertBefore(i,t)}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var o=0;var s=t.length-1;var i=t[0];var l=t[s];var u=n.length-1;var c=n[0];var f=n[u];var $;while(a<=s&&o<=u){if(i==null){i=t[++a]}else if(l==null){l=t[--s]}else if(c==null){c=n[++o]}else if(f==null){f=n[--u]}else if(isSameVnode(i,c)){patch(i,c);i=t[++a];c=n[++o]}else if(isSameVnode(l,f)){patch(l,f);l=t[--s];f=n[--u]}else if(isSameVnode(i,f)){patch(i,f);e.insertBefore(i.$elm$,l.$elm$.nextSibling);i=t[++a];f=n[--u]}else if(isSameVnode(l,c)){patch(l,c);e.insertBefore(l.$elm$,i.$elm$);l=t[--s];c=n[++o]}else{{$=createElm(t&&t[o],r,o);c=n[++o]}if($){{i.$elm$.parentNode.insertBefore($,i.$elm$)}}}}if(a>s){addVnodes(e,n[u+1]==null?null:n[u+1].$elm$,r,n,o,u)}else if(o>u){removeVnodes(t,a,s)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(a,o)};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,s,i,l;return __generator(this,(function(u){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=n["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));n["s-rc"]=undefined}s();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}n();{e.$onReadyResolve$(r);if(!a){appDidLoad()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var o=a.$instanceValues$.get(t);var s=a.$flags$;var i=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(s&8)||o===undefined)&&r!==o){a.$instanceValues$.set(t,r);if(i){if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],o=e[1][0];if(o&31||r&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=o.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;o.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}n();if(a.style){o=a.style;s=getScopeId(r);if(!styles.has(s)){i=createTime("registerStyles",r.$tagName$);registerStyle(s,o,!!(r.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}n()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){getHostRef(e)}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var c;var f=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}var s=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(f){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){n.push(s);o.define(s,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}f=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}r()};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[n]}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,h,promiseResolve as p,registerInstance as r};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-28e8e05c.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,r){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}))};export{defineCustomElements};
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-bcbe845c.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,r){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}))};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-28e8e05c.js";var mdsProgressCss="*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";var MdsProgress=function(){function r(r){registerInstance(this,r);this.progress=0;this.direction="horizontal";this.variant="dark"}r.prototype.render=function(){return h(Host,{class:this.direction},h("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:""+this.progress}:{flexGrow:""+this.progress,width:"100%"}}))};return r}();MdsProgress.style=mdsProgressCss;export{MdsProgress as mds_progress};
1
+ import{r as registerInstance,h,H as Host}from"./index-bcbe845c.js";var mdsProgressCss="@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";var MdsProgress=function(){function r(r){registerInstance(this,r);this.progress=0;this.direction="horizontal";this.variant="dark"}r.prototype.render=function(){return h(Host,{class:this.direction},h("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};return r}();MdsProgress.style=mdsProgressCss;export{MdsProgress as mds_progress};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-28e8e05c.js";var patchBrowser=function(){var r=import.meta.url;var e={};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(r){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-bcbe845c.js";var patchBrowser=function(){var r=import.meta.url;var e={};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(r){return bootstrapLazy([["mds-progress",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}));
@@ -1 +1 @@
1
- import{p as r,b as s}from"./p-23f79c39.js";(()=>{const s=import.meta.url,o={};return""!==s&&(o.resourcesUrl=new URL(".",s).href),r(o)})().then((r=>s([["p-c077c6f8",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)));
1
+ import{p as r,b as s}from"./p-dbe142bc.js";(()=>{const s=import.meta.url,o={};return""!==s&&(o.resourcesUrl=new URL(".",s).href),r(o)})().then((r=>s([["p-b921d9c4",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)));
@@ -114,7 +114,7 @@ DOMTokenList
114
114
 
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
- var url = new URL('./p-716fd6da.system.js', new URL(resourcesUrl, window.location.origin));
117
+ var url = new URL('./p-e9375661.system.js', new URL(resourcesUrl, window.location.origin));
118
118
  System.import(url.href);
119
119
  };
120
120
 
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{s(n.next(e))}catch(e){i(e)}}function o(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(l,o)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="mds-progress";var a;var i;var l=false;var o=false;var s=typeof window!=="undefined"?window:{};var f=s.document||{head:{}};var u={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var c=e("p",(function(e){return Promise.resolve(e)}));var $=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v="{visibility:hidden}.hydrated{visibility:inherit}";var p=function(e,t){if(t===void 0){t=""}{return function(){return}}};var d=function(e,t){{return function(){return}}};var h=new WeakMap;var m=function(e,t,r){var n=ce.get(e);if($&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}ce.set(e,n)};var g=function(e,t,r,n){var a=b(t);var i=ce.get(a);e=e.nodeType===11?e:f;if(i){if(typeof i==="string"){e=e.head||e;var l=h.get(e);var o=void 0;if(!l){h.set(e,l=new Set)}if(!l.has(a)){{{o=f.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var y=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=p("attachStyles",t.$tagName$);var i=g(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var b=function(e,t){return"sc-"+e.$tagName$};var w={};var _=function(e){return e!=null};var S=function(e){e=typeof e;return e==="object"||e==="function"};var R=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=false;var l=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!S(a)){a=String(a)}if(i&&l){o[o.length-1].$text$+=a}else{o.push(i?N(null,a):a)}l=i}}};s(r);if(t){{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var u=N(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}return u}));var N=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var C=e("H",{});var E=function(e){return e&&e.$tag$===C};var j=function(e,t,r,n,a,i){if(r!==n){var l=oe(e,t);t.toLowerCase();if(t==="class"){var o=e.classList;var s=M(r);var f=M(n);o.remove.apply(o,s.filter((function(e){return e&&!f.includes(e)})));o.add.apply(o,f.filter((function(e){return e&&!s.includes(e)})))}else if(t==="style"){{for(var u in r){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!r||n[u]!==r[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else{var c=S(n);if((l||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!c){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var x=/\s/;var M=function(e){return!e?[]:e.split(x)};var P=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||w;var l=t.$attrs$||w;{for(n in i){if(!(n in l)){j(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){j(a,n,i[n],l[n],r,t.$flags$)}};var A=function(e,t,r,n){var i=t.$children$[r];var o=0;var s;var u;{s=i.$elm$=f.createElement(i.$tag$);{P(null,i,l)}if(_(a)&&s["s-si"]!==a){s.classList.add(s["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){u=A(e,i,o);if(u){s.appendChild(u)}}}}return s};var k=function(e,t,r,n,a,l){var o=e;var s;if(o.shadowRoot&&o.tagName===i){o=o.shadowRoot}for(;a<=l;++a){if(n[a]){s=A(null,r,a);if(s){n[a].$elm$=s;o.insertBefore(s,t)}}}};var O=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var T=function(e,t,r,n){var a=0;var i=0;var l=t.length-1;var o=t[0];var s=t[l];var f=n.length-1;var u=n[0];var c=n[f];var $;while(a<=l&&i<=f){if(o==null){o=t[++a]}else if(s==null){s=t[--l]}else if(u==null){u=n[++i]}else if(c==null){c=n[--f]}else if(L(o,u)){B(o,u);o=t[++a];u=n[++i]}else if(L(s,c)){B(s,c);s=t[--l];c=n[--f]}else if(L(o,c)){B(o,c);e.insertBefore(o.$elm$,s.$elm$.nextSibling);o=t[++a];c=n[--f]}else if(L(s,u)){B(s,u);e.insertBefore(s.$elm$,o.$elm$);s=t[--l];u=n[++i]}else{{$=A(t&&t[i],r,i);u=n[++i]}if($){{o.$elm$.parentNode.insertBefore($,o.$elm$)}}}}if(a>l){k(e,n[f+1]==null?null:n[f+1].$elm$,r,n,i,f)}else if(i>f){O(t,a,l)}};var L=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var B=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{P(e,t,l)}}if(n!==null&&a!==null){T(r,n,t,a)}else if(a!==null){k(r,null,t,a,0,a.length-1)}else if(n!==null){O(n,0,n.length-1)}}};var I=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||N(null,null);var o=E(t)?t:R(null,null,t);i=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}B(l,o)};var U=function(e,t,r){var n=u.ce(t,r);e.dispatchEvent(n);return n};var z=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var H=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}z(e,e.$ancestorComponent$);var r=function(){return V(e,t)};return ge(r)};var V=function(e,t){var r=p("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;r();return D(a,(function(){return q(e,n,t)}))};var q=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,o,s;return __generator(this,(function(f){r=e.$hostElement$;a=p("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){y(e)}l=p("render",e.$cmpMeta$.$tagName$);{F(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{o=r["s-p"];s=function(){return W(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var F=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,t)}}}}catch(t){se(t,e.$hostElement$)}return null};var W=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=p("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{J(r)}n();{e.$onReadyResolve$(r);if(!a){G()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){me((function(){return H(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{J(f.documentElement)}me((function(){return U(s,"appload",{detail:{namespace:n}})}))};var D=function(e,t){return e&&e.then?e.then(t):t()};var J=function(e){return e.classList.add("hydrated")};var K=function(e,t){if(e!=null&&!S(e)){if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Q=function(e,t){return ae(e).$instanceValues$.get(t)};var X=function(e,t,r,n){var a=ae(e);var i=a.$instanceValues$.get(t);var l=a.$flags$;var o=a.$lazyInstance$;r=K(r,n.$members$[t][0]);if((!(l&8)||i===undefined)&&r!==i){a.$instanceValues$.set(t,r);if(o){if((l&(2|16))===2){H(a,false)}}}};var Y=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return Q(this,n)},set:function(e){X(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;u.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Z=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,o,s,f;return __generator(this,(function(u){switch(u.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=ue(n);if(!i.then)return[3,2];e=d();return[4,i];case 1:i=u.sent();e();u.label=2;case 2:if(!i.isProxied){Y(i,n,2);i.isProxied=true}r=p("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){se(e)}{t.$flags$&=~8}r();if(i.style){a=i.style;l=b(n);if(!ce.has(l)){o=p("registerStyles",n.$tagName$);m(l,a,!!(n.$flags$&1));o()}}u.label=3;case 3:s=t.$ancestorComponent$;f=function(){return H(t,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var ee=function(e){if((u.$flags$&1)===0){var t=ae(e);var r=t.$cmpMeta$;var n=p("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){z(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Z(e,t,r)}}n()}};var te=function(e){if((u.$flags$&1)===0){ae(e)}};var re=e("b",(function(e,t){if(t===void 0){t={}}var r=p();var n=[];var a=t.exclude||[];var i=s.customElements;var l=f.head;var o=l.querySelector("meta[charset]");var c=f.createElement("style");var $=[];var d;var h=true;Object.assign(u,t);u.$resourcesUrl$=new URL(t.resourcesUrl||"./",f.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}var l=r.$tagName$;var o=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;le(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){$.push(this)}else{u.jmp((function(){return ee(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;u.jmp((function(){return te(e)}))};t.prototype.componentOnReady=function(){return ae(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Y(o,r,1))}}))}));{c.innerHTML=n+v;c.setAttribute("data-styles","");l.insertBefore(c,o?o.nextSibling:l.firstChild)}h=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{u.jmp((function(){return d=setTimeout(G,30)}))}}r()}));var ne=new WeakMap;var ae=function(e){return ne.get(e)};var ie=e("r",(function(e,t){return ne.set(t.$lazyInstance$=e,t)}));var le=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ne.set(e,r)};var oe=function(e,t){return t in e};var se=function(e,t){return(0,console.error)(e,t)};var fe=new Map;var ue=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=fe.get(i);if(l){return l[a]}return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{fe.set(i,e)}return e[a]}),se)};var ce=new Map;var $e=[];var ve=[];var pe=function(e,t){return function(r){e.push(r);if(!o){o=true;if(t&&u.$flags$&4){me(he)}else{u.raf(he)}}}};var de=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){se(e)}}e.length=0};var he=function(){de($e);{de(ve);if(o=$e.length>0){u.raf(he)}}};var me=function(e){return c().then(e)};var ge=pe(ve,true)}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-1a98b938.system.js"],(function(r){"use strict";var o,t,a;return{setters:[function(r){o=r.r;t=r.h;a=r.H}],execute:function(){var s="@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";var i=r("mds_progress",function(){function r(r){o(this,r);this.progress=0;this.direction="horizontal";this.variant="dark"}r.prototype.render=function(){return t(a,{class:this.direction},t("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};return r}());i.style=s}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-dbe142bc.js";let a=class{constructor(o){r(this,o),this.progress=0,this.direction="horizontal",this.variant="dark"}render(){return o(t,{class:this.direction},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}};a.style="@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";export{a as mds_progress}
@@ -1 +1 @@
1
- System.register(["./p-e655d83d.system.js"],(function(r,e){"use strict";var t,s;return{setters:[function(r){t=r.p;s=r.b}],execute:function(){var r=function(){var r=e.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return t(s)};r().then((function(r){return s([["p-191a8307.system",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}))}}}));
1
+ System.register(["./p-1a98b938.system.js"],(function(r,e){"use strict";var t,s;return{setters:[function(r){t=r.p;s=r.b}],execute:function(){var r=function(){var r=e.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return t(s)};r().then((function(r){return s([["p-5db21d65.system",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}))}}}));
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2021-12-31T13:07:14",
2
+ "timestamp": "2022-03-10T11:34:27",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "16.13.0"
@@ -52,17 +52,17 @@
52
52
  "name": "dist-lazy",
53
53
  "files": 35,
54
54
  "generatedFiles": [
55
- "./dist/cjs/index-fd4954d5.js",
55
+ "./dist/cjs/index-4a76ea01.js",
56
56
  "./dist/cjs/index.cjs.js",
57
57
  "./dist/cjs/loader.cjs.js",
58
58
  "./dist/cjs/mds-progress.cjs.entry.js",
59
59
  "./dist/cjs/mds-progress.cjs.js",
60
- "./dist/esm-es5/index-28e8e05c.js",
60
+ "./dist/esm-es5/index-bcbe845c.js",
61
61
  "./dist/esm-es5/index.js",
62
62
  "./dist/esm-es5/loader.js",
63
63
  "./dist/esm-es5/mds-progress.entry.js",
64
64
  "./dist/esm-es5/mds-progress.js",
65
- "./dist/esm/index-28e8e05c.js",
65
+ "./dist/esm/index-bcbe845c.js",
66
66
  "./dist/esm/index.js",
67
67
  "./dist/esm/loader.js",
68
68
  "./dist/esm/mds-progress.entry.js",
@@ -72,21 +72,21 @@
72
72
  "./dist/mds-progress/index.esm.js",
73
73
  "./dist/mds-progress/mds-progress.esm.js",
74
74
  "./dist/mds-progress/mds-progress.js",
75
- "./dist/mds-progress/p-191a8307.system.entry.js",
76
- "./dist/mds-progress/p-23f79c39.js",
75
+ "./dist/mds-progress/p-1a98b938.system.js",
77
76
  "./dist/mds-progress/p-50ea2036.system.js",
78
- "./dist/mds-progress/p-716fd6da.system.js",
79
- "./dist/mds-progress/p-c077c6f8.entry.js",
80
- "./dist/mds-progress/p-e655d83d.system.js",
77
+ "./dist/mds-progress/p-5db21d65.system.entry.js",
78
+ "./dist/mds-progress/p-b921d9c4.entry.js",
79
+ "./dist/mds-progress/p-dbe142bc.js",
80
+ "./dist/mds-progress/p-e9375661.system.js",
81
81
  "./www/build/index.esm.js",
82
82
  "./www/build/mds-progress.esm.js",
83
83
  "./www/build/mds-progress.js",
84
- "./www/build/p-191a8307.system.entry.js",
85
- "./www/build/p-23f79c39.js",
84
+ "./www/build/p-1a98b938.system.js",
86
85
  "./www/build/p-50ea2036.system.js",
87
- "./www/build/p-716fd6da.system.js",
88
- "./www/build/p-c077c6f8.entry.js",
89
- "./www/build/p-e655d83d.system.js"
86
+ "./www/build/p-5db21d65.system.entry.js",
87
+ "./www/build/p-b921d9c4.entry.js",
88
+ "./www/build/p-dbe142bc.js",
89
+ "./www/build/p-e9375661.system.js"
90
90
  ]
91
91
  },
92
92
  {
@@ -119,12 +119,12 @@
119
119
  "components": [
120
120
  "mds-progress"
121
121
  ],
122
- "bundleId": "p-c077c6f8",
123
- "fileName": "p-c077c6f8.entry.js",
122
+ "bundleId": "p-b921d9c4",
123
+ "fileName": "p-b921d9c4.entry.js",
124
124
  "imports": [
125
- "p-23f79c39.js"
125
+ "p-dbe142bc.js"
126
126
  ],
127
- "originalByteSize": 3621
127
+ "originalByteSize": 3472
128
128
  }
129
129
  ],
130
130
  "esm": [
@@ -136,9 +136,9 @@
136
136
  "bundleId": "mds-progress",
137
137
  "fileName": "mds-progress.entry.js",
138
138
  "imports": [
139
- "index-28e8e05c.js"
139
+ "index-bcbe845c.js"
140
140
  ],
141
- "originalByteSize": 3625
141
+ "originalByteSize": 3476
142
142
  }
143
143
  ],
144
144
  "es5": [
@@ -150,9 +150,9 @@
150
150
  "bundleId": "mds-progress",
151
151
  "fileName": "mds-progress.entry.js",
152
152
  "imports": [
153
- "index-28e8e05c.js"
153
+ "index-bcbe845c.js"
154
154
  ],
155
- "originalByteSize": 3625
155
+ "originalByteSize": 3476
156
156
  }
157
157
  ],
158
158
  "system": [
@@ -161,12 +161,12 @@
161
161
  "components": [
162
162
  "mds-progress"
163
163
  ],
164
- "bundleId": "p-191a8307.system",
165
- "fileName": "p-191a8307.system.entry.js",
164
+ "bundleId": "p-5db21d65.system",
165
+ "fileName": "p-5db21d65.system.entry.js",
166
166
  "imports": [
167
- "p-e655d83d.system.js"
167
+ "p-1a98b938.system.js"
168
168
  ],
169
- "originalByteSize": 3966
169
+ "originalByteSize": 3817
170
170
  }
171
171
  ],
172
172
  "commonjs": [
@@ -178,9 +178,9 @@
178
178
  "bundleId": "mds-progress.cjs",
179
179
  "fileName": "mds-progress.cjs.entry.js",
180
180
  "imports": [
181
- "index-fd4954d5.js"
181
+ "index-4a76ea01.js"
182
182
  ],
183
- "originalByteSize": 3695
183
+ "originalByteSize": 3546
184
184
  }
185
185
  ]
186
186
  },
@@ -468,7 +468,7 @@
468
468
  ],
469
469
  "componentGraph": {
470
470
  "sc-mds-progress": [
471
- "p-23f79c39.js"
471
+ "p-dbe142bc.js"
472
472
  ]
473
473
  },
474
474
  "sourceGraph": {
@@ -478,7 +478,9 @@
478
478
  "./src/dictionary/autocomplete.ts": [],
479
479
  "./src/dictionary/button.ts": [],
480
480
  "./src/dictionary/color.ts": [],
481
- "./src/dictionary/icon.ts": [],
481
+ "./src/dictionary/icon.ts": [
482
+ "./src/fixtures/icons.json"
483
+ ],
482
484
  "./src/dictionary/input-text-type.ts": [],
483
485
  "./src/dictionary/loading.ts": [],
484
486
  "./src/dictionary/typography.ts": [],
@@ -2,4 +2,5 @@ declare const typographyDictionary: string[];
2
2
  declare const typographyMonoDictionary: string[];
3
3
  declare const typographyPrimaryDictionary: string[];
4
4
  declare const typographySecondaryDictionary: string[];
5
- export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, };
5
+ declare const typographySmallerDictionary: string[];
6
+ export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, };
@@ -666,7 +666,7 @@ export declare namespace JSXBase {
666
666
  use: JSXBase.SVGAttributes;
667
667
  view: JSXBase.SVGAttributes;
668
668
  }
669
- interface SlotAttributes {
669
+ interface SlotAttributes extends JSXAttributes {
670
670
  name?: string;
671
671
  slot?: string;
672
672
  onSlotchange?: (event: Event) => void;
@@ -1427,9 +1427,7 @@ export declare namespace JSXBase {
1427
1427
  z?: number | string;
1428
1428
  zoomAndPan?: string;
1429
1429
  }
1430
- interface DOMAttributes<T = Element> {
1431
- key?: string | number;
1432
- ref?: (elm?: T) => void;
1430
+ interface DOMAttributes<T> extends JSXAttributes<T> {
1433
1431
  slot?: string;
1434
1432
  part?: string;
1435
1433
  exportparts?: string;
@@ -1550,6 +1548,10 @@ export declare namespace JSXBase {
1550
1548
  onTransitionEndCapture?: (event: TransitionEvent) => void;
1551
1549
  }
1552
1550
  }
1551
+ export interface JSXAttributes<T = Element> {
1552
+ key?: string | number;
1553
+ ref?: (elm?: T) => void;
1554
+ }
1553
1555
  export interface CustomElementsDefineOptions {
1554
1556
  exclude?: string[];
1555
1557
  resourcesUrl?: string;
@@ -1,4 +1,5 @@
1
- export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph';
1
+ export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
2
2
  export declare type TypographyPrimaryType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
3
- export declare type TypographySecondaryType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph';
3
+ export declare type TypographySecondaryType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
4
+ export declare type TypographySmallerType = 'tip' | 'option';
4
5
  export declare type TypographyMonoType = 'code' | 'hack';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-progress",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "mds-progress is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "www/"
19
19
  ],
20
20
  "scripts": {
21
- "build": "stencil build --docs-readme"
21
+ "build": "rm src/components.d.ts || true && stencil build --docs-readme"
22
22
  },
23
23
  "dependencies": {
24
24
  "@stencil/core": "^2.12.0"
package/readme.md CHANGED
@@ -20,12 +20,14 @@
20
20
 
21
21
  - [mds-accordion-timer-item](../mds-accordion-timer-item)
22
22
  - [mds-benchmark-bar](../mds-benchmark-bar)
23
+ - [mds-step-bar](../mds-step-bar)
23
24
 
24
25
  ### Graph
25
26
  ```mermaid
26
27
  graph TD;
27
28
  mds-accordion-timer-item --> mds-progress
28
29
  mds-benchmark-bar --> mds-progress
30
+ mds-step-bar --> mds-progress
29
31
  style mds-progress fill:#f9f,stroke:#333,stroke-width:4px
30
32
  ```
31
33
 
@@ -1,16 +1,18 @@
1
1
  @tailwind utilities;
2
2
 
3
3
  /*
4
- * @prop --background: Sets the background-color of the component
5
- * @prop --progress-background: Sets the background-color of the progress
6
- * @prop --radius: Sets the border-radius of the component
7
- * @prop --thickness: Sets the thickness of the progress bar
8
- */
4
+ * @prop --background: Sets the background-color of the component
5
+ * @prop --color: Sets the background-color of the progress
6
+ * @prop --duration: Sets the duration of the progress bar animation
7
+ * @prop --radius: Sets the border-radius of the component
8
+ * @prop --thickness: Sets the thickness of the progress bar
9
+ */
9
10
 
10
11
  :host {
11
12
 
12
13
  --background: theme('colors.adjust-tone-08');
13
- --progress-background: theme('colors.brand-maggioli-03');
14
+ --color: theme('colors.brand-maggioli-03');
15
+ --duration: 500ms;
14
16
  --radius: theme('borderRadius.lg');
15
17
  --thickness: theme('height.2');
16
18
 
@@ -41,12 +43,11 @@
41
43
  }
42
44
 
43
45
  .progress {
44
- @apply
45
- duration-500
46
- ease-out-expo;
46
+ @apply ease-out-expo;
47
47
 
48
- background-color: var(--progress-background);
48
+ background-color: var(--color);
49
49
  border-radius: var(--radius);
50
+ transition-duration: var(--duration);
50
51
  transition-property: background-color, flex-grow;
51
52
  }
52
53
 
@@ -1,5 +1,5 @@
1
- import mggIconsDictionary from '@maggioli-design-system/icons/original/dictionary.json'
2
- const iconsDictionary = Object.keys(mggIconsDictionary).sort()
1
+ import jsonIconsDictionary from '../fixtures/icons.json'
2
+ const iconsDictionary = jsonIconsDictionary
3
3
  export {
4
4
  iconsDictionary,
5
5
  }
@@ -13,6 +13,7 @@ const typographyDictionary = [
13
13
  'label',
14
14
  'option',
15
15
  'paragraph',
16
+ 'tip',
16
17
  ]
17
18
 
18
19
  const typographyMonoDictionary = [
@@ -36,6 +37,12 @@ const typographySecondaryDictionary = [
36
37
  'label',
37
38
  'option',
38
39
  'paragraph',
40
+ 'tip',
41
+ ]
42
+
43
+ const typographySmallerDictionary = [
44
+ 'option',
45
+ 'tip',
39
46
  ]
40
47
 
41
48
  export {
@@ -43,4 +50,5 @@ export {
43
50
  typographyMonoDictionary,
44
51
  typographyPrimaryDictionary,
45
52
  typographySecondaryDictionary,
53
+ typographySmallerDictionary,
46
54
  }
@@ -0,0 +1,3 @@
1
+ [
2
+ "mdi/alien"
3
+ ]
@@ -13,6 +13,7 @@ export type TypographyType =
13
13
  | 'label'
14
14
  | 'option'
15
15
  | 'paragraph'
16
+ | 'tip'
16
17
 
17
18
  export type TypographyPrimaryType =
18
19
  | 'action'
@@ -29,6 +30,11 @@ export type TypographySecondaryType =
29
30
  | 'label'
30
31
  | 'option'
31
32
  | 'paragraph'
33
+ | 'tip'
34
+
35
+ export type TypographySmallerType =
36
+ | 'tip'
37
+ | 'option'
32
38
 
33
39
  export type TypographyMonoType =
34
40
  | 'code'
@@ -1 +1 @@
1
- import{p as r,b as s}from"./p-23f79c39.js";(()=>{const s=import.meta.url,o={};return""!==s&&(o.resourcesUrl=new URL(".",s).href),r(o)})().then((r=>s([["p-c077c6f8",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)));
1
+ import{p as r,b as s}from"./p-dbe142bc.js";(()=>{const s=import.meta.url,o={};return""!==s&&(o.resourcesUrl=new URL(".",s).href),r(o)})().then((r=>s([["p-b921d9c4",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)));
@@ -114,7 +114,7 @@ DOMTokenList
114
114
 
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
- var url = new URL('./p-716fd6da.system.js', new URL(resourcesUrl, window.location.origin));
117
+ var url = new URL('./p-e9375661.system.js', new URL(resourcesUrl, window.location.origin));
118
118
  System.import(url.href);
119
119
  };
120
120
 
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{s(n.next(e))}catch(e){i(e)}}function o(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(l,o)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="mds-progress";var a;var i;var l=false;var o=false;var s=typeof window!=="undefined"?window:{};var f=s.document||{head:{}};var u={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var c=e("p",(function(e){return Promise.resolve(e)}));var $=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v="{visibility:hidden}.hydrated{visibility:inherit}";var p=function(e,t){if(t===void 0){t=""}{return function(){return}}};var d=function(e,t){{return function(){return}}};var h=new WeakMap;var m=function(e,t,r){var n=ce.get(e);if($&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}ce.set(e,n)};var g=function(e,t,r,n){var a=b(t);var i=ce.get(a);e=e.nodeType===11?e:f;if(i){if(typeof i==="string"){e=e.head||e;var l=h.get(e);var o=void 0;if(!l){h.set(e,l=new Set)}if(!l.has(a)){{{o=f.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var y=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=p("attachStyles",t.$tagName$);var i=g(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var b=function(e,t){return"sc-"+e.$tagName$};var w={};var _=function(e){return e!=null};var S=function(e){e=typeof e;return e==="object"||e==="function"};var R=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=false;var l=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!S(a)){a=String(a)}if(i&&l){o[o.length-1].$text$+=a}else{o.push(i?N(null,a):a)}l=i}}};s(r);if(t){{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var u=N(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}return u}));var N=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var C=e("H",{});var E=function(e){return e&&e.$tag$===C};var j=function(e,t,r,n,a,i){if(r!==n){var l=oe(e,t);t.toLowerCase();if(t==="class"){var o=e.classList;var s=M(r);var f=M(n);o.remove.apply(o,s.filter((function(e){return e&&!f.includes(e)})));o.add.apply(o,f.filter((function(e){return e&&!s.includes(e)})))}else if(t==="style"){{for(var u in r){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!r||n[u]!==r[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else{var c=S(n);if((l||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!c){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var x=/\s/;var M=function(e){return!e?[]:e.split(x)};var P=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||w;var l=t.$attrs$||w;{for(n in i){if(!(n in l)){j(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){j(a,n,i[n],l[n],r,t.$flags$)}};var A=function(e,t,r,n){var i=t.$children$[r];var o=0;var s;var u;{s=i.$elm$=f.createElement(i.$tag$);{P(null,i,l)}if(_(a)&&s["s-si"]!==a){s.classList.add(s["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){u=A(e,i,o);if(u){s.appendChild(u)}}}}return s};var k=function(e,t,r,n,a,l){var o=e;var s;if(o.shadowRoot&&o.tagName===i){o=o.shadowRoot}for(;a<=l;++a){if(n[a]){s=A(null,r,a);if(s){n[a].$elm$=s;o.insertBefore(s,t)}}}};var O=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var T=function(e,t,r,n){var a=0;var i=0;var l=t.length-1;var o=t[0];var s=t[l];var f=n.length-1;var u=n[0];var c=n[f];var $;while(a<=l&&i<=f){if(o==null){o=t[++a]}else if(s==null){s=t[--l]}else if(u==null){u=n[++i]}else if(c==null){c=n[--f]}else if(L(o,u)){B(o,u);o=t[++a];u=n[++i]}else if(L(s,c)){B(s,c);s=t[--l];c=n[--f]}else if(L(o,c)){B(o,c);e.insertBefore(o.$elm$,s.$elm$.nextSibling);o=t[++a];c=n[--f]}else if(L(s,u)){B(s,u);e.insertBefore(s.$elm$,o.$elm$);s=t[--l];u=n[++i]}else{{$=A(t&&t[i],r,i);u=n[++i]}if($){{o.$elm$.parentNode.insertBefore($,o.$elm$)}}}}if(a>l){k(e,n[f+1]==null?null:n[f+1].$elm$,r,n,i,f)}else if(i>f){O(t,a,l)}};var L=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var B=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{P(e,t,l)}}if(n!==null&&a!==null){T(r,n,t,a)}else if(a!==null){k(r,null,t,a,0,a.length-1)}else if(n!==null){O(n,0,n.length-1)}}};var I=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||N(null,null);var o=E(t)?t:R(null,null,t);i=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}B(l,o)};var U=function(e,t,r){var n=u.ce(t,r);e.dispatchEvent(n);return n};var z=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var H=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}z(e,e.$ancestorComponent$);var r=function(){return V(e,t)};return ge(r)};var V=function(e,t){var r=p("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;r();return D(a,(function(){return q(e,n,t)}))};var q=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,o,s;return __generator(this,(function(f){r=e.$hostElement$;a=p("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){y(e)}l=p("render",e.$cmpMeta$.$tagName$);{F(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{o=r["s-p"];s=function(){return W(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var F=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,t)}}}}catch(t){se(t,e.$hostElement$)}return null};var W=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=p("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{J(r)}n();{e.$onReadyResolve$(r);if(!a){G()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){me((function(){return H(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{J(f.documentElement)}me((function(){return U(s,"appload",{detail:{namespace:n}})}))};var D=function(e,t){return e&&e.then?e.then(t):t()};var J=function(e){return e.classList.add("hydrated")};var K=function(e,t){if(e!=null&&!S(e)){if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Q=function(e,t){return ae(e).$instanceValues$.get(t)};var X=function(e,t,r,n){var a=ae(e);var i=a.$instanceValues$.get(t);var l=a.$flags$;var o=a.$lazyInstance$;r=K(r,n.$members$[t][0]);if((!(l&8)||i===undefined)&&r!==i){a.$instanceValues$.set(t,r);if(o){if((l&(2|16))===2){H(a,false)}}}};var Y=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return Q(this,n)},set:function(e){X(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;u.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Z=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,o,s,f;return __generator(this,(function(u){switch(u.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=ue(n);if(!i.then)return[3,2];e=d();return[4,i];case 1:i=u.sent();e();u.label=2;case 2:if(!i.isProxied){Y(i,n,2);i.isProxied=true}r=p("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){se(e)}{t.$flags$&=~8}r();if(i.style){a=i.style;l=b(n);if(!ce.has(l)){o=p("registerStyles",n.$tagName$);m(l,a,!!(n.$flags$&1));o()}}u.label=3;case 3:s=t.$ancestorComponent$;f=function(){return H(t,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var ee=function(e){if((u.$flags$&1)===0){var t=ae(e);var r=t.$cmpMeta$;var n=p("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){z(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Z(e,t,r)}}n()}};var te=function(e){if((u.$flags$&1)===0){ae(e)}};var re=e("b",(function(e,t){if(t===void 0){t={}}var r=p();var n=[];var a=t.exclude||[];var i=s.customElements;var l=f.head;var o=l.querySelector("meta[charset]");var c=f.createElement("style");var $=[];var d;var h=true;Object.assign(u,t);u.$resourcesUrl$=new URL(t.resourcesUrl||"./",f.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}var l=r.$tagName$;var o=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;le(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){$.push(this)}else{u.jmp((function(){return ee(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;u.jmp((function(){return te(e)}))};t.prototype.componentOnReady=function(){return ae(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Y(o,r,1))}}))}));{c.innerHTML=n+v;c.setAttribute("data-styles","");l.insertBefore(c,o?o.nextSibling:l.firstChild)}h=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{u.jmp((function(){return d=setTimeout(G,30)}))}}r()}));var ne=new WeakMap;var ae=function(e){return ne.get(e)};var ie=e("r",(function(e,t){return ne.set(t.$lazyInstance$=e,t)}));var le=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ne.set(e,r)};var oe=function(e,t){return t in e};var se=function(e,t){return(0,console.error)(e,t)};var fe=new Map;var ue=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=fe.get(i);if(l){return l[a]}return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{fe.set(i,e)}return e[a]}),se)};var ce=new Map;var $e=[];var ve=[];var pe=function(e,t){return function(r){e.push(r);if(!o){o=true;if(t&&u.$flags$&4){me(he)}else{u.raf(he)}}}};var de=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){se(e)}}e.length=0};var he=function(){de($e);{de(ve);if(o=$e.length>0){u.raf(he)}}};var me=function(e){return c().then(e)};var ge=pe(ve,true)}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-1a98b938.system.js"],(function(r){"use strict";var o,t,a;return{setters:[function(r){o=r.r;t=r.h;a=r.H}],execute:function(){var s="@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";var i=r("mds_progress",function(){function r(r){o(this,r);this.progress=0;this.direction="horizontal";this.variant="dark"}r.prototype.render=function(){return t(a,{class:this.direction},t("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};return r}());i.style=s}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-dbe142bc.js";let a=class{constructor(o){r(this,o),this.progress=0,this.direction="horizontal",this.variant="dark"}render(){return o(t,{class:this.direction},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}};a.style="@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--color:rgb(var(--brand-maggioli-03));--duration:500ms;--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--color);border-radius:var(--radius);-webkit-transition-duration:var(--duration);transition-duration:var(--duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";export{a as mds_progress}
File without changes
@@ -1 +1 @@
1
- System.register(["./p-e655d83d.system.js"],(function(r,e){"use strict";var t,s;return{setters:[function(r){t=r.p;s=r.b}],execute:function(){var r=function(){var r=e.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return t(s)};r().then((function(r){return s([["p-191a8307.system",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}))}}}));
1
+ System.register(["./p-1a98b938.system.js"],(function(r,e){"use strict";var t,s;return{setters:[function(r){t=r.p;s=r.b}],execute:function(){var r=function(){var r=e.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return t(s)};r().then((function(r){return s([["p-5db21d65.system",[[1,"mds-progress",{progress:[2],direction:[1],variant:[513]}]]]],r)}))}}}));
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};var NAMESPACE="mds-progress";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=o;r.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){i[i.length-1].$text$+=a}else{i.push(o?newVNode(null,a):a)}s=o}}};l(r);if(t){{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var c=newVNode(e,null);c.$attrs$=t;if(i.length>0){c.$children$=i}return c};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var setAccessor=function(e,t,r,n,a,o){if(r!==n){var s=isMemberInElement(e,t);t.toLowerCase();if(t==="class"){var i=e.classList;var l=parseClassList(r);var u=parseClassList(n);i.remove.apply(i,l.filter((function(e){return e&&!u.includes(e)})));i.add.apply(i,u.filter((function(e){return e&&!l.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else{var f=isComplexType(n);if((s||f&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!f){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(n in o){if(!(n in s)){setAccessor(a,n,o[n],undefined,r,t.$flags$)}}}for(n in s){setAccessor(a,n,o[n],s[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var o=0;var s;var i;{s=a.$elm$=doc.createElement(a.$tag$);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,r,n,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(n[a]){i=createElm(null,r,a);if(i){n[a].$elm$=i;s.insertBefore(i,t)}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var o=0;var s=t.length-1;var i=t[0];var l=t[s];var u=n.length-1;var c=n[0];var f=n[u];var $;while(a<=s&&o<=u){if(i==null){i=t[++a]}else if(l==null){l=t[--s]}else if(c==null){c=n[++o]}else if(f==null){f=n[--u]}else if(isSameVnode(i,c)){patch(i,c);i=t[++a];c=n[++o]}else if(isSameVnode(l,f)){patch(l,f);l=t[--s];f=n[--u]}else if(isSameVnode(i,f)){patch(i,f);e.insertBefore(i.$elm$,l.$elm$.nextSibling);i=t[++a];f=n[--u]}else if(isSameVnode(l,c)){patch(l,c);e.insertBefore(l.$elm$,i.$elm$);l=t[--s];c=n[++o]}else{{$=createElm(t&&t[o],r,o);c=n[++o]}if($){{i.$elm$.parentNode.insertBefore($,i.$elm$)}}}}if(a>s){addVnodes(e,n[u+1]==null?null:n[u+1].$elm$,r,n,o,u)}else if(o>u){removeVnodes(t,a,s)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(a,o)};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,s,i,l;return __generator(this,(function(u){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=n["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));n["s-rc"]=undefined}s();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}n();{e.$onReadyResolve$(r);if(!a){appDidLoad()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var o=a.$instanceValues$.get(t);var s=a.$flags$;var i=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(s&8)||o===undefined)&&r!==o){a.$instanceValues$.set(t,r);if(i){if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],o=e[1][0];if(o&31||r&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=o.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;o.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}n();if(a.style){o=a.style;s=getScopeId(r);if(!styles.has(s)){i=createTime("registerStyles",r.$tagName$);registerStyle(s,o,!!(r.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}n()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){getHostRef(e)}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var c;var f=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}var s=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(f){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){n.push(s);o.define(s,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}f=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}r()};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[n]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,h,promiseResolve as p,registerInstance as r};
@@ -1 +0,0 @@
1
- System.register(["./p-e655d83d.system.js"],(function(r){"use strict";var o,t,s;return{setters:[function(r){o=r.r;t=r.h;s=r.H}],execute:function(){var a="*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";var i=r("mds_progress",function(){function r(r){o(this,r);this.progress=0;this.direction="horizontal";this.variant="dark"}r.prototype.render=function(){return t(s,{class:this.direction},t("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:""+this.progress}:{flexGrow:""+this.progress,width:"100%"}}))};return r}());i.style=a}}}));
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-23f79c39.js";let a=class{constructor(o){r(this,o),this.progress=0,this.direction="horizontal",this.variant="dark"}render(){return o(t,{class:this.direction},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}};a.style="*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";export{a as mds_progress}
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{s(n.next(e))}catch(e){i(e)}}function o(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(l,o)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="mds-progress";var a;var i;var l=false;var o=false;var s=typeof window!=="undefined"?window:{};var u=s.document||{head:{}};var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var c=e("p",(function(e){return Promise.resolve(e)}));var $=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v="{visibility:hidden}.hydrated{visibility:inherit}";var d=function(e,t){if(t===void 0){t=""}{return function(){return}}};var p=function(e,t){{return function(){return}}};var h=new WeakMap;var m=function(e,t,r){var n=ce.get(e);if($&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}ce.set(e,n)};var g=function(e,t,r,n){var a=b(t);var i=ce.get(a);e=e.nodeType===11?e:u;if(i){if(typeof i==="string"){e=e.head||e;var l=h.get(e);var o=void 0;if(!l){h.set(e,l=new Set)}if(!l.has(a)){{{o=u.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var y=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=d("attachStyles",t.$tagName$);var i=g(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var b=function(e,t){return"sc-"+e.$tagName$};var w={};var _=function(e){return e!=null};var S=function(e){e=typeof e;return e==="object"||e==="function"};var R=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=false;var l=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!S(a)){a=String(a)}if(i&&l){o[o.length-1].$text$+=a}else{o.push(i?N(null,a):a)}l=i}}};s(r);if(t){{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var f=N(e,null);f.$attrs$=t;if(o.length>0){f.$children$=o}return f}));var N=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var C=e("H",{});var E=function(e){return e&&e.$tag$===C};var j=function(e,t,r,n,a,i){if(r!==n){var l=oe(e,t);t.toLowerCase();if(t==="class"){var o=e.classList;var s=M(r);var u=M(n);o.remove.apply(o,s.filter((function(e){return e&&!u.includes(e)})));o.add.apply(o,u.filter((function(e){return e&&!s.includes(e)})))}else if(t==="style"){{for(var f in r){if(!n||n[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in n){if(!r||n[f]!==r[f]){if(f.includes("-")){e.style.setProperty(f,n[f])}else{e.style[f]=n[f]}}}}else{var c=S(n);if((l||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!c){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var x=/\s/;var M=function(e){return!e?[]:e.split(x)};var P=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||w;var l=t.$attrs$||w;{for(n in i){if(!(n in l)){j(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){j(a,n,i[n],l[n],r,t.$flags$)}};var k=function(e,t,r,n){var i=t.$children$[r];var o=0;var s;var f;{s=i.$elm$=u.createElement(i.$tag$);{P(null,i,l)}if(_(a)&&s["s-si"]!==a){s.classList.add(s["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){f=k(e,i,o);if(f){s.appendChild(f)}}}}return s};var O=function(e,t,r,n,a,l){var o=e;var s;if(o.shadowRoot&&o.tagName===i){o=o.shadowRoot}for(;a<=l;++a){if(n[a]){s=k(null,r,a);if(s){n[a].$elm$=s;o.insertBefore(s,t)}}}};var A=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var T=function(e,t,r,n){var a=0;var i=0;var l=t.length-1;var o=t[0];var s=t[l];var u=n.length-1;var f=n[0];var c=n[u];var $;while(a<=l&&i<=u){if(o==null){o=t[++a]}else if(s==null){s=t[--l]}else if(f==null){f=n[++i]}else if(c==null){c=n[--u]}else if(L(o,f)){B(o,f);o=t[++a];f=n[++i]}else if(L(s,c)){B(s,c);s=t[--l];c=n[--u]}else if(L(o,c)){B(o,c);e.insertBefore(o.$elm$,s.$elm$.nextSibling);o=t[++a];c=n[--u]}else if(L(s,f)){B(s,f);e.insertBefore(s.$elm$,o.$elm$);s=t[--l];f=n[++i]}else{{$=k(t&&t[i],r,i);f=n[++i]}if($){{o.$elm$.parentNode.insertBefore($,o.$elm$)}}}}if(a>l){O(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){A(t,a,l)}};var L=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var B=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{P(e,t,l)}}if(n!==null&&a!==null){T(r,n,t,a)}else if(a!==null){O(r,null,t,a,0,a.length-1)}else if(n!==null){A(n,0,n.length-1)}}};var I=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||N(null,null);var o=E(t)?t:R(null,null,t);i=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}B(l,o)};var U=function(e,t,r){var n=f.ce(t,r);e.dispatchEvent(n);return n};var z=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var H=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}z(e,e.$ancestorComponent$);var r=function(){return V(e,t)};return ge(r)};var V=function(e,t){var r=d("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;r();return D(a,(function(){return q(e,n,t)}))};var q=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,o,s;return __generator(this,(function(u){r=e.$hostElement$;a=d("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){y(e)}l=d("render",e.$cmpMeta$.$tagName$);{F(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{o=r["s-p"];s=function(){return W(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var F=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,t)}}}}catch(t){se(t,e.$hostElement$)}return null};var W=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=d("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{J(r)}n();{e.$onReadyResolve$(r);if(!a){G()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){me((function(){return H(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{J(u.documentElement)}me((function(){return U(s,"appload",{detail:{namespace:n}})}))};var D=function(e,t){return e&&e.then?e.then(t):t()};var J=function(e){return e.classList.add("hydrated")};var K=function(e,t){if(e!=null&&!S(e)){if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Q=function(e,t){return ae(e).$instanceValues$.get(t)};var X=function(e,t,r,n){var a=ae(e);var i=a.$instanceValues$.get(t);var l=a.$flags$;var o=a.$lazyInstance$;r=K(r,n.$members$[t][0]);if((!(l&8)||i===undefined)&&r!==i){a.$instanceValues$.set(t,r);if(o){if((l&(2|16))===2){H(a,false)}}}};var Y=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return Q(this,n)},set:function(e){X(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;f.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Z=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,o,s,u;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=fe(n);if(!i.then)return[3,2];e=p();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){Y(i,n,2);i.isProxied=true}r=d("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){se(e)}{t.$flags$&=~8}r();if(i.style){a=i.style;l=b(n);if(!ce.has(l)){o=d("registerStyles",n.$tagName$);m(l,a,!!(n.$flags$&1));o()}}f.label=3;case 3:s=t.$ancestorComponent$;u=function(){return H(t,true)};if(s&&s["s-rc"]){s["s-rc"].push(u)}else{u()}return[2]}}))}))};var ee=function(e){if((f.$flags$&1)===0){var t=ae(e);var r=t.$cmpMeta$;var n=d("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){z(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Z(e,t,r)}}n()}};var te=function(e){if((f.$flags$&1)===0){ae(e)}};var re=e("b",(function(e,t){if(t===void 0){t={}}var r=d();var n=[];var a=t.exclude||[];var i=s.customElements;var l=u.head;var o=l.querySelector("meta[charset]");var c=u.createElement("style");var $=[];var p;var h=true;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",u.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}var l=r.$tagName$;var o=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;le(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(p){clearTimeout(p);p=null}if(h){$.push(this)}else{f.jmp((function(){return ee(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return te(e)}))};t.prototype.componentOnReady=function(){return ae(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Y(o,r,1))}}))}));{c.innerHTML=n+v;c.setAttribute("data-styles","");l.insertBefore(c,o?o.nextSibling:l.firstChild)}h=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return p=setTimeout(G,30)}))}}r()}));var ne=new WeakMap;var ae=function(e){return ne.get(e)};var ie=e("r",(function(e,t){return ne.set(t.$lazyInstance$=e,t)}));var le=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ne.set(e,r)};var oe=function(e,t){return t in e};var se=function(e,t){return(0,console.error)(e,t)};var ue=new Map;var fe=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=ue.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{ue.set(i,e)}return e[a]}),se)};var ce=new Map;var $e=[];var ve=[];var de=function(e,t){return function(r){e.push(r);if(!o){o=true;if(t&&f.$flags$&4){me(he)}else{f.raf(he)}}}};var pe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){se(e)}}e.length=0};var he=function(){pe($e);{pe(ve);if(o=$e.length>0){f.raf(he)}}};var me=function(e){return c().then(e)};var ge=de(ve,true)}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-e655d83d.system.js"],(function(r){"use strict";var o,t,s;return{setters:[function(r){o=r.r;t=r.h;s=r.H}],execute:function(){var a="*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";var i=r("mds_progress",function(){function r(r){o(this,r);this.progress=0;this.direction="horizontal";this.variant="dark"}r.prototype.render=function(){return t(s,{class:this.direction},t("div",{class:"progress",style:this.direction==="horizontal"?{flexGrow:""+this.progress}:{flexGrow:""+this.progress,width:"100%"}}))};return r}());i.style=a}}}));
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-23f79c39.js";let a=class{constructor(o){r(this,o),this.progress=0,this.direction="horizontal",this.variant="dark"}render(){return o(t,{class:this.direction},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}};a.style="*,::before,::after{border-color:currentColor;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}@tailwind utilities; :host{--background:rgb(var(--adjust-tone-08));--progress-background:rgb(var(--brand-maggioli-03));--radius:0.5rem;--thickness:0.5rem;display:-ms-flexbox;display:flex;overflow:hidden;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--background);border-radius:var(--radius);height:var(--thickness)}:host(.horizontal){width:100%;height:var(--thickness);min-width:var(--thickness)}:host(.vertical){height:100%;min-height:2rem;-ms-flex-direction:column;flex-direction:column;width:var(--thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--progress-background);border-radius:var(--radius);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant=dark]){--progress-background:rgb(var(--adjust-tone-04));--background:rgb(var(--adjust-tone-08))}:host([variant=light]){--progress-background:rgb(var(--adjust-tone));--background:rgb(var(--adjust-tone-05))}:host([variant=error]){--progress-background:rgb(var(--status-error-06));--background:rgb(var(--status-error-09))}:host([variant=warning]){--progress-background:rgb(var(--status-warning-06));--background:rgb(var(--status-warning-09))}:host([variant=success]){--progress-background:rgb(var(--status-success-06));--background:rgb(var(--status-success-09))}:host([variant=info]){--progress-background:rgb(var(--status-info-06));--background:rgb(var(--status-info-09))}:host([variant=primary]){--progress-background:rgb(var(--brand-maggioli-03));--background:rgb(var(--adjust-tone-08))}";export{a as mds_progress}
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{s(n.next(e))}catch(e){i(e)}}function o(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(e.value).then(l,o)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="mds-progress";var a;var i;var l=false;var o=false;var s=typeof window!=="undefined"?window:{};var u=s.document||{head:{}};var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var c=e("p",(function(e){return Promise.resolve(e)}));var $=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v="{visibility:hidden}.hydrated{visibility:inherit}";var d=function(e,t){if(t===void 0){t=""}{return function(){return}}};var p=function(e,t){{return function(){return}}};var h=new WeakMap;var m=function(e,t,r){var n=ce.get(e);if($&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}ce.set(e,n)};var g=function(e,t,r,n){var a=b(t);var i=ce.get(a);e=e.nodeType===11?e:u;if(i){if(typeof i==="string"){e=e.head||e;var l=h.get(e);var o=void 0;if(!l){h.set(e,l=new Set)}if(!l.has(a)){{{o=u.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var y=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=d("attachStyles",t.$tagName$);var i=g(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var b=function(e,t){return"sc-"+e.$tagName$};var w={};var _=function(e){return e!=null};var S=function(e){e=typeof e;return e==="object"||e==="function"};var R=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=false;var l=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!S(a)){a=String(a)}if(i&&l){o[o.length-1].$text$+=a}else{o.push(i?N(null,a):a)}l=i}}};s(r);if(t){{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var f=N(e,null);f.$attrs$=t;if(o.length>0){f.$children$=o}return f}));var N=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var C=e("H",{});var E=function(e){return e&&e.$tag$===C};var j=function(e,t,r,n,a,i){if(r!==n){var l=oe(e,t);t.toLowerCase();if(t==="class"){var o=e.classList;var s=M(r);var u=M(n);o.remove.apply(o,s.filter((function(e){return e&&!u.includes(e)})));o.add.apply(o,u.filter((function(e){return e&&!s.includes(e)})))}else if(t==="style"){{for(var f in r){if(!n||n[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in n){if(!r||n[f]!==r[f]){if(f.includes("-")){e.style.setProperty(f,n[f])}else{e.style[f]=n[f]}}}}else{var c=S(n);if((l||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!c){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var x=/\s/;var M=function(e){return!e?[]:e.split(x)};var P=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||w;var l=t.$attrs$||w;{for(n in i){if(!(n in l)){j(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){j(a,n,i[n],l[n],r,t.$flags$)}};var k=function(e,t,r,n){var i=t.$children$[r];var o=0;var s;var f;{s=i.$elm$=u.createElement(i.$tag$);{P(null,i,l)}if(_(a)&&s["s-si"]!==a){s.classList.add(s["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){f=k(e,i,o);if(f){s.appendChild(f)}}}}return s};var O=function(e,t,r,n,a,l){var o=e;var s;if(o.shadowRoot&&o.tagName===i){o=o.shadowRoot}for(;a<=l;++a){if(n[a]){s=k(null,r,a);if(s){n[a].$elm$=s;o.insertBefore(s,t)}}}};var A=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var T=function(e,t,r,n){var a=0;var i=0;var l=t.length-1;var o=t[0];var s=t[l];var u=n.length-1;var f=n[0];var c=n[u];var $;while(a<=l&&i<=u){if(o==null){o=t[++a]}else if(s==null){s=t[--l]}else if(f==null){f=n[++i]}else if(c==null){c=n[--u]}else if(L(o,f)){B(o,f);o=t[++a];f=n[++i]}else if(L(s,c)){B(s,c);s=t[--l];c=n[--u]}else if(L(o,c)){B(o,c);e.insertBefore(o.$elm$,s.$elm$.nextSibling);o=t[++a];c=n[--u]}else if(L(s,f)){B(s,f);e.insertBefore(s.$elm$,o.$elm$);s=t[--l];f=n[++i]}else{{$=k(t&&t[i],r,i);f=n[++i]}if($){{o.$elm$.parentNode.insertBefore($,o.$elm$)}}}}if(a>l){O(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){A(t,a,l)}};var L=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var B=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{P(e,t,l)}}if(n!==null&&a!==null){T(r,n,t,a)}else if(a!==null){O(r,null,t,a,0,a.length-1)}else if(n!==null){A(n,0,n.length-1)}}};var I=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||N(null,null);var o=E(t)?t:R(null,null,t);i=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}B(l,o)};var U=function(e,t,r){var n=f.ce(t,r);e.dispatchEvent(n);return n};var z=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var H=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}z(e,e.$ancestorComponent$);var r=function(){return V(e,t)};return ge(r)};var V=function(e,t){var r=d("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;r();return D(a,(function(){return q(e,n,t)}))};var q=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,o,s;return __generator(this,(function(u){r=e.$hostElement$;a=d("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){y(e)}l=d("render",e.$cmpMeta$.$tagName$);{F(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{o=r["s-p"];s=function(){return W(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var F=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,t)}}}}catch(t){se(t,e.$hostElement$)}return null};var W=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=d("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{J(r)}n();{e.$onReadyResolve$(r);if(!a){G()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){me((function(){return H(e,false)}))}e.$flags$&=~(4|512)}};var G=function(e){{J(u.documentElement)}me((function(){return U(s,"appload",{detail:{namespace:n}})}))};var D=function(e,t){return e&&e.then?e.then(t):t()};var J=function(e){return e.classList.add("hydrated")};var K=function(e,t){if(e!=null&&!S(e)){if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Q=function(e,t){return ae(e).$instanceValues$.get(t)};var X=function(e,t,r,n){var a=ae(e);var i=a.$instanceValues$.get(t);var l=a.$flags$;var o=a.$lazyInstance$;r=K(r,n.$members$[t][0]);if((!(l&8)||i===undefined)&&r!==i){a.$instanceValues$.set(t,r);if(o){if((l&(2|16))===2){H(a,false)}}}};var Y=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return Q(this,n)},set:function(e){X(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;f.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var Z=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,o,s,u;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=fe(n);if(!i.then)return[3,2];e=p();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){Y(i,n,2);i.isProxied=true}r=d("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){se(e)}{t.$flags$&=~8}r();if(i.style){a=i.style;l=b(n);if(!ce.has(l)){o=d("registerStyles",n.$tagName$);m(l,a,!!(n.$flags$&1));o()}}f.label=3;case 3:s=t.$ancestorComponent$;u=function(){return H(t,true)};if(s&&s["s-rc"]){s["s-rc"].push(u)}else{u()}return[2]}}))}))};var ee=function(e){if((f.$flags$&1)===0){var t=ae(e);var r=t.$cmpMeta$;var n=d("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){z(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{Z(e,t,r)}}n()}};var te=function(e){if((f.$flags$&1)===0){ae(e)}};var re=e("b",(function(e,t){if(t===void 0){t={}}var r=d();var n=[];var a=t.exclude||[];var i=s.customElements;var l=u.head;var o=l.querySelector("meta[charset]");var c=u.createElement("style");var $=[];var p;var h=true;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",u.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$attrsToReflect$=[]}var l=r.$tagName$;var o=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;le(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(p){clearTimeout(p);p=null}if(h){$.push(this)}else{f.jmp((function(){return ee(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return te(e)}))};t.prototype.componentOnReady=function(){return ae(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Y(o,r,1))}}))}));{c.innerHTML=n+v;c.setAttribute("data-styles","");l.insertBefore(c,o?o.nextSibling:l.firstChild)}h=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return p=setTimeout(G,30)}))}}r()}));var ne=new WeakMap;var ae=function(e){return ne.get(e)};var ie=e("r",(function(e,t){return ne.set(t.$lazyInstance$=e,t)}));var le=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ne.set(e,r)};var oe=function(e,t){return t in e};var se=function(e,t){return(0,console.error)(e,t)};var ue=new Map;var fe=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=ue.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{ue.set(i,e)}return e[a]}),se)};var ce=new Map;var $e=[];var ve=[];var de=function(e,t){return function(r){e.push(r);if(!o){o=true;if(t&&f.$flags$&4){me(he)}else{f.raf(he)}}}};var pe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){se(e)}}e.length=0};var he=function(){pe($e);{pe(ve);if(o=$e.length>0){f.raf(he)}}};var me=function(e){return c().then(e)};var ge=de(ve,true)}}}));